diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 7b1dac3b55..02b0eb4947 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -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": [ @@ -7631,6 +7635,14 @@ "nullable": true, "type": "string", "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": [ @@ -8467,6 +8479,14 @@ "nullable": true, "type": "string", "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" + ] } } }, @@ -17626,6 +17646,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", @@ -42108,23 +43167,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" } } } @@ -42139,22 +43887,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": [ { @@ -42162,9 +43910,6 @@ }, { "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/workflow-id" } ], "responses": { @@ -42173,11 +43918,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" } } } @@ -42187,22 +43932,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": [ { @@ -42212,33 +43957,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": [ { @@ -42248,29 +44003,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": { @@ -42278,58 +44013,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": [ { @@ -42339,7 +44085,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/workflow-id" + "$ref": "#/components/parameters/secret-name" } ], "responses": { @@ -42350,22 +44096,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": [ { @@ -42375,37 +44121,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": { @@ -42417,23 +44136,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" } } } @@ -42448,22 +44167,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": [ { @@ -42471,22 +44188,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 } } } @@ -42495,23 +44241,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": [ { @@ -42521,67 +44267,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": { @@ -42590,33 +44276,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" } } }, @@ -115247,6 +117018,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -283715,11 +285495,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": { @@ -283764,11 +285543,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": { @@ -283813,11 +285591,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": { @@ -283862,11 +285639,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/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 62bfa193b2..44d076a25f 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -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: @@ -5777,6 +5779,18 @@ paths: type: string 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: @@ -6312,6 +6326,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: @@ -12968,6 +12992,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 @@ -30892,7 +31719,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 @@ -30903,11 +32629,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" @@ -30918,401 +32644,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 @@ -84147,6 +85480,14 @@ components: updated_at: type: string format: date-time + notification_setting: + type: string + description: Whether team members will receive notifications when the team + is mentioned. + example: notifications_enabled + enum: + - notifications_enabled + - notifications_disabled required: - id - url @@ -211804,11 +213145,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 @@ -211839,11 +213179,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 @@ -211874,11 +213213,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 @@ -211909,11 +213247,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/api.github.com/api.github.com.2026-03-10.json b/descriptions/api.github.com/api.github.com.2026-03-10.json index dd147378c1..05cbeb9c6d 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions/api.github.com/api.github.com.2026-03-10.json @@ -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": [ @@ -7631,6 +7635,14 @@ "nullable": true, "type": "string", "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": [ @@ -8467,6 +8479,14 @@ "nullable": true, "type": "string", "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" + ] } } }, @@ -17625,6 +17645,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", @@ -42061,23 +43120,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" } } } @@ -42092,22 +43833,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": [ { @@ -42115,9 +43856,6 @@ }, { "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/workflow-id" } ], "responses": { @@ -42126,11 +43864,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" } } } @@ -42140,22 +43878,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": [ { @@ -42165,33 +43903,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": [ { @@ -42201,26 +43949,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": { @@ -42228,54 +43959,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": [ { @@ -42285,7 +44031,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/workflow-id" + "$ref": "#/components/parameters/secret-name" } ], "responses": { @@ -42296,22 +44042,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": [ { @@ -42321,37 +44067,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": { @@ -42363,23 +44082,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" } } } @@ -42394,22 +44113,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": [ { @@ -42417,22 +44134,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 } } } @@ -42441,23 +44187,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": [ { @@ -42467,67 +44213,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": { @@ -42536,33 +44222,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" } } }, @@ -115055,6 +116826,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -282977,11 +284757,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": { @@ -283026,11 +284805,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": { @@ -283075,11 +284853,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": { @@ -283124,11 +284901,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/api.github.com/api.github.com.2026-03-10.yaml b/descriptions/api.github.com/api.github.com.2026-03-10.yaml index 93bfc57511..01a3e08888 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions/api.github.com/api.github.com.2026-03-10.yaml @@ -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: @@ -5777,6 +5779,18 @@ paths: type: string 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: @@ -6312,6 +6326,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: @@ -12966,6 +12990,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 @@ -30855,7 +31682,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 @@ -30866,11 +32585,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" @@ -30881,394 +32600,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 @@ -83984,6 +85317,14 @@ components: updated_at: type: string format: date-time + notification_setting: + type: string + description: Whether team members will receive notifications when the team + is mentioned. + example: notifications_enabled + enum: + - notifications_enabled + - notifications_disabled required: - id - url @@ -211138,11 +212479,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 @@ -211173,11 +212513,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 @@ -211208,11 +212547,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 @@ -211243,11 +212581,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/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 0599dbec6c..082264c5e6 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/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": [ @@ -7645,6 +7649,14 @@ "nullable": true, "type": "string", "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": [ @@ -8481,6 +8493,14 @@ "nullable": true, "type": "string", "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" + ] } } }, @@ -17672,6 +17692,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", @@ -42320,23 +43379,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" } } } @@ -42351,22 +44120,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": [ { @@ -42374,9 +44143,6 @@ }, { "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/workflow-id" } ], "responses": { @@ -42385,11 +44151,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" } } } @@ -42399,22 +44165,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": [ { @@ -42424,33 +44190,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": [ { @@ -42460,29 +44236,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": { @@ -42490,79 +44246,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": [ { @@ -42572,7 +44318,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/workflow-id" + "$ref": "#/components/parameters/secret-name" } ], "responses": { @@ -42583,22 +44329,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": [ { @@ -42608,37 +44354,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": { @@ -42650,23 +44369,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" } } } @@ -42681,22 +44400,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": [ { @@ -42704,22 +44421,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 } } } @@ -42728,23 +44474,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": [ { @@ -42754,67 +44500,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": { @@ -42823,33 +44509,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" } } }, @@ -115858,6 +117629,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -285794,11 +287574,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": { @@ -285843,11 +287622,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": { @@ -285892,11 +287670,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": { @@ -285941,11 +287718,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/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 2574a4e91f..b01ef7d8cd 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/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: @@ -5785,6 +5787,18 @@ paths: type: string 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: @@ -6320,6 +6334,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: @@ -12993,6 +13017,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 @@ -31005,7 +31832,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 @@ -31016,11 +32753,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" @@ -31031,412 +32768,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 @@ -84545,6 +85878,14 @@ components: updated_at: type: string format: date-time + notification_setting: + type: string + description: Whether team members will receive notifications when the team + is mentioned. + example: notifications_enabled + enum: + - notifications_enabled + - notifications_disabled required: - id - url @@ -213177,11 +214518,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 @@ -213212,11 +214552,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 @@ -213247,11 +214586,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 @@ -213282,11 +214620,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 11dc19c3e7..6f60518eba 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -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": [ @@ -29126,6 +29130,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -29265,6 +29278,14 @@ "nullable": true, "type": "string", "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": [ @@ -29345,6 +29366,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -31433,6 +31463,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -31579,6 +31618,14 @@ "nullable": true, "type": "string", "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" + ] } } }, @@ -31656,6 +31703,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -91242,409 +91298,4191 @@ "tags_url", "teams_url", "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_downloads", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at" + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + } + }, + "single_file": { + "type": "string", + "example": "config.yaml", + "nullable": true + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved", + "type": "string", + "enum": [ + "all", + "selected" + ] + } + }, + "required": [ + "token", + "expires_at" + ] + }, + "examples": { + "default": { + "value": { + "token": "AABF3JGZDX3P5PMEXLND6TS6FCWO6", + "expires_at": "2020-01-29T12:13:35.123-08:00" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/{runner_id}": { + "get": { + "summary": "Get a self-hosted runner for an organization", + "description": "Gets a specific self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/get-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Self hosted runners", + "description": "A self hosted runner", + "type": "object", + "properties": { + "id": { + "description": "The ID of the runner.", + "type": "integer", + "example": 5 + }, + "runner_group_id": { + "description": "The ID of the runner group.", + "type": "integer", + "example": 1 + }, + "name": { + "description": "The name of the runner.", + "type": "string", + "example": "iMac" + }, + "os": { + "description": "The Operating System of the runner.", + "type": "string", + "example": "macos" + }, + "status": { + "description": "The status of the runner.", + "type": "string", + "example": "online" + }, + "busy": { + "type": "boolean" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + }, + "ephemeral": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "os", + "status", + "busy", + "labels" + ] + }, + "examples": { + "default": { + "value": { + "id": 23, + "name": "MBP", + "os": "macos", + "status": "online", + "busy": true, + "ephemeral": false, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "delete": { + "summary": "Delete a self-hosted runner from an organization", + "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/delete-self-hosted-runner-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "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": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/{runner_id}/labels": { + "get": { + "summary": "List labels for a self-hosted runner for an organization", + "description": "Lists all labels for a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/list-labels-for-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "post": { + "summary": "Add custom labels to a self-hosted runner for an organization", + "description": "Adds custom labels to a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/add-custom-labels-to-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "labels" + ], + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "maxItems": 100, + "description": "The names of the custom labels to add to the runner.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "labels": [ + "gpu", + "accelerated" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "put": { + "summary": "Set custom labels for a self-hosted runner for an organization", + "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/set-custom-labels-for-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "labels" + ], + "properties": { + "labels": { + "type": "array", + "minItems": 0, + "maxItems": 100, + "description": "The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "labels": [ + "gpu", + "accelerated" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "delete": { + "summary": "Remove all custom labels from a self-hosted runner for an organization", + "description": "Remove all custom labels from a self-hosted runner configured in an\norganization. Returns the remaining read-only labels from the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/remove-all-custom-labels-from-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 3, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/{runner_id}/labels/{name}": { + "delete": { + "summary": "Remove a custom label from a self-hosted runner for an organization", + "description": "Remove a custom label from a self-hosted runner configured\nin an organization. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/remove-custom-label-from-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "name", + "description": "The name of a self-hosted runner's custom label.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/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": [ + "actions" + ], + "operationId": "actions/list-org-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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", + "example": "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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/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\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": [ + "actions" + ], + "operationId": "actions/get-org-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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", + "example": "1234567" + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "example": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + }, + "id": { + "type": "integer", + "example": 2 + }, + "url": { + "type": "string", + "example": "https://api.github.com/user/keys/2" + }, + "title": { + "type": "string", + "example": "ssh-rsa AAAAB3NzaC1yc2EAAA" + }, + "created_at": { + "type": "string", + "example": "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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/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": [ + "actions" + ], + "operationId": "actions/get-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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", + "example": "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": "actions", + "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": [ + "actions" + ], + "operationId": "actions/create-or-update-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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/actions/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/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-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": [ + "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": "actions", + "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": [ + "actions" + ], + "operationId": "actions/delete-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/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": [ + "actions" + ], + "operationId": "actions/list-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "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", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# 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", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string", + "nullable": true + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "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": "actions", + "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/actions/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": [ + "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": [ + { + "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/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\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/actions/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": [ + "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": [ + { + "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": "actions", + "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/actions/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": [ + "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": [ + { + "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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/variables": { + "get": { + "summary": "List organization variables", + "description": "Lists all organization 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 `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": [ + { + "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "example": "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": "actions", + "subcategory": "variables" + } + }, + "post": { + "summary": "Create an organization variable", + "description": "Creates an organization 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": [ + "actions" + ], + "operationId": "actions/create-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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": "actions", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/actions/variables/{name}": { + "get": { + "summary": "Get an organization variable", + "description": "Gets a specific 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": [ + "actions" + ], + "operationId": "actions/get-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "example": "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": "actions", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update an organization variable", + "description": "Updates an organization 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": [ + "actions" + ], + "operationId": "actions/update-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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": "actions", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Delete an organization variable", + "description": "Deletes an organization 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": [ + "actions" + ], + "operationId": "actions/delete-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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": "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\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": [ + "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": [ + { + "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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "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", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# 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", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string", + "nullable": true + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "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" ] } - }, - "single_file": { - "type": "string", - "example": "config.yaml", - "nullable": true - }, - "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", - "type": "string", - "enum": [ - "all", - "selected" - ] - } - }, - "required": [ - "token", - "expires_at" - ] - }, - "examples": { - "default": { - "value": { - "token": "AABF3JGZDX3P5PMEXLND6TS6FCWO6", - "expires_at": "2020-01-29T12:13:35.123-08:00" } } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "self-hosted-runners" - } - } - }, - "/orgs/{org}/actions/runners/{runner_id}": { - "get": { - "summary": "Get a self-hosted runner for an organization", - "description": "Gets a specific self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/get-self-hosted-runner-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Self hosted runners", - "description": "A self hosted runner", - "type": "object", - "properties": { - "id": { - "description": "The ID of the runner.", - "type": "integer", - "example": 5 - }, - "runner_group_id": { - "description": "The ID of the runner group.", - "type": "integer", - "example": 1 - }, - "name": { - "description": "The name of the runner.", - "type": "string", - "example": "iMac" - }, - "os": { - "description": "The Operating System of the runner.", - "type": "string", - "example": "macos" - }, - "status": { - "description": "The status of the runner.", - "type": "string", - "example": "online" - }, - "busy": { - "type": "boolean" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - }, - "ephemeral": { - "type": "boolean" - } - }, - "required": [ - "id", - "name", - "os", - "status", - "busy", - "labels" - ] }, "examples": { "default": { "value": { - "id": 23, - "name": "MBP", - "os": "macos", - "status": "online", - "busy": true, - "ephemeral": false, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, + "total_count": 1, + "repositories": [ { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "self-hosted-runners" - } - }, - "delete": { - "summary": "Delete a self-hosted runner from an organization", - "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/delete-self-hosted-runner-from-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - }, - "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": "actions", - "subcategory": "self-hosted-runners" - } - } - }, - "/orgs/{org}/actions/runners/{runner_id}/labels": { - "get": { - "summary": "List labels for a self-hosted runner for an organization", - "description": "Lists all labels for a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/list-labels-for-self-hosted-runner-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." + "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 }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" + "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" } ] } @@ -91653,50 +95491,27 @@ } } }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } }, - "post": { - "summary": "Add custom labels to a self-hosted runner for an organization", - "description": "Adds custom labels to a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "put": { + "summary": "Set selected repositories for an organization variable", + "description": "Replaces all repositories for an organization 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": [ "actions" ], - "operationId": "actions/add-custom-labels-to-self-hosted-runner-for-org", + "operationId": "actions/set-selected-repos-for-org-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization" + "url": "https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable" }, "parameters": [ { @@ -91709,12 +95524,12 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", + "name": "name", + "description": "The name of the variable.", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" } } ], @@ -91724,27 +95539,24 @@ "application/json": { "schema": { "type": "object", - "required": [ - "labels" - ], "properties": { - "labels": { + "selected_repository_ids": { "type": "array", - "minItems": 1, - "maxItems": 100, - "description": "The names of the custom labels to add to the runner.", + "description": "The IDs of the repositories that can access the organization variable.", "items": { - "type": "string" + "type": "integer" } } - } + }, + "required": [ + "selected_repository_ids" + ] }, "examples": { "default": { "value": { - "labels": [ - "gpu", - "accelerated" + "selected_repository_ids": [ + 64780797 ] } } @@ -91753,157 +95565,32 @@ } }, "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Response" }, - "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" - } - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } - }, + } + }, + "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}": { "put": { - "summary": "Set custom labels for a self-hosted runner for an organization", - "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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.", + "summary": "Add selected repository to an organization variable", + "description": "Adds a repository to an organization 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 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": [ "actions" ], - "operationId": "actions/set-custom-labels-for-self-hosted-runner-for-org", + "operationId": "actions/add-selected-repo-to-org-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization" + "url": "https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable" }, "parameters": [ { @@ -91916,206 +95603,8 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "labels" - ], - "properties": { - "labels": { - "type": "array", - "minItems": 0, - "maxItems": 100, - "description": "The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels.", - "items": { - "type": "string" - } - } - } - }, - "examples": { - "default": { - "value": { - "labels": [ - "gpu", - "accelerated" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "self-hosted-runners" - } - }, - "delete": { - "summary": "Remove all custom labels from a self-hosted runner for an organization", - "description": "Remove all custom labels from a self-hosted runner configured in an\norganization. Returns the remaining read-only labels from the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/remove-all-custom-labels-from-self-hosted-runner-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", + "name": "name", + "description": "The name of the variable.", "in": "path", "required": true, "schema": { @@ -92123,8 +95612,7 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", + "name": "repository_id", "in": "path", "required": true, "schema": { @@ -92133,124 +95621,30 @@ } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 3, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - } - ] - } - } - } - } - } + "204": { + "description": "Response" }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } - } - }, - "/orgs/{org}/actions/runners/{runner_id}/labels/{name}": { + }, "delete": { - "summary": "Remove a custom label from a self-hosted runner for an organization", - "description": "Remove a custom label from a self-hosted runner configured\nin an organization. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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.", + "summary": "Remove selected repository from an organization variable", + "description": "Removes a repository from an organization 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": [ "actions" ], - "operationId": "actions/remove-custom-label-from-self-hosted-runner-for-org", + "operationId": "actions/remove-selected-repo-from-org-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization" + "url": "https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable" }, "parameters": [ { @@ -92263,178 +95657,50 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", + "name": "name", + "description": "The name of the variable.", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" } }, { - "name": "name", - "description": "The name of a self-hosted runner's custom label.", + "name": "repository_id", "in": "path", "required": true, "schema": { - "type": "string" + "type": "integer" } } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Response" }, - "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" - } - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } } }, - "/orgs/{org}/actions/secrets": { + "/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": [ - "actions" + "agents" ], - "operationId": "actions/list-org-secrets", + "operationId": "agents/list-org-secrets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/secrets#list-organization-secrets" + "url": "https://docs.github.com/rest/agents/secrets#list-organization-secrets" }, "parameters": [ { @@ -92568,22 +95834,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "secrets" } } }, - "/orgs/{org}/actions/secrets/public-key": { + "/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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/get-org-public-key", + "operationId": "agents/get-org-public-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/secrets#get-an-organization-public-key" + "url": "https://docs.github.com/rest/agents/secrets#get-an-organization-public-key" }, "parameters": [ { @@ -92653,22 +95919,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "secrets" } } }, - "/orgs/{org}/actions/secrets/{secret_name}": { + "/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/get-org-secret", + "operationId": "agents/get-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/secrets#get-an-organization-secret" + "url": "https://docs.github.com/rest/agents/secrets#get-an-organization-secret" }, "parameters": [ { @@ -92753,20 +96019,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/create-or-update-org-secret", + "operationId": "agents/create-or-update-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret" + "url": "https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret" }, "parameters": [ { @@ -92797,7 +96063,7 @@ "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/actions/secrets#get-an-organization-public-key) endpoint.", + "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": { @@ -92815,7 +96081,7 @@ }, "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/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-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.", + "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" } @@ -92870,20 +96136,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/delete-org-secret", + "operationId": "agents/delete-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/secrets#delete-an-organization-secret" + "url": "https://docs.github.com/rest/agents/secrets#delete-an-organization-secret" }, "parameters": [ { @@ -92913,22 +96179,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "secrets" } } }, - "/orgs/{org}/actions/secrets/{secret_name}/repositories": { + "/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": [ - "actions" + "agents" ], - "operationId": "actions/list-selected-repos-for-org-secret", + "operationId": "agents/list-selected-repos-for-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret" + "url": "https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret" }, "parameters": [ { @@ -93828,20 +97094,20 @@ "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`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/rest/actions/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/set-selected-repos-for-org-secret", + "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": [ { @@ -93872,7 +97138,7 @@ "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.", + "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" } @@ -93902,22 +97168,22 @@ "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\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/actions/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/add-selected-repo-to-org-secret", + "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": [ { @@ -93958,20 +97224,20 @@ "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`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/rest/actions/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/remove-selected-repo-from-org-secret", + "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": [ { @@ -94012,22 +97278,22 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/list-org-variables", + "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": [ { @@ -94174,20 +97440,20 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/create-org-variable", + "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": [ { @@ -94278,22 +97544,22 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/get-org-variable", + "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": [ { @@ -94389,20 +97655,20 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/update-org-variable", + "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": [ { @@ -94481,20 +97747,20 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/delete-org-variable", + "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": [ { @@ -94524,22 +97790,22 @@ "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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/list-selected-repos-for-org-variable", + "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": [ { @@ -95442,20 +98708,20 @@ "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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/set-selected-repos-for-org-variable", + "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": [ { @@ -95519,22 +98785,22 @@ "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.\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 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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/add-selected-repo-to-org-variable", + "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": [ { @@ -95575,20 +98841,20 @@ "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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/remove-selected-repo-from-org-variable", + "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": [ { @@ -95629,7 +98895,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "variables" } } @@ -118292,6 +121558,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -156701,6 +159976,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -263441,106 +266725,1678 @@ } }, { - "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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "before": { + "type": "string", + "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "description": "The SHA of the commit before the activity." + }, + "after": { + "type": "string", + "example": "827efc6d56897b048c772eb4087f854f46256132", + "description": "The SHA of the commit after the activity." + }, + "ref": { + "type": "string", + "example": "refs/heads/main", + "description": "The full Git reference, formatted as `refs/heads/`." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "description": "The time when the activity occurred." + }, + "activity_type": { + "type": "string", + "example": "force_push", + "enum": [ + "push", + "force_push", + "branch_deletion", + "branch_creation", + "pr_merge", + "merge_queue_merge" + ], + "description": "The type of the activity that was performed." + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + } + }, + "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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "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", + "example": "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", + "example": "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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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", + "example": "1234567" + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "example": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + }, + "id": { + "type": "integer", + "example": 2 + }, + "url": { + "type": "string", + "example": "https://api.github.com/user/keys/2" + }, + "title": { + "type": "string", + "example": "ssh-rsa AAAAB3NzaC1yc2EAAA" + }, + "created_at": { + "type": "string", + "example": "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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "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", + "example": "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", + "example": "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "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", + "example": "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", + "example": "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": [ { @@ -263562,372 +268418,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", - "example": 1296269 - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - }, - "before": { - "type": "string", - "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "description": "The SHA of the commit before the activity." - }, - "after": { - "type": "string", - "example": "827efc6d56897b048c772eb4087f854f46256132", - "description": "The SHA of the commit after the activity." - }, - "ref": { - "type": "string", - "example": "refs/heads/main", - "description": "The full Git reference, formatted as `refs/heads/`." - }, - "timestamp": { - "type": "string", - "format": "date-time", - "example": "2011-01-26T19:06:43Z", - "description": "The time when the activity occurred." - }, - "activity_type": { - "type": "string", - "example": "force_push", - "enum": [ - "push", - "force_push", - "branch_deletion", - "branch_creation", - "pr_merge", - "merge_queue_merge" - ], - "description": "The type of the activity that was performed." - }, - "actor": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - } - }, - "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" } } }, @@ -1397043,11 +1401552,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1405266,11 +1409774,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1413489,11 +1417996,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } @@ -1421712,11 +1426218,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 9f9d9fffd4..2783c9007f 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -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: @@ -862,7 +864,7 @@ paths: - subscriptions_url - type - url - type: &336 + type: &343 type: string description: The type of credit the user is receiving. enum: @@ -1028,7 +1030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &672 + - &676 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4103,7 +4105,7 @@ paths: schema: type: integer default: 30 - - &222 + - &229 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 @@ -4112,7 +4114,7 @@ paths: required: false schema: type: string - - &223 + - &230 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4132,7 +4134,7 @@ paths: application/json: schema: type: array - items: &224 + items: &231 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4212,7 +4214,7 @@ paths: - installation_id - repository_id examples: - default: &225 + default: &232 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4340,7 +4342,7 @@ paths: description: Response content: application/json: - schema: &226 + schema: &233 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4454,7 +4456,7 @@ paths: - request - response examples: - default: &227 + default: &234 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -5431,7 +5433,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &301 + properties: &308 id: description: Unique identifier of the repository example: 42 @@ -5882,7 +5884,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &302 + required: &309 - archive_url - assignees_url - blobs_url @@ -10523,7 +10525,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &197 type: array description: A list of default code security configurations items: @@ -10539,7 +10541,7 @@ paths: default configuration: *49 examples: - default: &191 + default: &198 value: - default_for_new_repos: public configuration: @@ -11001,7 +11003,7 @@ paths: default: value: default_for_new_repos: all - configuration: &189 + configuration: &196 value: id: 1325 target_type: organization @@ -11091,7 +11093,7 @@ paths: application/json: schema: type: array - items: &192 + items: &199 type: object description: Repositories associated with a code security configuration and attachment status @@ -11392,7 +11394,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &193 + repository: &200 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -11897,7 +11899,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &203 + - &210 name: classification in: query description: |- @@ -11906,7 +11908,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &204 + - &211 name: state in: query description: |- @@ -11915,7 +11917,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &205 + - &212 name: severity in: query description: |- @@ -11924,7 +11926,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &206 + - &213 name: ecosystem in: query description: |- @@ -11933,14 +11935,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &207 + - &214 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 - - &208 + - &215 name: epss_percentage in: query description: |- @@ -11952,7 +11954,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 - - &501 + - &507 name: has in: query description: |- @@ -11966,7 +11968,7 @@ paths: type: string enum: - patch - - &209 + - &216 name: assignee in: query description: |- @@ -11975,7 +11977,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &210 + - &217 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -11985,7 +11987,7 @@ paths: enum: - development - runtime - - &211 + - &218 name: sort in: query description: |- @@ -12011,11 +12013,11 @@ paths: application/json: schema: type: array - items: &212 + items: &219 type: object description: A Dependabot alert. properties: - number: &179 + number: &186 type: integer description: The security alert number. readOnly: true @@ -12078,7 +12080,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &502 + security_advisory: &508 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12288,29 +12290,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *66 - url: &182 + url: &189 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &183 + html_url: &190 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &180 + created_at: &187 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: &181 + updated_at: &188 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: &185 + dismissed_at: &192 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12340,21 +12342,21 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &184 + fixed_at: &191 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &503 + auto_dismissed_at: &509 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &504 + dismissal_request: &510 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -12416,7 +12418,7 @@ paths: - repository additionalProperties: false examples: - default: &213 + default: &220 value: - number: 2 state: dismissed @@ -12801,7 +12803,7 @@ paths: description: Response content: application/json: - schema: &214 + schema: &221 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -12827,7 +12829,7 @@ paths: nullable: true additionalProperties: false examples: - default: &215 + default: &222 value: default_level: public accessible_repositories: @@ -13092,6 +13094,14 @@ paths: updated_at: type: string format: date-time + notification_setting: + type: string + description: Whether team members will receive notifications + when the team is mentioned. + example: notifications_enabled + enum: + - notifications_enabled + - notifications_disabled required: - id - url @@ -13176,6 +13186,18 @@ paths: type: string 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: @@ -13491,7 +13513,7 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: &199 + properties: &206 login: type: string example: github @@ -13532,7 +13554,7 @@ paths: type: string example: A great organization nullable: true - required: &200 + required: &207 - login - url - id @@ -13842,6 +13864,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: @@ -14012,7 +14044,7 @@ paths: properties: action: type: string - discussion: &766 + discussion: &770 title: Discussion description: A Discussion in a repository. type: object @@ -14379,7 +14411,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &556 + properties: &560 id: type: integer format: int64 @@ -14492,7 +14524,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &285 + properties: &292 url: type: string format: uri @@ -14562,7 +14594,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &286 + required: &293 - closed_issues - creator - description @@ -14641,7 +14673,7 @@ paths: timeline_url: type: string format: uri - type: &248 + type: &255 title: Issue Type description: The type of issue. type: object @@ -14755,7 +14787,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &683 + sub_issues_summary: &687 title: Sub-issues Summary type: object properties: @@ -14842,7 +14874,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &579 + properties: &583 pinned_at: type: string format: date-time @@ -14854,7 +14886,7 @@ paths: properties: *20 required: *21 nullable: true - required: &580 + required: &584 - pinned_at - pinned_by nullable: true @@ -14868,7 +14900,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &684 + issue_dependencies_summary: &688 title: Issue Dependencies Summary type: object properties: @@ -14887,7 +14919,7 @@ paths: - total_blocking issue_field_values: type: array - items: &563 + items: &567 title: Issue Field Value description: A value assigned to an issue field type: object @@ -14948,7 +14980,7 @@ paths: - node_id - data_type - value - required: &557 + required: &561 - assignee - closed_at - comments @@ -14986,7 +15018,7 @@ paths: action: type: string issue: *88 - comment: &552 + comment: &556 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15650,7 +15682,7 @@ paths: type: string release: allOf: - - &613 + - &617 title: Release description: A release. type: object @@ -15721,7 +15753,7 @@ paths: author: *4 assets: type: array - items: &614 + items: &618 title: Release Asset description: Data related to a release. type: object @@ -16312,7 +16344,7 @@ paths: url: type: string format: uri - user: &690 + user: &694 title: Public User description: Public User type: object @@ -18177,7 +18209,7 @@ paths: - closed - all default: open - - &251 + - &258 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -18228,7 +18260,7 @@ paths: type: array items: *88 examples: - default: &252 + default: &259 value: - id: 1 node_id: MDU6SXNzdWUx @@ -19613,14 +19645,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &348 + - &355 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &349 + - &356 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -19682,7 +19714,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &352 + '301': &359 description: Moved permanently content: application/json: @@ -19704,7 +19736,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &589 + - &593 name: all description: If `true`, show notifications marked as read. in: query @@ -19712,7 +19744,7 @@ paths: schema: type: boolean default: false - - &590 + - &594 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -19722,7 +19754,7 @@ paths: type: boolean default: false - *95 - - &591 + - &595 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: @@ -19758,7 +19790,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &217 + properties: &224 id: type: integer format: int64 @@ -20044,7 +20076,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &303 + security_and_analysis: &310 nullable: true type: object properties: @@ -20164,7 +20196,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &218 + required: &225 - archive_url - assignees_url - blobs_url @@ -20252,7 +20284,7 @@ paths: - url - subscription_url examples: - default: &592 + default: &596 value: - id: '1' repository: @@ -21534,7 +21566,7 @@ paths: required: false schema: type: string - - &741 + - &745 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -21680,7 +21712,7 @@ paths: parameters: - *78 - *124 - - &742 + - &746 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 @@ -21792,7 +21824,7 @@ paths: - *124 - *126 - *125 - - &743 + - &747 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -21800,7 +21832,7 @@ paths: schema: type: string - *127 - - &744 + - &748 name: sku description: The SKU to query for usage. in: query @@ -22702,7 +22734,7 @@ paths: type: integer repository_cache_usages: type: array - items: &359 + items: &366 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -24044,7 +24076,7 @@ paths: - all - local_only - selected - selected_actions_url: &365 + selected_actions_url: &371 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` @@ -24127,7 +24159,7 @@ paths: description: Response content: application/json: - schema: &369 + schema: &375 type: object properties: days: @@ -24169,7 +24201,7 @@ paths: required: true content: application/json: - schema: &370 + schema: &376 type: object properties: days: @@ -24226,7 +24258,7 @@ paths: required: - approval_policy examples: - default: &371 + default: &377 value: approval_policy: first_time_contributors '404': *6 @@ -24285,7 +24317,7 @@ paths: description: Response content: application/json: - schema: &372 + schema: &378 type: object required: - run_workflows_from_fork_pull_requests @@ -24339,7 +24371,7 @@ paths: required: true content: application/json: - schema: &373 + schema: &379 type: object required: - run_workflows_from_fork_pull_requests @@ -24974,7 +25006,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &380 type: object properties: default_workflow_permissions: &154 @@ -25025,7 +25057,7 @@ paths: required: false content: application/json: - schema: &375 + schema: &381 type: object properties: default_workflow_permissions: *154 @@ -25514,7 +25546,7 @@ paths: type: array items: *161 examples: - default: &202 + default: &209 value: total_count: 1 repositories: @@ -26156,7 +26188,7 @@ paths: application/json: schema: type: array - items: &376 + items: &382 title: Runner Application description: Runner Application type: object @@ -26181,7 +26213,7 @@ paths: - download_url - filename examples: - default: &377 + default: &383 value: - os: osx architecture: x64 @@ -26267,7 +26299,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &378 + '201': &384 description: Response content: application/json: @@ -26378,7 +26410,7 @@ paths: - token - expires_at examples: - default: &379 + default: &385 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -26417,7 +26449,7 @@ paths: application/json: schema: *165 examples: - default: &380 + default: &386 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -26451,7 +26483,7 @@ paths: application/json: schema: *163 examples: - default: &381 + default: &387 value: id: 23 name: MBP @@ -26677,7 +26709,7 @@ paths: - *78 - *162 responses: - '200': &382 + '200': &388 description: Response content: application/json: @@ -26734,7 +26766,7 @@ paths: parameters: - *78 - *162 - - &383 + - &389 name: name description: The name of a self-hosted runner's custom label. in: path @@ -26817,7 +26849,7 @@ paths: - updated_at - visibility examples: - default: + default: &174 value: total_count: 3 secrets: @@ -26864,7 +26896,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &175 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -26893,7 +26925,7 @@ paths: - key_id - key examples: - default: &396 + default: &176 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26933,7 +26965,7 @@ paths: application/json: schema: *168 examples: - default: + default: &177 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27093,97 +27125,961 @@ paths: type: array items: *161 examples: - default: &173 - 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: &173 + 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: + - *78 + - *169 + 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: + - *78 + - *169 + - 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: + - *78 + - *169 + - 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: + - *78 + - &178 + 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: &171 + title: Actions Variable for an Organization + description: Organization variable for GitHub Actions. + type: object + properties: + name: + description: The name of the variable. + example: USERNAME + type: string + value: + description: The value of the variable. + example: octocat + type: string + created_at: + description: The date and time at which the variable was + created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + example: '2019-01-24T22:45:36.000Z' + type: string + format: date-time + updated_at: + description: The date and time at which the variable was + last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + example: '2019-01-24T22:45:36.000Z' + type: string + format: date-time + visibility: + description: Visibility of a variable + enum: + - all + - private + - selected + type: string + selected_repositories_url: + type: string + format: uri + example: https://api.github.com/organizations/org/variables/USERNAME/repositories + required: + - name + - value + - created_at + - updated_at + - visibility + examples: + default: &179 + 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: *70 + 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: + - *78 + 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: *170 + 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: + - *78 + - &172 + name: name + description: The name of the variable. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *171 + examples: + default: &180 + 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: + - *78 + - *172 + 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: + - *78 + - *172 + 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: + - *78 + - *172 + - *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: *161 + examples: + default: *173 + '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: + - *78 + - *172 + 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: + - *78 + - *172 + - 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: + - *78 + - *172 + - 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: + - *78 + - *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: *168 + examples: + default: *174 + headers: + Link: *70 + 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: + - *78 + responses: + '200': + description: Response + content: + application/json: + schema: *175 + examples: + default: *176 + 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: + - *78 + - *169 + responses: + '200': + description: Response + content: + application/json: + schema: *168 + examples: + default: *177 + 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: + - *78 + - *169 + 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: *170 + 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: + - *78 + - *169 + 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: + - *78 + - *169 + - *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: *161 + examples: + default: *173 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: - *78 - *169 @@ -27200,8 +28096,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 @@ -27218,25 +28114,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: - *78 - *169 @@ -27253,24 +28149,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: - *78 - *169 @@ -27287,33 +28183,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: - *78 - - &364 - 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 + - *178 - *19 responses: '200': @@ -27330,90 +28220,30 @@ paths: type: integer variables: type: array - items: &171 - title: Actions Variable for an Organization - description: Organization variable for GitHub Actions. - type: object - properties: - name: - description: The name of the variable. - example: USERNAME - type: string - value: - description: The value of the variable. - example: octocat - type: string - created_at: - description: The date and time at which the variable was - created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - example: '2019-01-24T22:45:36.000Z' - type: string - format: date-time - updated_at: - description: The date and time at which the variable was - last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - example: '2019-01-24T22:45:36.000Z' - type: string - format: date-time - visibility: - description: Visibility of a variable - enum: - - all - - private - - selected - type: string - selected_repositories_url: - type: string - format: uri - example: https://api.github.com/organizations/org/variables/USERNAME/repositories - required: - - name - - value - - created_at - - updated_at - - visibility + items: *171 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: *179 headers: Link: *70 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: - *78 requestBody: @@ -27470,32 +28300,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: - *78 - - &172 - name: name - description: The name of the variable. - in: path - required: true - schema: - type: string + - *172 responses: '200': description: Response @@ -27503,33 +28327,26 @@ paths: application/json: schema: *171 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: *180 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: - *78 - *172 @@ -27577,22 +28394,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: - *78 - *172 @@ -27602,24 +28419,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: - *78 - *172 @@ -27649,12 +28466,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`. @@ -27662,11 +28479,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: - *78 - *172 @@ -27699,24 +28516,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: - *78 - *172 @@ -27734,12 +28551,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`. @@ -27747,11 +28564,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: - *78 - *172 @@ -27769,7 +28586,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables "/orgs/{org}/artifacts/metadata/deployment-record": post: @@ -27918,7 +28735,7 @@ paths: type: integer deployment_records: type: array - items: &174 + items: &181 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -27964,7 +28781,7 @@ paths: required: - total_count examples: - default: &175 + default: &182 value: total_count: 1 deployment_records: @@ -28142,11 +28959,11 @@ paths: type: integer deployment_records: type: array - items: *174 + items: *181 required: - total_count examples: - default: *175 + default: *182 '403': description: Forbidden content: @@ -28381,9 +29198,9 @@ paths: type: integer deployment_records: type: array - items: *174 + items: *181 examples: - default: *175 + default: *182 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28512,12 +29329,12 @@ paths: required: - subject_digests examples: - default: &722 + default: &726 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &723 + withPredicateType: &727 value: subject_digests: - sha256:abc123 @@ -28575,7 +29392,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &724 + default: &728 value: attestations_subject_digests: - sha256:abc: @@ -28925,7 +29742,7 @@ paths: initiator: type: string examples: - default: &409 + default: &415 value: attestations: - bundle: @@ -29144,7 +29961,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &176 + schema: &183 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -29170,7 +29987,7 @@ paths: application/json: schema: type: array - items: &177 + items: &184 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -29201,7 +30018,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &201 + items: &208 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -29276,7 +30093,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &263 + properties: &270 id: description: Unique identifier of the team type: integer @@ -29348,7 +30165,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &264 + required: &271 - id - node_id - url @@ -29391,7 +30208,7 @@ paths: type: string format: date-time nullable: true - state: *176 + state: *183 contact_link: description: The contact link of the campaign. type: string @@ -29611,9 +30428,9 @@ paths: description: Response content: application/json: - schema: *177 + schema: *184 examples: - default: &178 + default: &185 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -29696,9 +30513,9 @@ paths: description: Response content: application/json: - schema: *177 + schema: *184 examples: - default: *178 + default: *185 '404': *6 '422': description: Unprocessable Entity @@ -29775,7 +30592,7 @@ paths: type: string format: uri nullable: true - state: *176 + state: *183 examples: default: value: @@ -29785,9 +30602,9 @@ paths: description: Response content: application/json: - schema: *177 + schema: *184 examples: - default: *178 + default: *185 '400': description: Bad Request content: @@ -29854,17 +30671,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *78 - - &434 + - &440 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: &186 + schema: &193 type: string description: The name of the tool used to generate the code scanning analysis. - - &435 + - &441 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 @@ -29872,7 +30689,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &187 + schema: &194 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -29887,7 +30704,7 @@ paths: be returned. in: query required: false - schema: &437 + schema: &443 type: string description: State of a code scanning alert. enum: @@ -29910,7 +30727,7 @@ paths: be returned. in: query required: false - schema: &438 + schema: &444 type: string description: Severity of a code scanning alert. enum: @@ -29939,18 +30756,18 @@ paths: items: type: object properties: - number: *179 - created_at: *180 - updated_at: *181 - url: *182 - html_url: *183 - instances_url: &439 + number: *186 + created_at: *187 + updated_at: *188 + url: *189 + html_url: *190 + instances_url: &445 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &188 + state: &195 type: string description: State of a code scanning alert. nullable: true @@ -29958,7 +30775,7 @@ paths: - open - dismissed - fixed - fixed_at: *184 + fixed_at: *191 dismissed_by: title: Simple User description: A GitHub user. @@ -29966,8 +30783,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *185 - dismissed_reason: &440 + dismissed_at: *192 + dismissed_reason: &446 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -29976,13 +30793,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &441 + dismissed_comment: &447 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &442 + rule: &448 type: object properties: id: @@ -30035,42 +30852,42 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &443 + tool: &449 type: object properties: - name: *186 + name: *193 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *187 - most_recent_instance: &444 + guid: *194 + most_recent_instance: &450 type: object properties: - ref: &436 + ref: &442 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &454 + analysis_key: &460 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: &455 + environment: &461 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: &456 + category: &462 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: *188 + state: *195 commit_sha: type: string message: @@ -30084,7 +30901,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: &457 + location: &463 type: object description: Describe a region within a file for the alert. properties: @@ -30105,7 +30922,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: &458 + items: &464 type: string description: A classification of the file. For example to identify it as generated. @@ -30744,7 +31561,7 @@ paths: application/json: schema: *49 examples: - default: *189 + default: *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30772,9 +31589,9 @@ paths: description: Response content: application/json: - schema: *190 + schema: *197 examples: - default: *191 + default: *198 '304': *37 '403': *29 '404': *6 @@ -30863,7 +31680,7 @@ paths: application/json: schema: *49 examples: - default: *189 + default: *196 '304': *37 '403': *29 '404': *6 @@ -31308,7 +32125,7 @@ paths: default: value: default_for_new_repos: all - configuration: *189 + configuration: *196 '403': *29 '404': *6 x-github: @@ -31361,13 +32178,13 @@ paths: application/json: schema: type: array - items: *192 + items: *199 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *193 + repository: *200 '403': *29 '404': *6 x-github: @@ -31407,7 +32224,7 @@ paths: type: integer codespaces: type: array - items: &253 + items: &260 type: object title: Codespace description: A codespace. @@ -31437,7 +32254,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &470 + properties: &476 name: type: string description: The name of the machine. @@ -31479,7 +32296,7 @@ paths: - ready - in_progress nullable: true - required: &471 + required: &477 - name - display_name - operating_system @@ -31684,7 +32501,7 @@ paths: - pulls_url - recent_folders examples: - default: &254 + default: &261 value: total_count: 3 codespaces: @@ -32308,7 +33125,7 @@ paths: type: integer secrets: type: array - items: &194 + items: &201 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -32347,7 +33164,7 @@ paths: - updated_at - visibility examples: - default: &472 + default: &478 value: total_count: 2 secrets: @@ -32385,7 +33202,7 @@ paths: description: Response content: application/json: - schema: &473 + schema: &479 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -32414,7 +33231,7 @@ paths: - key_id - key examples: - default: &474 + default: &480 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32444,9 +33261,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *201 examples: - default: &476 + default: &482 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -32778,7 +33595,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &195 + items: &202 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -33157,9 +33974,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *202 examples: - default: &196 + default: &203 summary: Example response for an organization copilot space value: id: 84 @@ -33262,9 +34079,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *202 examples: - default: *196 + default: *203 '403': *29 '404': *6 x-github: @@ -33388,9 +34205,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *202 examples: - default: *196 + default: *203 '403': *29 '404': *6 '422': *15 @@ -33469,7 +34286,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &197 + items: &204 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -33690,7 +34507,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *204 examples: user: value: @@ -33818,7 +34635,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *204 examples: user: value: @@ -33965,7 +34782,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &198 + items: &205 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -34106,7 +34923,7 @@ paths: description: Resource created content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -34122,7 +34939,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -34175,7 +34992,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -34242,7 +35059,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -34482,7 +35299,7 @@ paths: currently being billed. seats: type: array - items: &256 + items: &263 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -34499,14 +35316,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *199 - required: *200 + properties: *206 + required: *207 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *201 + - *208 - *71 nullable: true pending_cancellation_date: @@ -35118,7 +35935,7 @@ paths: - total_count - repositories examples: - default: *202 + default: *209 '500': *55 '401': *25 '403': *29 @@ -35453,7 +36270,7 @@ paths: application/json: schema: type: array - items: &341 + items: &348 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -35760,7 +36577,7 @@ paths: - date additionalProperties: true examples: - default: &342 + default: &349 value: - date: '2024-06-24' total_active_users: 24 @@ -35862,7 +36679,7 @@ paths: '500': *55 '403': *29 '404': *6 - '422': &343 + '422': &350 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -36042,12 +36859,12 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *78 - - *203 - - *204 - - *205 - - *206 - - *207 - - *208 + - *210 + - *211 + - *212 + - *213 + - *214 + - *215 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -36077,7 +36894,7 @@ paths: enum: - patch - deployment - - *209 + - *216 - name: runtime_risk in: query description: |- @@ -36086,8 +36903,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *210 - - *211 + - *217 + - *218 - *62 - *47 - *48 @@ -36099,9 +36916,9 @@ paths: application/json: schema: type: array - items: *212 + items: *219 examples: - default: *213 + default: *220 '304': *37 '400': *14 '403': *29 @@ -36150,9 +36967,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *221 examples: - default: *215 + default: *222 '403': *29 '404': *6 x-github: @@ -36315,7 +37132,7 @@ paths: type: integer secrets: type: array - items: &216 + items: &223 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -36392,7 +37209,7 @@ paths: description: Response content: application/json: - schema: &507 + schema: &513 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -36409,7 +37226,7 @@ paths: - key_id - key examples: - default: &508 + default: &514 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -36439,7 +37256,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *223 examples: default: value: @@ -36738,7 +37555,7 @@ paths: application/json: schema: type: array - items: &266 + items: &273 title: Package description: A software package type: object @@ -36788,8 +37605,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *217 - required: *218 + properties: *224 + required: *225 nullable: true created_at: type: string @@ -36808,7 +37625,7 @@ paths: - created_at - updated_at examples: - default: &267 + default: &274 value: - id: 197 name: hello_docker @@ -36978,7 +37795,7 @@ paths: application/json: schema: type: array - items: &242 + items: &249 title: Organization Invitation description: Organization Invitation type: object @@ -37025,7 +37842,7 @@ paths: - invitation_teams_url - node_id examples: - default: &243 + default: &250 value: - id: 1 login: monalisa @@ -37092,7 +37909,7 @@ paths: application/json: schema: type: array - items: &219 + items: &226 title: Org Hook description: Org Hook type: object @@ -37263,9 +38080,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *226 examples: - default: &220 + default: &227 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -37313,7 +38130,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *78 - - &221 + - &228 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. @@ -37326,9 +38143,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *226 examples: - default: *220 + default: *227 '404': *6 x-github: githubCloudOnly: false @@ -37356,7 +38173,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *78 - - *221 + - *228 requestBody: required: false content: @@ -37401,7 +38218,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *226 examples: default: value: @@ -37443,7 +38260,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *78 - - *221 + - *228 responses: '204': description: Response @@ -37471,7 +38288,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *78 - - *221 + - *228 responses: '200': description: Response @@ -37502,7 +38319,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *78 - - *221 + - *228 requestBody: required: false content: @@ -37553,10 +38370,10 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *78 - - *221 + - *228 - *17 - - *222 - - *223 + - *229 + - *230 responses: '200': description: Response @@ -37564,9 +38381,9 @@ paths: application/json: schema: type: array - items: *224 + items: *231 examples: - default: *225 + default: *232 '400': *14 '422': *15 x-github: @@ -37592,16 +38409,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *78 - - *221 + - *228 - *16 responses: '200': description: Response content: application/json: - schema: *226 + schema: *233 examples: - default: *227 + default: *234 '400': *14 '422': *15 x-github: @@ -37627,7 +38444,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *78 - - *221 + - *228 - *16 responses: '202': *39 @@ -37657,7 +38474,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *78 - - *221 + - *228 responses: '204': description: Response @@ -37680,7 +38497,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *78 - - &232 + - &239 name: actor_type in: path description: The type of the actor @@ -37693,14 +38510,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &233 + - &240 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &228 + - &235 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`.' @@ -37708,7 +38525,7 @@ paths: required: true schema: type: string - - &229 + - &236 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) @@ -37802,12 +38619,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *78 - - *228 - - *229 + - *235 + - *236 - *19 - *17 - *62 - - &238 + - &245 name: sort description: The property to sort the results by. in: query @@ -37885,14 +38702,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *78 - - *228 - - *229 + - *235 + - *236 responses: '200': description: Response content: application/json: - schema: &230 + schema: &237 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -37908,7 +38725,7 @@ paths: type: integer format: int64 examples: - default: &231 + default: &238 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -37929,23 +38746,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *78 - - &234 + - &241 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *228 - - *229 + - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *230 + schema: *237 examples: - default: *231 + default: *238 x-github: enabledForGitHubApps: true category: orgs @@ -37964,18 +38781,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *78 - - *228 - - *229 - - *232 - - *233 + - *235 + - *236 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *230 + schema: *237 examples: - default: *231 + default: *238 x-github: enabledForGitHubApps: true category: orgs @@ -37993,9 +38810,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *78 - - *228 - - *229 - - &235 + - *235 + - *236 + - &242 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -38008,7 +38825,7 @@ paths: description: Response content: application/json: - schema: &236 + schema: &243 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -38024,7 +38841,7 @@ paths: type: integer format: int64 examples: - default: &237 + default: &244 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -38061,18 +38878,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *78 - - *234 - - *228 - - *229 + - *241 - *235 + - *236 + - *242 responses: '200': description: Response content: application/json: - schema: *236 + schema: *243 examples: - default: *237 + default: *244 x-github: enabledForGitHubApps: true category: orgs @@ -38090,19 +38907,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *78 - - *232 - - *233 - - *228 - - *229 + - *239 + - *240 - *235 + - *236 + - *242 responses: '200': description: Response content: application/json: - schema: *236 + schema: *243 examples: - default: *237 + default: *244 x-github: enabledForGitHubApps: true category: orgs @@ -38120,13 +38937,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *78 - - *234 - - *228 - - *229 + - *241 + - *235 + - *236 - *19 - *17 - *62 - - *238 + - *245 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -38207,7 +39024,7 @@ paths: application/json: schema: *22 examples: - default: &547 + default: &551 value: id: 1 account: @@ -38373,12 +39190,12 @@ paths: application/json: schema: anyOf: - - &240 + - &247 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &239 + limit: &246 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -38403,7 +39220,7 @@ paths: properties: {} additionalProperties: false examples: - default: &241 + default: &248 value: limit: collaborators_only origin: organization @@ -38432,13 +39249,13 @@ paths: required: true content: application/json: - schema: &548 + schema: &552 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *239 + limit: *246 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -38462,9 +39279,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *247 examples: - default: *241 + default: *248 '422': *15 x-github: githubCloudOnly: false @@ -38540,9 +39357,9 @@ paths: application/json: schema: type: array - items: *242 + items: *249 examples: - default: *243 + default: *250 headers: Link: *70 '404': *6 @@ -38619,7 +39436,7 @@ paths: description: Response content: application/json: - schema: *242 + schema: *249 examples: default: value: @@ -38674,7 +39491,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *78 - - &244 + - &251 name: invitation_id description: The unique identifier of the invitation. in: path @@ -38705,7 +39522,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *78 - - *244 + - *251 - *17 - *19 responses: @@ -38715,9 +39532,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: &265 + default: &272 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -38760,7 +39577,7 @@ paths: application/json: schema: type: array - items: &245 + items: &252 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -38993,9 +39810,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *252 examples: - default: &246 + default: &253 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -39051,7 +39868,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *78 - - &247 + - &254 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -39159,9 +39976,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *252 examples: - default: *246 + default: *253 '404': *6 '422': *7 x-github: @@ -39186,7 +40003,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *78 - - *247 + - *254 responses: '204': *61 '404': *6 @@ -39216,7 +40033,7 @@ paths: application/json: schema: type: array - items: *248 + items: *255 examples: default: value: @@ -39301,9 +40118,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *255 examples: - default: &249 + default: &256 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -39336,7 +40153,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *78 - - &250 + - &257 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -39389,9 +40206,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *255 examples: - default: *249 + default: *256 '404': *6 '422': *7 x-github: @@ -39416,7 +40233,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *78 - - *250 + - *257 responses: '204': description: Response @@ -39479,7 +40296,7 @@ paths: - closed - all default: open - - *251 + - *258 - name: type description: Can be the name of an issue type. in: query @@ -39510,7 +40327,7 @@ paths: type: array items: *88 examples: - default: *252 + default: *259 headers: Link: *70 '404': *6 @@ -39669,9 +40486,9 @@ paths: type: integer codespaces: type: array - items: *253 + items: *260 examples: - default: *254 + default: *261 '304': *37 '500': *55 '401': *25 @@ -39698,7 +40515,7 @@ paths: parameters: - *78 - *74 - - &255 + - &262 name: codespace_name in: path required: true @@ -39733,15 +40550,15 @@ paths: parameters: - *78 - *74 - - *255 + - *262 responses: '200': description: Response content: application/json: - schema: *253 + schema: *260 examples: - default: &469 + default: &475 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -39921,7 +40738,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *256 + schema: *263 examples: default: value: @@ -39997,7 +40814,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &264 title: Org Membership description: Org Membership type: object @@ -40064,7 +40881,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &258 + response-if-user-has-an-active-admin-membership-with-organization: &265 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -40165,9 +40982,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: - response-if-user-already-had-membership-with-organization: *258 + response-if-user-already-had-membership-with-organization: *265 '422': *15 '403': *29 x-github: @@ -40238,7 +41055,7 @@ paths: application/json: schema: type: array - items: &259 + items: &266 title: Migration description: A migration. type: object @@ -40567,7 +41384,7 @@ paths: description: Response content: application/json: - schema: *259 + schema: *266 examples: default: value: @@ -40746,7 +41563,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *78 - - &260 + - &267 name: migration_id description: The unique identifier of the migration. in: path @@ -40773,7 +41590,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *259 + schema: *266 examples: default: value: @@ -40943,7 +41760,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *78 - - *260 + - *267 responses: '302': description: Response @@ -40965,7 +41782,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *78 - - *260 + - *267 responses: '204': description: Response @@ -40989,8 +41806,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *78 - - *260 - - &705 + - *267 + - &709 name: repo_name description: repo_name parameter in: path @@ -41018,7 +41835,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *78 - - *260 + - *267 - *17 - *19 responses: @@ -41030,7 +41847,7 @@ paths: type: array items: *161 examples: - default: &272 + default: &279 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41185,7 +42002,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &262 + items: &269 title: Organization Role description: Organization roles type: object @@ -41360,7 +42177,7 @@ paths: parameters: - *78 - *80 - - &261 + - &268 name: role_id description: The unique identifier of the role. in: path @@ -41397,7 +42214,7 @@ paths: parameters: - *78 - *80 - - *261 + - *268 responses: '204': description: Response @@ -41450,7 +42267,7 @@ paths: parameters: - *78 - *74 - - *261 + - *268 responses: '204': description: Response @@ -41482,7 +42299,7 @@ paths: parameters: - *78 - *74 - - *261 + - *268 responses: '204': description: Response @@ -41511,13 +42328,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *78 - - *261 + - *268 responses: '200': description: Response content: application/json: - schema: *262 + schema: *269 examples: default: value: @@ -41568,7 +42385,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *78 - - *261 + - *268 - *17 - *19 responses: @@ -41646,8 +42463,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *263 - required: *264 + properties: *270 + required: *271 nullable: true type: description: The ownership type of the team @@ -41679,7 +42496,7 @@ paths: - type - parent examples: - default: *265 + default: *272 headers: Link: *70 '404': @@ -41709,7 +42526,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *78 - - *261 + - *268 - *17 - *19 responses: @@ -41737,13 +42554,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &337 + items: &344 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *263 - required: *264 + properties: *270 + required: *271 name: nullable: true type: string @@ -42031,7 +42848,7 @@ paths: - nuget - container - *78 - - &706 + - &710 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -42067,12 +42884,12 @@ paths: application/json: schema: type: array - items: *266 + items: *273 examples: - default: *267 + default: *274 '403': *29 '401': *25 - '400': &708 + '400': &712 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -42094,7 +42911,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &268 + - &275 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 @@ -42112,7 +42929,7 @@ paths: - docker - nuget - container - - &269 + - &276 name: package_name description: The name of the package. in: path @@ -42125,7 +42942,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -42177,8 +42994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *268 - - *269 + - *275 + - *276 - *78 responses: '204': @@ -42211,8 +43028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *268 - - *269 + - *275 + - *276 - *78 - name: token description: package token @@ -42245,8 +43062,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: - - *268 - - *269 + - *275 + - *276 - *78 - *19 - *17 @@ -42267,7 +43084,7 @@ paths: application/json: schema: type: array - items: &270 + items: &277 title: Package Version description: A version of a software package type: object @@ -42392,10 +43209,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *268 - - *269 + - *275 + - *276 - *78 - - &271 + - &278 name: package_version_id description: Unique identifier of the package version. in: path @@ -42407,7 +43224,7 @@ paths: description: Response content: application/json: - schema: *270 + schema: *277 examples: default: value: @@ -42443,10 +43260,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *268 - - *269 + - *275 + - *276 - *78 - - *271 + - *278 responses: '204': description: Response @@ -42478,10 +43295,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *268 - - *269 + - *275 + - *276 - *78 - - *271 + - *278 responses: '204': description: Response @@ -42511,7 +43328,7 @@ paths: - *78 - *17 - *19 - - &273 + - &280 name: sort description: The property by which to sort the results. in: query @@ -42522,7 +43339,7 @@ paths: - created_at default: created_at - *62 - - &274 + - &281 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -42533,7 +43350,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &275 + - &282 name: repository description: The name of the repository to use to filter the results. in: query @@ -42541,7 +43358,7 @@ paths: schema: type: string example: Hello-World - - &276 + - &283 name: permission description: The permission to use to filter the results. in: query @@ -42549,7 +43366,7 @@ paths: schema: type: string example: issues_read - - &277 + - &284 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) @@ -42559,7 +43376,7 @@ paths: schema: type: string format: date-time - - &278 + - &285 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) @@ -42569,7 +43386,7 @@ paths: schema: type: string format: date-time - - &279 + - &286 name: token_id description: The ID of the token in: query @@ -42882,7 +43699,7 @@ paths: type: array items: *161 examples: - default: *272 + default: *279 headers: Link: *70 x-github: @@ -42908,14 +43725,14 @@ paths: - *78 - *17 - *19 - - *273 + - *280 - *62 - - *274 - - *275 - - *276 - - *277 - - *278 - - *279 + - *281 + - *282 + - *283 + - *284 + - *285 + - *286 responses: '500': *55 '422': *15 @@ -43197,7 +44014,7 @@ paths: type: array items: *161 examples: - default: *272 + default: *279 headers: Link: *70 x-github: @@ -43239,7 +44056,7 @@ paths: type: integer configurations: type: array - items: &280 + items: &287 title: Organization private registry description: Private registry configuration for an organization type: object @@ -43750,7 +44567,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &281 + org-private-registry-with-selected-visibility: &288 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -43846,9 +44663,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *280 + schema: *287 examples: - default: *281 + default: *288 '404': *6 x-github: githubCloudOnly: false @@ -44099,7 +44916,7 @@ paths: application/json: schema: type: array - items: &282 + items: &289 title: Projects v2 Project description: A projects v2 project type: object @@ -44169,7 +44986,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &797 + properties: &801 id: type: number description: The unique identifier of the status update. @@ -44217,7 +45034,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &798 + required: &802 - id - node_id - created_at @@ -44242,7 +45059,7 @@ paths: - deleted_at - deleted_by examples: - default: &283 + default: &290 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -44345,7 +45162,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &284 + - &291 name: project_number description: The project's number. in: path @@ -44358,9 +45175,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *289 examples: - default: *283 + default: *290 headers: Link: *70 '304': *37 @@ -44383,7 +45200,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *78 - - *284 + - *291 requestBody: required: true description: Details of the draft item to create in the project. @@ -44417,7 +45234,7 @@ paths: description: Response content: application/json: - schema: &290 + schema: &297 title: Projects v2 Item description: An item belonging to a project type: object @@ -44431,7 +45248,7 @@ paths: content: oneOf: - *88 - - &486 + - &492 title: Pull Request Simple description: Pull Request Simple type: object @@ -44537,8 +45354,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *285 - required: *286 + properties: *292 + required: *293 nullable: true active_lock_reason: type: string @@ -44581,7 +45398,7 @@ paths: items: *4 requested_teams: type: array - items: *201 + items: *208 head: type: object properties: @@ -44631,7 +45448,7 @@ paths: _links: type: object properties: - comments: &287 + comments: &294 title: Link description: Hypermedia Link type: object @@ -44640,13 +45457,13 @@ paths: type: string required: - href - commits: *287 - statuses: *287 - html: *287 - issue: *287 - review_comments: *287 - review_comment: *287 - self: *287 + commits: *294 + statuses: *294 + html: *294 + issue: *294 + review_comments: *294 + review_comment: *294 + self: *294 required: - comments - commits @@ -44657,7 +45474,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: &599 + auto_merge: &603 title: Auto merge description: The status of auto merging a pull request. type: object @@ -44759,7 +45576,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &289 + content_type: &296 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -44799,7 +45616,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &291 + draft_issue: &298 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -44873,7 +45690,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *284 + - *291 - *78 - *17 - *47 @@ -44885,7 +45702,7 @@ paths: application/json: schema: type: array - items: &288 + items: &295 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -45035,7 +45852,7 @@ paths: - updated_at - project_url examples: - default: &728 + default: &732 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -45165,7 +45982,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *284 + - *291 - *78 requestBody: required: true @@ -45212,7 +46029,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &729 + items: &733 type: object properties: name: @@ -45249,7 +46066,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &730 + iteration_configuration: &734 type: object description: The configuration for iteration fields. properties: @@ -45299,7 +46116,7 @@ paths: value: name: Due date data_type: date - single_select_field: &731 + single_select_field: &735 summary: Create a single select field value: name: Priority @@ -45326,7 +46143,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &732 + iteration_field: &736 summary: Create an iteration field value: name: Sprint @@ -45350,9 +46167,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *288 + schema: *295 examples: - text_field: &733 + text_field: &737 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -45361,7 +46178,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: &734 + number_field: &738 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -45370,7 +46187,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: &735 + date_field: &739 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -45379,7 +46196,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: &736 + single_select_field: &740 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -45413,7 +46230,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &737 + iteration_field: &741 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -45458,8 +46275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *284 - - &738 + - *291 + - &742 name: field_id description: The unique identifier of the field. in: path @@ -45472,9 +46289,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *295 examples: - default: &739 + default: &743 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -45530,7 +46347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *284 + - *291 - *78 - 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) @@ -45563,7 +46380,7 @@ paths: application/json: schema: type: array - items: &292 + items: &299 title: Projects v2 Item description: An item belonging to a project type: object @@ -45579,7 +46396,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *289 + content_type: *296 content: type: object additionalProperties: true @@ -45622,7 +46439,7 @@ paths: - updated_at - archived_at examples: - default: &293 + default: &300 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -46320,7 +47137,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *78 - - *284 + - *291 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -46390,22 +47207,22 @@ paths: description: Response content: application/json: - schema: *290 + schema: *297 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *291 + value: *298 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *291 + value: *298 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *291 + value: *298 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *291 + value: *298 '304': *37 '403': *29 '401': *25 @@ -46425,9 +47242,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *284 + - *291 - *78 - - &294 + - &301 name: item_id description: The unique identifier of the project item. in: path @@ -46453,9 +47270,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *299 examples: - default: *293 + default: *300 headers: Link: *70 '304': *37 @@ -46476,9 +47293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *284 + - *291 - *78 - - *294 + - *301 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -46548,13 +47365,13 @@ paths: description: Response content: application/json: - schema: *292 + schema: *299 examples: - text_field: *293 - number_field: *293 - date_field: *293 - single_select_field: *293 - iteration_field: *293 + text_field: *300 + number_field: *300 + date_field: *300 + single_select_field: *300 + iteration_field: *300 '401': *25 '403': *29 '404': *6 @@ -46574,9 +47391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *284 + - *291 - *78 - - *294 + - *301 responses: '204': description: Response @@ -46600,7 +47417,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *78 - - *284 + - *291 requestBody: required: true content: @@ -46671,7 +47488,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &719 + schema: &723 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -46769,7 +47586,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &295 + value: &302 value: id: 1 number: 1 @@ -46815,10 +47632,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *295 + value: *302 roadmap_view: summary: Response for creating a roadmap view - value: *295 + value: *302 '304': *37 '403': *29 '401': *25 @@ -46846,9 +47663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *284 + - *291 - *78 - - &740 + - &744 name: view_number description: The number that identifies the project view. in: path @@ -46880,9 +47697,9 @@ paths: application/json: schema: type: array - items: *292 + items: *299 examples: - default: *293 + default: *300 headers: Link: *70 '304': *37 @@ -46915,7 +47732,7 @@ paths: application/json: schema: type: array - items: &296 + items: &303 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -46983,7 +47800,7 @@ paths: - property_name - value_type examples: - default: &297 + default: &304 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -47043,7 +47860,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *296 + items: *303 minItems: 1 maxItems: 100 required: @@ -47073,9 +47890,9 @@ paths: application/json: schema: type: array - items: *296 + items: *303 examples: - default: *297 + default: *304 '403': *29 '404': *6 x-github: @@ -47097,7 +47914,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *78 - - &298 + - &305 name: custom_property_name description: The custom property name in: path @@ -47109,9 +47926,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *303 examples: - default: &299 + default: &306 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -47146,7 +47963,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *78 - - *298 + - *305 requestBody: required: true content: @@ -47217,9 +48034,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *303 examples: - default: *299 + default: *306 '403': *29 '404': *6 x-github: @@ -47243,7 +48060,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *78 - - *298 + - *305 responses: '204': *61 '403': *29 @@ -47304,7 +48121,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &300 + items: &307 title: Custom Property Value description: Custom property name and associated value type: object @@ -47391,7 +48208,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *300 + items: *307 required: - repository_names - properties @@ -47583,7 +48400,7 @@ paths: type: array items: *161 examples: - default: *272 + default: *279 headers: Link: *70 x-github: @@ -47785,7 +48602,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &358 title: Full Repository description: Full Repository type: object @@ -48073,8 +48890,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *301 - required: *302 + properties: *308 + required: *309 nullable: true temp_clone_token: type: string @@ -48189,7 +49006,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &491 + properties: &497 url: type: string format: uri @@ -48205,12 +49022,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &492 + required: &498 - url - key - name - html_url - security_and_analysis: *303 + security_and_analysis: *310 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -48294,7 +49111,7 @@ paths: - network_count - subscribers_count examples: - default: &353 + default: &360 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -48815,7 +49632,7 @@ paths: - *78 - *17 - *19 - - &621 + - &625 name: targets description: | A comma-separated list of rule targets to filter by. @@ -48833,7 +49650,7 @@ paths: application/json: schema: type: array - items: &330 + items: &337 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -48868,7 +49685,7 @@ paths: source: type: string description: The name of the source - enforcement: &306 + enforcement: &313 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -48881,7 +49698,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &307 + items: &314 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -48951,7 +49768,7 @@ paths: conditions: nullable: true anyOf: - - &304 + - &311 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -48975,7 +49792,7 @@ paths: match. items: type: string - - &308 + - &315 title: Organization ruleset conditions type: object description: |- @@ -48989,7 +49806,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *304 + - *311 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -49023,7 +49840,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *304 + - *311 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -49045,7 +49862,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *304 + - *311 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -49058,7 +49875,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &305 + items: &312 title: Repository ruleset property targeting definition type: object @@ -49091,17 +49908,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *305 + items: *312 required: - repository_property rules: type: array - items: &622 + items: &626 title: Repository Rule type: object description: A repository rule. oneOf: - - &309 + - &316 title: creation description: Only allow users with bypass permission to create matching refs. @@ -49113,7 +49930,7 @@ paths: type: string enum: - creation - - &310 + - &317 title: update description: Only allow users with bypass permission to update matching refs. @@ -49134,7 +49951,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &311 + - &318 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -49146,7 +49963,7 @@ paths: type: string enum: - deletion - - &312 + - &319 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -49158,7 +49975,7 @@ paths: type: string enum: - required_linear_history - - &620 + - &624 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -49236,7 +50053,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &313 + - &320 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -49260,7 +50077,7 @@ paths: type: string required: - required_deployment_environments - - &314 + - &321 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -49272,7 +50089,7 @@ paths: type: string enum: - required_signatures - - &315 + - &322 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -49378,7 +50195,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &316 + - &323 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -49426,7 +50243,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &317 + - &324 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -49438,7 +50255,7 @@ paths: type: string enum: - non_fast_forward - - &318 + - &325 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -49475,7 +50292,7 @@ paths: required: - operator - pattern - - &319 + - &326 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -49512,7 +50329,7 @@ paths: required: - operator - pattern - - &320 + - &327 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -49549,7 +50366,7 @@ paths: required: - operator - pattern - - &321 + - &328 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -49586,7 +50403,7 @@ paths: required: - operator - pattern - - &322 + - &329 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -49623,7 +50440,7 @@ paths: required: - operator - pattern - - &323 + - &330 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -49648,7 +50465,7 @@ paths: type: string required: - restricted_file_paths - - &324 + - &331 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -49672,7 +50489,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &325 + - &332 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -49695,7 +50512,7 @@ paths: type: string required: - restricted_file_extensions - - &326 + - &333 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -49720,7 +50537,7 @@ paths: maximum: 100 required: - max_file_size - - &327 + - &334 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -49770,7 +50587,7 @@ paths: - repository_id required: - workflows - - &328 + - &335 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -49831,7 +50648,7 @@ paths: - tool required: - code_scanning_tools - - &329 + - &336 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -49930,27 +50747,20 @@ paths: - push - repository default: branch - enforcement: *306 + enforcement: *313 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *307 - conditions: *308 + items: *314 + conditions: *315 rules: type: array description: An array of rules within the ruleset. - items: &332 + items: &339 title: Repository Rule type: object description: A repository rule. oneOf: - - *309 - - *310 - - *311 - - *312 - - *313 - - *314 - - *315 - *316 - *317 - *318 @@ -49965,6 +50775,13 @@ paths: - *327 - *328 - *329 + - *330 + - *331 + - *332 + - *333 + - *334 + - *335 + - *336 required: - name - enforcement @@ -50002,9 +50819,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - default: &331 + default: &338 value: id: 21 name: super cool ruleset @@ -50060,7 +50877,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *78 - - &623 + - &627 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 @@ -50075,7 +50892,7 @@ paths: in: query schema: type: string - - &624 + - &628 name: time_period description: |- The time period to filter by. @@ -50091,14 +50908,14 @@ paths: - week - month default: day - - &625 + - &629 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 - - &626 + - &630 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -50118,7 +50935,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &631 title: Rule Suites description: Response type: array @@ -50173,7 +50990,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &628 + default: &632 value: - id: 21 actor_id: 12 @@ -50217,7 +51034,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *78 - - &629 + - &633 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -50233,7 +51050,7 @@ paths: description: Response content: application/json: - schema: &630 + schema: &634 title: Rule Suite description: Response type: object @@ -50332,7 +51149,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &631 + default: &635 value: id: 21 actor_id: 12 @@ -50405,9 +51222,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - default: *331 + default: *338 '404': *6 '500': *55 put: @@ -50451,16 +51268,16 @@ paths: - tag - push - repository - enforcement: *306 + enforcement: *313 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *307 - conditions: *308 + items: *314 + conditions: *315 rules: description: An array of rules within the ruleset. type: array - items: *332 + items: *339 examples: default: value: @@ -50495,9 +51312,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - default: *331 + default: *338 '404': *6 '422': *15 '500': *55 @@ -50555,7 +51372,7 @@ paths: application/json: schema: type: array - items: &333 + items: &340 title: Ruleset version type: object description: The historical version of a ruleset @@ -50579,7 +51396,7 @@ paths: type: string format: date-time examples: - default: &633 + default: &637 value: - version_id: 3 actor: @@ -50632,9 +51449,9 @@ paths: description: Response content: application/json: - schema: &634 + schema: &638 allOf: - - *333 + - *340 - type: object required: - state @@ -50704,7 +51521,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *78 - - &635 + - &639 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -50715,7 +51532,7 @@ paths: enum: - open - resolved - - &636 + - &640 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -50725,7 +51542,7 @@ paths: required: false schema: type: string - - &637 + - &641 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -50736,7 +51553,7 @@ paths: required: false schema: type: string - - &638 + - &642 name: exclude_providers in: query description: |- @@ -50747,7 +51564,7 @@ paths: required: false schema: type: string - - &639 + - &643 name: providers in: query description: |- @@ -50758,7 +51575,7 @@ paths: required: false schema: type: string - - &640 + - &644 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -50767,7 +51584,7 @@ paths: required: false schema: type: string - - &641 + - &645 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -50786,7 +51603,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &642 + - &646 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. @@ -50801,7 +51618,7 @@ paths: - *62 - *19 - *17 - - &643 + - &647 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 @@ -50811,7 +51628,7 @@ paths: required: false schema: type: string - - &644 + - &648 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 @@ -50821,7 +51638,7 @@ paths: required: false schema: type: string - - &645 + - &649 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -50830,7 +51647,7 @@ paths: required: false schema: type: string - - &646 + - &650 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -50839,7 +51656,7 @@ paths: schema: type: boolean default: false - - &647 + - &651 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -50848,7 +51665,7 @@ paths: schema: type: boolean default: false - - &648 + - &652 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -50857,7 +51674,7 @@ paths: schema: type: boolean default: false - - &649 + - &653 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -50878,8 +51695,8 @@ paths: items: type: object properties: - number: *179 - created_at: *180 + number: *186 + created_at: *187 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -50887,21 +51704,21 @@ paths: format: date-time readOnly: true nullable: true - url: *182 - html_url: *183 + url: *189 + html_url: *190 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &650 + state: &654 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: &651 + resolution: &655 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -51018,8 +51835,8 @@ paths: pull request. ' - oneOf: &652 - - &654 + oneOf: &656 + - &658 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -51077,7 +51894,7 @@ paths: - blob_url - commit_sha - commit_url - - &655 + - &659 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. @@ -51132,7 +51949,7 @@ paths: - page_url - commit_sha - commit_url - - &656 + - &660 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -51152,7 +51969,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &657 + - &661 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -51172,7 +51989,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &658 + - &662 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -51192,7 +52009,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &659 + - &663 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -51206,7 +52023,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &660 + - &664 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -51220,7 +52037,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &661 + - &665 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -51234,7 +52051,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &662 + - &666 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. @@ -51254,7 +52071,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &663 + - &667 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. @@ -51274,7 +52091,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &664 + - &668 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. @@ -51294,7 +52111,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &665 + - &669 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. @@ -51314,7 +52131,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &666 + - &670 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 request. @@ -51577,7 +52394,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &335 + pattern_config_version: &342 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -51586,7 +52403,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &334 + items: &341 type: object properties: token_type: @@ -51652,7 +52469,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *334 + items: *341 examples: default: value: @@ -51709,7 +52526,7 @@ paths: schema: type: object properties: - pattern_config_version: *335 + pattern_config_version: *342 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -51735,7 +52552,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *335 + custom_pattern_version: *342 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -51833,7 +52650,7 @@ paths: application/json: schema: type: array - items: &670 + items: &674 description: A repository security advisory. type: object properties: @@ -52053,7 +52870,7 @@ paths: login: type: string description: The username of the user credited. - type: *336 + type: *343 credits_detailed: type: array nullable: true @@ -52063,7 +52880,7 @@ paths: type: object properties: user: *4 - type: *336 + type: *343 state: type: string description: The state of the user's acceptance of the @@ -52087,7 +52904,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *201 + items: *208 private_fork: readOnly: true nullable: true @@ -52124,7 +52941,7 @@ paths: - private_fork additionalProperties: false examples: - default: &671 + default: &675 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -52511,7 +53328,7 @@ paths: application/json: schema: type: array - items: *337 + items: *344 examples: default: value: @@ -52864,7 +53681,7 @@ paths: type: integer network_configurations: type: array - items: &338 + items: &345 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -53010,9 +53827,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *345 examples: - default: &339 + default: &346 value: id: 123456789ABCDEF name: My network configuration @@ -53041,7 +53858,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *78 - - &340 + - &347 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -53053,9 +53870,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *345 examples: - default: *339 + default: *346 headers: Link: *70 x-github: @@ -53077,7 +53894,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *78 - - *340 + - *347 requestBody: required: true content: @@ -53130,9 +53947,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *345 examples: - default: *339 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53152,7 +53969,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *78 - - *340 + - *347 responses: '204': description: Response @@ -53292,13 +54109,13 @@ paths: application/json: schema: type: array - items: *341 + items: *348 examples: - default: *342 + default: *349 '500': *55 '403': *29 '404': *6 - '422': *343 + '422': *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53338,9 +54155,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: *265 + default: *272 headers: Link: *70 '403': *29 @@ -53434,7 +54251,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &351 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -53497,8 +54314,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *263 - required: *264 + properties: *270 + required: *271 nullable: true members_count: type: integer @@ -53761,7 +54578,7 @@ paths: - repos_count - organization examples: - default: &345 + default: &352 value: id: 1 node_id: MDQ6VGVhbTE= @@ -53838,9 +54655,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *351 examples: - default: *345 + default: *352 '404': *6 x-github: githubCloudOnly: false @@ -53924,16 +54741,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *344 + schema: *351 examples: - default: *345 + default: *352 '201': description: Response content: application/json: - schema: *344 + schema: *351 examples: - default: *345 + default: *352 '404': *6 '422': *15 '403': *29 @@ -53963,7 +54780,7 @@ paths: responses: '204': description: Response - '422': &346 + '422': &353 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -53997,12 +54814,12 @@ paths: application/json: schema: type: array - items: *242 + items: *249 examples: - default: *243 + default: *250 headers: Link: *70 - '422': *346 + '422': *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54084,7 +54901,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &354 title: Team Membership description: Team Membership type: object @@ -54111,7 +54928,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &686 + response-if-user-is-a-team-maintainer: &690 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -54174,9 +54991,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *354 examples: - response-if-users-membership-with-team-is-now-pending: &687 + response-if-users-membership-with-team-is-now-pending: &691 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -54252,7 +55069,7 @@ paths: type: array items: *161 examples: - default: *272 + default: *279 headers: Link: *70 x-github: @@ -54283,14 +55100,14 @@ paths: parameters: - *78 - *80 - - *348 - - *349 + - *355 + - *356 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &688 + schema: &692 title: Team Repository description: A team's access to a repository. type: object @@ -54861,8 +55678,8 @@ paths: parameters: - *78 - *80 - - *348 - - *349 + - *355 + - *356 requestBody: required: false content: @@ -54909,8 +55726,8 @@ paths: parameters: - *78 - *80 - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -54945,9 +55762,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - response-if-child-teams-exist: &689 + response-if-child-teams-exist: &693 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -55101,7 +55918,7 @@ paths: resources: type: object properties: - core: &350 + core: &357 title: Rate Limit type: object properties: @@ -55118,21 +55935,21 @@ paths: - remaining - reset - used - graphql: *350 - search: *350 - code_search: *350 - source_import: *350 - integration_manifest: *350 - code_scanning_upload: *350 - actions_runner_registration: *350 - scim: *350 - dependency_snapshots: *350 - dependency_sbom: *350 - code_scanning_autofix: *350 + graphql: *357 + search: *357 + code_search: *357 + source_import: *357 + integration_manifest: *357 + code_scanning_upload: *357 + actions_runner_registration: *357 + scim: *357 + dependency_snapshots: *357 + dependency_sbom: *357 + code_scanning_autofix: *357 required: - core - search - rate: *350 + rate: *357 required: - rate - resources @@ -55237,14 +56054,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *351 + schema: *358 examples: default-response: summary: Default response @@ -55749,7 +56566,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *352 + '301': *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55767,8 +56584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: false content: @@ -56066,10 +56883,10 @@ paths: description: Response content: application/json: - schema: *351 + schema: *358 examples: - default: *353 - '307': &354 + default: *360 + '307': &361 description: Temporary Redirect content: application/json: @@ -56098,8 +56915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -56121,7 +56938,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *354 + '307': *361 '404': *6 '409': *54 x-github: @@ -56145,11 +56962,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 - - &387 + - &393 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -56172,7 +56989,7 @@ paths: type: integer artifacts: type: array - items: &355 + items: &362 title: Artifact description: An artifact type: object @@ -56250,7 +57067,7 @@ paths: - expires_at - updated_at examples: - default: &388 + default: &394 value: total_count: 2 artifacts: @@ -56311,9 +57128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *348 - - *349 - - &356 + - *355 + - *356 + - &363 name: artifact_id description: The unique identifier of the artifact. in: path @@ -56325,7 +57142,7 @@ paths: description: Response content: application/json: - schema: *355 + schema: *362 examples: default: value: @@ -56363,9 +57180,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *348 - - *349 + - *355 - *356 + - *363 responses: '204': description: Response @@ -56389,9 +57206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *348 - - *349 + - *355 - *356 + - *363 - name: archive_format in: path required: true @@ -56401,11 +57218,11 @@ paths: '302': description: Response headers: - Location: &510 + Location: &516 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': &551 + '410': &555 description: Gone content: application/json: @@ -56430,14 +57247,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: &357 + schema: &364 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -56470,13 +57287,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: application/json: - schema: *357 + schema: *364 examples: selected_actions: *42 responses: @@ -56505,14 +57322,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: &358 + schema: &365 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -56545,13 +57362,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: application/json: - schema: *358 + schema: *365 examples: selected_actions: *44 responses: @@ -56582,14 +57399,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *359 + schema: *366 examples: default: value: @@ -56615,11 +57432,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 - - &360 + - &367 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 @@ -56653,7 +57470,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &368 title: Repository actions caches description: Repository actions caches type: object @@ -56695,7 +57512,7 @@ paths: - total_count - actions_caches examples: - default: &362 + default: &369 value: total_count: 1 actions_caches: @@ -56727,23 +57544,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: - - *348 - - *349 + - *355 + - *356 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *360 + - *367 responses: '200': description: Response content: application/json: - schema: *361 + schema: *368 examples: - default: *362 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56763,8 +57580,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: - - *348 - - *349 + - *355 + - *356 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -56793,8 +57610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *48 responses: @@ -56876,8 +57693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -57029,9 +57846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *348 - - *349 - - &363 + - *355 + - *356 + - &370 name: job_id description: The unique identifier of the job. in: path @@ -57043,7 +57860,7 @@ paths: description: Response content: application/json: - schema: &391 + schema: &397 title: Job description: Information of a job execution in a workflow run type: object @@ -57350,9 +58167,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *348 - - *349 - - *363 + - *355 + - *356 + - *370 responses: '302': description: Response @@ -57380,9 +58197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *348 - - *349 - - *363 + - *355 + - *356 + - *370 requestBody: required: false content: @@ -57432,8 +58249,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: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Status response @@ -57492,8 +58309,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: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -57561,8 +58378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -57580,7 +58397,7 @@ paths: type: integer secrets: type: array - items: &393 + items: &399 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -57600,7 +58417,7 @@ paths: - created_at - updated_at examples: - default: &394 + default: &400 value: total_count: 2 secrets: @@ -57633,9 +58450,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *348 - - *349 - - *364 + - *355 + - *356 + - *178 - *19 responses: '200': @@ -57652,7 +58469,7 @@ paths: type: integer variables: type: array - items: &397 + items: &401 title: Actions Variable type: object properties: @@ -57682,7 +58499,7 @@ paths: - created_at - updated_at examples: - default: &398 + default: &402 value: total_count: 2 variables: @@ -57715,8 +58532,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -57725,11 +58542,11 @@ paths: schema: type: object properties: - enabled: &366 + enabled: &372 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *146 - selected_actions_url: *365 + selected_actions_url: *371 sha_pinning_required: *147 required: - enabled @@ -57758,8 +58575,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -57770,7 +58587,7 @@ paths: schema: type: object properties: - enabled: *366 + enabled: *372 allowed_actions: *146 sha_pinning_required: *147 required: @@ -57802,14 +58619,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: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: &367 + schema: &373 type: object properties: access_level: @@ -57826,7 +58643,7 @@ paths: required: - access_level examples: - default: &368 + default: &374 value: access_level: organization x-github: @@ -57850,15 +58667,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: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: application/json: - schema: *367 + schema: *373 examples: - default: *368 + default: *374 responses: '204': description: Response @@ -57882,14 +58699,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *369 + schema: *375 examples: default: value: @@ -57913,8 +58730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Empty response for successful settings update @@ -57924,7 +58741,7 @@ paths: required: true content: application/json: - schema: *370 + schema: *376 examples: default: summary: Set retention days @@ -57948,8 +58765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -57957,7 +58774,7 @@ paths: application/json: schema: *148 examples: - default: *371 + default: *377 '404': *6 x-github: enabledForGitHubApps: true @@ -57976,8 +58793,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -58011,14 +58828,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: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *372 + schema: *378 examples: default: *149 '403': *29 @@ -58040,13 +58857,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: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: application/json: - schema: *373 + schema: *379 examples: default: *149 responses: @@ -58072,8 +58889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -58100,8 +58917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -58133,14 +58950,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *374 + schema: *380 examples: default: *156 x-github: @@ -58163,8 +58980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Success response @@ -58175,7 +58992,7 @@ paths: required: true content: application/json: - schema: *375 + schema: *381 examples: default: *156 x-github: @@ -58204,8 +59021,8 @@ paths: in: query schema: type: string - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -58249,8 +59066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -58258,9 +59075,9 @@ paths: application/json: schema: type: array - items: *376 + items: *382 examples: - default: *377 + default: *383 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58282,8 +59099,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: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -58326,7 +59143,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *378 + '201': *384 '404': *6 '422': *7 '409': *54 @@ -58357,8 +59174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '201': description: Response @@ -58366,7 +59183,7 @@ paths: application/json: schema: *165 examples: - default: *379 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58394,8 +59211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '201': description: Response @@ -58403,7 +59220,7 @@ paths: application/json: schema: *165 examples: - default: *380 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58425,8 +59242,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: - - *348 - - *349 + - *355 + - *356 - *162 responses: '200': @@ -58435,7 +59252,7 @@ paths: application/json: schema: *163 examples: - default: *381 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58456,8 +59273,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: - - *348 - - *349 + - *355 + - *356 - *162 responses: '204': @@ -58484,8 +59301,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: - - *348 - - *349 + - *355 + - *356 - *162 responses: '200': *167 @@ -58510,8 +59327,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: - - *348 - - *349 + - *355 + - *356 - *162 requestBody: required: true @@ -58560,8 +59377,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: - - *348 - - *349 + - *355 + - *356 - *162 requestBody: required: true @@ -58611,11 +59428,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: - - *348 - - *349 + - *355 + - *356 - *162 responses: - '200': *382 + '200': *388 '404': *6 x-github: githubCloudOnly: false @@ -58642,10 +59459,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: - - *348 - - *349 + - *355 + - *356 - *162 - - *383 + - *389 responses: '200': *167 '404': *6 @@ -58673,9 +59490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *348 - - *349 - - &401 + - *355 + - *356 + - &405 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. @@ -58683,7 +59500,7 @@ paths: required: false schema: type: string - - &402 + - &406 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -58691,7 +59508,7 @@ paths: required: false schema: type: string - - &403 + - &407 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -58700,7 +59517,7 @@ paths: required: false schema: type: string - - &404 + - &408 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 @@ -58727,7 +59544,7 @@ paths: - pending - *17 - *19 - - &405 + - &409 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)." @@ -58736,7 +59553,7 @@ paths: schema: type: string format: date-time - - &384 + - &390 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -58745,13 +59562,13 @@ paths: schema: type: boolean default: false - - &406 + - &410 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &407 + - &411 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -58774,7 +59591,7 @@ paths: type: integer workflow_runs: type: array - items: &385 + items: &391 title: Workflow Run description: An invocation of a workflow type: object @@ -58922,7 +59739,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &429 + properties: &435 id: type: string description: SHA for the commit @@ -58973,7 +59790,7 @@ paths: - name - email nullable: true - required: &430 + required: &436 - id - tree_id - message @@ -59020,7 +59837,7 @@ paths: - workflow_url - pull_requests examples: - default: &408 + default: &412 value: total_count: 1 workflow_runs: @@ -59256,24 +60073,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *348 - - *349 - - &386 + - *355 + - *356 + - &392 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *384 + - *390 responses: '200': description: Response content: application/json: - schema: *385 + schema: *391 examples: - default: &389 + default: &395 value: id: 30433642 name: Build @@ -59514,9 +60331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 responses: '204': description: Response @@ -59539,9 +60356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 responses: '200': description: Response @@ -59660,9 +60477,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: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 responses: '201': description: Response @@ -59695,12 +60512,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 - *17 - *19 - - *387 + - *393 - *62 responses: '200': @@ -59717,9 +60534,9 @@ paths: type: integer artifacts: type: array - items: *355 + items: *362 examples: - default: *388 + default: *394 headers: Link: *70 x-github: @@ -59743,25 +60560,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *348 - - *349 - - *386 - - &390 + - *355 + - *356 + - *392 + - &396 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *384 + - *390 responses: '200': description: Response content: application/json: - schema: *385 + schema: *391 examples: - default: *389 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59784,10 +60601,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *348 - - *349 - - *386 - - *390 + - *355 + - *356 + - *392 + - *396 - *17 - *19 responses: @@ -59805,9 +60622,9 @@ paths: type: integer jobs: type: array - items: *391 + items: *397 examples: - default: &392 + default: &398 value: total_count: 1 jobs: @@ -59920,10 +60737,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *348 - - *349 - - *386 - - *390 + - *355 + - *356 + - *392 + - *396 responses: '302': description: Response @@ -59951,9 +60768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 responses: '202': description: Response @@ -59999,9 +60816,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 - *17 - *47 - *48 @@ -60172,9 +60989,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: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 requestBody: required: true content: @@ -60241,9 +61058,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 responses: '202': description: Response @@ -60276,9 +61093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 - 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 @@ -60308,9 +61125,9 @@ paths: type: integer jobs: type: array - items: *391 + items: *397 examples: - default: *392 + default: *398 headers: Link: *70 x-github: @@ -60335,9 +61152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 responses: '302': description: Response @@ -60364,9 +61181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 responses: '204': description: Response @@ -60393,9 +61210,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 responses: '200': description: Response @@ -60455,7 +61272,7 @@ paths: items: type: object properties: - type: &517 + type: &523 type: string description: The type of reviewer. enum: @@ -60465,7 +61282,7 @@ paths: reviewer: anyOf: - *4 - - *201 + - *208 required: - environment - wait_timer @@ -60540,9 +61357,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 requestBody: required: true content: @@ -60589,12 +61406,12 @@ paths: application/json: schema: type: array - items: &512 + items: &518 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &760 + properties: &764 url: type: string format: uri @@ -60679,7 +61496,7 @@ paths: nullable: true properties: *83 required: *84 - required: &761 + required: &765 - id - node_id - sha @@ -60695,7 +61512,7 @@ paths: - created_at - updated_at examples: - default: &513 + default: &519 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -60751,9 +61568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 requestBody: required: false content: @@ -60797,9 +61614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 requestBody: required: false content: @@ -60852,9 +61669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 responses: '200': description: Response @@ -60991,8 +61808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -61010,9 +61827,9 @@ paths: type: integer secrets: type: array - items: *393 + items: *399 examples: - default: *394 + default: *400 headers: Link: *70 x-github: @@ -61037,16 +61854,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *395 + schema: *175 examples: - default: *396 + default: *176 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61068,17 +61885,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *348 - - *349 + - *355 + - *356 - *169 responses: '200': description: Response content: application/json: - schema: *393 + schema: *399 examples: - default: &530 + default: &413 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -61104,8 +61921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *348 - - *349 + - *355 + - *356 - *169 requestBody: required: true @@ -61163,8 +61980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *348 - - *349 + - *355 + - *356 - *169 responses: '204': @@ -61190,9 +62007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *348 - - *349 - - *364 + - *355 + - *356 + - *178 - *19 responses: '200': @@ -61209,9 +62026,9 @@ paths: type: integer variables: type: array - items: *397 + items: *401 examples: - default: *398 + default: *402 headers: Link: *70 x-github: @@ -61234,8 +62051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -61287,17 +62104,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *348 - - *349 + - *355 + - *356 - *172 responses: '200': description: Response content: application/json: - schema: *397 + schema: *401 examples: - default: &531 + default: &414 value: name: USERNAME value: octocat @@ -61323,8 +62140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *348 - - *349 + - *355 + - *356 - *172 requestBody: required: true @@ -61367,8 +62184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *348 - - *349 + - *355 + - *356 - *172 responses: '204': @@ -61394,8 +62211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -61413,7 +62230,7 @@ paths: type: integer workflows: type: array - items: &399 + items: &403 title: Workflow description: A GitHub Actions workflow type: object @@ -61520,9 +62337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *348 - - *349 - - &400 + - *355 + - *356 + - &404 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -61537,7 +62354,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *403 examples: default: value: @@ -61570,9 +62387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *348 - - *349 - - *400 + - *355 + - *356 + - *404 responses: '204': description: Response @@ -61597,9 +62414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *348 - - *349 - - *400 + - *355 + - *356 + - *404 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -61686,9 +62503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *348 - - *349 - - *400 + - *355 + - *356 + - *404 responses: '204': description: Response @@ -61715,19 +62532,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *348 - - *349 - - *400 - - *401 - - *402 - - *403 + - *355 + - *356 - *404 - - *17 - - *19 - *405 - - *384 - *406 - *407 + - *408 + - *17 + - *19 + - *409 + - *390 + - *410 + - *411 responses: '200': description: Response @@ -61743,9 +62560,9 @@ paths: type: integer workflow_runs: type: array - items: *385 + items: *391 examples: - default: *408 + default: *412 headers: Link: *70 x-github: @@ -61777,9 +62594,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *348 - - *349 - - *400 + - *355 + - *356 + - *404 responses: '200': description: Response @@ -61840,8 +62657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *348 - - *349 + - *355 + - *356 - *62 - *17 - *47 @@ -61993,6 +62810,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: + - *355 + - *356 + - *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: *399 + examples: + default: *400 + headers: + Link: *70 + 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: + - *355 + - *356 + - *178 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *401 + examples: + default: *402 + headers: + Link: *70 + 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: + - *355 + - *356 + - *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: *399 + examples: + default: *400 + headers: + Link: *70 + 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: + - *355 + - *356 + responses: + '200': + description: Response + content: + application/json: + schema: *175 + examples: + default: *176 + 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: + - *355 + - *356 + - *169 + responses: + '200': + description: Response + content: + application/json: + schema: *399 + examples: + default: *413 + 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: + - *355 + - *356 + - *169 + 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: *170 + 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: + - *355 + - *356 + - *169 + 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: + - *355 + - *356 + - *178 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *401 + examples: + default: *402 + headers: + Link: *70 + 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: + - *355 + - *356 + 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: *170 + 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: + - *355 + - *356 + - *172 + responses: + '200': + description: Response + content: + application/json: + schema: *401 + examples: + default: *414 + 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: + - *355 + - *356 + - *172 + 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: + - *355 + - *356 + - *172 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables "/repos/{owner}/{repo}/assignees": get: summary: List assignees @@ -62005,8 +63308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -62043,8 +63346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *348 - - *349 + - *355 + - *356 - name: assignee in: path required: true @@ -62080,8 +63383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -62191,8 +63494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *47 - *48 @@ -62249,7 +63552,7 @@ paths: initiator: type: string examples: - default: *409 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62269,8 +63572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -62278,7 +63581,7 @@ paths: application/json: schema: type: array - items: &410 + items: &416 title: Autolink reference description: An autolink reference. type: object @@ -62332,8 +63635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -62372,9 +63675,9 @@ paths: description: response content: application/json: - schema: *410 + schema: *416 examples: - default: &411 + default: &417 value: id: 1 key_prefix: TICKET- @@ -62405,9 +63708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *348 - - *349 - - &412 + - *355 + - *356 + - &418 name: autolink_id description: The unique identifier of the autolink. in: path @@ -62419,9 +63722,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *416 examples: - default: *411 + default: *417 '404': *6 x-github: githubCloudOnly: false @@ -62441,9 +63744,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *348 - - *349 - - *412 + - *355 + - *356 + - *418 responses: '204': description: Response @@ -62467,8 +63770,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: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response if Dependabot is enabled @@ -62516,8 +63819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -62538,8 +63841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -62559,8 +63862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *348 - - *349 + - *355 + - *356 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -62598,7 +63901,7 @@ paths: - url protected: type: boolean - protection: &414 + protection: &420 title: Branch Protection description: Branch Protection type: object @@ -62640,7 +63943,7 @@ paths: required: - contexts - checks - enforce_admins: &417 + enforce_admins: &423 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -62655,7 +63958,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &419 + required_pull_request_reviews: &425 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -62676,7 +63979,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *201 + items: *208 apps: description: The list of apps with review dismissal access. @@ -62705,7 +64008,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *201 + items: *208 apps: description: The list of apps allowed to bypass pull request requirements. @@ -62731,7 +64034,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &416 + restrictions: &422 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -62794,7 +64097,7 @@ paths: type: string teams: type: array - items: *201 + items: *208 apps: type: array items: @@ -63008,9 +64311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *348 - - *349 - - &415 + - *355 + - *356 + - &421 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). @@ -63024,14 +64327,14 @@ paths: description: Response content: application/json: - schema: &425 + schema: &431 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &482 + commit: &488 title: Commit description: Commit type: object @@ -63065,7 +64368,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &413 + properties: &419 name: type: string example: '"Chris Wanstrath"' @@ -63081,7 +64384,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *413 + properties: *419 nullable: true message: type: string @@ -63102,7 +64405,7 @@ paths: required: - sha - url - verification: &537 + verification: &541 title: Verification type: object properties: @@ -63172,7 +64475,7 @@ paths: type: integer files: type: array - items: &495 + items: &501 title: Diff Entry description: Diff Entry type: object @@ -63256,7 +64559,7 @@ paths: - self protected: type: boolean - protection: *414 + protection: *420 protection_url: type: string format: uri @@ -63363,7 +64666,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *352 + '301': *359 '404': *6 x-github: githubCloudOnly: false @@ -63385,15 +64688,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response content: application/json: - schema: *414 + schema: *420 examples: default: value: @@ -63587,9 +64890,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: true content: @@ -63844,7 +65147,7 @@ paths: url: type: string format: uri - required_status_checks: &422 + required_status_checks: &428 title: Status Check Policy description: Status Check Policy type: object @@ -63920,7 +65223,7 @@ paths: items: *4 teams: type: array - items: *201 + items: *208 apps: type: array items: *5 @@ -63938,7 +65241,7 @@ paths: items: *4 teams: type: array - items: *201 + items: *208 apps: type: array items: *5 @@ -63996,7 +65299,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *416 + restrictions: *422 required_conversation_resolution: type: object properties: @@ -64108,9 +65411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '204': description: Response @@ -64135,17 +65438,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response content: application/json: - schema: *417 + schema: *423 examples: - default: &418 + default: &424 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -64167,17 +65470,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response content: application/json: - schema: *417 + schema: *423 examples: - default: *418 + default: *424 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64196,9 +65499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '204': description: Response @@ -64223,17 +65526,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response content: application/json: - schema: *419 + schema: *425 examples: - default: &420 + default: &426 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -64329,9 +65632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: false content: @@ -64429,9 +65732,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *425 examples: - default: *420 + default: *426 '422': *15 x-github: githubCloudOnly: false @@ -64452,9 +65755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '204': description: Response @@ -64481,17 +65784,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response content: application/json: - schema: *417 + schema: *423 examples: - default: &421 + default: &427 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -64514,17 +65817,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response content: application/json: - schema: *417 + schema: *423 examples: - default: *421 + default: *427 '404': *6 x-github: githubCloudOnly: false @@ -64544,9 +65847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '204': description: Response @@ -64571,17 +65874,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response content: application/json: - schema: *422 + schema: *428 examples: - default: &423 + default: &429 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -64607,9 +65910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: false content: @@ -64661,9 +65964,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *428 examples: - default: *423 + default: *429 '404': *6 '422': *15 x-github: @@ -64685,9 +65988,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '204': description: Response @@ -64711,9 +66014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response @@ -64747,9 +66050,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: false content: @@ -64816,9 +66119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: false content: @@ -64882,9 +66185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: content: application/json: @@ -64950,15 +66253,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response content: application/json: - schema: *416 + schema: *422 examples: default: value: @@ -65049,9 +66352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '204': description: Response @@ -65074,9 +66377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response @@ -65086,7 +66389,7 @@ paths: type: array items: *5 examples: - default: &424 + default: &430 value: - id: 1 slug: octoapp @@ -65143,9 +66446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: true content: @@ -65179,7 +66482,7 @@ paths: type: array items: *5 examples: - default: *424 + default: *430 '422': *15 x-github: githubCloudOnly: false @@ -65200,9 +66503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: true content: @@ -65236,7 +66539,7 @@ paths: type: array items: *5 examples: - default: *424 + default: *430 '422': *15 x-github: githubCloudOnly: false @@ -65257,9 +66560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: true content: @@ -65293,7 +66596,7 @@ paths: type: array items: *5 examples: - default: *424 + default: *430 '422': *15 x-github: githubCloudOnly: false @@ -65315,9 +66618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response @@ -65325,9 +66628,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: *265 + default: *272 '404': *6 x-github: githubCloudOnly: false @@ -65347,9 +66650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: false content: @@ -65385,9 +66688,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: *265 + default: *272 '422': *15 x-github: githubCloudOnly: false @@ -65408,9 +66711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: false content: @@ -65446,9 +66749,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: *265 + default: *272 '422': *15 x-github: githubCloudOnly: false @@ -65469,9 +66772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: content: application/json: @@ -65506,9 +66809,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: *265 + default: *272 '422': *15 x-github: githubCloudOnly: false @@ -65530,9 +66833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response @@ -65566,9 +66869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: true content: @@ -65626,9 +66929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: true content: @@ -65686,9 +66989,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: true content: @@ -65748,9 +67051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: true content: @@ -65772,7 +67075,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *431 examples: default: value: @@ -65888,8 +67191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -66168,7 +67471,7 @@ paths: description: Response content: application/json: - schema: &426 + schema: &432 title: CheckRun description: A check performed on the code of a given code change type: object @@ -66288,7 +67591,7 @@ paths: check. type: array items: *93 - deployment: &753 + deployment: &757 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -66568,9 +67871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *348 - - *349 - - &427 + - *355 + - *356 + - &433 name: check_run_id description: The unique identifier of the check run. in: path @@ -66582,9 +67885,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *432 examples: - default: &428 + default: &434 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -66684,9 +67987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *348 - - *349 - - *427 + - *355 + - *356 + - *433 requestBody: required: true content: @@ -66926,9 +68229,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *432 examples: - default: *428 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66948,9 +68251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *348 - - *349 - - *427 + - *355 + - *356 + - *433 - *17 - *19 responses: @@ -67045,9 +68348,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *348 - - *349 - - *427 + - *355 + - *356 + - *433 responses: '201': description: Response @@ -67091,8 +68394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -67114,7 +68417,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &431 + schema: &437 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -67200,12 +68503,12 @@ paths: type: string format: date-time nullable: true - head_commit: &781 + head_commit: &785 title: Simple Commit description: A commit. type: object - properties: *429 - required: *430 + properties: *435 + required: *436 latest_check_runs_count: type: integer check_runs_url: @@ -67233,7 +68536,7 @@ paths: - check_runs_url - pull_requests examples: - default: &432 + default: &438 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -67524,9 +68827,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *431 + schema: *437 examples: - default: *432 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67545,8 +68848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -67855,9 +69158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *348 - - *349 - - &433 + - *355 + - *356 + - &439 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -67869,9 +69172,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *437 examples: - default: *432 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67894,17 +69197,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *348 - - *349 - - *433 - - &488 + - *355 + - *356 + - *439 + - &494 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &489 + - &495 name: status description: Returns check runs with the specified `status`. in: query @@ -67943,9 +69246,9 @@ paths: type: integer check_runs: type: array - items: *426 + items: *432 examples: - default: &490 + default: &496 value: total_count: 1 check_runs: @@ -68047,9 +69350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *348 - - *349 - - *433 + - *355 + - *356 + - *439 responses: '201': description: Response @@ -68082,21 +69385,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *348 - - *349 - - *434 - - *435 + - *355 + - *356 + - *440 + - *441 - *19 - *17 - - &452 + - &458 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: *436 - - &453 + schema: *442 + - &459 name: pr description: The number of the pull request for the results you want to list. in: query @@ -68121,13 +69424,13 @@ paths: be returned. in: query required: false - schema: *437 + schema: *443 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *438 + schema: *444 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -68146,14 +69449,14 @@ paths: items: type: object properties: - number: *179 - created_at: *180 - updated_at: *181 - url: *182 - html_url: *183 - instances_url: *439 - state: *188 - fixed_at: *184 + number: *186 + created_at: *187 + updated_at: *188 + url: *189 + html_url: *190 + instances_url: *445 + state: *195 + fixed_at: *191 dismissed_by: title: Simple User description: A GitHub user. @@ -68161,12 +69464,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *185 - dismissed_reason: *440 - dismissed_comment: *441 - rule: *442 - tool: *443 - most_recent_instance: *444 + dismissed_at: *192 + dismissed_reason: *446 + dismissed_comment: *447 + rule: *448 + tool: *449 + most_recent_instance: *450 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -68292,7 +69595,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &445 + '403': &451 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -68319,9 +69622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *348 - - *349 - - &446 + - *355 + - *356 + - &452 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -68329,23 +69632,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *179 + schema: *186 responses: '200': description: Response content: application/json: - schema: &447 + schema: &453 type: object properties: - number: *179 - created_at: *180 - updated_at: *181 - url: *182 - html_url: *183 - instances_url: *439 - state: *188 - fixed_at: *184 + number: *186 + created_at: *187 + updated_at: *188 + url: *189 + html_url: *190 + instances_url: *445 + state: *195 + fixed_at: *191 dismissed_by: title: Simple User description: A GitHub user. @@ -68353,9 +69656,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *185 - dismissed_reason: *440 - dismissed_comment: *441 + dismissed_at: *192 + dismissed_reason: *446 + dismissed_comment: *447 rule: type: object properties: @@ -68409,8 +69712,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *443 - most_recent_instance: *444 + tool: *449 + most_recent_instance: *450 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -68509,7 +69812,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *445 + '403': *451 '404': *6 '503': *122 x-github: @@ -68529,9 +69832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *348 - - *349 - - *446 + - *355 + - *356 + - *452 requestBody: required: true content: @@ -68546,8 +69849,8 @@ paths: enum: - open - dismissed - dismissed_reason: *440 - dismissed_comment: *441 + dismissed_reason: *446 + dismissed_comment: *447 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -68575,7 +69878,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *453 examples: default: value: @@ -68651,7 +69954,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &451 + '403': &457 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -68678,15 +69981,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: - - *348 - - *349 - - *446 + - *355 + - *356 + - *452 responses: '200': description: Response content: application/json: - schema: &448 + schema: &454 type: object properties: status: @@ -68712,13 +70015,13 @@ paths: - description - started_at examples: - default: &449 + default: &455 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &450 + '400': &456 description: Bad Request content: application/json: @@ -68729,7 +70032,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': *445 + '403': *451 '404': *6 '503': *122 x-github: @@ -68754,29 +70057,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: - - *348 - - *349 - - *446 + - *355 + - *356 + - *452 responses: '200': description: OK content: application/json: - schema: *448 + schema: *454 examples: - default: *449 + default: *455 '202': description: Accepted content: application/json: - schema: *448 + schema: *454 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *450 + '400': *456 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -68808,9 +70111,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: - - *348 - - *349 - - *446 + - *355 + - *356 + - *452 requestBody: required: false content: @@ -68855,8 +70158,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *450 - '403': *451 + '400': *456 + '403': *457 '404': *6 '422': description: Unprocessable Entity @@ -68880,13 +70183,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *348 - - *349 - - *446 + - *355 + - *356 + - *452 - *19 - *17 - - *452 - - *453 + - *458 + - *459 responses: '200': description: Response @@ -68897,10 +70200,10 @@ paths: items: type: object properties: - ref: *436 - analysis_key: *454 - environment: *455 - category: *456 + ref: *442 + analysis_key: *460 + environment: *461 + category: *462 state: type: string description: State of a code scanning alert instance. @@ -68915,7 +70218,7 @@ paths: properties: text: type: string - location: *457 + location: *463 html_url: type: string classifications: @@ -68923,7 +70226,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: *458 + items: *464 examples: default: value: @@ -68960,7 +70263,7 @@ paths: end_column: 50 classifications: - source - '403': *445 + '403': *451 '404': *6 '503': *122 x-github: @@ -68994,25 +70297,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *348 - - *349 - - *434 - - *435 + - *355 + - *356 + - *440 + - *441 - *19 - *17 - - *453 + - *459 - 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: *436 + schema: *442 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &459 + schema: &465 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -69033,23 +70336,23 @@ paths: application/json: schema: type: array - items: &460 + items: &466 type: object properties: - ref: *436 - commit_sha: &468 + ref: *442 + commit_sha: &474 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: *454 + analysis_key: *460 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *456 + category: *462 error: type: string example: error reading field xyz @@ -69073,8 +70376,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *459 - tool: *443 + sarif_id: *465 + tool: *449 deletable: type: boolean warning: @@ -69135,7 +70438,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *445 + '403': *451 '404': *6 '503': *122 x-github: @@ -69171,8 +70474,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: - - *348 - - *349 + - *355 + - *356 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -69185,7 +70488,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *466 examples: response: summary: application/json response @@ -69239,7 +70542,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *445 + '403': *451 '404': *6 '422': description: Response if analysis could not be processed @@ -69326,8 +70629,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: - - *348 - - *349 + - *355 + - *356 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -69380,7 +70683,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': *451 + '403': *457 '404': *6 '503': *122 x-github: @@ -69402,8 +70705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -69411,7 +70714,7 @@ paths: application/json: schema: type: array - items: &461 + items: &467 title: CodeQL Database description: A CodeQL database. type: object @@ -69522,7 +70825,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': *445 + '403': *451 '404': *6 '503': *122 x-github: @@ -69551,8 +70854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - name: language in: path description: The language of the CodeQL database. @@ -69564,7 +70867,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *467 examples: default: value: @@ -69596,9 +70899,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': &499 + '302': &505 description: Found - '403': *445 + '403': *451 '404': *6 '503': *122 x-github: @@ -69620,8 +70923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *348 - - *349 + - *355 + - *356 - name: language in: path description: The language of the CodeQL database. @@ -69631,7 +70934,7 @@ paths: responses: '204': description: Response - '403': *451 + '403': *457 '404': *6 '503': *122 x-github: @@ -69659,8 +70962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -69669,7 +70972,7 @@ paths: type: object additionalProperties: false properties: - language: &462 + language: &468 type: string description: The language targeted by the CodeQL query enum: @@ -69749,7 +71052,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &466 + schema: &472 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -69759,7 +71062,7 @@ paths: description: The ID of the variant analysis. controller_repo: *67 actor: *4 - query_language: *462 + query_language: *468 query_pack_url: type: string description: The download url for the query pack. @@ -69806,7 +71109,7 @@ paths: items: type: object properties: - repository: &463 + repository: &469 title: Repository Identifier description: Repository Identifier type: object @@ -69842,7 +71145,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &467 + analysis_status: &473 type: string description: The new status of the CodeQL variant analysis repository task. @@ -69874,7 +71177,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &464 + access_mismatch_repos: &470 type: object properties: repository_count: @@ -69888,7 +71191,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: *463 + items: *469 required: - repository_count - repositories @@ -69910,8 +71213,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *464 - over_limit_repos: *464 + no_codeql_db_repos: *470 + over_limit_repos: *470 required: - access_mismatch_repos - not_found_repos @@ -69927,7 +71230,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &465 + value: &471 summary: Default response value: id: 1 @@ -70073,10 +71376,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *465 + value: *471 repository_lists: summary: Response for a successful variant analysis submission - value: *465 + value: *471 '404': *6 '422': description: Unable to process variant analysis submission @@ -70104,8 +71407,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: - - *348 - - *349 + - *355 + - *356 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -70117,9 +71420,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *472 examples: - default: *465 + default: *471 '404': *6 '503': *122 x-github: @@ -70142,7 +71445,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: - - *348 + - *355 - name: repo in: path description: The name of the controller repository. @@ -70177,7 +71480,7 @@ paths: type: object properties: repository: *67 - analysis_status: *467 + analysis_status: *473 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -70302,8 +71605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -70388,7 +71691,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *445 + '403': *451 '404': *6 '503': *122 x-github: @@ -70409,8 +71712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -70502,7 +71805,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *451 + '403': *457 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -70573,8 +71876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -70582,7 +71885,7 @@ paths: schema: type: object properties: - commit_sha: *468 + commit_sha: *474 ref: type: string description: |- @@ -70640,7 +71943,7 @@ paths: schema: type: object properties: - id: *459 + id: *465 url: type: string description: The REST API URL for checking the status of the upload. @@ -70654,7 +71957,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': *451 + '403': *457 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -70677,8 +71980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *348 - - *349 + - *355 + - *356 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -70724,7 +72027,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': *445 + '403': *451 '404': description: Not Found if the sarif id does not match any upload '503': *122 @@ -70749,8 +72052,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: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -70831,8 +72134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *348 - - *349 + - *355 + - *356 - 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 @@ -70952,8 +72255,8 @@ paths: parameters: - *17 - *19 - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -70969,7 +72272,7 @@ paths: type: integer codespaces: type: array - items: *253 + items: *260 examples: default: value: @@ -71267,8 +72570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -71331,17 +72634,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '400': *14 '401': *25 '403': *29 @@ -71370,8 +72673,8 @@ paths: parameters: - *17 - *19 - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -71435,8 +72738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -71471,14 +72774,14 @@ paths: type: integer machines: type: array - items: &695 + items: &699 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *470 - required: *471 + properties: *476 + required: *477 examples: - default: &696 + default: &700 value: total_count: 2 machines: @@ -71518,8 +72821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *348 - - *349 + - *355 + - *356 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -71603,8 +72906,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: - - *348 - - *349 + - *355 + - *356 - 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 @@ -71670,8 +72973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -71689,7 +72992,7 @@ paths: type: integer secrets: type: array - items: &475 + items: &481 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -71709,7 +73012,7 @@ paths: - created_at - updated_at examples: - default: *472 + default: *478 headers: Link: *70 x-github: @@ -71732,16 +73035,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *473 + schema: *479 examples: - default: *474 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -71761,17 +73064,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *348 - - *349 + - *355 + - *356 - *169 responses: '200': description: Response content: application/json: - schema: *475 + schema: *481 examples: - default: *476 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71791,8 +73094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *348 - - *349 + - *355 + - *356 - *169 requestBody: required: true @@ -71845,8 +73148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *348 - - *349 + - *355 + - *356 - *169 responses: '204': @@ -71875,8 +73178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *348 - - *349 + - *355 + - *356 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -71918,7 +73221,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &477 + properties: &483 login: type: string example: octocat @@ -72011,7 +73314,7 @@ paths: user_view_type: type: string example: public - required: &478 + required: &484 - avatar_url - events_url - followers_url @@ -72085,8 +73388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *348 - - *349 + - *355 + - *356 - *74 responses: '204': @@ -72133,8 +73436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *348 - - *349 + - *355 + - *356 - *74 requestBody: required: false @@ -72161,7 +73464,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &550 + schema: &554 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -72390,8 +73693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *348 - - *349 + - *355 + - *356 - *74 responses: '204': @@ -72423,8 +73726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *348 - - *349 + - *355 + - *356 - *74 responses: '200': @@ -72445,8 +73748,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *477 - required: *478 + properties: *483 + required: *484 nullable: true required: - permission @@ -72501,8 +73804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -72512,7 +73815,7 @@ paths: application/json: schema: type: array - items: &479 + items: &485 title: Commit Comment description: Commit Comment type: object @@ -72570,7 +73873,7 @@ paths: - created_at - updated_at examples: - default: &484 + default: &490 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -72629,17 +73932,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 responses: '200': description: Response content: application/json: - schema: *479 + schema: *485 examples: - default: &485 + default: &491 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -72696,8 +73999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 requestBody: required: true @@ -72720,7 +74023,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *485 examples: default: value: @@ -72771,8 +74074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 responses: '204': @@ -72794,8 +74097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -72822,7 +74125,7 @@ paths: application/json: schema: type: array - items: &480 + items: &486 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -72865,7 +74168,7 @@ paths: - content - created_at examples: - default: &554 + default: &558 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -72910,8 +74213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 requestBody: required: true @@ -72944,9 +74247,9 @@ paths: description: Reaction exists content: application/json: - schema: *480 + schema: *486 examples: - default: &481 + default: &487 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -72975,9 +74278,9 @@ paths: description: Reaction created content: application/json: - schema: *480 + schema: *486 examples: - default: *481 + default: *487 '422': *15 x-github: githubCloudOnly: false @@ -72999,10 +74302,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *348 - - *349 + - *355 + - *356 - *104 - - &555 + - &559 name: reaction_id description: The unique identifier of the reaction. in: path @@ -73057,8 +74360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *348 - - *349 + - *355 + - *356 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -73114,9 +74417,9 @@ paths: application/json: schema: type: array - items: *482 + items: *488 examples: - default: &606 + default: &610 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -73210,9 +74513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *348 - - *349 - - &483 + - *355 + - *356 + - &489 name: commit_sha description: The SHA of the commit. in: path @@ -73284,9 +74587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *348 - - *349 - - *483 + - *355 + - *356 + - *489 - *17 - *19 responses: @@ -73296,9 +74599,9 @@ paths: application/json: schema: type: array - items: *479 + items: *485 examples: - default: *484 + default: *490 headers: Link: *70 x-github: @@ -73326,9 +74629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *348 - - *349 - - *483 + - *355 + - *356 + - *489 requestBody: required: true content: @@ -73363,9 +74666,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *485 examples: - default: *485 + default: *491 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -73393,9 +74696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *348 - - *349 - - *483 + - *355 + - *356 + - *489 - *17 - *19 responses: @@ -73405,9 +74708,9 @@ paths: application/json: schema: type: array - items: *486 + items: *492 examples: - default: &598 + default: &602 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -73944,11 +75247,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *348 - - *349 + - *355 + - *356 - *19 - *17 - - &487 + - &493 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)" @@ -73963,9 +75266,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *488 examples: - default: &585 + default: &589 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -74053,7 +75356,7 @@ paths: schema: type: string examples: - default: &496 + default: &502 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -74066,7 +75369,7 @@ paths: schema: type: string examples: - default: &497 + default: &503 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -74119,11 +75422,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *348 - - *349 - - *487 - - *488 - - *489 + - *355 + - *356 + - *493 + - *494 + - *495 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -74157,9 +75460,9 @@ paths: type: integer check_runs: type: array - items: *426 + items: *432 examples: - default: *490 + default: *496 headers: Link: *70 x-github: @@ -74184,9 +75487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *348 - - *349 - - *487 + - *355 + - *356 + - *493 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -74194,7 +75497,7 @@ paths: schema: type: integer example: 1 - - *488 + - *494 - *17 - *19 responses: @@ -74212,7 +75515,7 @@ paths: type: integer check_suites: type: array - items: *431 + items: *437 examples: default: value: @@ -74412,9 +75715,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *348 - - *349 - - *487 + - *355 + - *356 + - *493 - *17 - *19 responses: @@ -74612,9 +75915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *348 - - *349 - - *487 + - *355 + - *356 + - *493 - *17 - *19 responses: @@ -74624,7 +75927,7 @@ paths: application/json: schema: type: array - items: &675 + items: &679 title: Status description: The status of a commit. type: object @@ -74705,7 +76008,7 @@ paths: site_admin: false headers: Link: *70 - '301': *352 + '301': *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74733,8 +76036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -74763,20 +76066,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *491 - required: *492 + properties: *497 + required: *498 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &493 + properties: &499 url: type: string format: uri html_url: type: string format: uri - required: &494 + required: &500 - url - html_url nullable: true @@ -74790,26 +76093,26 @@ paths: contributing: title: Community Health File type: object - properties: *493 - required: *494 + properties: *499 + required: *500 nullable: true readme: title: Community Health File type: object - properties: *493 - required: *494 + properties: *499 + required: *500 nullable: true issue_template: title: Community Health File type: object - properties: *493 - required: *494 + properties: *499 + required: *500 nullable: true pull_request_template: title: Community Health File type: object - properties: *493 - required: *494 + properties: *499 + required: *500 nullable: true required: - code_of_conduct @@ -74936,8 +76239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *348 - - *349 + - *355 + - *356 - *19 - *17 - name: basehead @@ -74980,8 +76283,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *482 - merge_base_commit: *482 + base_commit: *488 + merge_base_commit: *488 status: type: string enum: @@ -75001,10 +76304,10 @@ paths: example: 6 commits: type: array - items: *482 + items: *488 files: type: array - items: *495 + items: *501 required: - url - html_url @@ -75250,12 +76553,12 @@ paths: schema: type: string examples: - default: *496 + default: *502 application/vnd.github.patch: schema: type: string examples: - default: *497 + default: *503 '404': *6 '500': *55 '503': *122 @@ -75300,8 +76603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *348 - - *349 + - *355 + - *356 - name: path description: path parameter in: path @@ -75461,7 +76764,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &498 + response-if-content-is-a-file-github-object: &504 summary: Response if content is a file value: type: file @@ -75593,7 +76896,7 @@ paths: - size - type - url - - &611 + - &615 title: Content File description: Content File type: object @@ -75794,7 +77097,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *498 + response-if-content-is-a-file: *504 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -75863,7 +77166,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *499 + '302': *505 '304': *37 x-github: githubCloudOnly: false @@ -75886,8 +77189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *348 - - *349 + - *355 + - *356 - name: path description: path parameter in: path @@ -75980,7 +77283,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &506 title: File Commit description: File Commit type: object @@ -76132,7 +77435,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *506 examples: example-for-creating-a-file: value: @@ -76186,7 +77489,7 @@ paths: schema: oneOf: - *3 - - &532 + - &536 description: Repository rule violation was detected type: object properties: @@ -76207,7 +77510,7 @@ paths: items: type: object properties: - placeholder_id: &667 + placeholder_id: &671 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -76239,8 +77542,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *348 - - *349 + - *355 + - *356 - name: path description: path parameter in: path @@ -76301,7 +77604,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *506 examples: default: value: @@ -76356,8 +77659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *348 - - *349 + - *355 + - *356 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -76480,24 +77783,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *348 - - *349 - - *203 - - *204 - - *205 - - *206 - - *207 + - *355 + - *356 + - *210 + - *211 + - *212 + - *213 + - *214 - 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 - - *208 - - *501 - - *209 - - *210 - - *211 + - *215 + - *507 + - *216 + - *217 + - *218 - *62 - *47 - *48 @@ -76509,11 +77812,11 @@ paths: application/json: schema: type: array - items: &505 + items: &511 type: object description: A Dependabot alert. properties: - number: *179 + number: *186 state: type: string description: The state of the Dependabot alert. @@ -76556,13 +77859,13 @@ paths: - direct - transitive - inconclusive - security_advisory: *502 + security_advisory: *508 security_vulnerability: *66 - url: *182 - html_url: *183 - created_at: *180 - updated_at: *181 - dismissed_at: *185 + url: *189 + html_url: *190 + created_at: *187 + updated_at: *188 + dismissed_at: *192 dismissed_by: title: Simple User description: A GitHub user. @@ -76586,9 +77889,9 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *184 - auto_dismissed_at: *503 - dismissal_request: *504 + fixed_at: *191 + auto_dismissed_at: *509 + dismissal_request: *510 assignees: type: array description: The users assigned to this alert. @@ -76843,9 +78146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *348 - - *349 - - &506 + - *355 + - *356 + - &512 name: alert_number in: path description: |- @@ -76854,13 +78157,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *179 + schema: *186 responses: '200': description: Response content: application/json: - schema: *505 + schema: *511 examples: default: value: @@ -76992,9 +78295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *348 - - *349 - - *506 + - *355 + - *356 + - *512 requestBody: required: true content: @@ -77050,7 +78353,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *511 examples: default: value: @@ -77180,8 +78483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -77199,7 +78502,7 @@ paths: type: integer secrets: type: array - items: &509 + items: &515 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -77252,16 +78555,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *507 + schema: *513 examples: - default: *508 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77281,15 +78584,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *348 - - *349 + - *355 + - *356 - *169 responses: '200': description: Response content: application/json: - schema: *509 + schema: *515 examples: default: value: @@ -77315,8 +78618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *348 - - *349 + - *355 + - *356 - *169 requestBody: required: true @@ -77369,8 +78672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *348 - - *349 + - *355 + - *356 - *169 responses: '204': @@ -77393,8 +78696,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: - - *348 - - *349 + - *355 + - *356 - 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 @@ -77554,8 +78857,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: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -77793,8 +79096,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: - - *348 - - *349 + - *355 + - *356 - name: sbom_uuid in: path required: true @@ -77805,7 +79108,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *510 + Location: *516 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -77826,8 +79129,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: - - *348 - - *349 + - *355 + - *356 responses: '201': description: Response @@ -77865,8 +79168,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: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -77941,7 +79244,7 @@ paths: - version - url additionalProperties: false - metadata: &511 + metadata: &517 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -77974,7 +79277,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *511 + metadata: *517 resolved: type: object description: A collection of resolved package dependencies. @@ -77987,7 +79290,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *511 + metadata: *517 relationship: type: string description: A notation of whether a dependency is requested @@ -78116,8 +79419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *348 - - *349 + - *355 + - *356 - name: sha description: The SHA recorded at creation time. in: query @@ -78157,9 +79460,9 @@ paths: application/json: schema: type: array - items: *512 + items: *518 examples: - default: *513 + default: *519 headers: Link: *70 x-github: @@ -78225,8 +79528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -78307,7 +79610,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *518 examples: simple-example: summary: Simple example @@ -78380,9 +79683,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *348 - - *349 - - &514 + - *355 + - *356 + - &520 name: deployment_id description: deployment_id parameter in: path @@ -78394,7 +79697,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *518 examples: default: value: @@ -78459,9 +79762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *348 - - *349 - - *514 + - *355 + - *356 + - *520 responses: '204': description: Response @@ -78483,9 +79786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *348 - - *349 - - *514 + - *355 + - *356 + - *520 - *17 - *19 responses: @@ -78495,7 +79798,7 @@ paths: application/json: schema: type: array - items: &515 + items: &521 title: Deployment Status description: The status of a deployment. type: object @@ -78656,9 +79959,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *348 - - *349 - - *514 + - *355 + - *356 + - *520 requestBody: required: true content: @@ -78733,9 +80036,9 @@ paths: description: Response content: application/json: - schema: *515 + schema: *521 examples: - default: &516 + default: &522 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -78791,9 +80094,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *348 - - *349 - - *514 + - *355 + - *356 + - *520 - name: status_id in: path required: true @@ -78804,9 +80107,9 @@ paths: description: Response content: application/json: - schema: *515 + schema: *521 examples: - default: *516 + default: *522 '404': *6 x-github: githubCloudOnly: false @@ -78831,8 +80134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -78889,8 +80192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -78907,7 +80210,7 @@ paths: type: integer environments: type: array - items: &518 + items: &524 title: Environment description: Details of a deployment environment type: object @@ -78959,7 +80262,7 @@ paths: type: type: string example: wait_timer - wait_timer: &520 + wait_timer: &526 type: integer example: 30 description: The amount of time to delay a job after @@ -78996,11 +80299,11 @@ paths: items: type: object properties: - type: *517 + type: *523 reviewer: anyOf: - *4 - - *201 + - *208 required: - id - node_id @@ -79020,7 +80323,7 @@ paths: - id - node_id - type - deployment_branch_policy: &521 + deployment_branch_policy: &527 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -79136,9 +80439,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *348 - - *349 - - &519 + - *355 + - *356 + - &525 name: environment_name in: path required: true @@ -79151,9 +80454,9 @@ paths: description: Response content: application/json: - schema: *518 + schema: *524 examples: - default: &522 + default: &528 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -79237,9 +80540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 requestBody: required: false content: @@ -79248,7 +80551,7 @@ paths: type: object nullable: true properties: - wait_timer: *520 + wait_timer: *526 prevent_self_review: type: boolean example: false @@ -79265,13 +80568,13 @@ paths: items: type: object properties: - type: *517 + type: *523 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *521 + deployment_branch_policy: *527 additionalProperties: false examples: default: @@ -79291,9 +80594,9 @@ paths: description: Response content: application/json: - schema: *518 + schema: *524 examples: - default: *522 + default: *528 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -79317,9 +80620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 responses: '204': description: Default response @@ -79344,9 +80647,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 - *17 - *19 responses: @@ -79364,7 +80667,7 @@ paths: example: 2 branch_policies: type: array - items: &523 + items: &529 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -79421,9 +80724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 requestBody: required: true content: @@ -79469,9 +80772,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *529 examples: - example-wildcard: &524 + example-wildcard: &530 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -79513,10 +80816,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *348 - - *349 - - *519 - - &525 + - *355 + - *356 + - *525 + - &531 name: branch_policy_id in: path required: true @@ -79528,9 +80831,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *529 examples: - default: *524 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79549,10 +80852,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *348 - - *349 - - *519 + - *355 + - *356 - *525 + - *531 requestBody: required: true content: @@ -79580,9 +80883,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *529 examples: - default: *524 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79601,10 +80904,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *348 - - *349 - - *519 + - *355 + - *356 - *525 + - *531 responses: '204': description: Response @@ -79629,9 +80932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *519 - - *349 - - *348 + - *525 + - *356 + - *355 responses: '200': description: List of deployment protection rules @@ -79647,7 +80950,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &526 + items: &532 title: Deployment protection rule description: Deployment protection rule type: object @@ -79666,7 +80969,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &527 + app: &533 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -79765,9 +81068,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: - - *519 - - *349 - - *348 + - *525 + - *356 + - *355 requestBody: content: application/json: @@ -79788,9 +81091,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *526 + schema: *532 examples: - default: &528 + default: &534 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -79825,9 +81128,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: - - *519 - - *349 - - *348 + - *525 + - *356 + - *355 - *19 - *17 responses: @@ -79846,7 +81149,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *527 + items: *533 examples: default: value: @@ -79881,10 +81184,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *348 - - *349 - - *519 - - &529 + - *355 + - *356 + - *525 + - &535 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -79896,9 +81199,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *532 examples: - default: *528 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79919,10 +81222,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *519 - - *349 - - *348 - - *529 + - *525 + - *356 + - *355 + - *535 responses: '204': description: Response @@ -79948,9 +81251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 - *17 - *19 responses: @@ -79968,9 +81271,9 @@ paths: type: integer secrets: type: array - items: *393 + items: *399 examples: - default: *394 + default: *400 headers: Link: *70 x-github: @@ -79995,17 +81298,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 responses: '200': description: Response content: application/json: - schema: *395 + schema: *175 examples: - default: *396 + default: *176 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80027,18 +81330,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 - *169 responses: '200': description: Response content: application/json: - schema: *393 + schema: *399 examples: - default: *530 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80060,9 +81363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 - *169 requestBody: required: true @@ -80120,9 +81423,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 - *169 responses: '204': @@ -80148,10 +81451,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *348 - - *349 - - *519 - - *364 + - *355 + - *356 + - *525 + - *178 - *19 responses: '200': @@ -80168,9 +81471,9 @@ paths: type: integer variables: type: array - items: *397 + items: *401 examples: - default: *398 + default: *402 headers: Link: *70 x-github: @@ -80193,9 +81496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 requestBody: required: true content: @@ -80247,18 +81550,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 - *172 responses: '200': description: Response content: application/json: - schema: *397 + schema: *401 examples: - default: *531 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80279,10 +81582,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *348 - - *349 + - *355 + - *356 - *172 - - *519 + - *525 requestBody: required: true content: @@ -80324,10 +81627,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *348 - - *349 + - *355 + - *356 - *172 - - *519 + - *525 responses: '204': description: Response @@ -80349,8 +81652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -80418,8 +81721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *348 - - *349 + - *355 + - *356 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -80578,8 +81881,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: false content: @@ -80611,9 +81914,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *358 examples: - default: *353 + default: *360 '400': *14 '422': *15 '403': *29 @@ -80634,8 +81937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -80695,7 +81998,7 @@ paths: schema: oneOf: - *130 - - *532 + - *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80720,8 +82023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *348 - - *349 + - *355 + - *356 - name: file_sha in: path required: true @@ -80820,8 +82123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -80930,7 +82233,7 @@ paths: description: Response content: application/json: - schema: &533 + schema: &537 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -81144,15 +82447,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *348 - - *349 - - *483 + - *355 + - *356 + - *489 responses: '200': description: Response content: application/json: - schema: *533 + schema: *537 examples: default: value: @@ -81208,9 +82511,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *348 - - *349 - - &534 + - *355 + - *356 + - &538 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. @@ -81227,7 +82530,7 @@ paths: application/json: schema: type: array - items: &535 + items: &539 title: Git Reference description: Git references within a repository type: object @@ -81302,17 +82605,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *348 - - *349 - - *534 + - *355 + - *356 + - *538 responses: '200': description: Response content: application/json: - schema: *535 + schema: *539 examples: - default: &536 + default: &540 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -81341,8 +82644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -81371,9 +82674,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *539 examples: - default: *536 + default: *540 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -81399,9 +82702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *348 - - *349 - - *534 + - *355 + - *356 + - *538 requestBody: required: true content: @@ -81430,9 +82733,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *539 examples: - default: *536 + default: *540 '422': *15 '409': *54 x-github: @@ -81450,9 +82753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *348 - - *349 - - *534 + - *355 + - *356 + - *538 responses: '204': description: Response @@ -81507,8 +82810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -81575,7 +82878,7 @@ paths: description: Response content: application/json: - schema: &538 + schema: &542 title: Git Tag description: Metadata for a Git tag type: object @@ -81626,7 +82929,7 @@ paths: - sha - type - url - verification: *537 + verification: *541 required: - sha - url @@ -81636,7 +82939,7 @@ paths: - tag - message examples: - default: &539 + default: &543 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -81709,8 +83012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *348 - - *349 + - *355 + - *356 - name: tag_sha in: path required: true @@ -81721,9 +83024,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *542 examples: - default: *539 + default: *543 '404': *6 '409': *54 x-github: @@ -81747,8 +83050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -81821,7 +83124,7 @@ paths: description: Response content: application/json: - schema: &540 + schema: &544 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -81917,8 +83220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *348 - - *349 + - *355 + - *356 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -81941,7 +83244,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *544 examples: default-response: summary: Default response @@ -82000,8 +83303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -82011,7 +83314,7 @@ paths: application/json: schema: type: array - items: &541 + items: &545 title: Webhook description: Webhooks for repositories. type: object @@ -82065,7 +83368,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &789 + last_response: &793 title: Hook Response type: object properties: @@ -82139,8 +83442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: false content: @@ -82192,9 +83495,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *545 examples: - default: &542 + default: &546 value: type: Repository id: 12345678 @@ -82242,17 +83545,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 responses: '200': description: Response content: application/json: - schema: *541 + schema: *545 examples: - default: *542 + default: *546 '404': *6 x-github: githubCloudOnly: false @@ -82272,9 +83575,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 requestBody: required: true content: @@ -82319,9 +83622,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *545 examples: - default: *542 + default: *546 '422': *15 '404': *6 x-github: @@ -82342,9 +83645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 responses: '204': description: Response @@ -82368,9 +83671,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 responses: '200': description: Response @@ -82397,9 +83700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 requestBody: required: false content: @@ -82443,12 +83746,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 - *17 - - *222 - - *223 + - *229 + - *230 responses: '200': description: Response @@ -82456,9 +83759,9 @@ paths: application/json: schema: type: array - items: *224 + items: *231 examples: - default: *225 + default: *232 '400': *14 '422': *15 x-github: @@ -82477,18 +83780,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 - *16 responses: '200': description: Response content: application/json: - schema: *226 + schema: *233 examples: - default: *227 + default: *234 '400': *14 '422': *15 x-github: @@ -82507,9 +83810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 - *16 responses: '202': *39 @@ -82532,9 +83835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 responses: '204': description: Response @@ -82559,9 +83862,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 responses: '204': description: Response @@ -82584,8 +83887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response if immutable releases are enabled @@ -82631,8 +83934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': *61 '409': *54 @@ -82652,8 +83955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': *61 '409': *54 @@ -82710,14 +84013,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: &543 + schema: &547 title: Import description: A repository import from an external source. type: object @@ -82816,7 +84119,7 @@ paths: - html_url - authors_url examples: - default: &546 + default: &550 value: vcs: subversion use_lfs: true @@ -82832,7 +84135,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': &544 + '503': &548 description: Unavailable due to service under maintenance. content: application/json: @@ -82861,8 +84164,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -82910,7 +84213,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *547 examples: default: value: @@ -82935,7 +84238,7 @@ paths: type: string '422': *15 '404': *6 - '503': *544 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82963,8 +84266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: false content: @@ -83013,7 +84316,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *547 examples: example-1: summary: Example 1 @@ -83061,7 +84364,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': *544 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83084,12 +84387,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response - '503': *544 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83115,9 +84418,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *348 - - *349 - - &717 + - *355 + - *356 + - &721 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -83131,7 +84434,7 @@ paths: application/json: schema: type: array - items: &545 + items: &549 title: Porter Author description: Porter Author type: object @@ -83185,7 +84488,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': *544 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83210,8 +84513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *348 - - *349 + - *355 + - *356 - name: author_id in: path required: true @@ -83241,7 +84544,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *549 examples: default: value: @@ -83254,7 +84557,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *544 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83278,8 +84581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -83320,7 +84623,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *544 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83348,8 +84651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -83376,11 +84679,11 @@ paths: description: Response content: application/json: - schema: *543 + schema: *547 examples: - default: *546 + default: *550 '422': *15 - '503': *544 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83403,8 +84706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -83412,8 +84715,8 @@ paths: application/json: schema: *22 examples: - default: *547 - '301': *352 + default: *551 + '301': *359 '404': *6 x-github: githubCloudOnly: false @@ -83433,8 +84736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -83442,12 +84745,12 @@ paths: application/json: schema: anyOf: - - *240 + - *247 - type: object properties: {} additionalProperties: false examples: - default: &549 + default: &553 value: limit: collaborators_only origin: repository @@ -83472,13 +84775,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: application/json: - schema: *548 + schema: *552 examples: default: summary: Example request body @@ -83490,9 +84793,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *247 examples: - default: *549 + default: *553 '409': description: Response x-github: @@ -83514,8 +84817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -83538,8 +84841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -83549,9 +84852,9 @@ paths: application/json: schema: type: array - items: *550 + items: *554 examples: - default: &710 + default: &714 value: - id: 1 repository: @@ -83682,9 +84985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *348 - - *349 - - *244 + - *355 + - *356 + - *251 requestBody: required: false content: @@ -83713,7 +85016,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *554 examples: default: value: @@ -83844,9 +85147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *348 - - *349 - - *244 + - *355 + - *356 + - *251 responses: '204': description: Response @@ -83877,8 +85180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *348 - - *349 + - *355 + - *356 - 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 @@ -83926,7 +85229,7 @@ paths: required: false schema: type: string - - *251 + - *258 - name: sort description: What to sort results by. in: query @@ -83951,7 +85254,7 @@ paths: type: array items: *88 examples: - default: &562 + default: &566 value: - id: 1 node_id: MDU6SXNzdWUx @@ -84100,7 +85403,7 @@ paths: state_reason: completed headers: Link: *70 - '301': *352 + '301': *359 '422': *15 '404': *6 x-github: @@ -84129,8 +85432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -84235,7 +85538,7 @@ paths: application/json: schema: *88 examples: - default: &559 + default: &563 value: id: 1 node_id: MDU6SXNzdWUx @@ -84392,7 +85695,7 @@ paths: '422': *15 '503': *122 '404': *6 - '410': *551 + '410': *555 x-github: triggersNotification: true githubCloudOnly: false @@ -84420,8 +85723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - *112 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -84442,9 +85745,9 @@ paths: application/json: schema: type: array - items: *552 + items: *556 examples: - default: &561 + default: &565 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -84502,17 +85805,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 responses: '200': description: Response content: application/json: - schema: *552 + schema: *556 examples: - default: &553 + default: &557 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -84567,8 +85870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 requestBody: required: true @@ -84591,9 +85894,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *556 examples: - default: *553 + default: *557 '422': *15 x-github: githubCloudOnly: false @@ -84611,8 +85914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 responses: '204': @@ -84641,15 +85944,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 responses: '200': description: Response content: application/json: - schema: *552 + schema: *556 examples: default: value: @@ -84705,7 +86008,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *551 + '410': *555 '422': *15 x-github: githubCloudOnly: false @@ -84722,8 +86025,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 responses: '204': @@ -84731,7 +86034,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *551 + '410': *555 '503': *122 x-github: githubCloudOnly: false @@ -84749,8 +86052,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -84777,9 +86080,9 @@ paths: application/json: schema: type: array - items: *480 + items: *486 examples: - default: *554 + default: *558 headers: Link: *70 '404': *6 @@ -84800,8 +86103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 requestBody: required: true @@ -84834,16 +86137,16 @@ paths: description: Reaction exists content: application/json: - schema: *480 + schema: *486 examples: - default: *481 + default: *487 '201': description: Reaction created content: application/json: - schema: *480 + schema: *486 examples: - default: *481 + default: *487 '422': *15 x-github: githubCloudOnly: false @@ -84865,10 +86168,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *348 - - *349 + - *355 + - *356 - *104 - - *555 + - *559 responses: '204': description: Response @@ -84888,8 +86191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -84899,7 +86202,7 @@ paths: application/json: schema: type: array - items: &558 + items: &562 title: Issue Event description: Issue Event type: object @@ -84942,8 +86245,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *556 - required: *557 + properties: *560 + required: *561 nullable: true label: title: Issue Event Label @@ -84987,7 +86290,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *201 + requested_team: *208 dismissed_review: title: Issue Event Dismissed Review type: object @@ -85251,8 +86554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *348 - - *349 + - *355 + - *356 - name: event_id in: path required: true @@ -85263,7 +86566,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *562 examples: default: value: @@ -85456,7 +86759,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *551 + '410': *555 '403': *29 x-github: githubCloudOnly: false @@ -85490,9 +86793,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *348 - - *349 - - &560 + - *355 + - *356 + - &564 name: issue_number description: The number that identifies the issue. in: path @@ -85508,7 +86811,7 @@ paths: examples: default: summary: Issue - value: *559 + value: *563 pinned_comment: summary: Issue with pinned comment value: @@ -85707,9 +87010,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *352 + '301': *359 '404': *6 - '410': *551 + '410': *555 '304': *37 x-github: githubCloudOnly: false @@ -85734,9 +87037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: false content: @@ -85862,13 +87165,13 @@ paths: application/json: schema: *88 examples: - default: *559 + default: *563 '422': *15 '503': *122 '403': *29 - '301': *352 + '301': *359 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85886,9 +87189,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: false content: @@ -85916,7 +87219,7 @@ paths: application/json: schema: *88 examples: - default: *559 + default: *563 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85932,9 +87235,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: content: application/json: @@ -85961,7 +87264,7 @@ paths: application/json: schema: *88 examples: - default: *559 + default: *563 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85983,9 +87286,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: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - name: assignee in: path required: true @@ -86025,9 +87328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - *95 - *17 - *19 @@ -86038,13 +87341,13 @@ paths: application/json: schema: type: array - items: *552 + items: *556 examples: - default: *561 + default: *565 headers: Link: *70 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86073,9 +87376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: true content: @@ -86097,16 +87400,16 @@ paths: description: Response content: application/json: - schema: *552 + schema: *556 examples: - default: *553 + default: *557 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *551 + '410': *555 '422': *15 '404': *6 x-github: @@ -86134,9 +87437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - *17 - *19 responses: @@ -86148,12 +87451,12 @@ paths: type: array items: *88 examples: - default: *562 + default: *566 headers: Link: *70 - '301': *352 + '301': *359 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86181,9 +87484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: true content: @@ -86207,15 +87510,15 @@ paths: application/json: schema: *88 examples: - default: *559 + default: *563 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *352 + '301': *359 '403': *29 - '410': *551 + '410': *555 '422': *15 '404': *6 x-github: @@ -86246,9 +87549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -86262,13 +87565,13 @@ paths: application/json: schema: *88 examples: - default: *559 - '301': *352 + default: *563 + '301': *359 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *551 + '410': *555 x-github: triggersNotification: true githubCloudOnly: false @@ -86294,9 +87597,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - *17 - *19 responses: @@ -86308,12 +87611,12 @@ paths: type: array items: *88 examples: - default: *562 + default: *566 headers: Link: *70 - '301': *352 + '301': *359 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86330,9 +87633,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - *17 - *19 responses: @@ -86346,7 +87649,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &566 + - &570 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -86400,7 +87703,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &567 + - &571 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -86536,7 +87839,7 @@ paths: - performed_via_github_app - assignee - assigner - - &568 + - &572 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -86587,7 +87890,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &569 + - &573 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -86638,7 +87941,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &570 + - &574 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -86692,7 +87995,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &571 + - &575 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -86726,7 +88029,7 @@ paths: properties: *83 required: *84 review_requester: *4 - requested_team: *201 + requested_team: *208 requested_reviewer: *4 required: - review_requester @@ -86739,7 +88042,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &572 + - &576 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -86773,7 +88076,7 @@ paths: properties: *83 required: *84 review_requester: *4 - requested_team: *201 + requested_team: *208 requested_reviewer: *4 required: - review_requester @@ -86786,7 +88089,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &573 + - &577 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -86846,7 +88149,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &574 + - &578 title: Locked Issue Event description: Locked Issue Event type: object @@ -86894,7 +88197,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &575 + - &579 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -86960,7 +88263,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &576 + - &580 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -87026,7 +88329,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &577 + - &581 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -87092,7 +88395,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &578 + - &582 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -87183,7 +88486,7 @@ paths: color: red headers: Link: *70 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87200,9 +88503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - *17 - *19 responses: @@ -87212,9 +88515,9 @@ paths: application/json: schema: type: array - items: *563 + items: *567 examples: - default: &564 + default: &568 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -87238,9 +88541,9 @@ paths: value: '2025-12-25' headers: Link: *70 - '301': *352 + '301': *359 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87269,9 +88572,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: true content: @@ -87335,9 +88638,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *563 + items: *567 examples: - default: *564 + default: *568 '400': *14 '403': *29 '404': *6 @@ -87373,9 +88676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: true content: @@ -87440,9 +88743,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *563 + items: *567 examples: - default: *564 + default: *568 '400': *14 '403': *29 '404': *6 @@ -87473,10 +88776,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: - - *348 - - *349 - - *560 - - *247 + - *355 + - *356 + - *564 + - *254 responses: '204': description: Issue field value deleted successfully @@ -87501,9 +88804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - *17 - *19 responses: @@ -87515,7 +88818,7 @@ paths: type: array items: *87 examples: - default: &565 + default: &569 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -87533,9 +88836,9 @@ paths: default: false headers: Link: *70 - '301': *352 + '301': *359 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87551,9 +88854,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: false content: @@ -87598,10 +88901,10 @@ paths: type: array items: *87 examples: - default: *565 - '301': *352 + default: *569 + '301': *359 '404': *6 - '410': *551 + '410': *555 '422': *15 x-github: githubCloudOnly: false @@ -87618,9 +88921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: false content: @@ -87682,10 +88985,10 @@ paths: type: array items: *87 examples: - default: *565 - '301': *352 + default: *569 + '301': *359 '404': *6 - '410': *551 + '410': *555 '422': *15 x-github: githubCloudOnly: false @@ -87702,15 +89005,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 responses: '204': description: Response - '301': *352 + '301': *359 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87729,9 +89032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - name: name in: path required: true @@ -87755,9 +89058,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *352 + '301': *359 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87777,9 +89080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: false content: @@ -87807,7 +89110,7 @@ paths: '204': description: Response '403': *29 - '410': *551 + '410': *555 '404': *6 '422': *15 x-github: @@ -87825,9 +89128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 responses: '204': description: Response @@ -87857,9 +89160,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 responses: '200': description: Response @@ -87867,10 +89170,10 @@ paths: application/json: schema: *88 examples: - default: *559 - '301': *352 + default: *563 + '301': *359 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87887,9 +89190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - 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. @@ -87915,13 +89218,13 @@ paths: application/json: schema: type: array - items: *480 + items: *486 examples: - default: *554 + default: *558 headers: Link: *70 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87939,9 +89242,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: true content: @@ -87973,16 +89276,16 @@ paths: description: Response content: application/json: - schema: *480 + schema: *486 examples: - default: *481 + default: *487 '201': description: Response content: application/json: - schema: *480 + schema: *486 examples: - default: *481 + default: *487 '422': *15 x-github: githubCloudOnly: false @@ -88004,10 +89307,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *348 - - *349 - - *560 - - *555 + - *355 + - *356 + - *564 + - *559 responses: '204': description: Response @@ -88036,9 +89339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: true content: @@ -88062,7 +89365,7 @@ paths: application/json: schema: *88 examples: - default: *559 + default: *563 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -88095,9 +89398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - *17 - *19 responses: @@ -88109,11 +89412,11 @@ paths: type: array items: *88 examples: - default: *562 + default: *566 headers: Link: *70 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88141,9 +89444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: true content: @@ -88172,14 +89475,14 @@ paths: application/json: schema: *88 examples: - default: *559 + default: *563 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *551 + '410': *555 '422': *15 '404': *6 x-github: @@ -88199,9 +89502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: true content: @@ -88234,7 +89537,7 @@ paths: application/json: schema: *88 examples: - default: *559 + default: *563 '403': *29 '404': *6 '422': *7 @@ -88256,9 +89559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - *17 - *19 responses: @@ -88273,10 +89576,6 @@ paths: description: Timeline Event type: object anyOf: - - *566 - - *567 - - *568 - - *569 - *570 - *571 - *572 @@ -88286,6 +89585,10 @@ paths: - *576 - *577 - *578 + - *579 + - *580 + - *581 + - *582 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -88346,8 +89649,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *579 - required: *580 + properties: *583 + required: *584 nullable: true required: - event @@ -88602,7 +89905,7 @@ paths: type: string comments: type: array - items: &600 + items: &604 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -88817,7 +90120,7 @@ paths: type: string comments: type: array - items: *479 + items: *485 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -89106,7 +90409,7 @@ paths: headers: Link: *70 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89123,8 +90426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -89134,7 +90437,7 @@ paths: application/json: schema: type: array - items: &581 + items: &585 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -89200,8 +90503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -89237,9 +90540,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *585 examples: - default: &582 + default: &586 value: id: 1 key: ssh-rsa AAA... @@ -89273,9 +90576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *348 - - *349 - - &583 + - *355 + - *356 + - &587 name: key_id description: The unique identifier of the key. in: path @@ -89287,9 +90590,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *585 examples: - default: *582 + default: *586 '404': *6 x-github: githubCloudOnly: false @@ -89307,9 +90610,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *348 - - *349 - - *583 + - *355 + - *356 + - *587 responses: '204': description: Response @@ -89329,8 +90632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -89342,7 +90645,7 @@ paths: type: array items: *87 examples: - default: *565 + default: *569 headers: Link: *70 '404': *6 @@ -89363,8 +90666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -89402,7 +90705,7 @@ paths: application/json: schema: *87 examples: - default: &584 + default: &588 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -89434,8 +90737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *348 - - *349 + - *355 + - *356 - name: name in: path required: true @@ -89448,7 +90751,7 @@ paths: application/json: schema: *87 examples: - default: *584 + default: *588 '404': *6 x-github: githubCloudOnly: false @@ -89465,8 +90768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *348 - - *349 + - *355 + - *356 - name: name in: path required: true @@ -89531,8 +90834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *348 - - *349 + - *355 + - *356 - name: name in: path required: true @@ -89558,8 +90861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -89598,9 +90901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *348 - - *349 - - *452 + - *355 + - *356 + - *458 responses: '200': description: Response @@ -89745,8 +91048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -89811,8 +91114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -89846,9 +91149,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *482 + schema: *488 examples: - default: *585 + default: *589 '204': description: Response when already merged '404': @@ -89873,8 +91176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *348 - - *349 + - *355 + - *356 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -89915,12 +91218,12 @@ paths: application/json: schema: type: array - items: &586 + items: &590 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *285 - required: *286 + properties: *292 + required: *293 examples: default: value: @@ -89976,8 +91279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -90017,9 +91320,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: &587 + default: &591 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -90078,9 +91381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *348 - - *349 - - &588 + - *355 + - *356 + - &592 name: milestone_number description: The number that identifies the milestone. in: path @@ -90092,9 +91395,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: *587 + default: *591 '404': *6 x-github: githubCloudOnly: false @@ -90111,9 +91414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *348 - - *349 - - *588 + - *355 + - *356 + - *592 requestBody: required: false content: @@ -90151,9 +91454,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: *587 + default: *591 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90169,9 +91472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *348 - - *349 - - *588 + - *355 + - *356 + - *592 responses: '204': description: Response @@ -90192,9 +91495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *348 - - *349 - - *588 + - *355 + - *356 + - *592 - *17 - *19 responses: @@ -90206,7 +91509,7 @@ paths: type: array items: *87 examples: - default: *565 + default: *569 headers: Link: *70 x-github: @@ -90225,12 +91528,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *348 - - *349 - - *589 - - *590 + - *355 + - *356 + - *593 + - *594 - *95 - - *591 + - *595 - *17 - *19 responses: @@ -90242,7 +91545,7 @@ paths: type: array items: *115 examples: - default: *592 + default: *596 headers: Link: *70 x-github: @@ -90266,8 +91569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: false content: @@ -90325,14 +91628,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: &593 + schema: &597 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -90457,7 +91760,7 @@ paths: - custom_404 - public examples: - default: &594 + default: &598 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -90498,8 +91801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -90553,9 +91856,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *597 examples: - default: *594 + default: *598 '422': *15 '409': *54 x-github: @@ -90578,8 +91881,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -90678,8 +91981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -90705,8 +92008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -90716,7 +92019,7 @@ paths: application/json: schema: type: array - items: &595 + items: &599 title: Page Build description: Page Build type: object @@ -90810,8 +92113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *348 - - *349 + - *355 + - *356 responses: '201': description: Response @@ -90856,16 +92159,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *595 + schema: *599 examples: - default: &596 + default: &600 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -90913,8 +92216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *348 - - *349 + - *355 + - *356 - name: build_id in: path required: true @@ -90925,9 +92228,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *599 examples: - default: *596 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90947,8 +92250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -91053,9 +92356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *348 - - *349 - - &597 + - *355 + - *356 + - &601 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -91113,9 +92416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *348 - - *349 - - *597 + - *355 + - *356 + - *601 responses: '204': *61 '404': *6 @@ -91142,8 +92445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -91401,8 +92704,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: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Private vulnerability reporting status @@ -91439,8 +92742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': *61 '422': *14 @@ -91461,8 +92764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': *61 '422': *14 @@ -91484,8 +92787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -91493,7 +92796,7 @@ paths: application/json: schema: type: array - items: *300 + items: *307 examples: default: value: @@ -91524,8 +92827,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: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -91537,7 +92840,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *300 + items: *307 required: - properties examples: @@ -91587,8 +92890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *348 - - *349 + - *355 + - *356 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -91648,9 +92951,9 @@ paths: application/json: schema: type: array - items: *486 + items: *492 examples: - default: *598 + default: *602 headers: Link: *70 '304': *37 @@ -91682,8 +92985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -91748,7 +93051,7 @@ paths: description: Response content: application/json: - schema: &602 + schema: &606 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -91859,8 +93162,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *285 - required: *286 + properties: *292 + required: *293 nullable: true active_lock_reason: type: string @@ -91903,7 +93206,7 @@ paths: items: *4 requested_teams: type: array - items: *337 + items: *344 head: type: object properties: @@ -91941,14 +93244,14 @@ paths: _links: type: object properties: - comments: *287 - commits: *287 - statuses: *287 - html: *287 - issue: *287 - review_comments: *287 - review_comment: *287 - self: *287 + comments: *294 + commits: *294 + statuses: *294 + html: *294 + issue: *294 + review_comments: *294 + review_comment: *294 + self: *294 required: - comments - commits @@ -91959,7 +93262,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: *599 + auto_merge: *603 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -92051,7 +93354,7 @@ paths: - merged_by - review_comments examples: - default: &603 + default: &607 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -92578,8 +93881,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - name: sort in: query required: false @@ -92608,9 +93911,9 @@ paths: application/json: schema: type: array - items: *600 + items: *604 examples: - default: &605 + default: &609 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -92687,17 +93990,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *348 - - *349 + - *355 + - *356 - *104 responses: '200': description: Response content: application/json: - schema: *600 + schema: *604 examples: - default: &601 + default: &605 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -92772,8 +94075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *348 - - *349 + - *355 + - *356 - *104 requestBody: required: true @@ -92796,9 +94099,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: - default: *601 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92814,8 +94117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *348 - - *349 + - *355 + - *356 - *104 responses: '204': @@ -92837,8 +94140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -92865,9 +94168,9 @@ paths: application/json: schema: type: array - items: *480 + items: *486 examples: - default: *554 + default: *558 headers: Link: *70 '404': *6 @@ -92888,8 +94191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 requestBody: required: true @@ -92922,16 +94225,16 @@ paths: description: Reaction exists content: application/json: - schema: *480 + schema: *486 examples: - default: *481 + default: *487 '201': description: Reaction created content: application/json: - schema: *480 + schema: *486 examples: - default: *481 + default: *487 '422': *15 x-github: githubCloudOnly: false @@ -92953,10 +94256,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *348 - - *349 + - *355 + - *356 - *104 - - *555 + - *559 responses: '204': description: Response @@ -92999,9 +94302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *348 - - *349 - - &604 + - *355 + - *356 + - &608 name: pull_number description: The number that identifies the pull request. in: path @@ -93014,9 +94317,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '304': *37 '404': *6 '406': @@ -93051,9 +94354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 requestBody: required: false content: @@ -93095,9 +94398,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '422': *15 '403': *29 x-github: @@ -93119,9 +94422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#archive-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 responses: '204': description: Response @@ -93146,9 +94449,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#unarchive-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 responses: '204': description: Response @@ -93174,9 +94477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 requestBody: required: true content: @@ -93236,17 +94539,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '401': *25 '403': *29 '404': *6 @@ -93276,9 +94579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 - *112 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -93299,9 +94602,9 @@ paths: application/json: schema: type: array - items: *600 + items: *604 examples: - default: *605 + default: *609 headers: Link: *70 x-github: @@ -93334,9 +94637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 requestBody: required: true content: @@ -93441,7 +94744,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: example-for-a-multi-line-comment: value: @@ -93529,9 +94832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 - *104 requestBody: required: true @@ -93554,7 +94857,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: default: value: @@ -93640,9 +94943,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 - *17 - *19 responses: @@ -93652,9 +94955,9 @@ paths: application/json: schema: type: array - items: *482 + items: *488 examples: - default: *606 + default: *610 headers: Link: *70 x-github: @@ -93684,9 +94987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 - *17 - *19 responses: @@ -93696,7 +94999,7 @@ paths: application/json: schema: type: array - items: *495 + items: *501 examples: default: value: @@ -93734,9 +95037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 responses: '204': description: Response if pull request has been merged @@ -93759,9 +95062,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 requestBody: required: false content: @@ -93872,9 +95175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 responses: '200': description: Response @@ -93890,7 +95193,7 @@ paths: items: *4 teams: type: array - items: *201 + items: *208 required: - users - teams @@ -93949,9 +95252,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 requestBody: required: false content: @@ -93988,7 +95291,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *492 examples: default: value: @@ -94524,9 +95827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 requestBody: required: true content: @@ -94560,7 +95863,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *492 examples: default: value: @@ -95065,9 +96368,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 - *17 - *19 responses: @@ -95077,7 +96380,7 @@ paths: application/json: schema: type: array - items: &607 + items: &611 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -95228,9 +96531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 requestBody: required: false content: @@ -95316,9 +96619,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *611 examples: - default: &609 + default: &613 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -95381,10 +96684,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *348 - - *349 - - *604 - - &608 + - *355 + - *356 + - *608 + - &612 name: review_id description: The unique identifier of the review. in: path @@ -95396,9 +96699,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *611 examples: - default: &610 + default: &614 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -95457,10 +96760,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 - *608 + - *612 requestBody: required: true content: @@ -95483,7 +96786,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *611 examples: default: value: @@ -95545,18 +96848,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 - *608 + - *612 responses: '200': description: Response content: application/json: - schema: *607 + schema: *611 examples: - default: *609 + default: *613 '422': *7 '404': *6 x-github: @@ -95583,10 +96886,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *348 - - *349 - - *604 + - *355 + - *356 - *608 + - *612 - *17 - *19 responses: @@ -95669,9 +96972,9 @@ paths: _links: type: object properties: - self: *287 - html: *287 - pull_request: *287 + self: *294 + html: *294 + pull_request: *294 required: - self - html @@ -95821,10 +97124,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 - *608 + - *612 requestBody: required: true content: @@ -95852,7 +97155,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *611 examples: default: value: @@ -95915,10 +97218,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 - *608 + - *612 requestBody: required: true content: @@ -95953,9 +97256,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *611 examples: - default: *610 + default: *614 '404': *6 '422': *7 '403': *29 @@ -95977,9 +97280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 requestBody: required: false content: @@ -96042,8 +97345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *348 - - *349 + - *355 + - *356 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -96056,9 +97359,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *615 examples: - default: &612 + default: &616 value: type: file encoding: base64 @@ -96100,8 +97403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *348 - - *349 + - *355 + - *356 - name: dir description: The alternate path to look for a README file in: path @@ -96121,9 +97424,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *615 examples: - default: *612 + default: *616 '404': *6 '422': *15 x-github: @@ -96145,8 +97448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -96156,7 +97459,7 @@ paths: application/json: schema: type: array - items: *613 + items: *617 examples: default: value: @@ -96250,8 +97553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -96327,9 +97630,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *617 examples: - default: &617 + default: &621 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -96434,9 +97737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *348 - - *349 - - &615 + - *355 + - *356 + - &619 name: asset_id description: The unique identifier of the asset. in: path @@ -96448,9 +97751,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *618 examples: - default: &616 + default: &620 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 @@ -96485,7 +97788,7 @@ paths: type: User site_admin: false '404': *6 - '302': *499 + '302': *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96501,9 +97804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *348 - - *349 - - *615 + - *355 + - *356 + - *619 requestBody: required: false content: @@ -96531,9 +97834,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *618 examples: - default: *616 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96549,9 +97852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *348 - - *349 - - *615 + - *355 + - *356 + - *619 responses: '204': description: Response @@ -96576,8 +97879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -96662,16 +97965,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *613 + schema: *617 examples: - default: *617 + default: *621 '404': *6 x-github: githubCloudOnly: false @@ -96689,8 +97992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *348 - - *349 + - *355 + - *356 - name: tag description: tag parameter in: path @@ -96703,9 +98006,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *617 examples: - default: *617 + default: *621 '404': *6 x-github: githubCloudOnly: false @@ -96727,9 +98030,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *348 - - *349 - - &618 + - *355 + - *356 + - &622 name: release_id description: The unique identifier of the release. in: path @@ -96743,9 +98046,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: *613 + schema: *617 examples: - default: *617 + default: *621 '401': description: Unauthorized x-github: @@ -96763,9 +98066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *348 - - *349 - - *618 + - *355 + - *356 + - *622 requestBody: required: false content: @@ -96829,9 +98132,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *617 examples: - default: *617 + default: *621 '404': description: Not Found if the discussion category name is invalid content: @@ -96852,9 +98155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *348 - - *349 - - *618 + - *355 + - *356 + - *622 responses: '204': description: Response @@ -96875,9 +98178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *348 - - *349 - - *618 + - *355 + - *356 + - *622 - *17 - *19 responses: @@ -96887,7 +98190,7 @@ paths: application/json: schema: type: array - items: *614 + items: *618 examples: default: value: @@ -96968,9 +98271,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: - - *348 - - *349 - - *618 + - *355 + - *356 + - *622 - name: name in: query required: true @@ -96996,7 +98299,7 @@ paths: description: Response for successful upload content: application/json: - schema: *614 + schema: *618 examples: response-for-successful-upload: value: @@ -97051,9 +98354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *348 - - *349 - - *618 + - *355 + - *356 + - *622 - 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. @@ -97077,9 +98380,9 @@ paths: application/json: schema: type: array - items: *480 + items: *486 examples: - default: *554 + default: *558 headers: Link: *70 '404': *6 @@ -97100,9 +98403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *348 - - *349 - - *618 + - *355 + - *356 + - *622 requestBody: required: true content: @@ -97132,16 +98435,16 @@ paths: description: Reaction exists content: application/json: - schema: *480 + schema: *486 examples: - default: *481 + default: *487 '201': description: Reaction created content: application/json: - schema: *480 + schema: *486 examples: - default: *481 + default: *487 '422': *15 x-github: githubCloudOnly: false @@ -97163,10 +98466,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *348 - - *349 - - *618 - - *555 + - *355 + - *356 + - *622 + - *559 responses: '204': description: Response @@ -97190,9 +98493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 - *17 - *19 responses: @@ -97208,8 +98511,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *309 - - &619 + - *316 + - &623 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -97228,69 +98531,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *310 - - *619 - - allOf: - - *311 - - *619 - - allOf: - - *312 - - *619 - - allOf: - - *620 - - *619 - - allOf: - - *313 - - *619 - - allOf: - - *314 - - *619 - - allOf: - - *315 - - *619 - - allOf: - - *316 - - *619 - allOf: - *317 - - *619 + - *623 - allOf: - *318 - - *619 + - *623 - allOf: - *319 - - *619 + - *623 + - allOf: + - *624 + - *623 - allOf: - *320 - - *619 + - *623 - allOf: - *321 - - *619 + - *623 - allOf: - *322 - - *619 + - *623 - allOf: - *323 - - *619 + - *623 - allOf: - *324 - - *619 + - *623 - allOf: - *325 - - *619 + - *623 - allOf: - *326 - - *619 + - *623 - allOf: - *327 - - *619 + - *623 - allOf: - *328 - - *619 + - *623 - allOf: - *329 - - *619 + - *623 + - allOf: + - *330 + - *623 + - allOf: + - *331 + - *623 + - allOf: + - *332 + - *623 + - allOf: + - *333 + - *623 + - allOf: + - *334 + - *623 + - allOf: + - *335 + - *623 + - allOf: + - *336 + - *623 examples: default: value: @@ -97329,8 +98632,8 @@ paths: category: repos subcategory: rules parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 - name: includes_parents @@ -97341,7 +98644,7 @@ paths: schema: type: boolean default: true - - *621 + - *625 responses: '200': description: Response @@ -97349,7 +98652,7 @@ paths: application/json: schema: type: array - items: *330 + items: *337 examples: default: value: @@ -97396,8 +98699,8 @@ paths: category: repos subcategory: rules parameters: - - *348 - - *349 + - *355 + - *356 requestBody: description: Request body required: true @@ -97417,16 +98720,16 @@ paths: - tag - push default: branch - enforcement: *306 + enforcement: *313 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *307 - conditions: *304 + items: *314 + conditions: *311 rules: type: array description: An array of rules within the ruleset. - items: *622 + items: *626 required: - name - enforcement @@ -97457,9 +98760,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - default: &632 + default: &636 value: id: 42 name: super cool ruleset @@ -97507,12 +98810,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *348 - - *349 - - *623 - - *624 - - *625 - - *626 + - *355 + - *356 + - *627 + - *628 + - *629 + - *630 - *17 - *19 responses: @@ -97520,9 +98823,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *631 examples: - default: *628 + default: *632 '404': *6 '500': *55 x-github: @@ -97543,17 +98846,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *348 - - *349 - - *629 + - *355 + - *356 + - *633 responses: '200': description: Response content: application/json: - schema: *630 + schema: *634 examples: - default: *631 + default: *635 '404': *6 '500': *55 x-github: @@ -97581,8 +98884,8 @@ paths: category: repos subcategory: rules parameters: - - *348 - - *349 + - *355 + - *356 - name: ruleset_id description: The ID of the ruleset. in: path @@ -97602,9 +98905,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - default: *632 + default: *636 '404': *6 '500': *55 put: @@ -97622,8 +98925,8 @@ paths: category: repos subcategory: rules parameters: - - *348 - - *349 + - *355 + - *356 - name: ruleset_id description: The ID of the ruleset. in: path @@ -97648,16 +98951,16 @@ paths: - branch - tag - push - enforcement: *306 + enforcement: *313 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *307 - conditions: *304 + items: *314 + conditions: *311 rules: description: An array of rules within the ruleset. type: array - items: *622 + items: *626 examples: default: value: @@ -97685,9 +98988,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - default: *632 + default: *636 '404': *6 '422': *15 '500': *55 @@ -97706,8 +99009,8 @@ paths: category: repos subcategory: rules parameters: - - *348 - - *349 + - *355 + - *356 - name: ruleset_id description: The ID of the ruleset. in: path @@ -97730,8 +99033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 - name: ruleset_id @@ -97747,9 +99050,9 @@ paths: application/json: schema: type: array - items: *333 + items: *340 examples: - default: *633 + default: *637 '404': *6 '500': *55 x-github: @@ -97768,8 +99071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *348 - - *349 + - *355 + - *356 - name: ruleset_id description: The ID of the ruleset. in: path @@ -97787,7 +99090,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *638 examples: default: value: @@ -97842,26 +99145,26 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *348 - - *349 - - *635 - - *636 - - *637 - - *638 + - *355 + - *356 - *639 - *640 - *641 - *642 - - *62 - - *19 - - *17 - *643 - *644 - *645 - *646 + - *62 + - *19 + - *17 - *647 - *648 - *649 + - *650 + - *651 + - *652 + - *653 responses: '200': description: Response @@ -97869,11 +99172,11 @@ paths: application/json: schema: type: array - items: &653 + items: &657 type: object properties: - number: *179 - created_at: *180 + number: *186 + created_at: *187 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -97881,15 +99184,15 @@ paths: format: date-time readOnly: true nullable: true - url: *182 - html_url: *183 + url: *189 + html_url: *190 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *650 - resolution: *651 + state: *654 + resolution: *655 resolved_at: type: string format: date-time @@ -97995,7 +99298,7 @@ paths: pull request. ' - oneOf: *652 + oneOf: *656 nullable: true has_more_locations: type: boolean @@ -98159,16 +99462,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *348 - - *349 - - *446 - - *648 + - *355 + - *356 + - *452 + - *652 responses: '200': description: Response content: application/json: - schema: *653 + schema: *657 examples: default: value: @@ -98222,9 +99525,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *348 - - *349 - - *446 + - *355 + - *356 + - *452 requestBody: required: true content: @@ -98232,8 +99535,8 @@ paths: schema: type: object properties: - state: *650 - resolution: *651 + state: *654 + resolution: *655 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -98277,7 +99580,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *657 examples: default: value: @@ -98376,9 +99679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *348 - - *349 - - *446 + - *355 + - *356 + - *452 - *19 - *17 responses: @@ -98389,7 +99692,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &811 + items: &815 type: object properties: type: @@ -98415,10 +99718,6 @@ paths: example: commit details: oneOf: - - *654 - - *655 - - *656 - - *657 - *658 - *659 - *660 @@ -98428,6 +99727,10 @@ paths: - *664 - *665 - *666 + - *667 + - *668 + - *669 + - *670 examples: default: value: @@ -98513,8 +99816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -98522,14 +99825,14 @@ paths: schema: type: object properties: - reason: &668 + reason: &672 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *667 + placeholder_id: *671 required: - reason - placeholder_id @@ -98546,7 +99849,7 @@ paths: schema: type: object properties: - reason: *668 + reason: *672 expire_at: type: string format: date-time @@ -98592,8 +99895,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: - - *348 - - *349 + - *355 + - *356 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -98608,7 +99911,7 @@ paths: properties: incremental_scans: type: array - items: &669 + items: &673 description: Information on a single scan performed by secret scanning on the repository type: object @@ -98634,15 +99937,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *669 + items: *673 backfill_scans: type: array - items: *669 + items: *673 custom_pattern_backfill_scans: type: array items: allOf: - - *669 + - *673 - type: object properties: pattern_name: @@ -98655,7 +99958,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *669 + items: *673 examples: default: value: @@ -98720,8 +100023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *348 - - *349 + - *355 + - *356 - *62 - name: sort description: The property to sort the results by. @@ -98765,9 +100068,9 @@ paths: application/json: schema: type: array - items: *670 + items: *674 examples: - default: *671 + default: *675 '400': *14 '404': *6 x-github: @@ -98790,8 +100093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -98864,7 +100167,7 @@ paths: login: type: string description: The username of the user credited. - type: *336 + type: *343 required: - login - type @@ -98951,9 +100254,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *674 examples: - default: &673 + default: &677 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -99186,8 +100489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -99291,7 +100594,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *674 examples: default: value: @@ -99438,17 +100741,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *348 - - *349 - - *672 + - *355 + - *356 + - *676 responses: '200': description: Response content: application/json: - schema: *670 + schema: *674 examples: - default: *673 + default: *677 '403': *29 '404': *6 x-github: @@ -99472,9 +100775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *348 - - *349 - - *672 + - *355 + - *356 + - *676 requestBody: required: true content: @@ -99547,7 +100850,7 @@ paths: login: type: string description: The username of the user credited. - type: *336 + type: *343 required: - login - type @@ -99633,10 +100936,10 @@ paths: description: Response content: application/json: - schema: *670 + schema: *674 examples: - default: *673 - add_credit: *673 + default: *677 + add_credit: *677 '403': *29 '404': *6 '422': @@ -99674,9 +100977,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: - - *348 - - *349 - - *672 + - *355 + - *356 + - *676 responses: '202': *39 '400': *14 @@ -99703,17 +101006,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *348 - - *349 - - *672 + - *355 + - *356 + - *676 responses: '202': description: Response content: application/json: - schema: *351 + schema: *358 examples: - default: *353 + default: *360 '400': *14 '422': *15 '403': *29 @@ -99739,8 +101042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -99839,8 +101142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -99849,7 +101152,7 @@ paths: application/json: schema: type: array - items: &674 + items: &678 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -99882,8 +101185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -99959,8 +101262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -100056,8 +101359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -100211,8 +101514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -100222,7 +101525,7 @@ paths: application/json: schema: type: array - items: *674 + items: *678 examples: default: value: @@ -100255,8 +101558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *348 - - *349 + - *355 + - *356 - name: sha in: path required: true @@ -100310,7 +101613,7 @@ paths: description: Response content: application/json: - schema: *675 + schema: *679 examples: default: value: @@ -100364,8 +101667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -100397,14 +101700,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &676 + schema: &680 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -100472,8 +101775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: false content: @@ -100499,7 +101802,7 @@ paths: description: Response content: application/json: - schema: *676 + schema: *680 examples: default: value: @@ -100526,8 +101829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -100547,8 +101850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -100627,8 +101930,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *348 - - *349 + - *355 + - *356 - name: ref in: path required: true @@ -100664,8 +101967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -100675,9 +101978,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: *265 + default: *272 headers: Link: *70 '404': *6 @@ -100697,8 +102000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *348 - - *349 + - *355 + - *356 - *19 - *17 responses: @@ -100706,7 +102009,7 @@ paths: description: Response content: application/json: - schema: &677 + schema: &681 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -100718,7 +102021,7 @@ paths: required: - names examples: - default: &678 + default: &682 value: names: - octocat @@ -100741,8 +102044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -100773,9 +102076,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *681 examples: - default: *678 + default: *682 '404': *6 '422': *7 x-github: @@ -100796,9 +102099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *348 - - *349 - - &679 + - *355 + - *356 + - &683 name: per description: The time frame to display results for. in: query @@ -100827,7 +102130,7 @@ paths: example: 128 clones: type: array - items: &680 + items: &684 title: Traffic type: object properties: @@ -100914,8 +102217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -101005,8 +102308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -101066,9 +102369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *348 - - *349 - - *679 + - *355 + - *356 + - *683 responses: '200': description: Response @@ -101087,7 +102390,7 @@ paths: example: 3782 views: type: array - items: *680 + items: *684 required: - uniques - count @@ -101164,8 +102467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -101439,8 +102742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -101463,8 +102766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -101486,8 +102789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -101513,8 +102816,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *348 - - *349 + - *355 + - *356 - name: ref in: path required: true @@ -101606,9 +102909,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *358 examples: - default: *353 + default: *360 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -101859,7 +103162,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &681 + text_matches: &685 title: Search Result Text Matches type: array items: @@ -102021,7 +103324,7 @@ paths: enum: - author-date - committer-date - - &682 + - &686 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 @@ -102092,7 +103395,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *413 + properties: *419 nullable: true comment_count: type: integer @@ -102112,7 +103415,7 @@ paths: url: type: string format: uri - verification: *537 + verification: *541 required: - author - committer @@ -102131,7 +103434,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *413 + properties: *419 nullable: true parents: type: array @@ -102149,7 +103452,7 @@ paths: type: number node_id: type: string - text_matches: *681 + text_matches: *685 required: - sha - node_id @@ -102341,7 +103644,7 @@ paths: - interactions - created - updated - - *682 + - *686 - *17 - *19 - name: advanced_search @@ -102455,11 +103758,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: type: string state_reason: @@ -102476,8 +103779,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *285 - required: *286 + properties: *292 + required: *293 nullable: true comments: type: integer @@ -102491,7 +103794,7 @@ paths: type: string format: date-time nullable: true - text_matches: *681 + text_matches: *685 pull_request: type: object properties: @@ -102535,7 +103838,7 @@ paths: timeline_url: type: string format: uri - type: *248 + type: *255 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -102763,7 +104066,7 @@ paths: enum: - created - updated - - *682 + - *686 - *17 - *19 responses: @@ -102807,7 +104110,7 @@ paths: nullable: true score: type: number - text_matches: *681 + text_matches: *685 required: - id - node_id @@ -102892,7 +104195,7 @@ paths: - forks - help-wanted-issues - updated - - *682 + - *686 - *17 - *19 responses: @@ -103140,7 +104443,7 @@ paths: - admin - pull - push - text_matches: *681 + text_matches: *685 temp_clone_token: type: string allow_merge_commit: @@ -103440,7 +104743,7 @@ paths: type: string format: uri nullable: true - text_matches: *681 + text_matches: *685 related: type: array nullable: true @@ -103631,7 +104934,7 @@ paths: - followers - repositories - joined - - *682 + - *686 - *17 - *19 responses: @@ -103735,7 +105038,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *681 + text_matches: *685 blog: type: string nullable: true @@ -103814,7 +105117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &685 + - &689 name: team_id description: The unique identifier of the team. in: path @@ -103826,9 +105129,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *351 examples: - default: *345 + default: *352 '404': *6 x-github: githubCloudOnly: false @@ -103855,7 +105158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *685 + - *689 requestBody: required: true content: @@ -103918,16 +105221,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *344 + schema: *351 examples: - default: *345 + default: *352 '201': description: Response content: application/json: - schema: *344 + schema: *351 examples: - default: *345 + default: *352 '404': *6 '422': *15 '403': *29 @@ -103955,7 +105258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *685 + - *689 responses: '204': description: Response @@ -103984,7 +105287,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *685 + - *689 - *17 - *19 responses: @@ -103994,9 +105297,9 @@ paths: application/json: schema: type: array - items: *242 + items: *249 examples: - default: *243 + default: *250 headers: Link: *70 x-github: @@ -104022,7 +105325,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *685 + - *689 - name: role description: Filters members returned by their role in the team. in: query @@ -104073,7 +105376,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *685 + - *689 - *74 responses: '204': @@ -104110,7 +105413,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *685 + - *689 - *74 responses: '204': @@ -104150,7 +105453,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *685 + - *689 - *74 responses: '204': @@ -104187,16 +105490,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *685 + - *689 - *74 responses: '200': description: Response content: application/json: - schema: *347 + schema: *354 examples: - response-if-user-is-a-team-maintainer: *686 + response-if-user-is-a-team-maintainer: *690 '404': *6 x-github: githubCloudOnly: false @@ -104229,7 +105532,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *685 + - *689 - *74 requestBody: required: false @@ -104255,9 +105558,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *354 examples: - response-if-users-membership-with-team-is-now-pending: *687 + response-if-users-membership-with-team-is-now-pending: *691 '403': description: Forbidden if team synchronization is set up '422': @@ -104291,7 +105594,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *685 + - *689 - *74 responses: '204': @@ -104319,7 +105622,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *685 + - *689 - *17 - *19 responses: @@ -104331,7 +105634,7 @@ paths: type: array items: *161 examples: - default: *272 + default: *279 headers: Link: *70 '404': *6 @@ -104361,15 +105664,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *685 - - *348 - - *349 + - *689 + - *355 + - *356 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *688 + schema: *692 examples: alternative-response-with-extra-repository-information: value: @@ -104520,9 +105823,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *685 - - *348 - - *349 + - *689 + - *355 + - *356 requestBody: required: false content: @@ -104572,9 +105875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *685 - - *348 - - *349 + - *689 + - *355 + - *356 responses: '204': description: Response @@ -104599,7 +105902,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *685 + - *689 - *17 - *19 responses: @@ -104609,9 +105912,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - response-if-child-teams-exist: *689 + response-if-child-teams-exist: *693 headers: Link: *70 '404': *6 @@ -104644,7 +105947,7 @@ paths: application/json: schema: oneOf: - - &691 + - &695 title: Private User description: Private User type: object @@ -104847,7 +106150,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *690 + - *694 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -105000,7 +106303,7 @@ paths: description: Response content: application/json: - schema: *691 + schema: *695 examples: default: value: @@ -105203,9 +106506,9 @@ paths: type: integer codespaces: type: array - items: *253 + items: *260 examples: - default: *254 + default: *261 '304': *37 '500': *55 '401': *25 @@ -105344,17 +106647,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '401': *25 '403': *29 '404': *6 @@ -105398,7 +106701,7 @@ paths: type: integer secrets: type: array - items: &692 + items: &696 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -105438,7 +106741,7 @@ paths: - visibility - selected_repositories_url examples: - default: *472 + default: *478 headers: Link: *70 x-github: @@ -105514,7 +106817,7 @@ paths: description: Response content: application/json: - schema: *692 + schema: *696 examples: default: value: @@ -105660,7 +106963,7 @@ paths: type: array items: *161 examples: - default: *202 + default: *209 '401': *25 '403': *29 '404': *6 @@ -105804,15 +107107,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *255 + - *262 responses: '200': description: Response content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '304': *37 '500': *55 '401': *25 @@ -105838,7 +107141,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *255 + - *262 requestBody: required: false content: @@ -105868,9 +107171,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '401': *25 '403': *29 '404': *6 @@ -105892,7 +107195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *255 + - *262 responses: '202': *39 '304': *37 @@ -105921,13 +107224,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *255 + - *262 responses: '202': description: Response content: application/json: - schema: &693 + schema: &697 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -105968,7 +107271,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &694 + default: &698 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -106000,7 +107303,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *255 + - *262 - name: export_id in: path required: true @@ -106013,9 +107316,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *697 examples: - default: *694 + default: *698 '404': *6 x-github: githubCloudOnly: false @@ -106036,7 +107339,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *255 + - *262 responses: '200': description: Response @@ -106052,9 +107355,9 @@ paths: type: integer machines: type: array - items: *695 + items: *699 examples: - default: *696 + default: *700 '304': *37 '500': *55 '401': *25 @@ -106083,7 +107386,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *255 + - *262 requestBody: required: true content: @@ -106133,13 +107436,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *351 + repository: *358 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *470 - required: *471 + properties: *476 + required: *477 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -106913,15 +108216,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *255 + - *262 responses: '200': description: Response content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '304': *37 '500': *55 '400': *14 @@ -106953,15 +108256,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *255 + - *262 responses: '200': description: Response content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '500': *55 '401': *25 '403': *29 @@ -106991,9 +108294,9 @@ paths: application/json: schema: type: array - items: *266 + items: *273 examples: - default: &707 + default: &711 value: - id: 197 name: hello_docker @@ -107094,7 +108397,7 @@ paths: application/json: schema: type: array - items: &697 + items: &701 title: Email description: Email type: object @@ -107159,9 +108462,9 @@ paths: application/json: schema: type: array - items: *697 + items: *701 examples: - default: &709 + default: &713 value: - email: octocat@github.com verified: true @@ -107236,7 +108539,7 @@ paths: application/json: schema: type: array - items: *697 + items: *701 examples: default: value: @@ -107492,7 +108795,7 @@ paths: application/json: schema: type: array - items: &698 + items: &702 title: GPG Key description: A unique encryption key type: object @@ -107623,7 +108926,7 @@ paths: - subkeys - revoked examples: - default: &726 + default: &730 value: - id: 3 name: Octocat's GPG Key @@ -107708,9 +109011,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *702 examples: - default: &699 + default: &703 value: id: 3 name: Octocat's GPG Key @@ -107767,7 +109070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &700 + - &704 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -107779,9 +109082,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *702 examples: - default: *699 + default: *703 '404': *6 '304': *37 '403': *29 @@ -107804,7 +109107,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *700 + - *704 responses: '204': description: Response @@ -108083,12 +109386,12 @@ paths: application/json: schema: anyOf: - - *240 + - *247 - type: object properties: {} additionalProperties: false examples: - default: *241 + default: *248 '204': description: Response when there are no restrictions x-github: @@ -108112,7 +109415,7 @@ paths: required: true content: application/json: - schema: *548 + schema: *552 examples: default: value: @@ -108123,7 +109426,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *247 examples: default: value: @@ -108204,7 +109507,7 @@ paths: - closed - all default: open - - *251 + - *258 - name: sort description: What to sort results by. in: query @@ -108229,7 +109532,7 @@ paths: type: array items: *88 examples: - default: *252 + default: *259 headers: Link: *70 '404': *6 @@ -108262,7 +109565,7 @@ paths: application/json: schema: type: array - items: &701 + items: &705 title: Key description: Key type: object @@ -108363,9 +109666,9 @@ paths: description: Response content: application/json: - schema: *701 + schema: *705 examples: - default: &702 + default: &706 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108398,15 +109701,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *583 + - *587 responses: '200': description: Response content: application/json: - schema: *701 + schema: *705 examples: - default: *702 + default: *706 '404': *6 '304': *37 '403': *29 @@ -108429,7 +109732,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *583 + - *587 responses: '204': description: Response @@ -108462,7 +109765,7 @@ paths: application/json: schema: type: array - items: &703 + items: &707 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -108530,7 +109833,7 @@ paths: - account - plan examples: - default: &704 + default: &708 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -108592,9 +109895,9 @@ paths: application/json: schema: type: array - items: *703 + items: *707 examples: - default: *704 + default: *708 headers: Link: *70 '304': *37 @@ -108634,7 +109937,7 @@ paths: application/json: schema: type: array - items: *257 + items: *264 examples: default: value: @@ -108748,7 +110051,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -108835,7 +110138,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -108907,7 +110210,7 @@ paths: application/json: schema: type: array - items: *259 + items: *266 examples: default: value: @@ -109160,7 +110463,7 @@ paths: description: Response content: application/json: - schema: *259 + schema: *266 examples: default: value: @@ -109340,7 +110643,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *260 + - *267 - name: exclude in: query required: false @@ -109353,7 +110656,7 @@ paths: description: Response content: application/json: - schema: *259 + schema: *266 examples: default: value: @@ -109547,7 +110850,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *260 + - *267 responses: '302': description: Response @@ -109573,7 +110876,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *260 + - *267 responses: '204': description: Response @@ -109602,8 +110905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *260 - - *705 + - *267 + - *709 responses: '204': description: Response @@ -109627,7 +110930,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *260 + - *267 - *17 - *19 responses: @@ -109639,7 +110942,7 @@ paths: type: array items: *161 examples: - default: *272 + default: *279 headers: Link: *70 '404': *6 @@ -109718,7 +111021,7 @@ paths: - docker - nuget - container - - *706 + - *710 - *19 - *17 responses: @@ -109728,10 +111031,10 @@ paths: application/json: schema: type: array - items: *266 + items: *273 examples: - default: *707 - '400': *708 + default: *711 + '400': *712 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109751,16 +111054,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *268 - - *269 + - *275 + - *276 responses: '200': description: Response content: application/json: - schema: *266 + schema: *273 examples: - default: &727 + default: &731 value: id: 40201 name: octo-name @@ -109873,8 +111176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *268 - - *269 + - *275 + - *276 responses: '204': description: Response @@ -109904,8 +111207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *268 - - *269 + - *275 + - *276 - name: token description: package token schema: @@ -109937,8 +111240,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: - - *268 - - *269 + - *275 + - *276 - *19 - *17 - name: state @@ -109958,7 +111261,7 @@ paths: application/json: schema: type: array - items: *270 + items: *277 examples: default: value: @@ -110007,15 +111310,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *268 - - *269 - - *271 + - *275 + - *276 + - *278 responses: '200': description: Response content: application/json: - schema: *270 + schema: *277 examples: default: value: @@ -110051,9 +111354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *268 - - *269 - - *271 + - *275 + - *276 + - *278 responses: '204': description: Response @@ -110083,9 +111386,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *268 - - *269 - - *271 + - *275 + - *276 + - *278 responses: '204': description: Response @@ -110122,9 +111425,9 @@ paths: application/json: schema: type: array - items: *697 + items: *701 examples: - default: *709 + default: *713 headers: Link: *70 '304': *37 @@ -110237,7 +111540,7 @@ paths: type: array items: *82 examples: - default: &716 + default: &720 summary: Default response value: - id: 1296269 @@ -110541,9 +111844,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *358 examples: - default: *353 + default: *360 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -110581,9 +111884,9 @@ paths: application/json: schema: type: array - items: *550 + items: *554 examples: - default: *710 + default: *714 headers: Link: *70 '304': *37 @@ -110606,7 +111909,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *244 + - *251 responses: '204': description: Response @@ -110629,7 +111932,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *244 + - *251 responses: '204': description: Response @@ -110662,7 +111965,7 @@ paths: application/json: schema: type: array - items: &711 + items: &715 title: Social account description: Social media account type: object @@ -110677,7 +111980,7 @@ paths: - provider - url examples: - default: &712 + default: &716 value: - provider: twitter url: https://twitter.com/github @@ -110739,9 +112042,9 @@ paths: application/json: schema: type: array - items: *711 + items: *715 examples: - default: *712 + default: *716 '422': *15 '304': *37 '404': *6 @@ -110828,7 +112131,7 @@ paths: application/json: schema: type: array - items: &713 + items: &717 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -110848,7 +112151,7 @@ paths: - title - created_at examples: - default: &745 + default: &749 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -110912,9 +112215,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: &714 + default: &718 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -110944,7 +112247,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: - - &715 + - &719 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -110956,9 +112259,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: *714 + default: *718 '404': *6 '304': *37 '403': *29 @@ -110981,7 +112284,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: - - *715 + - *719 responses: '204': description: Response @@ -111010,7 +112313,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &746 + - &750 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 @@ -111035,11 +112338,11 @@ paths: type: array items: *82 examples: - default-response: *716 + default-response: *720 application/vnd.github.v3.star+json: schema: type: array - items: &747 + items: &751 title: Starred Repository description: Starred Repository type: object @@ -111195,8 +112498,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: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response if this repository is starred by you @@ -111224,8 +112527,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -111249,8 +112552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -111285,7 +112588,7 @@ paths: type: array items: *161 examples: - default: *272 + default: *279 headers: Link: *70 '304': *37 @@ -111322,7 +112625,7 @@ paths: application/json: schema: type: array - items: *344 + items: *351 examples: default: value: @@ -111408,10 +112711,10 @@ paths: application/json: schema: oneOf: - - *691 - - *690 + - *695 + - *694 examples: - default-response: &720 + default-response: &724 summary: Default response value: login: octocat @@ -111446,7 +112749,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &721 + response-with-git-hub-plan-information: &725 summary: Response with GitHub plan information value: login: octocat @@ -111503,14 +112806,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &718 + - &722 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *284 + - *291 requestBody: required: true description: Details of the draft item to create in the project. @@ -111544,9 +112847,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *297 examples: - draft_issue: *291 + draft_issue: *298 '304': *37 '403': *29 '401': *25 @@ -111569,7 +112872,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *717 + - *721 - *17 responses: '200': @@ -111604,8 +112907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *718 - - *284 + - *722 + - *291 requestBody: required: true content: @@ -111676,17 +112979,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *719 + schema: *723 examples: table_view: summary: Response for creating a table view - value: *295 + value: *302 board_view: summary: Response for creating a board view with filter - value: *295 + value: *302 roadmap_view: summary: Response for creating a roadmap view - value: *295 + value: *302 '304': *37 '403': *29 '401': *25 @@ -111728,11 +113031,11 @@ paths: application/json: schema: oneOf: - - *691 - - *690 + - *695 + - *694 examples: - default-response: *720 - response-with-git-hub-plan-information: *721 + default-response: *724 + response-with-git-hub-plan-information: *725 '404': *6 x-github: githubCloudOnly: false @@ -111782,8 +113085,8 @@ paths: required: - subject_digests examples: - default: *722 - withPredicateType: *723 + default: *726 + withPredicateType: *727 responses: '200': description: Response @@ -111836,7 +113139,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *724 + default: *728 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112041,7 +113344,7 @@ paths: initiator: type: string examples: - default: *409 + default: *415 '201': description: Response content: @@ -112108,7 +113411,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *195 + items: *202 examples: default: summary: Example response for listing user copilot spaces @@ -112320,9 +113623,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *202 examples: - default: &725 + default: &729 summary: Example response for a user copilot space value: id: 42 @@ -112421,9 +113724,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *202 examples: - default: *725 + default: *729 '403': *29 '404': *6 x-github: @@ -112544,9 +113847,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *202 examples: - default: *725 + default: *729 '403': *29 '404': *6 '422': *15 @@ -112623,7 +113926,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *197 + items: *204 examples: default: value: @@ -112766,7 +114069,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *204 examples: default: value: @@ -112877,7 +114180,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *204 examples: default: value: @@ -113007,7 +114310,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *198 + items: *205 examples: default: value: @@ -113099,7 +114402,7 @@ paths: description: Resource created content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -113115,7 +114418,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -113168,7 +114471,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -113235,7 +114538,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -113312,9 +114615,9 @@ paths: application/json: schema: type: array - items: *266 + items: *273 examples: - default: *707 + default: *711 '403': *29 '401': *25 x-github: @@ -113698,9 +115001,9 @@ paths: application/json: schema: type: array - items: *698 + items: *702 examples: - default: *726 + default: *730 headers: Link: *70 x-github: @@ -113804,7 +115107,7 @@ paths: application/json: schema: *22 examples: - default: *547 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113928,7 +115231,7 @@ paths: - docker - nuget - container - - *706 + - *710 - *74 - *19 - *17 @@ -113939,12 +115242,12 @@ paths: application/json: schema: type: array - items: *266 + items: *273 examples: - default: *707 + default: *711 '403': *29 '401': *25 - '400': *708 + '400': *712 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113964,17 +115267,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *268 - - *269 + - *275 + - *276 - *74 responses: '200': description: Response content: application/json: - schema: *266 + schema: *273 examples: - default: *727 + default: *731 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113995,8 +115298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *268 - - *269 + - *275 + - *276 - *74 responses: '204': @@ -114029,8 +115332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *268 - - *269 + - *275 + - *276 - *74 - name: token description: package token @@ -114063,8 +115366,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: - - *268 - - *269 + - *275 + - *276 - *74 responses: '200': @@ -114073,7 +115376,7 @@ paths: application/json: schema: type: array - items: *270 + items: *277 examples: default: value: @@ -114131,16 +115434,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *268 - - *269 - - *271 + - *275 + - *276 + - *278 - *74 responses: '200': description: Response content: application/json: - schema: *270 + schema: *277 examples: default: value: @@ -114175,10 +115478,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *268 - - *269 + - *275 + - *276 - *74 - - *271 + - *278 responses: '204': description: Response @@ -114210,10 +115513,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *268 - - *269 + - *275 + - *276 - *74 - - *271 + - *278 responses: '204': description: Response @@ -114254,9 +115557,9 @@ paths: application/json: schema: type: array - items: *282 + items: *289 examples: - default: *283 + default: *290 headers: Link: *70 '304': *37 @@ -114278,16 +115581,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *284 + - *291 - *74 responses: '200': description: Response content: application/json: - schema: *282 + schema: *289 examples: - default: *283 + default: *290 headers: Link: *70 '304': *37 @@ -114309,7 +115612,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *284 + - *291 - *74 - *17 - *47 @@ -114321,9 +115624,9 @@ paths: application/json: schema: type: array - items: *288 + items: *295 examples: - default: *728 + default: *732 headers: Link: *70 '304': *37 @@ -114345,7 +115648,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *74 - - *284 + - *291 requestBody: required: true content: @@ -114383,7 +115686,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *729 + items: *733 required: - name - data_type @@ -114399,7 +115702,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *730 + iteration_configuration: *734 required: - name - data_type @@ -114421,20 +115724,20 @@ paths: value: name: Due date data_type: date - single_select_field: *731 - iteration_field: *732 + single_select_field: *735 + iteration_field: *736 responses: '201': description: Response content: application/json: - schema: *288 + schema: *295 examples: - text_field: *733 - number_field: *734 - date_field: *735 - single_select_field: *736 - iteration_field: *737 + text_field: *737 + number_field: *738 + date_field: *739 + single_select_field: *740 + iteration_field: *741 '304': *37 '403': *29 '401': *25 @@ -114455,17 +115758,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *284 - - *738 + - *291 + - *742 - *74 responses: '200': description: Response content: application/json: - schema: *288 + schema: *295 examples: - default: *739 + default: *743 headers: Link: *70 '304': *37 @@ -114488,7 +115791,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *284 + - *291 - *74 - *47 - *48 @@ -114521,9 +115824,9 @@ paths: application/json: schema: type: array - items: *292 + items: *299 examples: - default: *293 + default: *300 headers: Link: *70 '304': *37 @@ -114545,7 +115848,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *74 - - *284 + - *291 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -114615,22 +115918,22 @@ paths: description: Response content: application/json: - schema: *290 + schema: *297 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *291 + value: *298 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *291 + value: *298 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *291 + value: *298 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *291 + value: *298 '304': *37 '403': *29 '401': *25 @@ -114650,9 +115953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *284 + - *291 - *74 - - *294 + - *301 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -114672,9 +115975,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *299 examples: - default: *293 + default: *300 headers: Link: *70 '304': *37 @@ -114695,9 +115998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *284 + - *291 - *74 - - *294 + - *301 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -114767,13 +116070,13 @@ paths: description: Response content: application/json: - schema: *292 + schema: *299 examples: - text_field: *293 - number_field: *293 - date_field: *293 - single_select_field: *293 - iteration_field: *293 + text_field: *300 + number_field: *300 + date_field: *300 + single_select_field: *300 + iteration_field: *300 '401': *25 '403': *29 '404': *6 @@ -114793,9 +116096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *284 + - *291 - *74 - - *294 + - *301 responses: '204': description: Response @@ -114817,9 +116120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *284 + - *291 - *74 - - *740 + - *744 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -114845,9 +116148,9 @@ paths: application/json: schema: type: array - items: *292 + items: *299 examples: - default: *293 + default: *300 headers: Link: *70 '304': *37 @@ -115068,7 +116371,7 @@ paths: type: array items: *161 examples: - default: *272 + default: *279 headers: Link: *70 x-github: @@ -115094,7 +116397,7 @@ paths: - *124 - *126 - *125 - - *741 + - *745 - *127 responses: '200': @@ -115225,7 +116528,7 @@ paths: parameters: - *74 - *124 - - *742 + - *746 - *125 responses: '200': @@ -115324,9 +116627,9 @@ paths: - *124 - *126 - *125 - - *743 + - *747 - *127 - - *744 + - *748 responses: '200': description: Response when getting a billing usage summary @@ -115460,9 +116763,9 @@ paths: application/json: schema: type: array - items: *711 + items: *715 examples: - default: *712 + default: *716 headers: Link: *70 x-github: @@ -115492,9 +116795,9 @@ paths: application/json: schema: type: array - items: *713 + items: *717 examples: - default: *745 + default: *749 headers: Link: *70 x-github: @@ -115519,7 +116822,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *74 - - *746 + - *750 - *62 - *17 - *19 @@ -115531,11 +116834,11 @@ paths: schema: anyOf: - type: array - items: *747 + items: *751 - type: array items: *82 examples: - default-response: *716 + default-response: *720 headers: Link: *70 x-github: @@ -115566,7 +116869,7 @@ paths: type: array items: *161 examples: - default: *272 + default: *279 headers: Link: *70 x-github: @@ -115694,7 +116997,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &748 + enterprise: &752 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -115752,7 +117055,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &749 + installation: &753 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -115771,7 +117074,7 @@ x-webhooks: required: - id - node_id - organization: &750 + organization: &754 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -115831,13 +117134,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &751 + repository: &755 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &783 + properties: &787 id: description: Unique identifier of the repository example: 42 @@ -116532,7 +117835,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &784 + required: &788 - archive_url - assignees_url - blobs_url @@ -116683,10 +117986,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -116762,11 +118065,11 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - rule: &752 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: &756 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) @@ -116989,11 +118292,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - rule: *752 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: *756 sender: *4 required: - action @@ -117176,11 +118479,11 @@ x-webhooks: - everyone required: - from - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - rule: *752 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: *756 sender: *4 required: - action @@ -117264,7 +118567,7 @@ x-webhooks: type: string enum: - completed - check_run: &754 + check_run: &758 title: CheckRun description: A check performed on the code of a given code change type: object @@ -117355,7 +118658,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *753 + deployment: *757 details_url: example: https://example.com type: string @@ -117440,10 +118743,10 @@ x-webhooks: - output - app - pull_requests - installation: *749 - enterprise: *748 - organization: *750 - repository: *751 + installation: *753 + enterprise: *752 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -117834,11 +119137,11 @@ x-webhooks: type: string enum: - created - check_run: *754 - installation: *749 - enterprise: *748 - organization: *750 - repository: *751 + check_run: *758 + installation: *753 + enterprise: *752 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -118232,11 +119535,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *754 - installation: *749 - enterprise: *748 - organization: *750 - repository: *751 + check_run: *758 + installation: *753 + enterprise: *752 + organization: *754 + repository: *755 requested_action: description: The action requested by the user. type: object @@ -118639,11 +119942,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *754 - installation: *749 - enterprise: *748 - organization: *750 - repository: *751 + check_run: *758 + installation: *753 + enterprise: *752 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -119613,10 +120916,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -120305,10 +121608,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -120991,10 +122294,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -121160,7 +122463,7 @@ x-webhooks: required: - login - id - dismissed_comment: *441 + dismissed_comment: *447 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -121305,20 +122608,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &755 + commit_oid: &759 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: *748 - installation: *749 - organization: *750 - ref: &756 + enterprise: *752 + installation: *753 + organization: *754 + ref: &760 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: *751 + repository: *755 sender: *4 required: - action @@ -121483,7 +122786,7 @@ x-webhooks: required: - login - id - dismissed_comment: *441 + dismissed_comment: *447 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -121713,12 +123016,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *755 - enterprise: *748 - installation: *749 - organization: *750 - ref: *756 - repository: *751 + commit_oid: *759 + enterprise: *752 + installation: *753 + organization: *754 + ref: *760 + repository: *755 sender: *4 required: - action @@ -121813,7 +123116,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *441 + dismissed_comment: *447 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -121984,12 +123287,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *755 - enterprise: *748 - installation: *749 - organization: *750 - ref: *756 - repository: *751 + commit_oid: *759 + enterprise: *752 + installation: *753 + organization: *754 + ref: *760 + repository: *755 sender: *4 required: - action @@ -122155,7 +123458,7 @@ x-webhooks: required: - login - id - dismissed_comment: *441 + dismissed_comment: *447 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -122321,12 +123624,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *755 - enterprise: *748 - installation: *749 - organization: *750 - ref: *756 - repository: *751 + commit_oid: *759 + enterprise: *752 + installation: *753 + organization: *754 + ref: *760 + repository: *755 sender: *4 required: - action @@ -122425,7 +123728,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *441 + dismissed_comment: *447 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -122600,16 +123903,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 ref: 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 nullable: true - repository: *751 + repository: *755 sender: *4 required: - action @@ -122706,7 +124009,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *441 + dismissed_comment: *447 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -122846,12 +124149,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *755 - enterprise: *748 - installation: *749 - organization: *750 - ref: *756 - repository: *751 + commit_oid: *759 + enterprise: *752 + installation: *753 + organization: *754 + ref: *760 + repository: *755 sender: *4 required: - action @@ -123017,7 +124320,7 @@ x-webhooks: required: - login - id - dismissed_comment: *441 + dismissed_comment: *447 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -123162,10 +124465,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -123420,10 +124723,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -123503,18 +124806,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *750 - pusher_type: &757 + organization: *754 + pusher_type: &761 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &758 + ref: &762 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -123524,7 +124827,7 @@ x-webhooks: enum: - tag - branch - repository: *751 + repository: *755 sender: *4 required: - ref @@ -123606,10 +124909,10 @@ x-webhooks: type: string enum: - created - definition: *296 - enterprise: *748 - installation: *749 - organization: *750 + definition: *303 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -123694,9 +124997,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -123773,10 +125076,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *296 - enterprise: *748 - installation: *749 - organization: *750 + definition: *303 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -123853,10 +125156,10 @@ x-webhooks: type: string enum: - updated - definition: *296 - enterprise: *748 - installation: *749 - organization: *750 + definition: *303 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -123933,19 +125236,19 @@ x-webhooks: type: string enum: - updated - enterprise: *748 - installation: *749 - repository: *751 - organization: *750 + enterprise: *752 + installation: *753 + repository: *755 + organization: *754 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *300 + items: *307 old_property_values: type: array description: The old custom property values for the repository. - items: *300 + items: *307 required: - action - repository @@ -124021,18 +125324,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *748 - installation: *749 - organization: *750 - pusher_type: *757 - ref: *758 + enterprise: *752 + installation: *753 + organization: *754 + pusher_type: *761 + ref: *762 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *751 + repository: *755 sender: *4 required: - ref @@ -124112,11 +125415,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *505 - installation: *749 - organization: *750 - enterprise: *748 - repository: *751 + alert: *511 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -124196,11 +125499,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *505 - installation: *749 - organization: *750 - enterprise: *748 - repository: *751 + alert: *511 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -124281,11 +125584,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *505 - installation: *749 - organization: *750 - enterprise: *748 - repository: *751 + alert: *511 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -124366,11 +125669,11 @@ x-webhooks: type: string enum: - created - alert: *505 - installation: *749 - organization: *750 - enterprise: *748 - repository: *751 + alert: *511 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -124449,11 +125752,11 @@ x-webhooks: type: string enum: - dismissed - alert: *505 - installation: *749 - organization: *750 - enterprise: *748 - repository: *751 + alert: *511 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -124532,11 +125835,11 @@ x-webhooks: type: string enum: - fixed - alert: *505 - installation: *749 - organization: *750 - enterprise: *748 - repository: *751 + alert: *511 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -124616,11 +125919,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *505 - installation: *749 - organization: *750 - enterprise: *748 - repository: *751 + alert: *511 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -124699,11 +126002,11 @@ x-webhooks: type: string enum: - reopened - alert: *505 - installation: *749 - organization: *750 - enterprise: *748 - repository: *751 + alert: *511 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -124780,9 +126083,9 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - key: &759 + enterprise: *752 + installation: *753 + key: &763 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -124818,8 +126121,8 @@ x-webhooks: - verified - created_at - read_only - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -124896,11 +126199,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - key: *759 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + key: *763 + organization: *754 + repository: *755 sender: *4 required: - action @@ -125456,12 +126759,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: &765 + workflow: &769 title: Workflow type: object nullable: true @@ -126202,15 +127505,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *760 - required: *761 + properties: *764 + required: *765 nullable: true pull_requests: type: array - items: *602 - repository: *751 - organization: *750 - installation: *749 + items: *606 + repository: *755 + organization: *754 + installation: *753 sender: *4 responses: '200': @@ -126281,7 +127584,7 @@ x-webhooks: type: string enum: - approved - approver: &762 + approver: &766 type: object properties: avatar_url: @@ -126324,11 +127627,11 @@ x-webhooks: type: string comment: type: string - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - reviewers: &763 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + reviewers: &767 type: array items: type: object @@ -126407,7 +127710,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &764 + workflow_job_run: &768 type: object properties: conclusion: @@ -127138,18 +128441,18 @@ x-webhooks: type: string enum: - rejected - approver: *762 + approver: *766 comment: type: string - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - reviewers: *763 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + reviewers: *767 sender: *4 since: type: string - workflow_job_run: *764 + workflow_job_run: *768 workflow_job_runs: type: array items: @@ -127853,13 +129156,13 @@ x-webhooks: type: string enum: - requested - enterprise: *748 + enterprise: *752 environment: type: string - installation: *749 - organization: *750 - repository: *751 - requestor: &770 + installation: *753 + organization: *754 + repository: *755 + requestor: &774 title: User type: object nullable: true @@ -129748,12 +131051,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *765 + workflow: *769 workflow_run: title: Deployment Workflow Run type: object @@ -130433,7 +131736,7 @@ x-webhooks: type: string enum: - answered - answer: &768 + answer: &772 type: object properties: author_association: @@ -130590,11 +131893,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130721,11 +132024,11 @@ x-webhooks: - from required: - category - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130808,11 +132111,11 @@ x-webhooks: type: string enum: - closed - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130894,7 +132197,7 @@ x-webhooks: type: string enum: - created - comment: &767 + comment: &771 type: object properties: author_association: @@ -131051,11 +132354,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131138,12 +132441,12 @@ x-webhooks: type: string enum: - deleted - comment: *767 - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + comment: *771 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131238,12 +132541,12 @@ x-webhooks: - from required: - body - comment: *767 - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + comment: *771 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131327,11 +132630,11 @@ x-webhooks: type: string enum: - created - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131413,11 +132716,11 @@ x-webhooks: type: string enum: - deleted - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131517,11 +132820,11 @@ x-webhooks: type: string required: - from - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131603,10 +132906,10 @@ x-webhooks: type: string enum: - labeled - discussion: *766 - enterprise: *748 - installation: *749 - label: &769 + discussion: *770 + enterprise: *752 + installation: *753 + label: &773 title: Label type: object properties: @@ -131638,8 +132941,8 @@ x-webhooks: - color - default - description - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131722,11 +133025,11 @@ x-webhooks: type: string enum: - locked - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131808,11 +133111,11 @@ x-webhooks: type: string enum: - pinned - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131894,11 +133197,11 @@ x-webhooks: type: string enum: - reopened - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131983,16 +133286,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *766 - new_repository: *751 + new_discussion: *770 + new_repository: *755 required: - new_discussion - new_repository - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -132075,10 +133378,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *766 - old_answer: *768 - organization: *750 - repository: *751 + discussion: *770 + old_answer: *772 + organization: *754 + repository: *755 sender: *4 required: - action @@ -132160,12 +133463,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *766 - enterprise: *748 - installation: *749 - label: *769 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + label: *773 + organization: *754 + repository: *755 sender: *4 required: - action @@ -132248,11 +133551,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -132334,11 +133637,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -132411,7 +133714,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *748 + enterprise: *752 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -133071,9 +134374,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - forkee @@ -133219,9 +134522,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 pages: description: The pages that were updated. type: array @@ -133258,7 +134561,7 @@ x-webhooks: - action - sha - html_url - repository: *751 + repository: *755 sender: *4 required: - pages @@ -133334,10 +134637,10 @@ x-webhooks: type: string enum: - created - enterprise: *748 + enterprise: *752 installation: *22 - organization: *750 - repositories: &771 + organization: *754 + repositories: &775 description: An array of repository objects that the installation can access. type: array @@ -133363,8 +134666,8 @@ x-webhooks: - name - full_name - private - repository: *751 - requester: *770 + repository: *755 + requester: *774 sender: *4 required: - action @@ -133439,11 +134742,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 + enterprise: *752 installation: *22 - organization: *750 - repositories: *771 - repository: *751 + organization: *754 + repositories: *775 + repository: *755 requester: nullable: true sender: *4 @@ -133519,11 +134822,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *748 + enterprise: *752 installation: *22 - organization: *750 - repositories: *771 - repository: *751 + organization: *754 + repositories: *775 + repository: *755 requester: nullable: true sender: *4 @@ -133599,10 +134902,10 @@ x-webhooks: type: string enum: - added - enterprise: *748 + enterprise: *752 installation: *22 - organization: *750 - repositories_added: &772 + organization: *754 + repositories_added: &776 description: An array of repository objects, which were added to the installation. type: array @@ -133648,15 +134951,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *751 - repository_selection: &773 + repository: *755 + repository_selection: &777 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *770 + requester: *774 sender: *4 required: - action @@ -133735,10 +135038,10 @@ x-webhooks: type: string enum: - removed - enterprise: *748 + enterprise: *752 installation: *22 - organization: *750 - repositories_added: *772 + organization: *754 + repositories_added: *776 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -133765,9 +135068,9 @@ x-webhooks: - name - full_name - private - repository: *751 - repository_selection: *773 - requester: *770 + repository: *755 + repository_selection: *777 + requester: *774 sender: *4 required: - action @@ -133846,11 +135149,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *748 + enterprise: *752 installation: *22 - organization: *750 - repositories: *771 - repository: *751 + organization: *754 + repositories: *775 + repository: *755 requester: nullable: true sender: *4 @@ -134028,10 +135331,10 @@ x-webhooks: type: string required: - from - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 target_type: type: string @@ -134110,11 +135413,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *748 + enterprise: *752 installation: *22 - organization: *750 - repositories: *771 - repository: *751 + organization: *754 + repositories: *775 + repository: *755 requester: nullable: true sender: *4 @@ -134288,8 +135591,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *579 - required: *580 + properties: *583 + required: *584 nullable: true user: title: User @@ -134374,8 +135677,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -135164,8 +136467,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135181,7 +136484,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -135514,8 +136817,8 @@ x-webhooks: - state - locked - assignee - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -135595,7 +136898,7 @@ x-webhooks: type: string enum: - deleted - comment: &774 + comment: &778 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -135752,8 +137055,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *579 - required: *580 + properties: *583 + required: *584 nullable: true required: - url @@ -135768,8 +137071,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -136554,8 +137857,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136571,7 +137874,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -136906,8 +138209,8 @@ x-webhooks: - state - locked - assignee - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -136987,7 +138290,7 @@ x-webhooks: type: string enum: - edited - changes: &803 + changes: &807 description: The changes to the comment. type: object properties: @@ -136999,9 +138302,9 @@ x-webhooks: type: string required: - from - comment: *774 - enterprise: *748 - installation: *749 + comment: *778 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -137789,8 +139092,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137806,7 +139109,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -138139,8 +139442,8 @@ x-webhooks: - state - locked - assignee - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -138221,9 +139524,9 @@ x-webhooks: type: string enum: - pinned - comment: *774 - enterprise: *748 - installation: *749 + comment: *778 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -139013,8 +140316,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139030,7 +140333,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -139365,8 +140668,8 @@ x-webhooks: - state - locked - assignee - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -139446,9 +140749,9 @@ x-webhooks: type: string enum: - unpinned - comment: *774 - enterprise: *748 - installation: *749 + comment: *778 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -140238,8 +141541,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140255,7 +141558,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -140590,8 +141893,8 @@ x-webhooks: - state - locked - assignee - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -140680,9 +141983,9 @@ x-webhooks: type: number blocking_issue: *88 blocking_issue_repo: *82 - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -140771,9 +142074,9 @@ x-webhooks: type: number blocking_issue: *88 blocking_issue_repo: *82 - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -140861,9 +142164,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *88 - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -140952,9 +142255,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *88 - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -141034,10 +142337,10 @@ x-webhooks: type: string enum: - assigned - assignee: *770 - enterprise: *748 - installation: *749 - issue: &775 + assignee: *774 + enterprise: *752 + installation: *753 + issue: &779 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -141829,11 +143132,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141849,7 +143152,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -141950,8 +143253,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -142031,8 +143334,8 @@ x-webhooks: type: string enum: - closed - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -142829,11 +144132,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142849,7 +144152,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -143085,8 +144388,8 @@ x-webhooks: required: - state - closed_at - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -143165,8 +144468,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143954,11 +145257,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143974,7 +145277,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -144074,8 +145377,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -144154,8 +145457,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144965,11 +146268,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144985,7 +146288,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -145064,7 +146367,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &776 + milestone: &780 title: Milestone description: A collection of related issues and pull requests. type: object @@ -145202,8 +146505,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -145302,8 +146605,8 @@ x-webhooks: type: string required: - from - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -146095,11 +147398,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146112,7 +147415,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *248 + type: *255 title: description: Title of the issue type: string @@ -146216,9 +147519,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *769 - organization: *750 - repository: *751 + label: *773 + organization: *754 + repository: *755 sender: *4 required: - action @@ -146298,9 +147601,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *748 - installation: *749 - issue: *775 + enterprise: *752 + installation: *753 + issue: *779 issue_field: type: object description: The issue field whose value was set or updated on the @@ -146409,8 +147712,8 @@ x-webhooks: - id required: - from - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -146490,9 +147793,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *748 - installation: *749 - issue: *775 + enterprise: *752 + installation: *753 + issue: *779 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -146550,8 +147853,8 @@ x-webhooks: nullable: true required: - id - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -146631,8 +147934,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147423,11 +148726,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147440,7 +148743,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *248 + type: *255 title: description: Title of the issue type: string @@ -147544,9 +148847,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *769 - organization: *750 - repository: *751 + label: *773 + organization: *754 + repository: *755 sender: *4 required: - action @@ -147626,8 +148929,8 @@ x-webhooks: type: string enum: - locked - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148442,11 +149745,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148459,7 +149762,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *248 + type: *255 title: description: Title of the issue type: string @@ -148540,8 +149843,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -148620,8 +149923,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -149430,11 +150733,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149450,7 +150753,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -149528,9 +150831,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *776 - organization: *750 - repository: *751 + milestone: *780 + organization: *754 + repository: *755 sender: *4 required: - action @@ -150393,11 +151696,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150498,7 +151801,7 @@ x-webhooks: required: - login - id - type: *248 + type: *255 required: - id - number @@ -150978,8 +152281,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151763,11 +153066,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151783,7 +153086,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -151891,8 +153194,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -151972,9 +153275,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *748 - installation: *749 - issue: &777 + enterprise: *752 + installation: *753 + issue: &781 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -152760,11 +154063,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152780,7 +154083,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -152880,8 +154183,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152960,8 +154263,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153774,11 +155077,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153872,9 +155175,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *248 - organization: *750 - repository: *751 + type: *255 + organization: *754 + repository: *755 sender: *4 required: - action @@ -154743,11 +156046,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154763,7 +156066,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -155342,11 +156645,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *748 - installation: *749 - issue: *777 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + issue: *781 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155426,12 +156729,12 @@ x-webhooks: type: string enum: - typed - enterprise: *748 - installation: *749 - issue: *775 - type: *248 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + issue: *779 + type: *255 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155512,7 +156815,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &806 + assignee: &810 title: User type: object nullable: true @@ -155582,11 +156885,11 @@ x-webhooks: required: - login - id - enterprise: *748 - installation: *749 - issue: *775 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + issue: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155665,12 +156968,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *748 - installation: *749 - issue: *775 - label: *769 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + issue: *779 + label: *773 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155750,8 +157053,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -156564,11 +157867,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156584,7 +157887,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -156662,8 +157965,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156743,11 +158046,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *748 - installation: *749 - issue: *777 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + issue: *781 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156826,12 +158129,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *748 - installation: *749 - issue: *775 - type: *248 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + issue: *779 + type: *255 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156911,11 +158214,11 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - label: *769 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + label: *773 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156993,11 +158296,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - label: *769 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + label: *773 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157107,11 +158410,11 @@ x-webhooks: type: string required: - from - enterprise: *748 - installation: *749 - label: *769 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + label: *773 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157193,9 +158496,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *748 - installation: *749 - marketplace_purchase: &778 + enterprise: *752 + installation: *753 + marketplace_purchase: &782 title: Marketplace Purchase type: object required: @@ -157278,8 +158581,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *750 - previous_marketplace_purchase: &779 + organization: *754 + previous_marketplace_purchase: &783 title: Marketplace Purchase type: object properties: @@ -157359,7 +158662,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *751 + repository: *755 sender: *4 required: - action @@ -157439,10 +158742,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *748 - installation: *749 - marketplace_purchase: *778 - organization: *750 + enterprise: *752 + installation: *753 + marketplace_purchase: *782 + organization: *754 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -157525,7 +158828,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *751 + repository: *755 sender: *4 required: - action @@ -157607,10 +158910,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *748 - installation: *749 - marketplace_purchase: *778 - organization: *750 + enterprise: *752 + installation: *753 + marketplace_purchase: *782 + organization: *754 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -157692,7 +158995,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *751 + repository: *755 sender: *4 required: - action @@ -157773,8 +159076,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 marketplace_purchase: title: Marketplace Purchase type: object @@ -157856,9 +159159,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *750 - previous_marketplace_purchase: *779 - repository: *751 + organization: *754 + previous_marketplace_purchase: *783 + repository: *755 sender: *4 required: - action @@ -157938,12 +159241,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *748 - installation: *749 - marketplace_purchase: *778 - organization: *750 - previous_marketplace_purchase: *779 - repository: *751 + enterprise: *752 + installation: *753 + marketplace_purchase: *782 + organization: *754 + previous_marketplace_purchase: *783 + repository: *755 sender: *4 required: - action @@ -158045,11 +159348,11 @@ x-webhooks: type: string required: - to - enterprise: *748 - installation: *749 - member: *770 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + member: *774 + organization: *754 + repository: *755 sender: *4 required: - action @@ -158149,11 +159452,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *748 - installation: *749 - member: *770 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + member: *774 + organization: *754 + repository: *755 sender: *4 required: - action @@ -158232,11 +159535,11 @@ x-webhooks: type: string enum: - removed - enterprise: *748 - installation: *749 - member: *770 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + member: *774 + organization: *754 + repository: *755 sender: *4 required: - action @@ -158314,11 +159617,11 @@ x-webhooks: type: string enum: - added - enterprise: *748 - installation: *749 - member: *770 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + member: *774 + organization: *754 + repository: *755 scope: description: The scope of the membership. Currently, can only be `team`. @@ -158394,7 +159697,7 @@ x-webhooks: required: - login - id - team: &780 + team: &784 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -158617,11 +159920,11 @@ x-webhooks: type: string enum: - removed - enterprise: *748 - installation: *749 - member: *770 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + member: *774 + organization: *754 + repository: *755 scope: description: The scope of the membership. Currently, can only be `team`. @@ -158698,7 +160001,7 @@ x-webhooks: required: - login - id - team: *780 + team: *784 required: - action - scope @@ -158780,8 +160083,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *749 - merge_group: &782 + installation: *753 + merge_group: &786 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -158800,15 +160103,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *781 + head_commit: *785 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -158894,10 +160197,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *749 - merge_group: *782 - organization: *750 - repository: *751 + installation: *753 + merge_group: *786 + organization: *754 + repository: *755 sender: *4 required: - action @@ -158970,7 +160273,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 + enterprise: *752 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -159079,16 +160382,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *749 - organization: *750 + installation: *753 + organization: *754 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *783 - required: *784 + properties: *787 + required: *788 nullable: true sender: *4 required: @@ -159169,11 +160472,11 @@ x-webhooks: type: string enum: - closed - enterprise: *748 - installation: *749 - milestone: *776 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + milestone: *780 + organization: *754 + repository: *755 sender: *4 required: - action @@ -159252,9 +160555,9 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - milestone: &785 + enterprise: *752 + installation: *753 + milestone: &789 title: Milestone description: A collection of related issues and pull requests. type: object @@ -159391,8 +160694,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -159471,11 +160774,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - milestone: *776 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + milestone: *780 + organization: *754 + repository: *755 sender: *4 required: - action @@ -159585,11 +160888,11 @@ x-webhooks: type: string required: - from - enterprise: *748 - installation: *749 - milestone: *776 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + milestone: *780 + organization: *754 + repository: *755 sender: *4 required: - action @@ -159669,11 +160972,11 @@ x-webhooks: type: string enum: - opened - enterprise: *748 - installation: *749 - milestone: *785 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + milestone: *789 + organization: *754 + repository: *755 sender: *4 required: - action @@ -159752,11 +161055,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *770 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + blocked_user: *774 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -159835,11 +161138,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *770 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + blocked_user: *774 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -159918,9 +161221,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - membership: &786 + enterprise: *752 + installation: *753 + membership: &790 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -160027,8 +161330,8 @@ x-webhooks: - role - organization_url - user - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -160106,11 +161409,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *748 - installation: *749 - membership: *786 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + membership: *790 + organization: *754 + repository: *755 sender: *4 required: - action @@ -160189,8 +161492,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -160306,10 +161609,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 - user: *770 + user: *774 required: - action - invitation @@ -160387,11 +161690,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *748 - installation: *749 - membership: *786 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + membership: *790 + organization: *754 + repository: *755 sender: *4 required: - action @@ -160478,11 +161781,11 @@ x-webhooks: properties: from: type: string - enterprise: *748 - installation: *749 - membership: *786 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + membership: *790 + organization: *754 + repository: *755 sender: *4 required: - action @@ -160559,9 +161862,9 @@ x-webhooks: type: string enum: - published - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 package: description: Information about the package. type: object @@ -161060,7 +162363,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &787 + items: &791 title: Ruby Gems metadata type: object properties: @@ -161155,7 +162458,7 @@ x-webhooks: - owner - package_version - registry - repository: *751 + repository: *755 sender: *4 required: - action @@ -161231,9 +162534,9 @@ x-webhooks: type: string enum: - updated - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 package: description: Information about the package. type: object @@ -161586,7 +162889,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *787 + items: *791 source_url: type: string format: uri @@ -161656,7 +162959,7 @@ x-webhooks: - owner - package_version - registry - repository: *751 + repository: *755 sender: *4 required: - action @@ -161832,12 +163135,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *748 + enterprise: *752 id: type: integer - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - id @@ -161914,7 +163217,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &788 + personal_access_token_request: &792 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -162060,10 +163363,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *748 - organization: *750 + enterprise: *752 + organization: *754 sender: *4 - installation: *749 + installation: *753 required: - action - personal_access_token_request @@ -162140,11 +163443,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *788 - enterprise: *748 - organization: *750 + personal_access_token_request: *792 + enterprise: *752 + organization: *754 sender: *4 - installation: *749 + installation: *753 required: - action - personal_access_token_request @@ -162220,11 +163523,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *788 - enterprise: *748 - organization: *750 + personal_access_token_request: *792 + enterprise: *752 + organization: *754 sender: *4 - installation: *749 + installation: *753 required: - action - personal_access_token_request @@ -162299,11 +163602,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *788 - organization: *750 - enterprise: *748 + personal_access_token_request: *792 + organization: *754 + enterprise: *752 sender: *4 - installation: *749 + installation: *753 required: - action - personal_access_token_request @@ -162408,7 +163711,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *789 + last_response: *793 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -162440,8 +163743,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 zen: description: Random string of GitHub zen. @@ -162686,10 +163989,10 @@ x-webhooks: - from required: - note - enterprise: *748 - installation: *749 - organization: *750 - project_card: &790 + enterprise: *752 + installation: *753 + organization: *754 + project_card: &794 title: Project Card type: object properties: @@ -162808,7 +164111,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *751 + repository: *755 sender: *4 required: - action @@ -162889,11 +164192,11 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 - project_card: *790 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + project_card: *794 + repository: *755 sender: *4 required: - action @@ -162973,9 +164276,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 project_card: title: Project Card type: object @@ -163103,8 +164406,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *783 - required: *784 + properties: *787 + required: *788 nullable: true sender: *4 required: @@ -163198,11 +164501,11 @@ x-webhooks: - from required: - note - enterprise: *748 - installation: *749 - organization: *750 - project_card: *790 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + project_card: *794 + repository: *755 sender: *4 required: - action @@ -163296,9 +164599,9 @@ x-webhooks: - from required: - column_id - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 project_card: allOf: - title: Project Card @@ -163488,7 +164791,7 @@ x-webhooks: type: string required: - after_id - repository: *751 + repository: *755 sender: *4 required: - action @@ -163568,10 +164871,10 @@ x-webhooks: type: string enum: - closed - enterprise: *748 - installation: *749 - organization: *750 - project: &792 + enterprise: *752 + installation: *753 + organization: *754 + project: &796 title: Project type: object properties: @@ -163695,7 +164998,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *751 + repository: *755 sender: *4 required: - action @@ -163775,10 +165078,10 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 - project_column: &791 + enterprise: *752 + installation: *753 + organization: *754 + project_column: &795 title: Project Column type: object properties: @@ -163817,7 +165120,7 @@ x-webhooks: - name - created_at - updated_at - repository: *751 + repository: *755 sender: *4 required: - action @@ -163896,18 +165199,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - organization: *750 - project_column: *791 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *795 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *783 - required: *784 + properties: *787 + required: *788 nullable: true sender: *4 required: @@ -163997,11 +165300,11 @@ x-webhooks: type: string required: - from - enterprise: *748 - installation: *749 - organization: *750 - project_column: *791 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *795 + repository: *755 sender: *4 required: - action @@ -164081,11 +165384,11 @@ x-webhooks: type: string enum: - moved - enterprise: *748 - installation: *749 - organization: *750 - project_column: *791 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *795 + repository: *755 sender: *4 required: - action @@ -164165,11 +165468,11 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 - project: *792 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + project: *796 + repository: *755 sender: *4 required: - action @@ -164249,18 +165552,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - organization: *750 - project: *792 + enterprise: *752 + installation: *753 + organization: *754 + project: *796 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *783 - required: *784 + properties: *787 + required: *788 nullable: true sender: *4 required: @@ -164362,11 +165665,11 @@ x-webhooks: type: string required: - from - enterprise: *748 - installation: *749 - organization: *750 - project: *792 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + project: *796 + repository: *755 sender: *4 required: - action @@ -164445,11 +165748,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *748 - installation: *749 - organization: *750 - project: *792 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + project: *796 + repository: *755 sender: *4 required: - action @@ -164530,9 +165833,9 @@ x-webhooks: type: string enum: - closed - installation: *749 - organization: *750 - projects_v2: *282 + installation: *753 + organization: *754 + projects_v2: *289 sender: *4 required: - action @@ -164613,9 +165916,9 @@ x-webhooks: type: string enum: - created - installation: *749 - organization: *750 - projects_v2: *282 + installation: *753 + organization: *754 + projects_v2: *289 sender: *4 required: - action @@ -164696,9 +165999,9 @@ x-webhooks: type: string enum: - deleted - installation: *749 - organization: *750 - projects_v2: *282 + installation: *753 + organization: *754 + projects_v2: *289 sender: *4 required: - action @@ -164815,9 +166118,9 @@ x-webhooks: type: string to: type: string - installation: *749 - organization: *750 - projects_v2: *282 + installation: *753 + organization: *754 + projects_v2: *289 sender: *4 required: - action @@ -164900,7 +166203,7 @@ x-webhooks: type: string enum: - archived - changes: &796 + changes: &800 type: object properties: archived_at: @@ -164914,9 +166217,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *749 - organization: *750 - projects_v2_item: &793 + installation: *753 + organization: *754 + projects_v2_item: &797 title: Projects v2 Item description: An item belonging to a project type: object @@ -164934,7 +166237,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *289 + content_type: *296 creator: *4 created_at: type: string @@ -165051,9 +166354,9 @@ x-webhooks: nullable: true to: type: string - installation: *749 - organization: *750 - projects_v2_item: *793 + installation: *753 + organization: *754 + projects_v2_item: *797 sender: *4 required: - action @@ -165135,9 +166438,9 @@ x-webhooks: type: string enum: - created - installation: *749 - organization: *750 - projects_v2_item: *793 + installation: *753 + organization: *754 + projects_v2_item: *797 sender: *4 required: - action @@ -165218,9 +166521,9 @@ x-webhooks: type: string enum: - deleted - installation: *749 - organization: *750 - projects_v2_item: *793 + installation: *753 + organization: *754 + projects_v2_item: *797 sender: *4 required: - action @@ -165326,7 +166629,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &794 + - &798 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -165348,7 +166651,7 @@ x-webhooks: required: - id - name - - &795 + - &799 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -165382,8 +166685,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *794 - - *795 + - *798 + - *799 required: - field_value - type: object @@ -165399,9 +166702,9 @@ x-webhooks: nullable: true required: - body - installation: *749 - organization: *750 - projects_v2_item: *793 + installation: *753 + organization: *754 + projects_v2_item: *797 sender: *4 required: - action @@ -165496,9 +166799,9 @@ x-webhooks: to: type: string nullable: true - installation: *749 - organization: *750 - projects_v2_item: *793 + installation: *753 + organization: *754 + projects_v2_item: *797 sender: *4 required: - action @@ -165581,10 +166884,10 @@ x-webhooks: type: string enum: - restored - changes: *796 - installation: *749 - organization: *750 - projects_v2_item: *793 + changes: *800 + installation: *753 + organization: *754 + projects_v2_item: *797 sender: *4 required: - action @@ -165666,9 +166969,9 @@ x-webhooks: type: string enum: - reopened - installation: *749 - organization: *750 - projects_v2: *282 + installation: *753 + organization: *754 + projects_v2: *289 sender: *4 required: - action @@ -165749,14 +167052,14 @@ x-webhooks: type: string enum: - created - installation: *749 - organization: *750 - projects_v2_status_update: &799 + installation: *753 + organization: *754 + projects_v2_status_update: &803 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *797 - required: *798 + properties: *801 + required: *802 sender: *4 required: - action @@ -165837,9 +167140,9 @@ x-webhooks: type: string enum: - deleted - installation: *749 - organization: *750 - projects_v2_status_update: *799 + installation: *753 + organization: *754 + projects_v2_status_update: *803 sender: *4 required: - action @@ -165975,9 +167278,9 @@ x-webhooks: type: string format: date nullable: true - installation: *749 - organization: *750 - projects_v2_status_update: *799 + installation: *753 + organization: *754 + projects_v2_status_update: *803 sender: *4 required: - action @@ -166048,10 +167351,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - repository @@ -166128,13 +167431,13 @@ x-webhooks: type: string enum: - assigned - assignee: *770 - enterprise: *748 - installation: *749 - number: &800 + assignee: *774 + enterprise: *752 + installation: *753 + number: &804 description: The pull request number. type: integer - organization: *750 + organization: *754 pull_request: title: Pull Request type: object @@ -168439,7 +169742,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 sender: *4 required: - action @@ -168521,11 +169824,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 number: type: integer - organization: *750 + organization: *754 pull_request: title: Pull Request type: object @@ -170825,7 +172128,7 @@ x-webhooks: - draft reason: type: string - repository: *751 + repository: *755 sender: *4 required: - action @@ -170907,11 +172210,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 number: type: integer - organization: *750 + organization: *754 pull_request: title: Pull Request type: object @@ -173211,7 +174514,7 @@ x-webhooks: - draft reason: type: string - repository: *751 + repository: *755 sender: *4 required: - action @@ -173293,13 +174596,13 @@ x-webhooks: type: string enum: - closed - enterprise: *748 - installation: *749 - number: *800 - organization: *750 - pull_request: &801 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 + pull_request: &805 allOf: - - *602 + - *606 - type: object properties: allow_auto_merge: @@ -173361,7 +174664,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *751 + repository: *755 sender: *4 required: - action @@ -173442,12 +174745,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *748 - installation: *749 - number: *800 - organization: *750 - pull_request: *801 - repository: *751 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 + pull_request: *805 + repository: *755 sender: *4 required: - action @@ -173527,11 +174830,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *748 - milestone: *586 - number: *800 - organization: *750 - pull_request: &802 + enterprise: *752 + milestone: *590 + number: *804 + organization: *754 + pull_request: &806 title: Pull Request type: object properties: @@ -175816,7 +177119,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 sender: *4 required: - action @@ -175895,11 +177198,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 number: type: integer - organization: *750 + organization: *754 pull_request: title: Pull Request type: object @@ -178203,7 +179506,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *751 + repository: *755 sender: *4 required: - action @@ -178327,12 +179630,12 @@ x-webhooks: type: string required: - from - enterprise: *748 - installation: *749 - number: *800 - organization: *750 - pull_request: *801 - repository: *751 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 + pull_request: *805 + repository: *755 sender: *4 required: - action @@ -178412,11 +179715,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 number: type: integer - organization: *750 + organization: *754 pull_request: title: Pull Request type: object @@ -180705,7 +182008,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 sender: *4 required: - action @@ -180785,11 +182088,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *748 - installation: *749 - label: *769 - number: *800 - organization: *750 + enterprise: *752 + installation: *753 + label: *773 + number: *804 + organization: *754 pull_request: title: Pull Request type: object @@ -183093,7 +184396,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 sender: *4 required: - action @@ -183174,10 +184477,10 @@ x-webhooks: type: string enum: - locked - enterprise: *748 - installation: *749 - number: *800 - organization: *750 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 pull_request: title: Pull Request type: object @@ -185479,7 +186782,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 sender: *4 required: - action @@ -185559,12 +186862,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *748 - milestone: *586 - number: *800 - organization: *750 - pull_request: *802 - repository: *751 + enterprise: *752 + milestone: *590 + number: *804 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -185643,12 +186946,12 @@ x-webhooks: type: string enum: - opened - enterprise: *748 - installation: *749 - number: *800 - organization: *750 - pull_request: *801 - repository: *751 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 + pull_request: *805 + repository: *755 sender: *4 required: - action @@ -185729,12 +187032,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *748 - installation: *749 - number: *800 - organization: *750 - pull_request: *801 - repository: *751 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 + pull_request: *805 + repository: *755 sender: *4 required: - action @@ -185814,12 +187117,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *748 - installation: *749 - number: *800 - organization: *750 - pull_request: *801 - repository: *751 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 + pull_request: *805 + repository: *755 sender: *4 required: - action @@ -186185,9 +187488,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -188379,7 +189682,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *751 + repository: *755 sender: *4 required: - action @@ -188459,7 +189762,7 @@ x-webhooks: type: string enum: - deleted - comment: &804 + comment: &808 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -188744,9 +190047,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -190926,7 +192229,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *751 + repository: *755 sender: *4 required: - action @@ -191006,11 +192309,11 @@ x-webhooks: type: string enum: - edited - changes: *803 - comment: *804 - enterprise: *748 - installation: *749 - organization: *750 + changes: *807 + comment: *808 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -193193,7 +194496,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *751 + repository: *755 sender: *4 required: - action @@ -193274,9 +194577,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -195471,7 +196774,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *751 + repository: *755 review: description: The review that was affected. type: object @@ -195718,9 +197021,9 @@ x-webhooks: type: string required: - from - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -197774,8 +199077,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *751 - review: &805 + repository: *755 + review: &809 description: The review that was affected. type: object properties: @@ -198008,12 +199311,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *750 + organization: *754 pull_request: title: Pull Request type: object @@ -200318,7 +201621,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 requested_reviewer: title: User type: object @@ -200402,12 +201705,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *750 + organization: *754 pull_request: title: Pull Request type: object @@ -202719,7 +204022,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 requested_team: title: Team description: Groups of organization members that gives permissions @@ -202911,12 +204214,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *750 + organization: *754 pull_request: title: Pull Request type: object @@ -205223,7 +206526,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 requested_reviewer: title: User type: object @@ -205308,12 +206611,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *750 + organization: *754 pull_request: title: Pull Request type: object @@ -207611,7 +208914,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 requested_team: title: Team description: Groups of organization members that gives permissions @@ -207792,9 +209095,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -209991,8 +211294,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *751 - review: *805 + repository: *755 + review: *809 sender: *4 required: - action @@ -210072,9 +211375,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -212166,7 +213469,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *751 + repository: *755 sender: *4 thread: type: object @@ -212553,9 +213856,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -214633,7 +215936,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *751 + repository: *755 sender: *4 thread: type: object @@ -215023,10 +216326,10 @@ x-webhooks: type: string before: type: string - enterprise: *748 - installation: *749 - number: *800 - organization: *750 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 pull_request: title: Pull Request type: object @@ -217319,7 +218622,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 sender: *4 required: - action @@ -217401,11 +218704,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *806 - enterprise: *748 - installation: *749 - number: *800 - organization: *750 + assignee: *810 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 pull_request: title: Pull Request type: object @@ -219710,7 +221013,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 sender: *4 required: - action @@ -219789,11 +221092,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *748 - installation: *749 - label: *769 - number: *800 - organization: *750 + enterprise: *752 + installation: *753 + label: *773 + number: *804 + organization: *754 pull_request: title: Pull Request type: object @@ -222088,7 +223391,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 sender: *4 required: - action @@ -222169,10 +223472,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *748 - installation: *749 - number: *800 - organization: *750 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 pull_request: title: Pull Request type: object @@ -224459,7 +225762,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 sender: *4 required: - action @@ -224659,7 +225962,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *748 + enterprise: *752 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -224751,8 +226054,8 @@ x-webhooks: - url - author - committer - installation: *749 - organization: *750 + installation: *753 + organization: *754 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -225338,9 +226641,9 @@ x-webhooks: type: string enum: - published - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 registry_package: type: object properties: @@ -225786,7 +227089,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *787 + items: *791 summary: type: string tag_name: @@ -225840,7 +227143,7 @@ x-webhooks: - owner - package_version - registry - repository: *751 + repository: *755 sender: *4 required: - action @@ -225918,9 +227221,9 @@ x-webhooks: type: string enum: - updated - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 registry_package: type: object properties: @@ -226228,7 +227531,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *787 + items: *791 summary: type: string tag_name: @@ -226277,7 +227580,7 @@ x-webhooks: - owner - package_version - registry - repository: *751 + repository: *755 sender: *4 required: - action @@ -226354,10 +227657,10 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 - release: &807 + enterprise: *752 + installation: *753 + organization: *754 + release: &811 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -226675,7 +227978,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *751 + repository: *755 sender: *4 required: - action @@ -226752,11 +228055,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - organization: *750 - release: *807 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + release: *811 + repository: *755 sender: *4 required: - action @@ -226873,11 +228176,11 @@ x-webhooks: type: boolean required: - to - enterprise: *748 - installation: *749 - organization: *750 - release: *807 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + release: *811 + repository: *755 sender: *4 required: - action @@ -226955,9 +228258,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -227279,7 +228582,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *751 + repository: *755 sender: *4 required: - action @@ -227355,10 +228658,10 @@ x-webhooks: type: string enum: - published - enterprise: *748 - installation: *749 - organization: *750 - release: &808 + enterprise: *752 + installation: *753 + organization: *754 + release: &812 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -227677,7 +228980,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *751 + repository: *755 sender: *4 required: - action @@ -227753,11 +229056,11 @@ x-webhooks: type: string enum: - released - enterprise: *748 - installation: *749 - organization: *750 - release: *807 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + release: *811 + repository: *755 sender: *4 required: - action @@ -227833,11 +229136,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *748 - installation: *749 - organization: *750 - release: *808 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + release: *812 + repository: *755 sender: *4 required: - action @@ -227913,11 +229216,11 @@ x-webhooks: type: string enum: - published - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - repository_advisory: *670 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_advisory: *674 sender: *4 required: - action @@ -227993,11 +229296,11 @@ x-webhooks: type: string enum: - reported - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - repository_advisory: *670 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_advisory: *674 sender: *4 required: - action @@ -228073,10 +229376,10 @@ x-webhooks: type: string enum: - archived - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228153,10 +229456,10 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228234,10 +229537,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228321,10 +229624,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228436,10 +229739,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228511,10 +229814,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 status: type: string @@ -228595,10 +229898,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228675,10 +229978,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228772,10 +230075,10 @@ x-webhooks: - name required: - repository - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228855,11 +230158,11 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - repository_ruleset: *330 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_ruleset: *337 sender: *4 required: - action @@ -228937,11 +230240,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - repository_ruleset: *330 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_ruleset: *337 sender: *4 required: - action @@ -229019,11 +230322,11 @@ x-webhooks: type: string enum: - edited - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - repository_ruleset: *330 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_ruleset: *337 changes: type: object properties: @@ -229042,16 +230345,16 @@ x-webhooks: properties: added: type: array - items: *304 + items: *311 deleted: type: array - items: *304 + items: *311 updated: type: array items: type: object properties: - condition: *304 + condition: *311 changes: type: object properties: @@ -229084,16 +230387,16 @@ x-webhooks: properties: added: type: array - items: *622 + items: *626 deleted: type: array - items: *622 + items: *626 updated: type: array items: type: object properties: - rule: *622 + rule: *626 changes: type: object properties: @@ -229327,10 +230630,10 @@ x-webhooks: - from required: - owner - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229408,10 +230711,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229489,7 +230792,7 @@ x-webhooks: type: string enum: - create - alert: &809 + alert: &813 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -229611,10 +230914,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229820,10 +231123,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229901,11 +231204,11 @@ x-webhooks: type: string enum: - reopen - alert: *809 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + alert: *813 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -230104,10 +231407,10 @@ x-webhooks: enum: - fixed - open - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -230185,11 +231488,11 @@ x-webhooks: type: string enum: - assigned - alert: &810 + alert: &814 type: object properties: - number: *179 - created_at: *180 + number: *186 + created_at: *187 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -230197,8 +231500,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *182 - html_url: *183 + url: *189 + html_url: *190 locations_url: type: string format: uri @@ -230328,10 +231631,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -230409,11 +231712,11 @@ x-webhooks: type: string enum: - created - alert: *810 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + alert: *814 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -230494,11 +231797,11 @@ x-webhooks: type: string enum: - created - alert: *810 - installation: *749 - location: *811 - organization: *750 - repository: *751 + alert: *814 + installation: *753 + location: *815 + organization: *754 + repository: *755 sender: *4 required: - location @@ -230736,11 +232039,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *810 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + alert: *814 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -230818,11 +232121,11 @@ x-webhooks: type: string enum: - reopened - alert: *810 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + alert: *814 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -230900,11 +232203,11 @@ x-webhooks: type: string enum: - resolved - alert: *810 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + alert: *814 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -230982,12 +232285,12 @@ x-webhooks: type: string enum: - unassigned - alert: *810 + alert: *814 assignee: *4 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -231065,11 +232368,11 @@ x-webhooks: type: string enum: - validated - alert: *810 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + alert: *814 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -231195,10 +232498,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *751 - enterprise: *748 - installation: *749 - organization: *750 + repository: *755 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -231276,11 +232579,11 @@ x-webhooks: type: string enum: - published - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - security_advisory: &812 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + security_advisory: &816 description: The details of the security advisory, including summary, description, and severity. type: object @@ -231463,11 +232766,11 @@ x-webhooks: type: string enum: - updated - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - security_advisory: *812 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + security_advisory: *816 sender: *4 required: - action @@ -231540,10 +232843,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -231727,11 +233030,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *303 - enterprise: *748 - installation: *749 - organization: *750 - repository: *351 + security_and_analysis: *310 + enterprise: *752 + installation: *753 + organization: *754 + repository: *358 sender: *4 required: - changes @@ -231809,12 +233112,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: &813 + sponsorship: &817 type: object properties: created_at: @@ -232115,12 +233418,12 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *813 + sponsorship: *817 required: - action - sponsorship @@ -232208,12 +233511,12 @@ x-webhooks: type: string required: - from - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *813 + sponsorship: *817 required: - action - changes @@ -232290,17 +233593,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &814 + effective_date: &818 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: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *813 + sponsorship: *817 required: - action - sponsorship @@ -232374,7 +233677,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &815 + changes: &819 type: object properties: tier: @@ -232418,13 +233721,13 @@ x-webhooks: - from required: - tier - effective_date: *814 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + effective_date: *818 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *813 + sponsorship: *817 required: - action - changes @@ -232501,13 +233804,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *815 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + changes: *819 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *813 + sponsorship: *817 required: - action - changes @@ -232581,10 +233884,10 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -232667,10 +233970,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -233090,15 +234393,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *748 + enterprise: *752 id: description: The unique identifier of the status. type: integer - installation: *749 + installation: *753 name: type: string - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 sha: description: The Commit SHA. @@ -233213,17 +234516,16 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *88 - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 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 @@ -233305,17 +234607,16 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *88 - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 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 @@ -233397,17 +234698,16 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *88 - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 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 @@ -233489,17 +234789,16 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *88 - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 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 @@ -233568,12 +234867,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - team: &816 + team: &820 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -233796,9 +235095,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -234256,7 +235555,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *816 + team: *820 required: - action - team @@ -234332,9 +235631,9 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -234792,7 +236091,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *816 + team: *820 required: - action - team @@ -234869,9 +236168,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -235329,7 +236628,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *816 + team: *820 required: - action - team @@ -235473,9 +236772,9 @@ x-webhooks: - from required: - permissions - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -235933,7 +237232,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *816 + team: *820 required: - action - changes @@ -236011,9 +237310,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -236471,7 +237770,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *816 + team: *820 required: - action - team @@ -236547,10 +237846,10 @@ x-webhooks: type: string enum: - started - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -236623,16 +237922,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *748 + enterprise: *752 inputs: type: object nullable: true additionalProperties: true - installation: *749 - organization: *750 + installation: *753 + organization: *754 ref: type: string - repository: *751 + repository: *755 sender: *4 workflow: type: string @@ -236714,10 +238013,10 @@ x-webhooks: type: string enum: - completed - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: allOf: @@ -236954,7 +238253,7 @@ x-webhooks: type: string required: - conclusion - deployment: *512 + deployment: *518 required: - action - repository @@ -237033,10 +238332,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: allOf: @@ -237296,7 +238595,7 @@ x-webhooks: required: - status - steps - deployment: *512 + deployment: *518 required: - action - repository @@ -237375,10 +238674,10 @@ x-webhooks: type: string enum: - queued - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: type: object @@ -237513,7 +238812,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *512 + deployment: *518 required: - action - repository @@ -237592,10 +238891,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: type: object @@ -237731,7 +239030,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *512 + deployment: *518 required: - action - repository @@ -237811,12 +239110,12 @@ x-webhooks: type: string enum: - completed - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *765 + workflow: *769 workflow_run: title: Workflow Run type: object @@ -238815,12 +240114,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *765 + workflow: *769 workflow_run: title: Workflow Run type: object @@ -239804,12 +241103,12 @@ x-webhooks: type: string enum: - requested - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *765 + workflow: *769 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index 64db6221fe..865dac4670 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -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": [ @@ -29019,6 +29023,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -29158,6 +29171,14 @@ "nullable": true, "type": "string", "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": [ @@ -29238,6 +29259,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -31326,6 +31356,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -31472,6 +31511,14 @@ "nullable": true, "type": "string", "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" + ] } } }, @@ -31549,6 +31596,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -87863,408 +87919,4184 @@ "tags_url", "teams_url", "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at" + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + } + }, + "single_file": { + "type": "string", + "example": "config.yaml", + "nullable": true + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved", + "type": "string", + "enum": [ + "all", + "selected" + ] + } + }, + "required": [ + "token", + "expires_at" + ] + }, + "examples": { + "default": { + "value": { + "token": "AABF3JGZDX3P5PMEXLND6TS6FCWO6", + "expires_at": "2020-01-29T12:13:35.123-08:00" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/{runner_id}": { + "get": { + "summary": "Get a self-hosted runner for an organization", + "description": "Gets a specific self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/get-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Self hosted runners", + "description": "A self hosted runner", + "type": "object", + "properties": { + "id": { + "description": "The ID of the runner.", + "type": "integer", + "example": 5 + }, + "runner_group_id": { + "description": "The ID of the runner group.", + "type": "integer", + "example": 1 + }, + "name": { + "description": "The name of the runner.", + "type": "string", + "example": "iMac" + }, + "os": { + "description": "The Operating System of the runner.", + "type": "string", + "example": "macos" + }, + "status": { + "description": "The status of the runner.", + "type": "string", + "example": "online" + }, + "busy": { + "type": "boolean" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + }, + "ephemeral": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "os", + "status", + "busy", + "labels" + ] + }, + "examples": { + "default": { + "value": { + "id": 23, + "name": "MBP", + "os": "macos", + "status": "online", + "busy": true, + "ephemeral": false, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "delete": { + "summary": "Delete a self-hosted runner from an organization", + "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/delete-self-hosted-runner-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "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": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/{runner_id}/labels": { + "get": { + "summary": "List labels for a self-hosted runner for an organization", + "description": "Lists all labels for a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/list-labels-for-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "post": { + "summary": "Add custom labels to a self-hosted runner for an organization", + "description": "Adds custom labels to a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/add-custom-labels-to-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "labels" + ], + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "maxItems": 100, + "description": "The names of the custom labels to add to the runner.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "labels": [ + "gpu", + "accelerated" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "put": { + "summary": "Set custom labels for a self-hosted runner for an organization", + "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/set-custom-labels-for-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "labels" + ], + "properties": { + "labels": { + "type": "array", + "minItems": 0, + "maxItems": 100, + "description": "The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "labels": [ + "gpu", + "accelerated" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "delete": { + "summary": "Remove all custom labels from a self-hosted runner for an organization", + "description": "Remove all custom labels from a self-hosted runner configured in an\norganization. Returns the remaining read-only labels from the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/remove-all-custom-labels-from-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 3, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/{runner_id}/labels/{name}": { + "delete": { + "summary": "Remove a custom label from a self-hosted runner for an organization", + "description": "Remove a custom label from a self-hosted runner configured\nin an organization. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/remove-custom-label-from-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "name", + "description": "The name of a self-hosted runner's custom label.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/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": [ + "actions" + ], + "operationId": "actions/list-org-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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", + "example": "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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/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\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": [ + "actions" + ], + "operationId": "actions/get-org-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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", + "example": "1234567" + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "example": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + }, + "id": { + "type": "integer", + "example": 2 + }, + "url": { + "type": "string", + "example": "https://api.github.com/user/keys/2" + }, + "title": { + "type": "string", + "example": "ssh-rsa AAAAB3NzaC1yc2EAAA" + }, + "created_at": { + "type": "string", + "example": "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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/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": [ + "actions" + ], + "operationId": "actions/get-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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", + "example": "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": "actions", + "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": [ + "actions" + ], + "operationId": "actions/create-or-update-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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/actions/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/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-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": [ + "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": "actions", + "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": [ + "actions" + ], + "operationId": "actions/delete-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/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": [ + "actions" + ], + "operationId": "actions/list-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "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", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# 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", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string", + "nullable": true + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "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": "actions", + "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/actions/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": [ + "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": [ + { + "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/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\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/actions/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": [ + "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": [ + { + "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": "actions", + "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/actions/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": [ + "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": [ + { + "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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/variables": { + "get": { + "summary": "List organization variables", + "description": "Lists all organization 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 `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": [ + { + "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "example": "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": "actions", + "subcategory": "variables" + } + }, + "post": { + "summary": "Create an organization variable", + "description": "Creates an organization 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": [ + "actions" + ], + "operationId": "actions/create-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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": "actions", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/actions/variables/{name}": { + "get": { + "summary": "Get an organization variable", + "description": "Gets a specific 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": [ + "actions" + ], + "operationId": "actions/get-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "example": "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": "actions", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update an organization variable", + "description": "Updates an organization 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": [ + "actions" + ], + "operationId": "actions/update-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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": "actions", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Delete an organization variable", + "description": "Deletes an organization 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": [ + "actions" + ], + "operationId": "actions/delete-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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": "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\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": [ + "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": [ + { + "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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "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", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# 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", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string", + "nullable": true + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "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" ] } - }, - "single_file": { - "type": "string", - "example": "config.yaml", - "nullable": true - }, - "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", - "type": "string", - "enum": [ - "all", - "selected" - ] - } - }, - "required": [ - "token", - "expires_at" - ] - }, - "examples": { - "default": { - "value": { - "token": "AABF3JGZDX3P5PMEXLND6TS6FCWO6", - "expires_at": "2020-01-29T12:13:35.123-08:00" } } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "self-hosted-runners" - } - } - }, - "/orgs/{org}/actions/runners/{runner_id}": { - "get": { - "summary": "Get a self-hosted runner for an organization", - "description": "Gets a specific self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/get-self-hosted-runner-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Self hosted runners", - "description": "A self hosted runner", - "type": "object", - "properties": { - "id": { - "description": "The ID of the runner.", - "type": "integer", - "example": 5 - }, - "runner_group_id": { - "description": "The ID of the runner group.", - "type": "integer", - "example": 1 - }, - "name": { - "description": "The name of the runner.", - "type": "string", - "example": "iMac" - }, - "os": { - "description": "The Operating System of the runner.", - "type": "string", - "example": "macos" - }, - "status": { - "description": "The status of the runner.", - "type": "string", - "example": "online" - }, - "busy": { - "type": "boolean" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - }, - "ephemeral": { - "type": "boolean" - } - }, - "required": [ - "id", - "name", - "os", - "status", - "busy", - "labels" - ] }, "examples": { "default": { "value": { - "id": 23, - "name": "MBP", - "os": "macos", - "status": "online", - "busy": true, - "ephemeral": false, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, + "total_count": 1, + "repositories": [ { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "self-hosted-runners" - } - }, - "delete": { - "summary": "Delete a self-hosted runner from an organization", - "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/delete-self-hosted-runner-from-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - }, - "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": "actions", - "subcategory": "self-hosted-runners" - } - } - }, - "/orgs/{org}/actions/runners/{runner_id}/labels": { - "get": { - "summary": "List labels for a self-hosted runner for an organization", - "description": "Lists all labels for a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/list-labels-for-self-hosted-runner-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." + "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 }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" + "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" } ] } @@ -88273,50 +92105,27 @@ } } }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } }, - "post": { - "summary": "Add custom labels to a self-hosted runner for an organization", - "description": "Adds custom labels to a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "put": { + "summary": "Set selected repositories for an organization variable", + "description": "Replaces all repositories for an organization 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": [ "actions" ], - "operationId": "actions/add-custom-labels-to-self-hosted-runner-for-org", + "operationId": "actions/set-selected-repos-for-org-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization" + "url": "https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable" }, "parameters": [ { @@ -88329,12 +92138,12 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", + "name": "name", + "description": "The name of the variable.", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" } } ], @@ -88344,27 +92153,24 @@ "application/json": { "schema": { "type": "object", - "required": [ - "labels" - ], "properties": { - "labels": { + "selected_repository_ids": { "type": "array", - "minItems": 1, - "maxItems": 100, - "description": "The names of the custom labels to add to the runner.", + "description": "The IDs of the repositories that can access the organization variable.", "items": { - "type": "string" + "type": "integer" } } - } + }, + "required": [ + "selected_repository_ids" + ] }, "examples": { "default": { "value": { - "labels": [ - "gpu", - "accelerated" + "selected_repository_ids": [ + 64780797 ] } } @@ -88373,157 +92179,32 @@ } }, "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Response" }, - "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" - } - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } - }, + } + }, + "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}": { "put": { - "summary": "Set custom labels for a self-hosted runner for an organization", - "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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.", + "summary": "Add selected repository to an organization variable", + "description": "Adds a repository to an organization 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 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": [ "actions" ], - "operationId": "actions/set-custom-labels-for-self-hosted-runner-for-org", + "operationId": "actions/add-selected-repo-to-org-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization" + "url": "https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable" }, "parameters": [ { @@ -88536,206 +92217,8 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "labels" - ], - "properties": { - "labels": { - "type": "array", - "minItems": 0, - "maxItems": 100, - "description": "The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels.", - "items": { - "type": "string" - } - } - } - }, - "examples": { - "default": { - "value": { - "labels": [ - "gpu", - "accelerated" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "self-hosted-runners" - } - }, - "delete": { - "summary": "Remove all custom labels from a self-hosted runner for an organization", - "description": "Remove all custom labels from a self-hosted runner configured in an\norganization. Returns the remaining read-only labels from the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/remove-all-custom-labels-from-self-hosted-runner-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", + "name": "name", + "description": "The name of the variable.", "in": "path", "required": true, "schema": { @@ -88743,8 +92226,7 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", + "name": "repository_id", "in": "path", "required": true, "schema": { @@ -88753,124 +92235,30 @@ } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 3, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - } - ] - } - } - } - } - } + "204": { + "description": "Response" }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } - } - }, - "/orgs/{org}/actions/runners/{runner_id}/labels/{name}": { + }, "delete": { - "summary": "Remove a custom label from a self-hosted runner for an organization", - "description": "Remove a custom label from a self-hosted runner configured\nin an organization. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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.", + "summary": "Remove selected repository from an organization variable", + "description": "Removes a repository from an organization 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": [ "actions" ], - "operationId": "actions/remove-custom-label-from-self-hosted-runner-for-org", + "operationId": "actions/remove-selected-repo-from-org-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization" + "url": "https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable" }, "parameters": [ { @@ -88883,178 +92271,50 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", + "name": "name", + "description": "The name of the variable.", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" } }, { - "name": "name", - "description": "The name of a self-hosted runner's custom label.", + "name": "repository_id", "in": "path", "required": true, "schema": { - "type": "string" + "type": "integer" } } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Response" }, - "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" - } - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } } }, - "/orgs/{org}/actions/secrets": { + "/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": [ - "actions" + "agents" ], - "operationId": "actions/list-org-secrets", + "operationId": "agents/list-org-secrets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/secrets#list-organization-secrets" + "url": "https://docs.github.com/rest/agents/secrets#list-organization-secrets" }, "parameters": [ { @@ -89188,22 +92448,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "secrets" } } }, - "/orgs/{org}/actions/secrets/public-key": { + "/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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/get-org-public-key", + "operationId": "agents/get-org-public-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/secrets#get-an-organization-public-key" + "url": "https://docs.github.com/rest/agents/secrets#get-an-organization-public-key" }, "parameters": [ { @@ -89273,22 +92533,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "secrets" } } }, - "/orgs/{org}/actions/secrets/{secret_name}": { + "/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/get-org-secret", + "operationId": "agents/get-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/secrets#get-an-organization-secret" + "url": "https://docs.github.com/rest/agents/secrets#get-an-organization-secret" }, "parameters": [ { @@ -89373,20 +92633,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/create-or-update-org-secret", + "operationId": "agents/create-or-update-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret" + "url": "https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret" }, "parameters": [ { @@ -89417,7 +92677,7 @@ "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/actions/secrets#get-an-organization-public-key) endpoint.", + "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": { @@ -89435,7 +92695,7 @@ }, "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/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-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.", + "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" } @@ -89490,20 +92750,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/delete-org-secret", + "operationId": "agents/delete-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/secrets#delete-an-organization-secret" + "url": "https://docs.github.com/rest/agents/secrets#delete-an-organization-secret" }, "parameters": [ { @@ -89533,22 +92793,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "secrets" } } }, - "/orgs/{org}/actions/secrets/{secret_name}/repositories": { + "/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": [ - "actions" + "agents" ], - "operationId": "actions/list-selected-repos-for-org-secret", + "operationId": "agents/list-selected-repos-for-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret" + "url": "https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret" }, "parameters": [ { @@ -90445,20 +93705,20 @@ "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`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/rest/actions/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/set-selected-repos-for-org-secret", + "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": [ { @@ -90489,7 +93749,7 @@ "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.", + "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" } @@ -90519,22 +93779,22 @@ "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\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/actions/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/add-selected-repo-to-org-secret", + "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": [ { @@ -90575,20 +93835,20 @@ "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`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/rest/actions/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/remove-selected-repo-from-org-secret", + "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": [ { @@ -90629,22 +93889,22 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/list-org-variables", + "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": [ { @@ -90791,20 +94051,20 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/create-org-variable", + "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": [ { @@ -90895,22 +94155,22 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/get-org-variable", + "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": [ { @@ -91006,20 +94266,20 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/update-org-variable", + "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": [ { @@ -91098,20 +94358,20 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/delete-org-variable", + "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": [ { @@ -91141,22 +94401,22 @@ "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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/list-selected-repos-for-org-variable", + "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": [ { @@ -92056,20 +95316,20 @@ "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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/set-selected-repos-for-org-variable", + "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": [ { @@ -92133,22 +95393,22 @@ "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.\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 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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/add-selected-repo-to-org-variable", + "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": [ { @@ -92189,20 +95449,20 @@ "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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/remove-selected-repo-from-org-variable", + "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": [ { @@ -92243,7 +95503,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "variables" } } @@ -114861,6 +118121,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -152862,6 +156131,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -257346,106 +260624,1678 @@ } }, { - "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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "before": { + "type": "string", + "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "description": "The SHA of the commit before the activity." + }, + "after": { + "type": "string", + "example": "827efc6d56897b048c772eb4087f854f46256132", + "description": "The SHA of the commit after the activity." + }, + "ref": { + "type": "string", + "example": "refs/heads/main", + "description": "The full Git reference, formatted as `refs/heads/`." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "description": "The time when the activity occurred." + }, + "activity_type": { + "type": "string", + "example": "force_push", + "enum": [ + "push", + "force_push", + "branch_deletion", + "branch_creation", + "pr_merge", + "merge_queue_merge" + ], + "description": "The type of the activity that was performed." + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + } + }, + "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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "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", + "example": "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", + "example": "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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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", + "example": "1234567" + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "example": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + }, + "id": { + "type": "integer", + "example": 2 + }, + "url": { + "type": "string", + "example": "https://api.github.com/user/keys/2" + }, + "title": { + "type": "string", + "example": "ssh-rsa AAAAB3NzaC1yc2EAAA" + }, + "created_at": { + "type": "string", + "example": "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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "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", + "example": "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", + "example": "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "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", + "example": "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", + "example": "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": [ { @@ -257467,372 +262317,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", - "example": 1296269 - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - }, - "before": { - "type": "string", - "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "description": "The SHA of the commit before the activity." - }, - "after": { - "type": "string", - "example": "827efc6d56897b048c772eb4087f854f46256132", - "description": "The SHA of the commit after the activity." - }, - "ref": { - "type": "string", - "example": "refs/heads/main", - "description": "The full Git reference, formatted as `refs/heads/`." - }, - "timestamp": { - "type": "string", - "format": "date-time", - "example": "2011-01-26T19:06:43Z", - "description": "The time when the activity occurred." - }, - "activity_type": { - "type": "string", - "example": "force_push", - "enum": [ - "push", - "force_push", - "branch_deletion", - "branch_creation", - "pr_merge", - "merge_queue_merge" - ], - "description": "The type of the activity that was performed." - }, - "actor": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - } - }, - "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" } } }, @@ -1375950,11 +1380453,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1383858,11 +1388360,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1391766,11 +1396267,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } @@ -1399674,11 +1404174,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index 18f543fc06..907acb7d56 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -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: @@ -834,7 +836,7 @@ paths: - subscriptions_url - type - url - type: &336 + type: &343 type: string description: The type of credit the user is receiving. enum: @@ -999,7 +1001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &672 + - &676 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4071,7 +4073,7 @@ paths: schema: type: integer default: 30 - - &222 + - &229 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 @@ -4080,7 +4082,7 @@ paths: required: false schema: type: string - - &223 + - &230 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4100,7 +4102,7 @@ paths: application/json: schema: type: array - items: &224 + items: &231 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4180,7 +4182,7 @@ paths: - installation_id - repository_id examples: - default: &225 + default: &232 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4308,7 +4310,7 @@ paths: description: Response content: application/json: - schema: &226 + schema: &233 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4422,7 +4424,7 @@ paths: - request - response examples: - default: &227 + default: &234 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -5399,7 +5401,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &301 + properties: &308 id: description: Unique identifier of the repository example: 42 @@ -5835,7 +5837,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &302 + required: &309 - archive_url - assignees_url - blobs_url @@ -10475,7 +10477,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &197 type: array description: A list of default code security configurations items: @@ -10491,7 +10493,7 @@ paths: default configuration: *49 examples: - default: &191 + default: &198 value: - default_for_new_repos: public configuration: @@ -10953,7 +10955,7 @@ paths: default: value: default_for_new_repos: all - configuration: &189 + configuration: &196 value: id: 1325 target_type: organization @@ -11043,7 +11045,7 @@ paths: application/json: schema: type: array - items: &192 + items: &199 type: object description: Repositories associated with a code security configuration and attachment status @@ -11344,7 +11346,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &193 + repository: &200 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -11849,7 +11851,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &203 + - &210 name: classification in: query description: |- @@ -11858,7 +11860,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &204 + - &211 name: state in: query description: |- @@ -11867,7 +11869,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &205 + - &212 name: severity in: query description: |- @@ -11876,7 +11878,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &206 + - &213 name: ecosystem in: query description: |- @@ -11885,14 +11887,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &207 + - &214 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 - - &208 + - &215 name: epss_percentage in: query description: |- @@ -11904,7 +11906,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 - - &501 + - &507 name: has in: query description: |- @@ -11918,7 +11920,7 @@ paths: type: string enum: - patch - - &209 + - &216 name: assignee in: query description: |- @@ -11927,7 +11929,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &210 + - &217 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -11937,7 +11939,7 @@ paths: enum: - development - runtime - - &211 + - &218 name: sort in: query description: |- @@ -11963,11 +11965,11 @@ paths: application/json: schema: type: array - items: &212 + items: &219 type: object description: A Dependabot alert. properties: - number: &179 + number: &186 type: integer description: The security alert number. readOnly: true @@ -12030,7 +12032,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &502 + security_advisory: &508 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12218,29 +12220,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *66 - url: &182 + url: &189 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &183 + html_url: &190 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &180 + created_at: &187 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: &181 + updated_at: &188 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: &185 + dismissed_at: &192 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12270,21 +12272,21 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &184 + fixed_at: &191 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &503 + auto_dismissed_at: &509 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &504 + dismissal_request: &510 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -12346,7 +12348,7 @@ paths: - repository additionalProperties: false examples: - default: &213 + default: &220 value: - number: 2 state: dismissed @@ -12731,7 +12733,7 @@ paths: description: Response content: application/json: - schema: &214 + schema: &221 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -12757,7 +12759,7 @@ paths: nullable: true additionalProperties: false examples: - default: &215 + default: &222 value: default_level: public accessible_repositories: @@ -13022,6 +13024,14 @@ paths: updated_at: type: string format: date-time + notification_setting: + type: string + description: Whether team members will receive notifications + when the team is mentioned. + example: notifications_enabled + enum: + - notifications_enabled + - notifications_disabled required: - id - url @@ -13106,6 +13116,18 @@ paths: type: string 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: @@ -13421,7 +13443,7 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: &199 + properties: &206 login: type: string example: github @@ -13462,7 +13484,7 @@ paths: type: string example: A great organization nullable: true - required: &200 + required: &207 - login - url - id @@ -13772,6 +13794,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: @@ -13942,7 +13974,7 @@ paths: properties: action: type: string - discussion: &766 + discussion: &770 title: Discussion description: A Discussion in a repository. type: object @@ -14309,7 +14341,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &556 + properties: &560 id: type: integer format: int64 @@ -14415,7 +14447,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &285 + properties: &292 url: type: string format: uri @@ -14485,7 +14517,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &286 + required: &293 - closed_issues - creator - description @@ -14564,7 +14596,7 @@ paths: timeline_url: type: string format: uri - type: &248 + type: &255 title: Issue Type description: The type of issue. type: object @@ -14678,7 +14710,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &683 + sub_issues_summary: &687 title: Sub-issues Summary type: object properties: @@ -14765,7 +14797,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &579 + properties: &583 pinned_at: type: string format: date-time @@ -14777,7 +14809,7 @@ paths: properties: *20 required: *21 nullable: true - required: &580 + required: &584 - pinned_at - pinned_by nullable: true @@ -14791,7 +14823,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &684 + issue_dependencies_summary: &688 title: Issue Dependencies Summary type: object properties: @@ -14810,7 +14842,7 @@ paths: - total_blocking issue_field_values: type: array - items: &563 + items: &567 title: Issue Field Value description: A value assigned to an issue field type: object @@ -14871,7 +14903,7 @@ paths: - node_id - data_type - value - required: &557 + required: &561 - closed_at - comments - comments_url @@ -14908,7 +14940,7 @@ paths: action: type: string issue: *88 - comment: &552 + comment: &556 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15572,7 +15604,7 @@ paths: type: string release: allOf: - - &613 + - &617 title: Release description: A release. type: object @@ -15643,7 +15675,7 @@ paths: author: *4 assets: type: array - items: &614 + items: &618 title: Release Asset description: Data related to a release. type: object @@ -17873,7 +17905,7 @@ paths: - closed - all default: open - - &251 + - &258 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -17924,7 +17956,7 @@ paths: type: array items: *88 examples: - default: &252 + default: &259 value: - id: 1 node_id: MDU6SXNzdWUx @@ -19309,14 +19341,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &348 + - &355 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &349 + - &356 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -19378,7 +19410,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &352 + '301': &359 description: Moved permanently content: application/json: @@ -19400,7 +19432,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &589 + - &593 name: all description: If `true`, show notifications marked as read. in: query @@ -19408,7 +19440,7 @@ paths: schema: type: boolean default: false - - &590 + - &594 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -19418,7 +19450,7 @@ paths: type: boolean default: false - *95 - - &591 + - &595 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: @@ -19454,7 +19486,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &217 + properties: &224 id: type: integer format: int64 @@ -19738,7 +19770,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &303 + security_and_analysis: &310 nullable: true type: object properties: @@ -19858,7 +19890,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &218 + required: &225 - archive_url - assignees_url - blobs_url @@ -19946,7 +19978,7 @@ paths: - url - subscription_url examples: - default: &592 + default: &596 value: - id: '1' repository: @@ -21228,7 +21260,7 @@ paths: required: false schema: type: string - - &741 + - &745 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -21374,7 +21406,7 @@ paths: parameters: - *78 - *124 - - &742 + - &746 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 @@ -21486,7 +21518,7 @@ paths: - *124 - *126 - *125 - - &743 + - &747 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -21494,7 +21526,7 @@ paths: schema: type: string - *127 - - &744 + - &748 name: sku description: The SKU to query for usage. in: query @@ -22387,7 +22419,7 @@ paths: type: integer repository_cache_usages: type: array - items: &359 + items: &366 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -23729,7 +23761,7 @@ paths: - all - local_only - selected - selected_actions_url: &365 + selected_actions_url: &371 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` @@ -23812,7 +23844,7 @@ paths: description: Response content: application/json: - schema: &369 + schema: &375 type: object properties: days: @@ -23854,7 +23886,7 @@ paths: required: true content: application/json: - schema: &370 + schema: &376 type: object properties: days: @@ -23911,7 +23943,7 @@ paths: required: - approval_policy examples: - default: &371 + default: &377 value: approval_policy: first_time_contributors '404': *6 @@ -23970,7 +24002,7 @@ paths: description: Response content: application/json: - schema: &372 + schema: &378 type: object required: - run_workflows_from_fork_pull_requests @@ -24024,7 +24056,7 @@ paths: required: true content: application/json: - schema: &373 + schema: &379 type: object required: - run_workflows_from_fork_pull_requests @@ -24659,7 +24691,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &380 type: object properties: default_workflow_permissions: &154 @@ -24710,7 +24742,7 @@ paths: required: false content: application/json: - schema: &375 + schema: &381 type: object properties: default_workflow_permissions: *154 @@ -25199,7 +25231,7 @@ paths: type: array items: *161 examples: - default: &202 + default: &209 value: total_count: 1 repositories: @@ -25841,7 +25873,7 @@ paths: application/json: schema: type: array - items: &376 + items: &382 title: Runner Application description: Runner Application type: object @@ -25866,7 +25898,7 @@ paths: - download_url - filename examples: - default: &377 + default: &383 value: - os: osx architecture: x64 @@ -25952,7 +25984,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &378 + '201': &384 description: Response content: application/json: @@ -26063,7 +26095,7 @@ paths: - token - expires_at examples: - default: &379 + default: &385 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -26102,7 +26134,7 @@ paths: application/json: schema: *165 examples: - default: &380 + default: &386 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -26136,7 +26168,7 @@ paths: application/json: schema: *163 examples: - default: &381 + default: &387 value: id: 23 name: MBP @@ -26362,7 +26394,7 @@ paths: - *78 - *162 responses: - '200': &382 + '200': &388 description: Response content: application/json: @@ -26419,7 +26451,7 @@ paths: parameters: - *78 - *162 - - &383 + - &389 name: name description: The name of a self-hosted runner's custom label. in: path @@ -26502,7 +26534,7 @@ paths: - updated_at - visibility examples: - default: + default: &174 value: total_count: 3 secrets: @@ -26549,7 +26581,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &175 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -26578,7 +26610,7 @@ paths: - key_id - key examples: - default: &396 + default: &176 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26618,7 +26650,7 @@ paths: application/json: schema: *168 examples: - default: + default: &177 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26778,97 +26810,961 @@ paths: type: array items: *161 examples: - default: &173 - 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: &173 + 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: + - *78 + - *169 + 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: + - *78 + - *169 + - 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: + - *78 + - *169 + - 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: + - *78 + - &178 + 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: &171 + title: Actions Variable for an Organization + description: Organization variable for GitHub Actions. + type: object + properties: + name: + description: The name of the variable. + example: USERNAME + type: string + value: + description: The value of the variable. + example: octocat + type: string + created_at: + description: The date and time at which the variable was + created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + example: '2019-01-24T22:45:36.000Z' + type: string + format: date-time + updated_at: + description: The date and time at which the variable was + last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + example: '2019-01-24T22:45:36.000Z' + type: string + format: date-time + visibility: + description: Visibility of a variable + enum: + - all + - private + - selected + type: string + selected_repositories_url: + type: string + format: uri + example: https://api.github.com/organizations/org/variables/USERNAME/repositories + required: + - name + - value + - created_at + - updated_at + - visibility + examples: + default: &179 + 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: *70 + 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: + - *78 + 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: *170 + 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: + - *78 + - &172 + name: name + description: The name of the variable. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *171 + examples: + default: &180 + 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: + - *78 + - *172 + 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: + - *78 + - *172 + 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: + - *78 + - *172 + - *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: *161 + examples: + default: *173 + '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: + - *78 + - *172 + 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: + - *78 + - *172 + - 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: + - *78 + - *172 + - 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: + - *78 + - *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: *168 + examples: + default: *174 + headers: + Link: *70 + 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: + - *78 + responses: + '200': + description: Response + content: + application/json: + schema: *175 + examples: + default: *176 + 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: + - *78 + - *169 + responses: + '200': + description: Response + content: + application/json: + schema: *168 + examples: + default: *177 + 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: + - *78 + - *169 + 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: *170 + 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: + - *78 + - *169 + 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: + - *78 + - *169 + - *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: *161 + examples: + default: *173 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: - *78 - *169 @@ -26885,8 +27781,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 @@ -26903,25 +27799,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: - *78 - *169 @@ -26938,24 +27834,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: - *78 - *169 @@ -26972,33 +27868,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: - *78 - - &364 - 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 + - *178 - *19 responses: '200': @@ -27015,90 +27905,30 @@ paths: type: integer variables: type: array - items: &171 - title: Actions Variable for an Organization - description: Organization variable for GitHub Actions. - type: object - properties: - name: - description: The name of the variable. - example: USERNAME - type: string - value: - description: The value of the variable. - example: octocat - type: string - created_at: - description: The date and time at which the variable was - created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - example: '2019-01-24T22:45:36.000Z' - type: string - format: date-time - updated_at: - description: The date and time at which the variable was - last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - example: '2019-01-24T22:45:36.000Z' - type: string - format: date-time - visibility: - description: Visibility of a variable - enum: - - all - - private - - selected - type: string - selected_repositories_url: - type: string - format: uri - example: https://api.github.com/organizations/org/variables/USERNAME/repositories - required: - - name - - value - - created_at - - updated_at - - visibility + items: *171 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: *179 headers: Link: *70 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: - *78 requestBody: @@ -27155,32 +27985,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: - *78 - - &172 - name: name - description: The name of the variable. - in: path - required: true - schema: - type: string + - *172 responses: '200': description: Response @@ -27188,33 +28012,26 @@ paths: application/json: schema: *171 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: *180 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: - *78 - *172 @@ -27262,22 +28079,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: - *78 - *172 @@ -27287,24 +28104,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: - *78 - *172 @@ -27334,12 +28151,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`. @@ -27347,11 +28164,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: - *78 - *172 @@ -27384,24 +28201,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: - *78 - *172 @@ -27419,12 +28236,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`. @@ -27432,11 +28249,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: - *78 - *172 @@ -27454,7 +28271,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables "/orgs/{org}/artifacts/metadata/deployment-record": post: @@ -27603,7 +28420,7 @@ paths: type: integer deployment_records: type: array - items: &174 + items: &181 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -27649,7 +28466,7 @@ paths: required: - total_count examples: - default: &175 + default: &182 value: total_count: 1 deployment_records: @@ -27827,11 +28644,11 @@ paths: type: integer deployment_records: type: array - items: *174 + items: *181 required: - total_count examples: - default: *175 + default: *182 '403': description: Forbidden content: @@ -28066,9 +28883,9 @@ paths: type: integer deployment_records: type: array - items: *174 + items: *181 examples: - default: *175 + default: *182 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28197,12 +29014,12 @@ paths: required: - subject_digests examples: - default: &722 + default: &726 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &723 + withPredicateType: &727 value: subject_digests: - sha256:abc123 @@ -28246,7 +29063,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &724 + default: &728 value: attestations_subject_digests: - sha256:abc: @@ -28579,7 +29396,7 @@ paths: initiator: type: string examples: - default: &409 + default: &415 value: attestations: - bundle: @@ -28798,7 +29615,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &176 + schema: &183 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -28824,7 +29641,7 @@ paths: application/json: schema: type: array - items: &177 + items: &184 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -28855,7 +29672,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &201 + items: &208 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -28930,7 +29747,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &263 + properties: &270 id: description: Unique identifier of the team type: integer @@ -29002,7 +29819,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &264 + required: &271 - id - node_id - url @@ -29045,7 +29862,7 @@ paths: type: string format: date-time nullable: true - state: *176 + state: *183 contact_link: description: The contact link of the campaign. type: string @@ -29265,9 +30082,9 @@ paths: description: Response content: application/json: - schema: *177 + schema: *184 examples: - default: &178 + default: &185 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -29350,9 +30167,9 @@ paths: description: Response content: application/json: - schema: *177 + schema: *184 examples: - default: *178 + default: *185 '404': *6 '422': description: Unprocessable Entity @@ -29429,7 +30246,7 @@ paths: type: string format: uri nullable: true - state: *176 + state: *183 examples: default: value: @@ -29439,9 +30256,9 @@ paths: description: Response content: application/json: - schema: *177 + schema: *184 examples: - default: *178 + default: *185 '400': description: Bad Request content: @@ -29508,17 +30325,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *78 - - &434 + - &440 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: &186 + schema: &193 type: string description: The name of the tool used to generate the code scanning analysis. - - &435 + - &441 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 @@ -29526,7 +30343,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &187 + schema: &194 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -29541,7 +30358,7 @@ paths: be returned. in: query required: false - schema: &437 + schema: &443 type: string description: State of a code scanning alert. enum: @@ -29564,7 +30381,7 @@ paths: be returned. in: query required: false - schema: &438 + schema: &444 type: string description: Severity of a code scanning alert. enum: @@ -29593,18 +30410,18 @@ paths: items: type: object properties: - number: *179 - created_at: *180 - updated_at: *181 - url: *182 - html_url: *183 - instances_url: &439 + number: *186 + created_at: *187 + updated_at: *188 + url: *189 + html_url: *190 + instances_url: &445 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &188 + state: &195 type: string description: State of a code scanning alert. nullable: true @@ -29612,7 +30429,7 @@ paths: - open - dismissed - fixed - fixed_at: *184 + fixed_at: *191 dismissed_by: title: Simple User description: A GitHub user. @@ -29620,8 +30437,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *185 - dismissed_reason: &440 + dismissed_at: *192 + dismissed_reason: &446 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -29630,13 +30447,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &441 + dismissed_comment: &447 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &442 + rule: &448 type: object properties: id: @@ -29689,42 +30506,42 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &443 + tool: &449 type: object properties: - name: *186 + name: *193 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *187 - most_recent_instance: &444 + guid: *194 + most_recent_instance: &450 type: object properties: - ref: &436 + ref: &442 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &454 + analysis_key: &460 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: &455 + environment: &461 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: &456 + category: &462 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: *188 + state: *195 commit_sha: type: string message: @@ -29738,7 +30555,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: &457 + location: &463 type: object description: Describe a region within a file for the alert. properties: @@ -29759,7 +30576,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: &458 + items: &464 type: string description: A classification of the file. For example to identify it as generated. @@ -30398,7 +31215,7 @@ paths: application/json: schema: *49 examples: - default: *189 + default: *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30426,9 +31243,9 @@ paths: description: Response content: application/json: - schema: *190 + schema: *197 examples: - default: *191 + default: *198 '304': *37 '403': *29 '404': *6 @@ -30517,7 +31334,7 @@ paths: application/json: schema: *49 examples: - default: *189 + default: *196 '304': *37 '403': *29 '404': *6 @@ -30962,7 +31779,7 @@ paths: default: value: default_for_new_repos: all - configuration: *189 + configuration: *196 '403': *29 '404': *6 x-github: @@ -31015,13 +31832,13 @@ paths: application/json: schema: type: array - items: *192 + items: *199 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *193 + repository: *200 '403': *29 '404': *6 x-github: @@ -31061,7 +31878,7 @@ paths: type: integer codespaces: type: array - items: &253 + items: &260 type: object title: Codespace description: A codespace. @@ -31091,7 +31908,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &470 + properties: &476 name: type: string description: The name of the machine. @@ -31133,7 +31950,7 @@ paths: - ready - in_progress nullable: true - required: &471 + required: &477 - name - display_name - operating_system @@ -31338,7 +32155,7 @@ paths: - pulls_url - recent_folders examples: - default: &254 + default: &261 value: total_count: 3 codespaces: @@ -31962,7 +32779,7 @@ paths: type: integer secrets: type: array - items: &194 + items: &201 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -32001,7 +32818,7 @@ paths: - updated_at - visibility examples: - default: &472 + default: &478 value: total_count: 2 secrets: @@ -32039,7 +32856,7 @@ paths: description: Response content: application/json: - schema: &473 + schema: &479 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -32068,7 +32885,7 @@ paths: - key_id - key examples: - default: &474 + default: &480 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32098,9 +32915,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *201 examples: - default: &476 + default: &482 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -32432,7 +33249,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &195 + items: &202 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -32811,9 +33628,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *202 examples: - default: &196 + default: &203 summary: Example response for an organization copilot space value: id: 84 @@ -32916,9 +33733,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *202 examples: - default: *196 + default: *203 '403': *29 '404': *6 x-github: @@ -33042,9 +33859,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *202 examples: - default: *196 + default: *203 '403': *29 '404': *6 '422': *15 @@ -33123,7 +33940,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &197 + items: &204 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -33344,7 +34161,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *204 examples: user: value: @@ -33472,7 +34289,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *204 examples: user: value: @@ -33619,7 +34436,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &198 + items: &205 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -33760,7 +34577,7 @@ paths: description: Resource created content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -33776,7 +34593,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -33829,7 +34646,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -33896,7 +34713,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -34136,7 +34953,7 @@ paths: currently being billed. seats: type: array - items: &256 + items: &263 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -34153,14 +34970,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *199 - required: *200 + properties: *206 + required: *207 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *201 + - *208 - *71 nullable: true pending_cancellation_date: @@ -34772,7 +35589,7 @@ paths: - total_count - repositories examples: - default: *202 + default: *209 '500': *55 '401': *25 '403': *29 @@ -35107,7 +35924,7 @@ paths: application/json: schema: type: array - items: &341 + items: &348 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -35414,7 +36231,7 @@ paths: - date additionalProperties: true examples: - default: &342 + default: &349 value: - date: '2024-06-24' total_active_users: 24 @@ -35516,7 +36333,7 @@ paths: '500': *55 '403': *29 '404': *6 - '422': &343 + '422': &350 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -35696,12 +36513,12 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *78 - - *203 - - *204 - - *205 - - *206 - - *207 - - *208 + - *210 + - *211 + - *212 + - *213 + - *214 + - *215 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -35731,7 +36548,7 @@ paths: enum: - patch - deployment - - *209 + - *216 - name: runtime_risk in: query description: |- @@ -35740,8 +36557,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *210 - - *211 + - *217 + - *218 - *62 - *47 - *48 @@ -35753,9 +36570,9 @@ paths: application/json: schema: type: array - items: *212 + items: *219 examples: - default: *213 + default: *220 '304': *37 '400': *14 '403': *29 @@ -35804,9 +36621,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *221 examples: - default: *215 + default: *222 '403': *29 '404': *6 x-github: @@ -35969,7 +36786,7 @@ paths: type: integer secrets: type: array - items: &216 + items: &223 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -36046,7 +36863,7 @@ paths: description: Response content: application/json: - schema: &507 + schema: &513 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -36063,7 +36880,7 @@ paths: - key_id - key examples: - default: &508 + default: &514 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -36093,7 +36910,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *223 examples: default: value: @@ -36390,7 +37207,7 @@ paths: application/json: schema: type: array - items: &266 + items: &273 title: Package description: A software package type: object @@ -36440,8 +37257,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *217 - required: *218 + properties: *224 + required: *225 nullable: true created_at: type: string @@ -36460,7 +37277,7 @@ paths: - created_at - updated_at examples: - default: &267 + default: &274 value: - id: 197 name: hello_docker @@ -36630,7 +37447,7 @@ paths: application/json: schema: type: array - items: &242 + items: &249 title: Organization Invitation description: Organization Invitation type: object @@ -36677,7 +37494,7 @@ paths: - invitation_teams_url - node_id examples: - default: &243 + default: &250 value: - id: 1 login: monalisa @@ -36744,7 +37561,7 @@ paths: application/json: schema: type: array - items: &219 + items: &226 title: Org Hook description: Org Hook type: object @@ -36915,9 +37732,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *226 examples: - default: &220 + default: &227 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -36965,7 +37782,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *78 - - &221 + - &228 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. @@ -36978,9 +37795,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *226 examples: - default: *220 + default: *227 '404': *6 x-github: githubCloudOnly: false @@ -37008,7 +37825,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *78 - - *221 + - *228 requestBody: required: false content: @@ -37053,7 +37870,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *226 examples: default: value: @@ -37095,7 +37912,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *78 - - *221 + - *228 responses: '204': description: Response @@ -37123,7 +37940,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *78 - - *221 + - *228 responses: '200': description: Response @@ -37154,7 +37971,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *78 - - *221 + - *228 requestBody: required: false content: @@ -37205,10 +38022,10 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *78 - - *221 + - *228 - *17 - - *222 - - *223 + - *229 + - *230 responses: '200': description: Response @@ -37216,9 +38033,9 @@ paths: application/json: schema: type: array - items: *224 + items: *231 examples: - default: *225 + default: *232 '400': *14 '422': *15 x-github: @@ -37244,16 +38061,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *78 - - *221 + - *228 - *16 responses: '200': description: Response content: application/json: - schema: *226 + schema: *233 examples: - default: *227 + default: *234 '400': *14 '422': *15 x-github: @@ -37279,7 +38096,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *78 - - *221 + - *228 - *16 responses: '202': *39 @@ -37309,7 +38126,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *78 - - *221 + - *228 responses: '204': description: Response @@ -37332,7 +38149,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *78 - - &232 + - &239 name: actor_type in: path description: The type of the actor @@ -37345,14 +38162,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &233 + - &240 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &228 + - &235 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`.' @@ -37360,7 +38177,7 @@ paths: required: true schema: type: string - - &229 + - &236 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) @@ -37454,12 +38271,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *78 - - *228 - - *229 + - *235 + - *236 - *19 - *17 - *62 - - &238 + - &245 name: sort description: The property to sort the results by. in: query @@ -37537,14 +38354,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *78 - - *228 - - *229 + - *235 + - *236 responses: '200': description: Response content: application/json: - schema: &230 + schema: &237 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -37560,7 +38377,7 @@ paths: type: integer format: int64 examples: - default: &231 + default: &238 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -37581,23 +38398,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *78 - - &234 + - &241 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *228 - - *229 + - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *230 + schema: *237 examples: - default: *231 + default: *238 x-github: enabledForGitHubApps: true category: orgs @@ -37616,18 +38433,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *78 - - *228 - - *229 - - *232 - - *233 + - *235 + - *236 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *230 + schema: *237 examples: - default: *231 + default: *238 x-github: enabledForGitHubApps: true category: orgs @@ -37645,9 +38462,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *78 - - *228 - - *229 - - &235 + - *235 + - *236 + - &242 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -37660,7 +38477,7 @@ paths: description: Response content: application/json: - schema: &236 + schema: &243 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -37676,7 +38493,7 @@ paths: type: integer format: int64 examples: - default: &237 + default: &244 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -37713,18 +38530,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *78 - - *234 - - *228 - - *229 + - *241 - *235 + - *236 + - *242 responses: '200': description: Response content: application/json: - schema: *236 + schema: *243 examples: - default: *237 + default: *244 x-github: enabledForGitHubApps: true category: orgs @@ -37742,19 +38559,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *78 - - *232 - - *233 - - *228 - - *229 + - *239 + - *240 - *235 + - *236 + - *242 responses: '200': description: Response content: application/json: - schema: *236 + schema: *243 examples: - default: *237 + default: *244 x-github: enabledForGitHubApps: true category: orgs @@ -37772,13 +38589,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *78 - - *234 - - *228 - - *229 + - *241 + - *235 + - *236 - *19 - *17 - *62 - - *238 + - *245 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -37859,7 +38676,7 @@ paths: application/json: schema: *22 examples: - default: &547 + default: &551 value: id: 1 account: @@ -38025,12 +38842,12 @@ paths: application/json: schema: anyOf: - - &240 + - &247 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &239 + limit: &246 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -38055,7 +38872,7 @@ paths: properties: {} additionalProperties: false examples: - default: &241 + default: &248 value: limit: collaborators_only origin: organization @@ -38084,13 +38901,13 @@ paths: required: true content: application/json: - schema: &548 + schema: &552 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *239 + limit: *246 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -38114,9 +38931,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *247 examples: - default: *241 + default: *248 '422': *15 x-github: githubCloudOnly: false @@ -38192,9 +39009,9 @@ paths: application/json: schema: type: array - items: *242 + items: *249 examples: - default: *243 + default: *250 headers: Link: *70 '404': *6 @@ -38271,7 +39088,7 @@ paths: description: Response content: application/json: - schema: *242 + schema: *249 examples: default: value: @@ -38326,7 +39143,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *78 - - &244 + - &251 name: invitation_id description: The unique identifier of the invitation. in: path @@ -38357,7 +39174,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *78 - - *244 + - *251 - *17 - *19 responses: @@ -38367,9 +39184,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: &265 + default: &272 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -38412,7 +39229,7 @@ paths: application/json: schema: type: array - items: &245 + items: &252 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -38645,9 +39462,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *252 examples: - default: &246 + default: &253 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -38703,7 +39520,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *78 - - &247 + - &254 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -38811,9 +39628,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *252 examples: - default: *246 + default: *253 '404': *6 '422': *7 x-github: @@ -38838,7 +39655,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *78 - - *247 + - *254 responses: '204': *61 '404': *6 @@ -38868,7 +39685,7 @@ paths: application/json: schema: type: array - items: *248 + items: *255 examples: default: value: @@ -38953,9 +39770,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *255 examples: - default: &249 + default: &256 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -38988,7 +39805,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *78 - - &250 + - &257 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -39041,9 +39858,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *255 examples: - default: *249 + default: *256 '404': *6 '422': *7 x-github: @@ -39068,7 +39885,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *78 - - *250 + - *257 responses: '204': description: Response @@ -39131,7 +39948,7 @@ paths: - closed - all default: open - - *251 + - *258 - name: type description: Can be the name of an issue type. in: query @@ -39162,7 +39979,7 @@ paths: type: array items: *88 examples: - default: *252 + default: *259 headers: Link: *70 '404': *6 @@ -39322,9 +40139,9 @@ paths: type: integer codespaces: type: array - items: *253 + items: *260 examples: - default: *254 + default: *261 '304': *37 '500': *55 '401': *25 @@ -39351,7 +40168,7 @@ paths: parameters: - *78 - *74 - - &255 + - &262 name: codespace_name in: path required: true @@ -39386,15 +40203,15 @@ paths: parameters: - *78 - *74 - - *255 + - *262 responses: '200': description: Response content: application/json: - schema: *253 + schema: *260 examples: - default: &469 + default: &475 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -39574,7 +40391,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *256 + schema: *263 examples: default: value: @@ -39650,7 +40467,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &264 title: Org Membership description: Org Membership type: object @@ -39717,7 +40534,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &258 + response-if-user-has-an-active-admin-membership-with-organization: &265 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -39818,9 +40635,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: - response-if-user-already-had-membership-with-organization: *258 + response-if-user-already-had-membership-with-organization: *265 '422': *15 '403': *29 '451': *15 @@ -39892,7 +40709,7 @@ paths: application/json: schema: type: array - items: &259 + items: &266 title: Migration description: A migration. type: object @@ -40221,7 +41038,7 @@ paths: description: Response content: application/json: - schema: *259 + schema: *266 examples: default: value: @@ -40400,7 +41217,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *78 - - &260 + - &267 name: migration_id description: The unique identifier of the migration. in: path @@ -40427,7 +41244,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *259 + schema: *266 examples: default: value: @@ -40597,7 +41414,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *78 - - *260 + - *267 responses: '302': description: Response @@ -40619,7 +41436,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *78 - - *260 + - *267 responses: '204': description: Response @@ -40643,8 +41460,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *78 - - *260 - - &704 + - *267 + - &708 name: repo_name description: repo_name parameter in: path @@ -40672,7 +41489,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *78 - - *260 + - *267 - *17 - *19 responses: @@ -40726,7 +41543,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &262 + items: &269 title: Organization Role description: Organization roles type: object @@ -40901,7 +41718,7 @@ paths: parameters: - *78 - *80 - - &261 + - &268 name: role_id description: The unique identifier of the role. in: path @@ -40938,7 +41755,7 @@ paths: parameters: - *78 - *80 - - *261 + - *268 responses: '204': description: Response @@ -40991,7 +41808,7 @@ paths: parameters: - *78 - *74 - - *261 + - *268 responses: '204': description: Response @@ -41023,7 +41840,7 @@ paths: parameters: - *78 - *74 - - *261 + - *268 responses: '204': description: Response @@ -41052,13 +41869,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *78 - - *261 + - *268 responses: '200': description: Response content: application/json: - schema: *262 + schema: *269 examples: default: value: @@ -41109,7 +41926,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *78 - - *261 + - *268 - *17 - *19 responses: @@ -41187,8 +42004,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *263 - required: *264 + properties: *270 + required: *271 nullable: true type: description: The ownership type of the team @@ -41220,7 +42037,7 @@ paths: - type - parent examples: - default: *265 + default: *272 headers: Link: *70 '404': @@ -41250,7 +42067,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *78 - - *261 + - *268 - *17 - *19 responses: @@ -41278,13 +42095,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &337 + items: &344 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *263 - required: *264 + properties: *270 + required: *271 name: nullable: true type: string @@ -41572,7 +42389,7 @@ paths: - nuget - container - *78 - - &705 + - &709 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -41608,12 +42425,12 @@ paths: application/json: schema: type: array - items: *266 + items: *273 examples: - default: *267 + default: *274 '403': *29 '401': *25 - '400': &707 + '400': &711 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -41635,7 +42452,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &268 + - &275 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 @@ -41653,7 +42470,7 @@ paths: - docker - nuget - container - - &269 + - &276 name: package_name description: The name of the package. in: path @@ -41666,7 +42483,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -41718,8 +42535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *268 - - *269 + - *275 + - *276 - *78 responses: '204': @@ -41752,8 +42569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *268 - - *269 + - *275 + - *276 - *78 - name: token description: package token @@ -41786,8 +42603,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: - - *268 - - *269 + - *275 + - *276 - *78 - *19 - *17 @@ -41808,7 +42625,7 @@ paths: application/json: schema: type: array - items: &270 + items: &277 title: Package Version description: A version of a software package type: object @@ -41933,10 +42750,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *268 - - *269 + - *275 + - *276 - *78 - - &271 + - &278 name: package_version_id description: Unique identifier of the package version. in: path @@ -41948,7 +42765,7 @@ paths: description: Response content: application/json: - schema: *270 + schema: *277 examples: default: value: @@ -41984,10 +42801,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *268 - - *269 + - *275 + - *276 - *78 - - *271 + - *278 responses: '204': description: Response @@ -42019,10 +42836,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *268 - - *269 + - *275 + - *276 - *78 - - *271 + - *278 responses: '204': description: Response @@ -42052,7 +42869,7 @@ paths: - *78 - *17 - *19 - - &272 + - &279 name: sort description: The property by which to sort the results. in: query @@ -42063,7 +42880,7 @@ paths: - created_at default: created_at - *62 - - &273 + - &280 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -42074,7 +42891,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &274 + - &281 name: repository description: The name of the repository to use to filter the results. in: query @@ -42082,7 +42899,7 @@ paths: schema: type: string example: Hello-World - - &275 + - &282 name: permission description: The permission to use to filter the results. in: query @@ -42090,7 +42907,7 @@ paths: schema: type: string example: issues_read - - &276 + - &283 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) @@ -42100,7 +42917,7 @@ paths: schema: type: string format: date-time - - &277 + - &284 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) @@ -42110,7 +42927,7 @@ paths: schema: type: string format: date-time - - &278 + - &285 name: token_id description: The ID of the token in: query @@ -42423,7 +43240,7 @@ paths: type: array items: *161 examples: - default: &279 + default: &286 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42560,14 +43377,14 @@ paths: - *78 - *17 - *19 - - *272 + - *279 - *62 - - *273 - - *274 - - *275 - - *276 - - *277 - - *278 + - *280 + - *281 + - *282 + - *283 + - *284 + - *285 responses: '500': *55 '422': *15 @@ -42849,7 +43666,7 @@ paths: type: array items: *161 examples: - default: *279 + default: *286 headers: Link: *70 x-github: @@ -42891,7 +43708,7 @@ paths: type: integer configurations: type: array - items: &280 + items: &287 title: Organization private registry description: Private registry configuration for an organization type: object @@ -43402,7 +44219,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &281 + org-private-registry-with-selected-visibility: &288 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -43498,9 +44315,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *280 + schema: *287 examples: - default: *281 + default: *288 '404': *6 x-github: githubCloudOnly: false @@ -43751,7 +44568,7 @@ paths: application/json: schema: type: array - items: &282 + items: &289 title: Projects v2 Project description: A projects v2 project type: object @@ -43821,7 +44638,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &797 + properties: &801 id: type: number description: The unique identifier of the status update. @@ -43869,7 +44686,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &798 + required: &802 - id - node_id - created_at @@ -43894,7 +44711,7 @@ paths: - deleted_at - deleted_by examples: - default: &283 + default: &290 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -43997,7 +44814,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &284 + - &291 name: project_number description: The project's number. in: path @@ -44010,9 +44827,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *289 examples: - default: *283 + default: *290 headers: Link: *70 '304': *37 @@ -44035,7 +44852,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *78 - - *284 + - *291 requestBody: required: true description: Details of the draft item to create in the project. @@ -44069,7 +44886,7 @@ paths: description: Response content: application/json: - schema: &290 + schema: &297 title: Projects v2 Item description: An item belonging to a project type: object @@ -44083,7 +44900,7 @@ paths: content: oneOf: - *88 - - &486 + - &492 title: Pull Request Simple description: Pull Request Simple type: object @@ -44189,8 +45006,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *285 - required: *286 + properties: *292 + required: *293 nullable: true active_lock_reason: type: string @@ -44222,7 +45039,7 @@ paths: items: *4 requested_teams: type: array - items: *201 + items: *208 head: type: object properties: @@ -44272,7 +45089,7 @@ paths: _links: type: object properties: - comments: &287 + comments: &294 title: Link description: Hypermedia Link type: object @@ -44281,13 +45098,13 @@ paths: type: string required: - href - commits: *287 - statuses: *287 - html: *287 - issue: *287 - review_comments: *287 - review_comment: *287 - self: *287 + commits: *294 + statuses: *294 + html: *294 + issue: *294 + review_comments: *294 + review_comment: *294 + self: *294 required: - comments - commits @@ -44298,7 +45115,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: &599 + auto_merge: &603 title: Auto merge description: The status of auto merging a pull request. type: object @@ -44398,7 +45215,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &289 + content_type: &296 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -44438,7 +45255,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &291 + draft_issue: &298 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -44512,7 +45329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *284 + - *291 - *78 - *17 - *47 @@ -44524,7 +45341,7 @@ paths: application/json: schema: type: array - items: &288 + items: &295 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -44674,7 +45491,7 @@ paths: - updated_at - project_url examples: - default: &728 + default: &732 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -44804,7 +45621,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *284 + - *291 - *78 requestBody: required: true @@ -44851,7 +45668,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &729 + items: &733 type: object properties: name: @@ -44888,7 +45705,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &730 + iteration_configuration: &734 type: object description: The configuration for iteration fields. properties: @@ -44938,7 +45755,7 @@ paths: value: name: Due date data_type: date - single_select_field: &731 + single_select_field: &735 summary: Create a single select field value: name: Priority @@ -44965,7 +45782,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &732 + iteration_field: &736 summary: Create an iteration field value: name: Sprint @@ -44989,9 +45806,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *288 + schema: *295 examples: - text_field: &733 + text_field: &737 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -45000,7 +45817,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: &734 + number_field: &738 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -45009,7 +45826,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: &735 + date_field: &739 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -45018,7 +45835,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: &736 + single_select_field: &740 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -45052,7 +45869,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &737 + iteration_field: &741 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -45097,8 +45914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *284 - - &738 + - *291 + - &742 name: field_id description: The unique identifier of the field. in: path @@ -45111,9 +45928,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *295 examples: - default: &739 + default: &743 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -45169,7 +45986,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *284 + - *291 - *78 - 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) @@ -45202,7 +46019,7 @@ paths: application/json: schema: type: array - items: &292 + items: &299 title: Projects v2 Item description: An item belonging to a project type: object @@ -45218,7 +46035,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *289 + content_type: *296 content: type: object additionalProperties: true @@ -45261,7 +46078,7 @@ paths: - updated_at - archived_at examples: - default: &293 + default: &300 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -45959,7 +46776,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *78 - - *284 + - *291 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -46029,22 +46846,22 @@ paths: description: Response content: application/json: - schema: *290 + schema: *297 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *291 + value: *298 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *291 + value: *298 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *291 + value: *298 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *291 + value: *298 '304': *37 '403': *29 '401': *25 @@ -46064,9 +46881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *284 + - *291 - *78 - - &294 + - &301 name: item_id description: The unique identifier of the project item. in: path @@ -46092,9 +46909,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *299 examples: - default: *293 + default: *300 headers: Link: *70 '304': *37 @@ -46115,9 +46932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *284 + - *291 - *78 - - *294 + - *301 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -46187,13 +47004,13 @@ paths: description: Response content: application/json: - schema: *292 + schema: *299 examples: - text_field: *293 - number_field: *293 - date_field: *293 - single_select_field: *293 - iteration_field: *293 + text_field: *300 + number_field: *300 + date_field: *300 + single_select_field: *300 + iteration_field: *300 '401': *25 '403': *29 '404': *6 @@ -46213,9 +47030,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *284 + - *291 - *78 - - *294 + - *301 responses: '204': description: Response @@ -46239,7 +47056,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *78 - - *284 + - *291 requestBody: required: true content: @@ -46310,7 +47127,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &719 + schema: &723 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -46408,7 +47225,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &295 + value: &302 value: id: 1 number: 1 @@ -46454,10 +47271,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *295 + value: *302 roadmap_view: summary: Response for creating a roadmap view - value: *295 + value: *302 '304': *37 '403': *29 '401': *25 @@ -46485,9 +47302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *284 + - *291 - *78 - - &740 + - &744 name: view_number description: The number that identifies the project view. in: path @@ -46519,9 +47336,9 @@ paths: application/json: schema: type: array - items: *292 + items: *299 examples: - default: *293 + default: *300 headers: Link: *70 '304': *37 @@ -46554,7 +47371,7 @@ paths: application/json: schema: type: array - items: &296 + items: &303 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -46622,7 +47439,7 @@ paths: - property_name - value_type examples: - default: &297 + default: &304 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -46682,7 +47499,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *296 + items: *303 minItems: 1 maxItems: 100 required: @@ -46712,9 +47529,9 @@ paths: application/json: schema: type: array - items: *296 + items: *303 examples: - default: *297 + default: *304 '403': *29 '404': *6 x-github: @@ -46736,7 +47553,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *78 - - &298 + - &305 name: custom_property_name description: The custom property name in: path @@ -46748,9 +47565,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *303 examples: - default: &299 + default: &306 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -46785,7 +47602,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *78 - - *298 + - *305 requestBody: required: true content: @@ -46856,9 +47673,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *303 examples: - default: *299 + default: *306 '403': *29 '404': *6 x-github: @@ -46882,7 +47699,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *78 - - *298 + - *305 responses: '204': *61 '403': *29 @@ -46943,7 +47760,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &300 + items: &307 title: Custom Property Value description: Custom property name and associated value type: object @@ -47030,7 +47847,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *300 + items: *307 required: - repository_names - properties @@ -47222,7 +48039,7 @@ paths: type: array items: *161 examples: - default: *279 + default: *286 headers: Link: *70 x-github: @@ -47424,7 +48241,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &358 title: Full Repository description: Full Repository type: object @@ -47709,8 +48526,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *301 - required: *302 + properties: *308 + required: *309 nullable: true temp_clone_token: type: string @@ -47822,7 +48639,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &491 + properties: &497 url: type: string format: uri @@ -47838,12 +48655,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &492 + required: &498 - url - key - name - html_url - security_and_analysis: *303 + security_and_analysis: *310 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -47927,7 +48744,7 @@ paths: - network_count - subscribers_count examples: - default: &353 + default: &360 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -48448,7 +49265,7 @@ paths: - *78 - *17 - *19 - - &621 + - &625 name: targets description: | A comma-separated list of rule targets to filter by. @@ -48466,7 +49283,7 @@ paths: application/json: schema: type: array - items: &330 + items: &337 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -48501,7 +49318,7 @@ paths: source: type: string description: The name of the source - enforcement: &306 + enforcement: &313 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -48514,7 +49331,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &307 + items: &314 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -48584,7 +49401,7 @@ paths: conditions: nullable: true anyOf: - - &304 + - &311 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -48608,7 +49425,7 @@ paths: match. items: type: string - - &308 + - &315 title: Organization ruleset conditions type: object description: |- @@ -48622,7 +49439,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *304 + - *311 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -48656,7 +49473,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *304 + - *311 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -48678,7 +49495,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *304 + - *311 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -48691,7 +49508,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &305 + items: &312 title: Repository ruleset property targeting definition type: object @@ -48724,17 +49541,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *305 + items: *312 required: - repository_property rules: type: array - items: &622 + items: &626 title: Repository Rule type: object description: A repository rule. oneOf: - - &309 + - &316 title: creation description: Only allow users with bypass permission to create matching refs. @@ -48746,7 +49563,7 @@ paths: type: string enum: - creation - - &310 + - &317 title: update description: Only allow users with bypass permission to update matching refs. @@ -48767,7 +49584,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &311 + - &318 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -48779,7 +49596,7 @@ paths: type: string enum: - deletion - - &312 + - &319 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -48791,7 +49608,7 @@ paths: type: string enum: - required_linear_history - - &620 + - &624 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -48869,7 +49686,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &313 + - &320 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -48893,7 +49710,7 @@ paths: type: string required: - required_deployment_environments - - &314 + - &321 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -48905,7 +49722,7 @@ paths: type: string enum: - required_signatures - - &315 + - &322 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -49011,7 +49828,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &316 + - &323 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -49059,7 +49876,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &317 + - &324 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -49071,7 +49888,7 @@ paths: type: string enum: - non_fast_forward - - &318 + - &325 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -49108,7 +49925,7 @@ paths: required: - operator - pattern - - &319 + - &326 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -49145,7 +49962,7 @@ paths: required: - operator - pattern - - &320 + - &327 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -49182,7 +49999,7 @@ paths: required: - operator - pattern - - &321 + - &328 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -49219,7 +50036,7 @@ paths: required: - operator - pattern - - &322 + - &329 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -49256,7 +50073,7 @@ paths: required: - operator - pattern - - &323 + - &330 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -49281,7 +50098,7 @@ paths: type: string required: - restricted_file_paths - - &324 + - &331 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -49305,7 +50122,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &325 + - &332 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -49328,7 +50145,7 @@ paths: type: string required: - restricted_file_extensions - - &326 + - &333 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -49353,7 +50170,7 @@ paths: maximum: 100 required: - max_file_size - - &327 + - &334 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -49403,7 +50220,7 @@ paths: - repository_id required: - workflows - - &328 + - &335 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -49464,7 +50281,7 @@ paths: - tool required: - code_scanning_tools - - &329 + - &336 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -49563,27 +50380,20 @@ paths: - push - repository default: branch - enforcement: *306 + enforcement: *313 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *307 - conditions: *308 + items: *314 + conditions: *315 rules: type: array description: An array of rules within the ruleset. - items: &332 + items: &339 title: Repository Rule type: object description: A repository rule. oneOf: - - *309 - - *310 - - *311 - - *312 - - *313 - - *314 - - *315 - *316 - *317 - *318 @@ -49598,6 +50408,13 @@ paths: - *327 - *328 - *329 + - *330 + - *331 + - *332 + - *333 + - *334 + - *335 + - *336 required: - name - enforcement @@ -49635,9 +50452,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - default: &331 + default: &338 value: id: 21 name: super cool ruleset @@ -49693,7 +50510,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *78 - - &623 + - &627 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 @@ -49708,7 +50525,7 @@ paths: in: query schema: type: string - - &624 + - &628 name: time_period description: |- The time period to filter by. @@ -49724,14 +50541,14 @@ paths: - week - month default: day - - &625 + - &629 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 - - &626 + - &630 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -49751,7 +50568,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &631 title: Rule Suites description: Response type: array @@ -49806,7 +50623,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &628 + default: &632 value: - id: 21 actor_id: 12 @@ -49850,7 +50667,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *78 - - &629 + - &633 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -49866,7 +50683,7 @@ paths: description: Response content: application/json: - schema: &630 + schema: &634 title: Rule Suite description: Response type: object @@ -49965,7 +50782,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &631 + default: &635 value: id: 21 actor_id: 12 @@ -50038,9 +50855,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - default: *331 + default: *338 '404': *6 '500': *55 put: @@ -50084,16 +50901,16 @@ paths: - tag - push - repository - enforcement: *306 + enforcement: *313 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *307 - conditions: *308 + items: *314 + conditions: *315 rules: description: An array of rules within the ruleset. type: array - items: *332 + items: *339 examples: default: value: @@ -50128,9 +50945,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - default: *331 + default: *338 '404': *6 '422': *15 '500': *55 @@ -50188,7 +51005,7 @@ paths: application/json: schema: type: array - items: &333 + items: &340 title: Ruleset version type: object description: The historical version of a ruleset @@ -50212,7 +51029,7 @@ paths: type: string format: date-time examples: - default: &633 + default: &637 value: - version_id: 3 actor: @@ -50265,9 +51082,9 @@ paths: description: Response content: application/json: - schema: &634 + schema: &638 allOf: - - *333 + - *340 - type: object required: - state @@ -50337,7 +51154,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *78 - - &635 + - &639 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -50348,7 +51165,7 @@ paths: enum: - open - resolved - - &636 + - &640 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -50358,7 +51175,7 @@ paths: required: false schema: type: string - - &637 + - &641 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -50369,7 +51186,7 @@ paths: required: false schema: type: string - - &638 + - &642 name: exclude_providers in: query description: |- @@ -50380,7 +51197,7 @@ paths: required: false schema: type: string - - &639 + - &643 name: providers in: query description: |- @@ -50391,7 +51208,7 @@ paths: required: false schema: type: string - - &640 + - &644 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -50400,7 +51217,7 @@ paths: required: false schema: type: string - - &641 + - &645 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -50419,7 +51236,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &642 + - &646 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. @@ -50434,7 +51251,7 @@ paths: - *62 - *19 - *17 - - &643 + - &647 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 @@ -50444,7 +51261,7 @@ paths: required: false schema: type: string - - &644 + - &648 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 @@ -50454,7 +51271,7 @@ paths: required: false schema: type: string - - &645 + - &649 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -50463,7 +51280,7 @@ paths: required: false schema: type: string - - &646 + - &650 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -50472,7 +51289,7 @@ paths: schema: type: boolean default: false - - &647 + - &651 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -50481,7 +51298,7 @@ paths: schema: type: boolean default: false - - &648 + - &652 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -50490,7 +51307,7 @@ paths: schema: type: boolean default: false - - &649 + - &653 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -50511,8 +51328,8 @@ paths: items: type: object properties: - number: *179 - created_at: *180 + number: *186 + created_at: *187 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -50520,21 +51337,21 @@ paths: format: date-time readOnly: true nullable: true - url: *182 - html_url: *183 + url: *189 + html_url: *190 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &650 + state: &654 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: &651 + resolution: &655 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -50651,8 +51468,8 @@ paths: pull request. ' - oneOf: &652 - - &654 + oneOf: &656 + - &658 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -50710,7 +51527,7 @@ paths: - blob_url - commit_sha - commit_url - - &655 + - &659 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. @@ -50765,7 +51582,7 @@ paths: - page_url - commit_sha - commit_url - - &656 + - &660 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -50785,7 +51602,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &657 + - &661 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -50805,7 +51622,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &658 + - &662 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -50825,7 +51642,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &659 + - &663 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -50839,7 +51656,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &660 + - &664 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -50853,7 +51670,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &661 + - &665 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -50867,7 +51684,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &662 + - &666 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. @@ -50887,7 +51704,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &663 + - &667 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. @@ -50907,7 +51724,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &664 + - &668 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. @@ -50927,7 +51744,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &665 + - &669 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. @@ -50947,7 +51764,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &666 + - &670 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 request. @@ -51210,7 +52027,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &335 + pattern_config_version: &342 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -51219,7 +52036,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &334 + items: &341 type: object properties: token_type: @@ -51285,7 +52102,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *334 + items: *341 examples: default: value: @@ -51342,7 +52159,7 @@ paths: schema: type: object properties: - pattern_config_version: *335 + pattern_config_version: *342 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -51368,7 +52185,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *335 + custom_pattern_version: *342 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -51466,7 +52283,7 @@ paths: application/json: schema: type: array - items: &670 + items: &674 description: A repository security advisory. type: object properties: @@ -51668,7 +52485,7 @@ paths: login: type: string description: The username of the user credited. - type: *336 + type: *343 credits_detailed: type: array nullable: true @@ -51678,7 +52495,7 @@ paths: type: object properties: user: *4 - type: *336 + type: *343 state: type: string description: The state of the user's acceptance of the @@ -51702,7 +52519,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *201 + items: *208 private_fork: readOnly: true nullable: true @@ -51738,7 +52555,7 @@ paths: - private_fork additionalProperties: false examples: - default: &671 + default: &675 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -52125,7 +52942,7 @@ paths: application/json: schema: type: array - items: *337 + items: *344 examples: default: value: @@ -52478,7 +53295,7 @@ paths: type: integer network_configurations: type: array - items: &338 + items: &345 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -52624,9 +53441,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *345 examples: - default: &339 + default: &346 value: id: 123456789ABCDEF name: My network configuration @@ -52655,7 +53472,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *78 - - &340 + - &347 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -52667,9 +53484,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *345 examples: - default: *339 + default: *346 headers: Link: *70 x-github: @@ -52691,7 +53508,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *78 - - *340 + - *347 requestBody: required: true content: @@ -52744,9 +53561,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *345 examples: - default: *339 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52766,7 +53583,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *78 - - *340 + - *347 responses: '204': description: Response @@ -52906,13 +53723,13 @@ paths: application/json: schema: type: array - items: *341 + items: *348 examples: - default: *342 + default: *349 '500': *55 '403': *29 '404': *6 - '422': *343 + '422': *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52952,9 +53769,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: *265 + default: *272 headers: Link: *70 '403': *29 @@ -53040,7 +53857,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &351 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -53103,8 +53920,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *263 - required: *264 + properties: *270 + required: *271 nullable: true members_count: type: integer @@ -53367,7 +54184,7 @@ paths: - repos_count - organization examples: - default: &345 + default: &352 value: id: 1 node_id: MDQ6VGVhbTE= @@ -53444,9 +54261,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *351 examples: - default: *345 + default: *352 '404': *6 x-github: githubCloudOnly: false @@ -53530,16 +54347,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *344 + schema: *351 examples: - default: *345 + default: *352 '201': description: Response content: application/json: - schema: *344 + schema: *351 examples: - default: *345 + default: *352 '404': *6 '422': *15 '403': *29 @@ -53569,7 +54386,7 @@ paths: responses: '204': description: Response - '422': &346 + '422': &353 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -53603,12 +54420,12 @@ paths: application/json: schema: type: array - items: *242 + items: *249 examples: - default: *243 + default: *250 headers: Link: *70 - '422': *346 + '422': *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53690,7 +54507,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &354 title: Team Membership description: Team Membership type: object @@ -53717,7 +54534,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &686 + response-if-user-is-a-team-maintainer: &690 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -53780,9 +54597,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *354 examples: - response-if-users-membership-with-team-is-now-pending: &687 + response-if-users-membership-with-team-is-now-pending: &691 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -53858,7 +54675,7 @@ paths: type: array items: *161 examples: - default: *279 + default: *286 headers: Link: *70 x-github: @@ -53889,14 +54706,14 @@ paths: parameters: - *78 - *80 - - *348 - - *349 + - *355 + - *356 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &688 + schema: &692 title: Team Repository description: A team's access to a repository. type: object @@ -54460,8 +55277,8 @@ paths: parameters: - *78 - *80 - - *348 - - *349 + - *355 + - *356 requestBody: required: false content: @@ -54508,8 +55325,8 @@ paths: parameters: - *78 - *80 - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -54544,9 +55361,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - response-if-child-teams-exist: &689 + response-if-child-teams-exist: &693 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -54700,7 +55517,7 @@ paths: resources: type: object properties: - core: &350 + core: &357 title: Rate Limit type: object properties: @@ -54717,17 +55534,17 @@ paths: - remaining - reset - used - graphql: *350 - search: *350 - code_search: *350 - source_import: *350 - integration_manifest: *350 - code_scanning_upload: *350 - actions_runner_registration: *350 - scim: *350 - dependency_snapshots: *350 - dependency_sbom: *350 - code_scanning_autofix: *350 + graphql: *357 + search: *357 + code_search: *357 + source_import: *357 + integration_manifest: *357 + code_scanning_upload: *357 + actions_runner_registration: *357 + scim: *357 + dependency_snapshots: *357 + dependency_sbom: *357 + code_scanning_autofix: *357 required: - core - search @@ -54829,14 +55646,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *351 + schema: *358 examples: default-response: summary: Default response @@ -55340,7 +56157,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *352 + '301': *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55358,8 +56175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: false content: @@ -55657,10 +56474,10 @@ paths: description: Response content: application/json: - schema: *351 + schema: *358 examples: - default: *353 - '307': &354 + default: *360 + '307': &361 description: Temporary Redirect content: application/json: @@ -55689,8 +56506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -55712,7 +56529,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *354 + '307': *361 '404': *6 '409': *54 x-github: @@ -55736,11 +56553,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 - - &387 + - &393 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -55763,7 +56580,7 @@ paths: type: integer artifacts: type: array - items: &355 + items: &362 title: Artifact description: An artifact type: object @@ -55841,7 +56658,7 @@ paths: - expires_at - updated_at examples: - default: &388 + default: &394 value: total_count: 2 artifacts: @@ -55902,9 +56719,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *348 - - *349 - - &356 + - *355 + - *356 + - &363 name: artifact_id description: The unique identifier of the artifact. in: path @@ -55916,7 +56733,7 @@ paths: description: Response content: application/json: - schema: *355 + schema: *362 examples: default: value: @@ -55954,9 +56771,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *348 - - *349 + - *355 - *356 + - *363 responses: '204': description: Response @@ -55980,9 +56797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *348 - - *349 + - *355 - *356 + - *363 - name: archive_format in: path required: true @@ -55992,11 +56809,11 @@ paths: '302': description: Response headers: - Location: &510 + Location: &516 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': &551 + '410': &555 description: Gone content: application/json: @@ -56021,14 +56838,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: &357 + schema: &364 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -56061,13 +56878,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: application/json: - schema: *357 + schema: *364 examples: selected_actions: *42 responses: @@ -56096,14 +56913,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: &358 + schema: &365 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -56136,13 +56953,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: application/json: - schema: *358 + schema: *365 examples: selected_actions: *44 responses: @@ -56173,14 +56990,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *359 + schema: *366 examples: default: value: @@ -56206,11 +57023,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 - - &360 + - &367 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 @@ -56244,7 +57061,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &368 title: Repository actions caches description: Repository actions caches type: object @@ -56286,7 +57103,7 @@ paths: - total_count - actions_caches examples: - default: &362 + default: &369 value: total_count: 1 actions_caches: @@ -56318,23 +57135,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: - - *348 - - *349 + - *355 + - *356 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *360 + - *367 responses: '200': description: Response content: application/json: - schema: *361 + schema: *368 examples: - default: *362 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56354,8 +57171,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: - - *348 - - *349 + - *355 + - *356 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -56384,8 +57201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *48 responses: @@ -56467,8 +57284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -56620,9 +57437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *348 - - *349 - - &363 + - *355 + - *356 + - &370 name: job_id description: The unique identifier of the job. in: path @@ -56634,7 +57451,7 @@ paths: description: Response content: application/json: - schema: &391 + schema: &397 title: Job description: Information of a job execution in a workflow run type: object @@ -56941,9 +57758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *348 - - *349 - - *363 + - *355 + - *356 + - *370 responses: '302': description: Response @@ -56971,9 +57788,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *348 - - *349 - - *363 + - *355 + - *356 + - *370 requestBody: required: false content: @@ -57023,8 +57840,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: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Status response @@ -57083,8 +57900,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: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -57152,8 +57969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -57171,7 +57988,7 @@ paths: type: integer secrets: type: array - items: &393 + items: &399 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -57191,7 +58008,7 @@ paths: - created_at - updated_at examples: - default: &394 + default: &400 value: total_count: 2 secrets: @@ -57224,9 +58041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *348 - - *349 - - *364 + - *355 + - *356 + - *178 - *19 responses: '200': @@ -57243,7 +58060,7 @@ paths: type: integer variables: type: array - items: &397 + items: &401 title: Actions Variable type: object properties: @@ -57273,7 +58090,7 @@ paths: - created_at - updated_at examples: - default: &398 + default: &402 value: total_count: 2 variables: @@ -57306,8 +58123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -57316,11 +58133,11 @@ paths: schema: type: object properties: - enabled: &366 + enabled: &372 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *146 - selected_actions_url: *365 + selected_actions_url: *371 sha_pinning_required: *147 required: - enabled @@ -57349,8 +58166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -57361,7 +58178,7 @@ paths: schema: type: object properties: - enabled: *366 + enabled: *372 allowed_actions: *146 sha_pinning_required: *147 required: @@ -57393,14 +58210,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: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: &367 + schema: &373 type: object properties: access_level: @@ -57417,7 +58234,7 @@ paths: required: - access_level examples: - default: &368 + default: &374 value: access_level: organization x-github: @@ -57441,15 +58258,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: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: application/json: - schema: *367 + schema: *373 examples: - default: *368 + default: *374 responses: '204': description: Response @@ -57473,14 +58290,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *369 + schema: *375 examples: default: value: @@ -57504,8 +58321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Empty response for successful settings update @@ -57515,7 +58332,7 @@ paths: required: true content: application/json: - schema: *370 + schema: *376 examples: default: summary: Set retention days @@ -57539,8 +58356,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -57548,7 +58365,7 @@ paths: application/json: schema: *148 examples: - default: *371 + default: *377 '404': *6 x-github: enabledForGitHubApps: true @@ -57567,8 +58384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -57602,14 +58419,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: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *372 + schema: *378 examples: default: *149 '403': *29 @@ -57631,13 +58448,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: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: application/json: - schema: *373 + schema: *379 examples: default: *149 responses: @@ -57663,8 +58480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -57691,8 +58508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -57724,14 +58541,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *374 + schema: *380 examples: default: *156 x-github: @@ -57754,8 +58571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Success response @@ -57766,7 +58583,7 @@ paths: required: true content: application/json: - schema: *375 + schema: *381 examples: default: *156 x-github: @@ -57795,8 +58612,8 @@ paths: in: query schema: type: string - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -57840,8 +58657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -57849,9 +58666,9 @@ paths: application/json: schema: type: array - items: *376 + items: *382 examples: - default: *377 + default: *383 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57873,8 +58690,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: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -57917,7 +58734,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *378 + '201': *384 '404': *6 '422': *7 '409': *54 @@ -57948,8 +58765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '201': description: Response @@ -57957,7 +58774,7 @@ paths: application/json: schema: *165 examples: - default: *379 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57985,8 +58802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '201': description: Response @@ -57994,7 +58811,7 @@ paths: application/json: schema: *165 examples: - default: *380 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58016,8 +58833,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: - - *348 - - *349 + - *355 + - *356 - *162 responses: '200': @@ -58026,7 +58843,7 @@ paths: application/json: schema: *163 examples: - default: *381 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58047,8 +58864,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: - - *348 - - *349 + - *355 + - *356 - *162 responses: '204': @@ -58075,8 +58892,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: - - *348 - - *349 + - *355 + - *356 - *162 responses: '200': *167 @@ -58101,8 +58918,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: - - *348 - - *349 + - *355 + - *356 - *162 requestBody: required: true @@ -58151,8 +58968,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: - - *348 - - *349 + - *355 + - *356 - *162 requestBody: required: true @@ -58202,11 +59019,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: - - *348 - - *349 + - *355 + - *356 - *162 responses: - '200': *382 + '200': *388 '404': *6 x-github: githubCloudOnly: false @@ -58233,10 +59050,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: - - *348 - - *349 + - *355 + - *356 - *162 - - *383 + - *389 responses: '200': *167 '404': *6 @@ -58264,9 +59081,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *348 - - *349 - - &401 + - *355 + - *356 + - &405 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. @@ -58274,7 +59091,7 @@ paths: required: false schema: type: string - - &402 + - &406 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -58282,7 +59099,7 @@ paths: required: false schema: type: string - - &403 + - &407 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -58291,7 +59108,7 @@ paths: required: false schema: type: string - - &404 + - &408 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 @@ -58318,7 +59135,7 @@ paths: - pending - *17 - *19 - - &405 + - &409 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)." @@ -58327,7 +59144,7 @@ paths: schema: type: string format: date-time - - &384 + - &390 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -58336,13 +59153,13 @@ paths: schema: type: boolean default: false - - &406 + - &410 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &407 + - &411 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -58365,7 +59182,7 @@ paths: type: integer workflow_runs: type: array - items: &385 + items: &391 title: Workflow Run description: An invocation of a workflow type: object @@ -58513,7 +59330,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &429 + properties: &435 id: type: string description: SHA for the commit @@ -58564,7 +59381,7 @@ paths: - name - email nullable: true - required: &430 + required: &436 - id - tree_id - message @@ -58611,7 +59428,7 @@ paths: - workflow_url - pull_requests examples: - default: &408 + default: &412 value: total_count: 1 workflow_runs: @@ -58847,24 +59664,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *348 - - *349 - - &386 + - *355 + - *356 + - &392 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *384 + - *390 responses: '200': description: Response content: application/json: - schema: *385 + schema: *391 examples: - default: &389 + default: &395 value: id: 30433642 name: Build @@ -59105,9 +59922,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 responses: '204': description: Response @@ -59130,9 +59947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 responses: '200': description: Response @@ -59251,9 +60068,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: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 responses: '201': description: Response @@ -59286,12 +60103,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 - *17 - *19 - - *387 + - *393 - *62 responses: '200': @@ -59308,9 +60125,9 @@ paths: type: integer artifacts: type: array - items: *355 + items: *362 examples: - default: *388 + default: *394 headers: Link: *70 x-github: @@ -59334,25 +60151,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *348 - - *349 - - *386 - - &390 + - *355 + - *356 + - *392 + - &396 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *384 + - *390 responses: '200': description: Response content: application/json: - schema: *385 + schema: *391 examples: - default: *389 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59375,10 +60192,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *348 - - *349 - - *386 - - *390 + - *355 + - *356 + - *392 + - *396 - *17 - *19 responses: @@ -59396,9 +60213,9 @@ paths: type: integer jobs: type: array - items: *391 + items: *397 examples: - default: &392 + default: &398 value: total_count: 1 jobs: @@ -59511,10 +60328,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *348 - - *349 - - *386 - - *390 + - *355 + - *356 + - *392 + - *396 responses: '302': description: Response @@ -59542,9 +60359,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 responses: '202': description: Response @@ -59590,9 +60407,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 - *17 - *47 - *48 @@ -59763,9 +60580,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: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 requestBody: required: true content: @@ -59832,9 +60649,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 responses: '202': description: Response @@ -59867,9 +60684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 - 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 @@ -59899,9 +60716,9 @@ paths: type: integer jobs: type: array - items: *391 + items: *397 examples: - default: *392 + default: *398 headers: Link: *70 x-github: @@ -59926,9 +60743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 responses: '302': description: Response @@ -59955,9 +60772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 responses: '204': description: Response @@ -59984,9 +60801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 responses: '200': description: Response @@ -60046,7 +60863,7 @@ paths: items: type: object properties: - type: &517 + type: &523 type: string description: The type of reviewer. enum: @@ -60056,7 +60873,7 @@ paths: reviewer: anyOf: - *4 - - *201 + - *208 required: - environment - wait_timer @@ -60131,9 +60948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 requestBody: required: true content: @@ -60180,12 +60997,12 @@ paths: application/json: schema: type: array - items: &512 + items: &518 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &760 + properties: &764 url: type: string format: uri @@ -60270,7 +61087,7 @@ paths: nullable: true properties: *83 required: *84 - required: &761 + required: &765 - id - node_id - sha @@ -60286,7 +61103,7 @@ paths: - created_at - updated_at examples: - default: &513 + default: &519 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -60342,9 +61159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 requestBody: required: false content: @@ -60388,9 +61205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 requestBody: required: false content: @@ -60443,9 +61260,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *348 - - *349 - - *386 + - *355 + - *356 + - *392 responses: '200': description: Response @@ -60582,8 +61399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -60601,9 +61418,9 @@ paths: type: integer secrets: type: array - items: *393 + items: *399 examples: - default: *394 + default: *400 headers: Link: *70 x-github: @@ -60628,16 +61445,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *395 + schema: *175 examples: - default: *396 + default: *176 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60659,17 +61476,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *348 - - *349 + - *355 + - *356 - *169 responses: '200': description: Response content: application/json: - schema: *393 + schema: *399 examples: - default: &530 + default: &413 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -60695,8 +61512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *348 - - *349 + - *355 + - *356 - *169 requestBody: required: true @@ -60754,8 +61571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *348 - - *349 + - *355 + - *356 - *169 responses: '204': @@ -60781,9 +61598,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *348 - - *349 - - *364 + - *355 + - *356 + - *178 - *19 responses: '200': @@ -60800,9 +61617,9 @@ paths: type: integer variables: type: array - items: *397 + items: *401 examples: - default: *398 + default: *402 headers: Link: *70 x-github: @@ -60825,8 +61642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -60878,17 +61695,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *348 - - *349 + - *355 + - *356 - *172 responses: '200': description: Response content: application/json: - schema: *397 + schema: *401 examples: - default: &531 + default: &414 value: name: USERNAME value: octocat @@ -60914,8 +61731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *348 - - *349 + - *355 + - *356 - *172 requestBody: required: true @@ -60958,8 +61775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *348 - - *349 + - *355 + - *356 - *172 responses: '204': @@ -60985,8 +61802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -61004,7 +61821,7 @@ paths: type: integer workflows: type: array - items: &399 + items: &403 title: Workflow description: A GitHub Actions workflow type: object @@ -61111,9 +61928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *348 - - *349 - - &400 + - *355 + - *356 + - &404 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -61128,7 +61945,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *403 examples: default: value: @@ -61161,9 +61978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *348 - - *349 - - *400 + - *355 + - *356 + - *404 responses: '204': description: Response @@ -61188,9 +62005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *348 - - *349 - - *400 + - *355 + - *356 + - *404 responses: '200': description: Response including the workflow run ID and URLs. @@ -61270,9 +62087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *348 - - *349 - - *400 + - *355 + - *356 + - *404 responses: '204': description: Response @@ -61299,19 +62116,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *348 - - *349 - - *400 - - *401 - - *402 - - *403 + - *355 + - *356 - *404 - - *17 - - *19 - *405 - - *384 - *406 - *407 + - *408 + - *17 + - *19 + - *409 + - *390 + - *410 + - *411 responses: '200': description: Response @@ -61327,9 +62144,9 @@ paths: type: integer workflow_runs: type: array - items: *385 + items: *391 examples: - default: *408 + default: *412 headers: Link: *70 x-github: @@ -61361,9 +62178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *348 - - *349 - - *400 + - *355 + - *356 + - *404 responses: '200': description: Response @@ -61424,8 +62241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *348 - - *349 + - *355 + - *356 - *62 - *17 - *47 @@ -61577,6 +62394,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: + - *355 + - *356 + - *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: *399 + examples: + default: *400 + headers: + Link: *70 + 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: + - *355 + - *356 + - *178 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *401 + examples: + default: *402 + headers: + Link: *70 + 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: + - *355 + - *356 + - *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: *399 + examples: + default: *400 + headers: + Link: *70 + 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: + - *355 + - *356 + responses: + '200': + description: Response + content: + application/json: + schema: *175 + examples: + default: *176 + 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: + - *355 + - *356 + - *169 + responses: + '200': + description: Response + content: + application/json: + schema: *399 + examples: + default: *413 + 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: + - *355 + - *356 + - *169 + 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: *170 + 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: + - *355 + - *356 + - *169 + 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: + - *355 + - *356 + - *178 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *401 + examples: + default: *402 + headers: + Link: *70 + 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: + - *355 + - *356 + 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: *170 + 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: + - *355 + - *356 + - *172 + responses: + '200': + description: Response + content: + application/json: + schema: *401 + examples: + default: *414 + 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: + - *355 + - *356 + - *172 + 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: + - *355 + - *356 + - *172 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables "/repos/{owner}/{repo}/assignees": get: summary: List assignees @@ -61589,8 +62892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -61627,8 +62930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *348 - - *349 + - *355 + - *356 - name: assignee in: path required: true @@ -61664,8 +62967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -61775,8 +63078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *47 - *48 @@ -61817,7 +63120,7 @@ paths: initiator: type: string examples: - default: *409 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61837,8 +63140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -61846,7 +63149,7 @@ paths: application/json: schema: type: array - items: &410 + items: &416 title: Autolink reference description: An autolink reference. type: object @@ -61900,8 +63203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -61940,9 +63243,9 @@ paths: description: response content: application/json: - schema: *410 + schema: *416 examples: - default: &411 + default: &417 value: id: 1 key_prefix: TICKET- @@ -61973,9 +63276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *348 - - *349 - - &412 + - *355 + - *356 + - &418 name: autolink_id description: The unique identifier of the autolink. in: path @@ -61987,9 +63290,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *416 examples: - default: *411 + default: *417 '404': *6 x-github: githubCloudOnly: false @@ -62009,9 +63312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *348 - - *349 - - *412 + - *355 + - *356 + - *418 responses: '204': description: Response @@ -62035,8 +63338,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: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response if Dependabot is enabled @@ -62084,8 +63387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -62106,8 +63409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -62127,8 +63430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *348 - - *349 + - *355 + - *356 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -62166,7 +63469,7 @@ paths: - url protected: type: boolean - protection: &414 + protection: &420 title: Branch Protection description: Branch Protection type: object @@ -62208,7 +63511,7 @@ paths: required: - contexts - checks - enforce_admins: &417 + enforce_admins: &423 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -62223,7 +63526,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &419 + required_pull_request_reviews: &425 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -62244,7 +63547,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *201 + items: *208 apps: description: The list of apps with review dismissal access. @@ -62273,7 +63576,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *201 + items: *208 apps: description: The list of apps allowed to bypass pull request requirements. @@ -62299,7 +63602,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &416 + restrictions: &422 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -62362,7 +63665,7 @@ paths: type: string teams: type: array - items: *201 + items: *208 apps: type: array items: @@ -62576,9 +63879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *348 - - *349 - - &415 + - *355 + - *356 + - &421 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). @@ -62592,14 +63895,14 @@ paths: description: Response content: application/json: - schema: &425 + schema: &431 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &482 + commit: &488 title: Commit description: Commit type: object @@ -62633,7 +63936,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &413 + properties: &419 name: type: string example: '"Chris Wanstrath"' @@ -62649,7 +63952,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *413 + properties: *419 nullable: true message: type: string @@ -62670,7 +63973,7 @@ paths: required: - sha - url - verification: &537 + verification: &541 title: Verification type: object properties: @@ -62740,7 +64043,7 @@ paths: type: integer files: type: array - items: &495 + items: &501 title: Diff Entry description: Diff Entry type: object @@ -62824,7 +64127,7 @@ paths: - self protected: type: boolean - protection: *414 + protection: *420 protection_url: type: string format: uri @@ -62931,7 +64234,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *352 + '301': *359 '404': *6 x-github: githubCloudOnly: false @@ -62953,15 +64256,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response content: application/json: - schema: *414 + schema: *420 examples: default: value: @@ -63155,9 +64458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: true content: @@ -63412,7 +64715,7 @@ paths: url: type: string format: uri - required_status_checks: &422 + required_status_checks: &428 title: Status Check Policy description: Status Check Policy type: object @@ -63488,7 +64791,7 @@ paths: items: *4 teams: type: array - items: *201 + items: *208 apps: type: array items: *5 @@ -63506,7 +64809,7 @@ paths: items: *4 teams: type: array - items: *201 + items: *208 apps: type: array items: *5 @@ -63564,7 +64867,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *416 + restrictions: *422 required_conversation_resolution: type: object properties: @@ -63676,9 +64979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '204': description: Response @@ -63703,17 +65006,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response content: application/json: - schema: *417 + schema: *423 examples: - default: &418 + default: &424 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -63735,17 +65038,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response content: application/json: - schema: *417 + schema: *423 examples: - default: *418 + default: *424 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63764,9 +65067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '204': description: Response @@ -63791,17 +65094,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response content: application/json: - schema: *419 + schema: *425 examples: - default: &420 + default: &426 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -63897,9 +65200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: false content: @@ -63997,9 +65300,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *425 examples: - default: *420 + default: *426 '422': *15 x-github: githubCloudOnly: false @@ -64020,9 +65323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '204': description: Response @@ -64049,17 +65352,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response content: application/json: - schema: *417 + schema: *423 examples: - default: &421 + default: &427 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -64082,17 +65385,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response content: application/json: - schema: *417 + schema: *423 examples: - default: *421 + default: *427 '404': *6 x-github: githubCloudOnly: false @@ -64112,9 +65415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '204': description: Response @@ -64139,17 +65442,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response content: application/json: - schema: *422 + schema: *428 examples: - default: &423 + default: &429 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -64175,9 +65478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: false content: @@ -64229,9 +65532,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *428 examples: - default: *423 + default: *429 '404': *6 '422': *15 x-github: @@ -64253,9 +65556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '204': description: Response @@ -64279,9 +65582,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response @@ -64315,9 +65618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: false content: @@ -64384,9 +65687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: false content: @@ -64450,9 +65753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: content: application/json: @@ -64518,15 +65821,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response content: application/json: - schema: *416 + schema: *422 examples: default: value: @@ -64617,9 +65920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '204': description: Response @@ -64642,9 +65945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response @@ -64654,7 +65957,7 @@ paths: type: array items: *5 examples: - default: &424 + default: &430 value: - id: 1 slug: octoapp @@ -64711,9 +66014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: true content: @@ -64747,7 +66050,7 @@ paths: type: array items: *5 examples: - default: *424 + default: *430 '422': *15 x-github: githubCloudOnly: false @@ -64768,9 +66071,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: true content: @@ -64804,7 +66107,7 @@ paths: type: array items: *5 examples: - default: *424 + default: *430 '422': *15 x-github: githubCloudOnly: false @@ -64825,9 +66128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: true content: @@ -64861,7 +66164,7 @@ paths: type: array items: *5 examples: - default: *424 + default: *430 '422': *15 x-github: githubCloudOnly: false @@ -64883,9 +66186,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response @@ -64893,9 +66196,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: *265 + default: *272 '404': *6 x-github: githubCloudOnly: false @@ -64915,9 +66218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: false content: @@ -64953,9 +66256,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: *265 + default: *272 '422': *15 x-github: githubCloudOnly: false @@ -64976,9 +66279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: false content: @@ -65014,9 +66317,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: *265 + default: *272 '422': *15 x-github: githubCloudOnly: false @@ -65037,9 +66340,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: content: application/json: @@ -65074,9 +66377,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: *265 + default: *272 '422': *15 x-github: githubCloudOnly: false @@ -65098,9 +66401,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 responses: '200': description: Response @@ -65134,9 +66437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: true content: @@ -65194,9 +66497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: true content: @@ -65254,9 +66557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: true content: @@ -65316,9 +66619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 requestBody: required: true content: @@ -65340,7 +66643,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *431 examples: default: value: @@ -65456,8 +66759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -65736,7 +67039,7 @@ paths: description: Response content: application/json: - schema: &426 + schema: &432 title: CheckRun description: A check performed on the code of a given code change type: object @@ -65856,7 +67159,7 @@ paths: check. type: array items: *93 - deployment: &753 + deployment: &757 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -66136,9 +67439,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *348 - - *349 - - &427 + - *355 + - *356 + - &433 name: check_run_id description: The unique identifier of the check run. in: path @@ -66150,9 +67453,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *432 examples: - default: &428 + default: &434 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -66252,9 +67555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *348 - - *349 - - *427 + - *355 + - *356 + - *433 requestBody: required: true content: @@ -66494,9 +67797,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *432 examples: - default: *428 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66516,9 +67819,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *348 - - *349 - - *427 + - *355 + - *356 + - *433 - *17 - *19 responses: @@ -66613,9 +67916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *348 - - *349 - - *427 + - *355 + - *356 + - *433 responses: '201': description: Response @@ -66659,8 +67962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -66682,7 +67985,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &431 + schema: &437 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -66768,12 +68071,12 @@ paths: type: string format: date-time nullable: true - head_commit: &781 + head_commit: &785 title: Simple Commit description: A commit. type: object - properties: *429 - required: *430 + properties: *435 + required: *436 latest_check_runs_count: type: integer check_runs_url: @@ -66801,7 +68104,7 @@ paths: - check_runs_url - pull_requests examples: - default: &432 + default: &438 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -67092,9 +68395,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *431 + schema: *437 examples: - default: *432 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67113,8 +68416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -67423,9 +68726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *348 - - *349 - - &433 + - *355 + - *356 + - &439 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -67437,9 +68740,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *437 examples: - default: *432 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67462,17 +68765,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *348 - - *349 - - *433 - - &488 + - *355 + - *356 + - *439 + - &494 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &489 + - &495 name: status description: Returns check runs with the specified `status`. in: query @@ -67511,9 +68814,9 @@ paths: type: integer check_runs: type: array - items: *426 + items: *432 examples: - default: &490 + default: &496 value: total_count: 1 check_runs: @@ -67615,9 +68918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *348 - - *349 - - *433 + - *355 + - *356 + - *439 responses: '201': description: Response @@ -67650,21 +68953,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *348 - - *349 - - *434 - - *435 + - *355 + - *356 + - *440 + - *441 - *19 - *17 - - &452 + - &458 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: *436 - - &453 + schema: *442 + - &459 name: pr description: The number of the pull request for the results you want to list. in: query @@ -67689,13 +68992,13 @@ paths: be returned. in: query required: false - schema: *437 + schema: *443 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *438 + schema: *444 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -67714,14 +69017,14 @@ paths: items: type: object properties: - number: *179 - created_at: *180 - updated_at: *181 - url: *182 - html_url: *183 - instances_url: *439 - state: *188 - fixed_at: *184 + number: *186 + created_at: *187 + updated_at: *188 + url: *189 + html_url: *190 + instances_url: *445 + state: *195 + fixed_at: *191 dismissed_by: title: Simple User description: A GitHub user. @@ -67729,12 +69032,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *185 - dismissed_reason: *440 - dismissed_comment: *441 - rule: *442 - tool: *443 - most_recent_instance: *444 + dismissed_at: *192 + dismissed_reason: *446 + dismissed_comment: *447 + rule: *448 + tool: *449 + most_recent_instance: *450 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -67860,7 +69163,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &445 + '403': &451 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -67887,9 +69190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *348 - - *349 - - &446 + - *355 + - *356 + - &452 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -67897,23 +69200,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *179 + schema: *186 responses: '200': description: Response content: application/json: - schema: &447 + schema: &453 type: object properties: - number: *179 - created_at: *180 - updated_at: *181 - url: *182 - html_url: *183 - instances_url: *439 - state: *188 - fixed_at: *184 + number: *186 + created_at: *187 + updated_at: *188 + url: *189 + html_url: *190 + instances_url: *445 + state: *195 + fixed_at: *191 dismissed_by: title: Simple User description: A GitHub user. @@ -67921,9 +69224,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *185 - dismissed_reason: *440 - dismissed_comment: *441 + dismissed_at: *192 + dismissed_reason: *446 + dismissed_comment: *447 rule: type: object properties: @@ -67977,8 +69280,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *443 - most_recent_instance: *444 + tool: *449 + most_recent_instance: *450 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -68077,7 +69380,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *445 + '403': *451 '404': *6 '503': *122 x-github: @@ -68097,9 +69400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *348 - - *349 - - *446 + - *355 + - *356 + - *452 requestBody: required: true content: @@ -68114,8 +69417,8 @@ paths: enum: - open - dismissed - dismissed_reason: *440 - dismissed_comment: *441 + dismissed_reason: *446 + dismissed_comment: *447 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -68143,7 +69446,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *453 examples: default: value: @@ -68219,7 +69522,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &451 + '403': &457 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -68246,15 +69549,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: - - *348 - - *349 - - *446 + - *355 + - *356 + - *452 responses: '200': description: Response content: application/json: - schema: &448 + schema: &454 type: object properties: status: @@ -68280,13 +69583,13 @@ paths: - description - started_at examples: - default: &449 + default: &455 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &450 + '400': &456 description: Bad Request content: application/json: @@ -68297,7 +69600,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': *445 + '403': *451 '404': *6 '503': *122 x-github: @@ -68322,29 +69625,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: - - *348 - - *349 - - *446 + - *355 + - *356 + - *452 responses: '200': description: OK content: application/json: - schema: *448 + schema: *454 examples: - default: *449 + default: *455 '202': description: Accepted content: application/json: - schema: *448 + schema: *454 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *450 + '400': *456 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -68376,9 +69679,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: - - *348 - - *349 - - *446 + - *355 + - *356 + - *452 requestBody: required: false content: @@ -68423,8 +69726,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *450 - '403': *451 + '400': *456 + '403': *457 '404': *6 '422': description: Unprocessable Entity @@ -68448,13 +69751,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *348 - - *349 - - *446 + - *355 + - *356 + - *452 - *19 - *17 - - *452 - - *453 + - *458 + - *459 responses: '200': description: Response @@ -68465,10 +69768,10 @@ paths: items: type: object properties: - ref: *436 - analysis_key: *454 - environment: *455 - category: *456 + ref: *442 + analysis_key: *460 + environment: *461 + category: *462 state: type: string description: State of a code scanning alert instance. @@ -68483,7 +69786,7 @@ paths: properties: text: type: string - location: *457 + location: *463 html_url: type: string classifications: @@ -68491,7 +69794,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: *458 + items: *464 examples: default: value: @@ -68528,7 +69831,7 @@ paths: end_column: 50 classifications: - source - '403': *445 + '403': *451 '404': *6 '503': *122 x-github: @@ -68562,25 +69865,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *348 - - *349 - - *434 - - *435 + - *355 + - *356 + - *440 + - *441 - *19 - *17 - - *453 + - *459 - 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: *436 + schema: *442 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &459 + schema: &465 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -68601,23 +69904,23 @@ paths: application/json: schema: type: array - items: &460 + items: &466 type: object properties: - ref: *436 - commit_sha: &468 + ref: *442 + commit_sha: &474 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: *454 + analysis_key: *460 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *456 + category: *462 error: type: string example: error reading field xyz @@ -68641,8 +69944,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *459 - tool: *443 + sarif_id: *465 + tool: *449 deletable: type: boolean warning: @@ -68703,7 +70006,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *445 + '403': *451 '404': *6 '503': *122 x-github: @@ -68739,8 +70042,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: - - *348 - - *349 + - *355 + - *356 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -68753,7 +70056,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *466 examples: response: summary: application/json response @@ -68807,7 +70110,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *445 + '403': *451 '404': *6 '422': description: Response if analysis could not be processed @@ -68894,8 +70197,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: - - *348 - - *349 + - *355 + - *356 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -68948,7 +70251,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': *451 + '403': *457 '404': *6 '503': *122 x-github: @@ -68970,8 +70273,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -68979,7 +70282,7 @@ paths: application/json: schema: type: array - items: &461 + items: &467 title: CodeQL Database description: A CodeQL database. type: object @@ -69090,7 +70393,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': *445 + '403': *451 '404': *6 '503': *122 x-github: @@ -69119,8 +70422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - name: language in: path description: The language of the CodeQL database. @@ -69132,7 +70435,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *467 examples: default: value: @@ -69164,9 +70467,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': &499 + '302': &505 description: Found - '403': *445 + '403': *451 '404': *6 '503': *122 x-github: @@ -69188,8 +70491,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *348 - - *349 + - *355 + - *356 - name: language in: path description: The language of the CodeQL database. @@ -69199,7 +70502,7 @@ paths: responses: '204': description: Response - '403': *451 + '403': *457 '404': *6 '503': *122 x-github: @@ -69227,8 +70530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -69237,7 +70540,7 @@ paths: type: object additionalProperties: false properties: - language: &462 + language: &468 type: string description: The language targeted by the CodeQL query enum: @@ -69317,7 +70620,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &466 + schema: &472 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -69327,7 +70630,7 @@ paths: description: The ID of the variant analysis. controller_repo: *67 actor: *4 - query_language: *462 + query_language: *468 query_pack_url: type: string description: The download url for the query pack. @@ -69374,7 +70677,7 @@ paths: items: type: object properties: - repository: &463 + repository: &469 title: Repository Identifier description: Repository Identifier type: object @@ -69410,7 +70713,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &467 + analysis_status: &473 type: string description: The new status of the CodeQL variant analysis repository task. @@ -69442,7 +70745,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &464 + access_mismatch_repos: &470 type: object properties: repository_count: @@ -69456,7 +70759,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: *463 + items: *469 required: - repository_count - repositories @@ -69478,8 +70781,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *464 - over_limit_repos: *464 + no_codeql_db_repos: *470 + over_limit_repos: *470 required: - access_mismatch_repos - not_found_repos @@ -69495,7 +70798,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &465 + value: &471 summary: Default response value: id: 1 @@ -69641,10 +70944,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *465 + value: *471 repository_lists: summary: Response for a successful variant analysis submission - value: *465 + value: *471 '404': *6 '422': description: Unable to process variant analysis submission @@ -69672,8 +70975,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: - - *348 - - *349 + - *355 + - *356 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -69685,9 +70988,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *472 examples: - default: *465 + default: *471 '404': *6 '503': *122 x-github: @@ -69710,7 +71013,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: - - *348 + - *355 - name: repo in: path description: The name of the controller repository. @@ -69745,7 +71048,7 @@ paths: type: object properties: repository: *67 - analysis_status: *467 + analysis_status: *473 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -69870,8 +71173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -69954,7 +71257,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *445 + '403': *451 '404': *6 '503': *122 x-github: @@ -69975,8 +71278,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -70068,7 +71371,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *451 + '403': *457 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -70139,8 +71442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -70148,7 +71451,7 @@ paths: schema: type: object properties: - commit_sha: *468 + commit_sha: *474 ref: type: string description: |- @@ -70206,7 +71509,7 @@ paths: schema: type: object properties: - id: *459 + id: *465 url: type: string description: The REST API URL for checking the status of the upload. @@ -70220,7 +71523,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': *451 + '403': *457 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -70243,8 +71546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *348 - - *349 + - *355 + - *356 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -70290,7 +71593,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': *445 + '403': *451 '404': description: Not Found if the sarif id does not match any upload '503': *122 @@ -70315,8 +71618,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: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -70397,8 +71700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *348 - - *349 + - *355 + - *356 - 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 @@ -70518,8 +71821,8 @@ paths: parameters: - *17 - *19 - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -70535,7 +71838,7 @@ paths: type: integer codespaces: type: array - items: *253 + items: *260 examples: default: value: @@ -70833,8 +72136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -70897,17 +72200,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '400': *14 '401': *25 '403': *29 @@ -70936,8 +72239,8 @@ paths: parameters: - *17 - *19 - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -71001,8 +72304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -71037,14 +72340,14 @@ paths: type: integer machines: type: array - items: &694 + items: &698 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *470 - required: *471 + properties: *476 + required: *477 examples: - default: &695 + default: &699 value: total_count: 2 machines: @@ -71084,8 +72387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *348 - - *349 + - *355 + - *356 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -71169,8 +72472,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: - - *348 - - *349 + - *355 + - *356 - 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 @@ -71236,8 +72539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -71255,7 +72558,7 @@ paths: type: integer secrets: type: array - items: &475 + items: &481 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -71275,7 +72578,7 @@ paths: - created_at - updated_at examples: - default: *472 + default: *478 headers: Link: *70 x-github: @@ -71298,16 +72601,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *473 + schema: *479 examples: - default: *474 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -71327,17 +72630,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *348 - - *349 + - *355 + - *356 - *169 responses: '200': description: Response content: application/json: - schema: *475 + schema: *481 examples: - default: *476 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71357,8 +72660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *348 - - *349 + - *355 + - *356 - *169 requestBody: required: true @@ -71411,8 +72714,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *348 - - *349 + - *355 + - *356 - *169 responses: '204': @@ -71441,8 +72744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *348 - - *349 + - *355 + - *356 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -71484,7 +72787,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &477 + properties: &483 login: type: string example: octocat @@ -71577,7 +72880,7 @@ paths: user_view_type: type: string example: public - required: &478 + required: &484 - avatar_url - events_url - followers_url @@ -71651,8 +72954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *348 - - *349 + - *355 + - *356 - *74 responses: '204': @@ -71699,8 +73002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *348 - - *349 + - *355 + - *356 - *74 requestBody: required: false @@ -71727,7 +73030,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &550 + schema: &554 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -71956,8 +73259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *348 - - *349 + - *355 + - *356 - *74 responses: '204': @@ -71989,8 +73292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *348 - - *349 + - *355 + - *356 - *74 responses: '200': @@ -72011,8 +73314,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *477 - required: *478 + properties: *483 + required: *484 nullable: true required: - permission @@ -72067,8 +73370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -72078,7 +73381,7 @@ paths: application/json: schema: type: array - items: &479 + items: &485 title: Commit Comment description: Commit Comment type: object @@ -72136,7 +73439,7 @@ paths: - created_at - updated_at examples: - default: &484 + default: &490 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -72195,17 +73498,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 responses: '200': description: Response content: application/json: - schema: *479 + schema: *485 examples: - default: &485 + default: &491 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -72262,8 +73565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 requestBody: required: true @@ -72286,7 +73589,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *485 examples: default: value: @@ -72337,8 +73640,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 responses: '204': @@ -72360,8 +73663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -72388,7 +73691,7 @@ paths: application/json: schema: type: array - items: &480 + items: &486 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -72431,7 +73734,7 @@ paths: - content - created_at examples: - default: &554 + default: &558 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -72476,8 +73779,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 requestBody: required: true @@ -72510,9 +73813,9 @@ paths: description: Reaction exists content: application/json: - schema: *480 + schema: *486 examples: - default: &481 + default: &487 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -72541,9 +73844,9 @@ paths: description: Reaction created content: application/json: - schema: *480 + schema: *486 examples: - default: *481 + default: *487 '422': *15 x-github: githubCloudOnly: false @@ -72565,10 +73868,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *348 - - *349 + - *355 + - *356 - *104 - - &555 + - &559 name: reaction_id description: The unique identifier of the reaction. in: path @@ -72623,8 +73926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *348 - - *349 + - *355 + - *356 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -72680,9 +73983,9 @@ paths: application/json: schema: type: array - items: *482 + items: *488 examples: - default: &606 + default: &610 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -72776,9 +74079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *348 - - *349 - - &483 + - *355 + - *356 + - &489 name: commit_sha description: The SHA of the commit. in: path @@ -72850,9 +74153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *348 - - *349 - - *483 + - *355 + - *356 + - *489 - *17 - *19 responses: @@ -72862,9 +74165,9 @@ paths: application/json: schema: type: array - items: *479 + items: *485 examples: - default: *484 + default: *490 headers: Link: *70 x-github: @@ -72892,9 +74195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *348 - - *349 - - *483 + - *355 + - *356 + - *489 requestBody: required: true content: @@ -72929,9 +74232,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *485 examples: - default: *485 + default: *491 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -72959,9 +74262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *348 - - *349 - - *483 + - *355 + - *356 + - *489 - *17 - *19 responses: @@ -72971,9 +74274,9 @@ paths: application/json: schema: type: array - items: *486 + items: *492 examples: - default: &598 + default: &602 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -73510,11 +74813,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *348 - - *349 + - *355 + - *356 - *19 - *17 - - &487 + - &493 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)" @@ -73529,9 +74832,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *488 examples: - default: &585 + default: &589 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -73619,7 +74922,7 @@ paths: schema: type: string examples: - default: &496 + default: &502 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -73632,7 +74935,7 @@ paths: schema: type: string examples: - default: &497 + default: &503 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -73685,11 +74988,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *348 - - *349 - - *487 - - *488 - - *489 + - *355 + - *356 + - *493 + - *494 + - *495 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -73723,9 +75026,9 @@ paths: type: integer check_runs: type: array - items: *426 + items: *432 examples: - default: *490 + default: *496 headers: Link: *70 x-github: @@ -73750,9 +75053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *348 - - *349 - - *487 + - *355 + - *356 + - *493 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -73760,7 +75063,7 @@ paths: schema: type: integer example: 1 - - *488 + - *494 - *17 - *19 responses: @@ -73778,7 +75081,7 @@ paths: type: integer check_suites: type: array - items: *431 + items: *437 examples: default: value: @@ -73978,9 +75281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *348 - - *349 - - *487 + - *355 + - *356 + - *493 - *17 - *19 responses: @@ -74178,9 +75481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *348 - - *349 - - *487 + - *355 + - *356 + - *493 - *17 - *19 responses: @@ -74190,7 +75493,7 @@ paths: application/json: schema: type: array - items: &675 + items: &679 title: Status description: The status of a commit. type: object @@ -74271,7 +75574,7 @@ paths: site_admin: false headers: Link: *70 - '301': *352 + '301': *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74299,8 +75602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -74329,20 +75632,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *491 - required: *492 + properties: *497 + required: *498 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &493 + properties: &499 url: type: string format: uri html_url: type: string format: uri - required: &494 + required: &500 - url - html_url nullable: true @@ -74356,26 +75659,26 @@ paths: contributing: title: Community Health File type: object - properties: *493 - required: *494 + properties: *499 + required: *500 nullable: true readme: title: Community Health File type: object - properties: *493 - required: *494 + properties: *499 + required: *500 nullable: true issue_template: title: Community Health File type: object - properties: *493 - required: *494 + properties: *499 + required: *500 nullable: true pull_request_template: title: Community Health File type: object - properties: *493 - required: *494 + properties: *499 + required: *500 nullable: true required: - code_of_conduct @@ -74502,8 +75805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *348 - - *349 + - *355 + - *356 - *19 - *17 - name: basehead @@ -74546,8 +75849,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *482 - merge_base_commit: *482 + base_commit: *488 + merge_base_commit: *488 status: type: string enum: @@ -74567,10 +75870,10 @@ paths: example: 6 commits: type: array - items: *482 + items: *488 files: type: array - items: *495 + items: *501 required: - url - html_url @@ -74816,12 +76119,12 @@ paths: schema: type: string examples: - default: *496 + default: *502 application/vnd.github.patch: schema: type: string examples: - default: *497 + default: *503 '404': *6 '500': *55 '503': *122 @@ -74866,8 +76169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *348 - - *349 + - *355 + - *356 - name: path description: path parameter in: path @@ -75027,7 +76330,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &498 + response-if-content-is-a-file-github-object: &504 summary: Response if content is a file value: type: file @@ -75159,7 +76462,7 @@ paths: - size - type - url - - &611 + - &615 title: Content File description: Content File type: object @@ -75360,7 +76663,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *498 + response-if-content-is-a-file: *504 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -75429,7 +76732,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *499 + '302': *505 '304': *37 x-github: githubCloudOnly: false @@ -75452,8 +76755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *348 - - *349 + - *355 + - *356 - name: path description: path parameter in: path @@ -75546,7 +76849,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &506 title: File Commit description: File Commit type: object @@ -75698,7 +77001,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *506 examples: example-for-creating-a-file: value: @@ -75752,7 +77055,7 @@ paths: schema: oneOf: - *3 - - &532 + - &536 description: Repository rule violation was detected type: object properties: @@ -75773,7 +77076,7 @@ paths: items: type: object properties: - placeholder_id: &667 + placeholder_id: &671 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -75805,8 +77108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *348 - - *349 + - *355 + - *356 - name: path description: path parameter in: path @@ -75867,7 +77170,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *506 examples: default: value: @@ -75922,8 +77225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *348 - - *349 + - *355 + - *356 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -76046,24 +77349,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *348 - - *349 - - *203 - - *204 - - *205 - - *206 - - *207 + - *355 + - *356 + - *210 + - *211 + - *212 + - *213 + - *214 - 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 - - *208 - - *501 - - *209 - - *210 - - *211 + - *215 + - *507 + - *216 + - *217 + - *218 - *62 - *47 - *48 @@ -76075,11 +77378,11 @@ paths: application/json: schema: type: array - items: &505 + items: &511 type: object description: A Dependabot alert. properties: - number: *179 + number: *186 state: type: string description: The state of the Dependabot alert. @@ -76122,13 +77425,13 @@ paths: - direct - transitive - inconclusive - security_advisory: *502 + security_advisory: *508 security_vulnerability: *66 - url: *182 - html_url: *183 - created_at: *180 - updated_at: *181 - dismissed_at: *185 + url: *189 + html_url: *190 + created_at: *187 + updated_at: *188 + dismissed_at: *192 dismissed_by: title: Simple User description: A GitHub user. @@ -76152,9 +77455,9 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *184 - auto_dismissed_at: *503 - dismissal_request: *504 + fixed_at: *191 + auto_dismissed_at: *509 + dismissal_request: *510 assignees: type: array description: The users assigned to this alert. @@ -76409,9 +77712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *348 - - *349 - - &506 + - *355 + - *356 + - &512 name: alert_number in: path description: |- @@ -76420,13 +77723,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *179 + schema: *186 responses: '200': description: Response content: application/json: - schema: *505 + schema: *511 examples: default: value: @@ -76558,9 +77861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *348 - - *349 - - *506 + - *355 + - *356 + - *512 requestBody: required: true content: @@ -76616,7 +77919,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *511 examples: default: value: @@ -76746,8 +78049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -76765,7 +78068,7 @@ paths: type: integer secrets: type: array - items: &509 + items: &515 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -76818,16 +78121,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *507 + schema: *513 examples: - default: *508 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76847,15 +78150,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *348 - - *349 + - *355 + - *356 - *169 responses: '200': description: Response content: application/json: - schema: *509 + schema: *515 examples: default: value: @@ -76881,8 +78184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *348 - - *349 + - *355 + - *356 - *169 requestBody: required: true @@ -76935,8 +78238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *348 - - *349 + - *355 + - *356 - *169 responses: '204': @@ -76959,8 +78262,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: - - *348 - - *349 + - *355 + - *356 - 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 @@ -77120,8 +78423,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: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -77359,8 +78662,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: - - *348 - - *349 + - *355 + - *356 - name: sbom_uuid in: path required: true @@ -77371,7 +78674,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *510 + Location: *516 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -77392,8 +78695,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: - - *348 - - *349 + - *355 + - *356 responses: '201': description: Response @@ -77431,8 +78734,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: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -77507,7 +78810,7 @@ paths: - version - url additionalProperties: false - metadata: &511 + metadata: &517 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -77540,7 +78843,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *511 + metadata: *517 resolved: type: object description: A collection of resolved package dependencies. @@ -77553,7 +78856,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *511 + metadata: *517 relationship: type: string description: A notation of whether a dependency is requested @@ -77682,8 +78985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *348 - - *349 + - *355 + - *356 - name: sha description: The SHA recorded at creation time. in: query @@ -77723,9 +79026,9 @@ paths: application/json: schema: type: array - items: *512 + items: *518 examples: - default: *513 + default: *519 headers: Link: *70 x-github: @@ -77791,8 +79094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -77873,7 +79176,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *518 examples: simple-example: summary: Simple example @@ -77946,9 +79249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *348 - - *349 - - &514 + - *355 + - *356 + - &520 name: deployment_id description: deployment_id parameter in: path @@ -77960,7 +79263,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *518 examples: default: value: @@ -78025,9 +79328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *348 - - *349 - - *514 + - *355 + - *356 + - *520 responses: '204': description: Response @@ -78049,9 +79352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *348 - - *349 - - *514 + - *355 + - *356 + - *520 - *17 - *19 responses: @@ -78061,7 +79364,7 @@ paths: application/json: schema: type: array - items: &515 + items: &521 title: Deployment Status description: The status of a deployment. type: object @@ -78222,9 +79525,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *348 - - *349 - - *514 + - *355 + - *356 + - *520 requestBody: required: true content: @@ -78299,9 +79602,9 @@ paths: description: Response content: application/json: - schema: *515 + schema: *521 examples: - default: &516 + default: &522 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -78357,9 +79660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *348 - - *349 - - *514 + - *355 + - *356 + - *520 - name: status_id in: path required: true @@ -78370,9 +79673,9 @@ paths: description: Response content: application/json: - schema: *515 + schema: *521 examples: - default: *516 + default: *522 '404': *6 x-github: githubCloudOnly: false @@ -78397,8 +79700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -78455,8 +79758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -78473,7 +79776,7 @@ paths: type: integer environments: type: array - items: &518 + items: &524 title: Environment description: Details of a deployment environment type: object @@ -78525,7 +79828,7 @@ paths: type: type: string example: wait_timer - wait_timer: &520 + wait_timer: &526 type: integer example: 30 description: The amount of time to delay a job after @@ -78562,11 +79865,11 @@ paths: items: type: object properties: - type: *517 + type: *523 reviewer: anyOf: - *4 - - *201 + - *208 required: - id - node_id @@ -78586,7 +79889,7 @@ paths: - id - node_id - type - deployment_branch_policy: &521 + deployment_branch_policy: &527 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -78702,9 +80005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *348 - - *349 - - &519 + - *355 + - *356 + - &525 name: environment_name in: path required: true @@ -78717,9 +80020,9 @@ paths: description: Response content: application/json: - schema: *518 + schema: *524 examples: - default: &522 + default: &528 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -78803,9 +80106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 requestBody: required: false content: @@ -78814,7 +80117,7 @@ paths: type: object nullable: true properties: - wait_timer: *520 + wait_timer: *526 prevent_self_review: type: boolean example: false @@ -78831,13 +80134,13 @@ paths: items: type: object properties: - type: *517 + type: *523 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *521 + deployment_branch_policy: *527 additionalProperties: false examples: default: @@ -78857,9 +80160,9 @@ paths: description: Response content: application/json: - schema: *518 + schema: *524 examples: - default: *522 + default: *528 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -78883,9 +80186,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 responses: '204': description: Default response @@ -78910,9 +80213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 - *17 - *19 responses: @@ -78930,7 +80233,7 @@ paths: example: 2 branch_policies: type: array - items: &523 + items: &529 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -78987,9 +80290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 requestBody: required: true content: @@ -79035,9 +80338,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *529 examples: - example-wildcard: &524 + example-wildcard: &530 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -79079,10 +80382,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *348 - - *349 - - *519 - - &525 + - *355 + - *356 + - *525 + - &531 name: branch_policy_id in: path required: true @@ -79094,9 +80397,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *529 examples: - default: *524 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79115,10 +80418,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *348 - - *349 - - *519 + - *355 + - *356 - *525 + - *531 requestBody: required: true content: @@ -79146,9 +80449,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *529 examples: - default: *524 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79167,10 +80470,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *348 - - *349 - - *519 + - *355 + - *356 - *525 + - *531 responses: '204': description: Response @@ -79195,9 +80498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *519 - - *349 - - *348 + - *525 + - *356 + - *355 responses: '200': description: List of deployment protection rules @@ -79213,7 +80516,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &526 + items: &532 title: Deployment protection rule description: Deployment protection rule type: object @@ -79232,7 +80535,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &527 + app: &533 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -79331,9 +80634,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: - - *519 - - *349 - - *348 + - *525 + - *356 + - *355 requestBody: content: application/json: @@ -79354,9 +80657,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *526 + schema: *532 examples: - default: &528 + default: &534 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -79391,9 +80694,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: - - *519 - - *349 - - *348 + - *525 + - *356 + - *355 - *19 - *17 responses: @@ -79412,7 +80715,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *527 + items: *533 examples: default: value: @@ -79447,10 +80750,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *348 - - *349 - - *519 - - &529 + - *355 + - *356 + - *525 + - &535 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -79462,9 +80765,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *532 examples: - default: *528 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79485,10 +80788,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *519 - - *349 - - *348 - - *529 + - *525 + - *356 + - *355 + - *535 responses: '204': description: Response @@ -79514,9 +80817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 - *17 - *19 responses: @@ -79534,9 +80837,9 @@ paths: type: integer secrets: type: array - items: *393 + items: *399 examples: - default: *394 + default: *400 headers: Link: *70 x-github: @@ -79561,17 +80864,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 responses: '200': description: Response content: application/json: - schema: *395 + schema: *175 examples: - default: *396 + default: *176 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79593,18 +80896,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 - *169 responses: '200': description: Response content: application/json: - schema: *393 + schema: *399 examples: - default: *530 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79626,9 +80929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 - *169 requestBody: required: true @@ -79686,9 +80989,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 - *169 responses: '204': @@ -79714,10 +81017,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *348 - - *349 - - *519 - - *364 + - *355 + - *356 + - *525 + - *178 - *19 responses: '200': @@ -79734,9 +81037,9 @@ paths: type: integer variables: type: array - items: *397 + items: *401 examples: - default: *398 + default: *402 headers: Link: *70 x-github: @@ -79759,9 +81062,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 requestBody: required: true content: @@ -79813,18 +81116,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *348 - - *349 - - *519 + - *355 + - *356 + - *525 - *172 responses: '200': description: Response content: application/json: - schema: *397 + schema: *401 examples: - default: *531 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79845,10 +81148,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *348 - - *349 + - *355 + - *356 - *172 - - *519 + - *525 requestBody: required: true content: @@ -79890,10 +81193,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *348 - - *349 + - *355 + - *356 - *172 - - *519 + - *525 responses: '204': description: Response @@ -79915,8 +81218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -79984,8 +81287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *348 - - *349 + - *355 + - *356 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -80144,8 +81447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: false content: @@ -80177,9 +81480,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *358 examples: - default: *353 + default: *360 '400': *14 '422': *15 '403': *29 @@ -80200,8 +81503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -80261,7 +81564,7 @@ paths: schema: oneOf: - *130 - - *532 + - *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80286,8 +81589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *348 - - *349 + - *355 + - *356 - name: file_sha in: path required: true @@ -80386,8 +81689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -80496,7 +81799,7 @@ paths: description: Response content: application/json: - schema: &533 + schema: &537 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -80710,15 +82013,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *348 - - *349 - - *483 + - *355 + - *356 + - *489 responses: '200': description: Response content: application/json: - schema: *533 + schema: *537 examples: default: value: @@ -80774,9 +82077,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *348 - - *349 - - &534 + - *355 + - *356 + - &538 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. @@ -80793,7 +82096,7 @@ paths: application/json: schema: type: array - items: &535 + items: &539 title: Git Reference description: Git references within a repository type: object @@ -80868,17 +82171,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *348 - - *349 - - *534 + - *355 + - *356 + - *538 responses: '200': description: Response content: application/json: - schema: *535 + schema: *539 examples: - default: &536 + default: &540 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -80907,8 +82210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -80937,9 +82240,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *539 examples: - default: *536 + default: *540 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -80965,9 +82268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *348 - - *349 - - *534 + - *355 + - *356 + - *538 requestBody: required: true content: @@ -80996,9 +82299,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *539 examples: - default: *536 + default: *540 '422': *15 '409': *54 x-github: @@ -81016,9 +82319,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *348 - - *349 - - *534 + - *355 + - *356 + - *538 responses: '204': description: Response @@ -81073,8 +82376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -81141,7 +82444,7 @@ paths: description: Response content: application/json: - schema: &538 + schema: &542 title: Git Tag description: Metadata for a Git tag type: object @@ -81192,7 +82495,7 @@ paths: - sha - type - url - verification: *537 + verification: *541 required: - sha - url @@ -81202,7 +82505,7 @@ paths: - tag - message examples: - default: &539 + default: &543 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -81275,8 +82578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *348 - - *349 + - *355 + - *356 - name: tag_sha in: path required: true @@ -81287,9 +82590,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *542 examples: - default: *539 + default: *543 '404': *6 '409': *54 x-github: @@ -81313,8 +82616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -81387,7 +82690,7 @@ paths: description: Response content: application/json: - schema: &540 + schema: &544 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -81483,8 +82786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *348 - - *349 + - *355 + - *356 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -81507,7 +82810,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *544 examples: default-response: summary: Default response @@ -81566,8 +82869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -81577,7 +82880,7 @@ paths: application/json: schema: type: array - items: &541 + items: &545 title: Webhook description: Webhooks for repositories. type: object @@ -81631,7 +82934,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &789 + last_response: &793 title: Hook Response type: object properties: @@ -81705,8 +83008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: false content: @@ -81758,9 +83061,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *545 examples: - default: &542 + default: &546 value: type: Repository id: 12345678 @@ -81808,17 +83111,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 responses: '200': description: Response content: application/json: - schema: *541 + schema: *545 examples: - default: *542 + default: *546 '404': *6 x-github: githubCloudOnly: false @@ -81838,9 +83141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 requestBody: required: true content: @@ -81885,9 +83188,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *545 examples: - default: *542 + default: *546 '422': *15 '404': *6 x-github: @@ -81908,9 +83211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 responses: '204': description: Response @@ -81934,9 +83237,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 responses: '200': description: Response @@ -81963,9 +83266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 requestBody: required: false content: @@ -82009,12 +83312,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 - *17 - - *222 - - *223 + - *229 + - *230 responses: '200': description: Response @@ -82022,9 +83325,9 @@ paths: application/json: schema: type: array - items: *224 + items: *231 examples: - default: *225 + default: *232 '400': *14 '422': *15 x-github: @@ -82043,18 +83346,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 - *16 responses: '200': description: Response content: application/json: - schema: *226 + schema: *233 examples: - default: *227 + default: *234 '400': *14 '422': *15 x-github: @@ -82073,9 +83376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 - *16 responses: '202': *39 @@ -82098,9 +83401,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 responses: '204': description: Response @@ -82125,9 +83428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *348 - - *349 - - *221 + - *355 + - *356 + - *228 responses: '204': description: Response @@ -82150,8 +83453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response if immutable releases are enabled @@ -82197,8 +83500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': *61 '409': *54 @@ -82218,8 +83521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': *61 '409': *54 @@ -82276,14 +83579,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: &543 + schema: &547 title: Import description: A repository import from an external source. type: object @@ -82382,7 +83685,7 @@ paths: - html_url - authors_url examples: - default: &546 + default: &550 value: vcs: subversion use_lfs: true @@ -82398,7 +83701,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': &544 + '503': &548 description: Unavailable due to service under maintenance. content: application/json: @@ -82427,8 +83730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -82476,7 +83779,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *547 examples: default: value: @@ -82501,7 +83804,7 @@ paths: type: string '422': *15 '404': *6 - '503': *544 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82529,8 +83832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: false content: @@ -82579,7 +83882,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *547 examples: example-1: summary: Example 1 @@ -82627,7 +83930,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': *544 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82650,12 +83953,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response - '503': *544 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82681,9 +83984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *348 - - *349 - - &717 + - *355 + - *356 + - &721 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -82697,7 +84000,7 @@ paths: application/json: schema: type: array - items: &545 + items: &549 title: Porter Author description: Porter Author type: object @@ -82751,7 +84054,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': *544 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82776,8 +84079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *348 - - *349 + - *355 + - *356 - name: author_id in: path required: true @@ -82807,7 +84110,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *549 examples: default: value: @@ -82820,7 +84123,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *544 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82844,8 +84147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -82886,7 +84189,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *544 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82914,8 +84217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -82942,11 +84245,11 @@ paths: description: Response content: application/json: - schema: *543 + schema: *547 examples: - default: *546 + default: *550 '422': *15 - '503': *544 + '503': *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82969,8 +84272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -82978,8 +84281,8 @@ paths: application/json: schema: *22 examples: - default: *547 - '301': *352 + default: *551 + '301': *359 '404': *6 x-github: githubCloudOnly: false @@ -82999,8 +84302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -83008,12 +84311,12 @@ paths: application/json: schema: anyOf: - - *240 + - *247 - type: object properties: {} additionalProperties: false examples: - default: &549 + default: &553 value: limit: collaborators_only origin: repository @@ -83038,13 +84341,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: application/json: - schema: *548 + schema: *552 examples: default: summary: Example request body @@ -83056,9 +84359,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *247 examples: - default: *549 + default: *553 '409': description: Response x-github: @@ -83080,8 +84383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -83104,8 +84407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -83115,9 +84418,9 @@ paths: application/json: schema: type: array - items: *550 + items: *554 examples: - default: &709 + default: &713 value: - id: 1 repository: @@ -83248,9 +84551,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *348 - - *349 - - *244 + - *355 + - *356 + - *251 requestBody: required: false content: @@ -83279,7 +84582,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *554 examples: default: value: @@ -83410,9 +84713,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *348 - - *349 - - *244 + - *355 + - *356 + - *251 responses: '204': description: Response @@ -83443,8 +84746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *348 - - *349 + - *355 + - *356 - 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 @@ -83492,7 +84795,7 @@ paths: required: false schema: type: string - - *251 + - *258 - name: sort description: What to sort results by. in: query @@ -83517,7 +84820,7 @@ paths: type: array items: *88 examples: - default: &562 + default: &566 value: - id: 1 node_id: MDU6SXNzdWUx @@ -83666,7 +84969,7 @@ paths: state_reason: completed headers: Link: *70 - '301': *352 + '301': *359 '422': *15 '404': *6 x-github: @@ -83695,8 +84998,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -83794,7 +85097,7 @@ paths: application/json: schema: *88 examples: - default: &559 + default: &563 value: id: 1 node_id: MDU6SXNzdWUx @@ -83932,7 +85235,7 @@ paths: '422': *15 '503': *122 '404': *6 - '410': *551 + '410': *555 x-github: triggersNotification: true githubCloudOnly: false @@ -83960,8 +85263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - *112 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -83982,9 +85285,9 @@ paths: application/json: schema: type: array - items: *552 + items: *556 examples: - default: &561 + default: &565 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -84042,17 +85345,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 responses: '200': description: Response content: application/json: - schema: *552 + schema: *556 examples: - default: &553 + default: &557 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -84107,8 +85410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 requestBody: required: true @@ -84131,9 +85434,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *556 examples: - default: *553 + default: *557 '422': *15 x-github: githubCloudOnly: false @@ -84151,8 +85454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 responses: '204': @@ -84181,15 +85484,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 responses: '200': description: Response content: application/json: - schema: *552 + schema: *556 examples: default: value: @@ -84245,7 +85548,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *551 + '410': *555 '422': *15 x-github: githubCloudOnly: false @@ -84262,8 +85565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 responses: '204': @@ -84271,7 +85574,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *551 + '410': *555 '503': *122 x-github: githubCloudOnly: false @@ -84289,8 +85592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -84317,9 +85620,9 @@ paths: application/json: schema: type: array - items: *480 + items: *486 examples: - default: *554 + default: *558 headers: Link: *70 '404': *6 @@ -84340,8 +85643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 requestBody: required: true @@ -84374,16 +85677,16 @@ paths: description: Reaction exists content: application/json: - schema: *480 + schema: *486 examples: - default: *481 + default: *487 '201': description: Reaction created content: application/json: - schema: *480 + schema: *486 examples: - default: *481 + default: *487 '422': *15 x-github: githubCloudOnly: false @@ -84405,10 +85708,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *348 - - *349 + - *355 + - *356 - *104 - - *555 + - *559 responses: '204': description: Response @@ -84428,8 +85731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -84439,7 +85742,7 @@ paths: application/json: schema: type: array - items: &558 + items: &562 title: Issue Event description: Issue Event type: object @@ -84482,8 +85785,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *556 - required: *557 + properties: *560 + required: *561 nullable: true label: title: Issue Event Label @@ -84527,7 +85830,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *201 + requested_team: *208 dismissed_review: title: Issue Event Dismissed Review type: object @@ -84791,8 +86094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *348 - - *349 + - *355 + - *356 - name: event_id in: path required: true @@ -84803,7 +86106,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *562 examples: default: value: @@ -84996,7 +86299,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *551 + '410': *555 '403': *29 x-github: githubCloudOnly: false @@ -85030,9 +86333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *348 - - *349 - - &560 + - *355 + - *356 + - &564 name: issue_number description: The number that identifies the issue. in: path @@ -85048,7 +86351,7 @@ paths: examples: default: summary: Issue - value: *559 + value: *563 pinned_comment: summary: Issue with pinned comment value: @@ -85228,9 +86531,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *352 + '301': *359 '404': *6 - '410': *551 + '410': *555 '304': *37 x-github: githubCloudOnly: false @@ -85255,9 +86558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: false content: @@ -85378,13 +86681,13 @@ paths: application/json: schema: *88 examples: - default: *559 + default: *563 '422': *15 '503': *122 '403': *29 - '301': *352 + '301': *359 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85402,9 +86705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: false content: @@ -85432,7 +86735,7 @@ paths: application/json: schema: *88 examples: - default: *559 + default: *563 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85448,9 +86751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: content: application/json: @@ -85477,7 +86780,7 @@ paths: application/json: schema: *88 examples: - default: *559 + default: *563 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85499,9 +86802,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: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - name: assignee in: path required: true @@ -85541,9 +86844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - *95 - *17 - *19 @@ -85554,13 +86857,13 @@ paths: application/json: schema: type: array - items: *552 + items: *556 examples: - default: *561 + default: *565 headers: Link: *70 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85589,9 +86892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: true content: @@ -85613,16 +86916,16 @@ paths: description: Response content: application/json: - schema: *552 + schema: *556 examples: - default: *553 + default: *557 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *551 + '410': *555 '422': *15 '404': *6 x-github: @@ -85650,9 +86953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - *17 - *19 responses: @@ -85664,12 +86967,12 @@ paths: type: array items: *88 examples: - default: *562 + default: *566 headers: Link: *70 - '301': *352 + '301': *359 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85697,9 +87000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: true content: @@ -85723,15 +87026,15 @@ paths: application/json: schema: *88 examples: - default: *559 + default: *563 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *352 + '301': *359 '403': *29 - '410': *551 + '410': *555 '422': *15 '404': *6 x-github: @@ -85762,9 +87065,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -85778,13 +87081,13 @@ paths: application/json: schema: *88 examples: - default: *559 - '301': *352 + default: *563 + '301': *359 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *551 + '410': *555 x-github: triggersNotification: true githubCloudOnly: false @@ -85810,9 +87113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - *17 - *19 responses: @@ -85824,12 +87127,12 @@ paths: type: array items: *88 examples: - default: *562 + default: *566 headers: Link: *70 - '301': *352 + '301': *359 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85846,9 +87149,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - *17 - *19 responses: @@ -85862,7 +87165,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &566 + - &570 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -85916,7 +87219,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &567 + - &571 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -86052,7 +87355,7 @@ paths: - performed_via_github_app - assignee - assigner - - &568 + - &572 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -86103,7 +87406,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &569 + - &573 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -86154,7 +87457,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &570 + - &574 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -86208,7 +87511,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &571 + - &575 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -86242,7 +87545,7 @@ paths: properties: *83 required: *84 review_requester: *4 - requested_team: *201 + requested_team: *208 requested_reviewer: *4 required: - review_requester @@ -86255,7 +87558,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &572 + - &576 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -86289,7 +87592,7 @@ paths: properties: *83 required: *84 review_requester: *4 - requested_team: *201 + requested_team: *208 requested_reviewer: *4 required: - review_requester @@ -86302,7 +87605,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &573 + - &577 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -86362,7 +87665,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &574 + - &578 title: Locked Issue Event description: Locked Issue Event type: object @@ -86410,7 +87713,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &575 + - &579 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -86476,7 +87779,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &576 + - &580 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -86542,7 +87845,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &577 + - &581 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -86608,7 +87911,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &578 + - &582 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -86699,7 +88002,7 @@ paths: color: red headers: Link: *70 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86716,9 +88019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - *17 - *19 responses: @@ -86728,9 +88031,9 @@ paths: application/json: schema: type: array - items: *563 + items: *567 examples: - default: &564 + default: &568 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -86754,9 +88057,9 @@ paths: value: '2025-12-25' headers: Link: *70 - '301': *352 + '301': *359 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86785,9 +88088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: true content: @@ -86851,9 +88154,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *563 + items: *567 examples: - default: *564 + default: *568 '400': *14 '403': *29 '404': *6 @@ -86889,9 +88192,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: true content: @@ -86956,9 +88259,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *563 + items: *567 examples: - default: *564 + default: *568 '400': *14 '403': *29 '404': *6 @@ -86989,10 +88292,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: - - *348 - - *349 - - *560 - - *247 + - *355 + - *356 + - *564 + - *254 responses: '204': description: Issue field value deleted successfully @@ -87017,9 +88320,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - *17 - *19 responses: @@ -87031,7 +88334,7 @@ paths: type: array items: *87 examples: - default: &565 + default: &569 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -87049,9 +88352,9 @@ paths: default: false headers: Link: *70 - '301': *352 + '301': *359 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87067,9 +88370,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: false content: @@ -87114,10 +88417,10 @@ paths: type: array items: *87 examples: - default: *565 - '301': *352 + default: *569 + '301': *359 '404': *6 - '410': *551 + '410': *555 '422': *15 x-github: githubCloudOnly: false @@ -87134,9 +88437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: false content: @@ -87198,10 +88501,10 @@ paths: type: array items: *87 examples: - default: *565 - '301': *352 + default: *569 + '301': *359 '404': *6 - '410': *551 + '410': *555 '422': *15 x-github: githubCloudOnly: false @@ -87218,15 +88521,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 responses: '204': description: Response - '301': *352 + '301': *359 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87245,9 +88548,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - name: name in: path required: true @@ -87271,9 +88574,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *352 + '301': *359 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87293,9 +88596,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: false content: @@ -87323,7 +88626,7 @@ paths: '204': description: Response '403': *29 - '410': *551 + '410': *555 '404': *6 '422': *15 x-github: @@ -87341,9 +88644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 responses: '204': description: Response @@ -87373,9 +88676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 responses: '200': description: Response @@ -87383,10 +88686,10 @@ paths: application/json: schema: *88 examples: - default: *559 - '301': *352 + default: *563 + '301': *359 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87403,9 +88706,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - 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. @@ -87431,13 +88734,13 @@ paths: application/json: schema: type: array - items: *480 + items: *486 examples: - default: *554 + default: *558 headers: Link: *70 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87455,9 +88758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: true content: @@ -87489,16 +88792,16 @@ paths: description: Response content: application/json: - schema: *480 + schema: *486 examples: - default: *481 + default: *487 '201': description: Response content: application/json: - schema: *480 + schema: *486 examples: - default: *481 + default: *487 '422': *15 x-github: githubCloudOnly: false @@ -87520,10 +88823,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *348 - - *349 - - *560 - - *555 + - *355 + - *356 + - *564 + - *559 responses: '204': description: Response @@ -87552,9 +88855,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: true content: @@ -87578,7 +88881,7 @@ paths: application/json: schema: *88 examples: - default: *559 + default: *563 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -87611,9 +88914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - *17 - *19 responses: @@ -87625,11 +88928,11 @@ paths: type: array items: *88 examples: - default: *562 + default: *566 headers: Link: *70 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87657,9 +88960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: true content: @@ -87688,14 +88991,14 @@ paths: application/json: schema: *88 examples: - default: *559 + default: *563 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *551 + '410': *555 '422': *15 '404': *6 x-github: @@ -87715,9 +89018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 requestBody: required: true content: @@ -87750,7 +89053,7 @@ paths: application/json: schema: *88 examples: - default: *559 + default: *563 '403': *29 '404': *6 '422': *7 @@ -87772,9 +89075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *348 - - *349 - - *560 + - *355 + - *356 + - *564 - *17 - *19 responses: @@ -87789,10 +89092,6 @@ paths: description: Timeline Event type: object anyOf: - - *566 - - *567 - - *568 - - *569 - *570 - *571 - *572 @@ -87802,6 +89101,10 @@ paths: - *576 - *577 - *578 + - *579 + - *580 + - *581 + - *582 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -87862,8 +89165,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *579 - required: *580 + properties: *583 + required: *584 nullable: true required: - event @@ -88118,7 +89421,7 @@ paths: type: string comments: type: array - items: &600 + items: &604 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -88333,7 +89636,7 @@ paths: type: string comments: type: array - items: *479 + items: *485 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -88622,7 +89925,7 @@ paths: headers: Link: *70 '404': *6 - '410': *551 + '410': *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88639,8 +89942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -88650,7 +89953,7 @@ paths: application/json: schema: type: array - items: &581 + items: &585 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -88716,8 +90019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -88753,9 +90056,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *585 examples: - default: &582 + default: &586 value: id: 1 key: ssh-rsa AAA... @@ -88789,9 +90092,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *348 - - *349 - - &583 + - *355 + - *356 + - &587 name: key_id description: The unique identifier of the key. in: path @@ -88803,9 +90106,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *585 examples: - default: *582 + default: *586 '404': *6 x-github: githubCloudOnly: false @@ -88823,9 +90126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *348 - - *349 - - *583 + - *355 + - *356 + - *587 responses: '204': description: Response @@ -88845,8 +90148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -88858,7 +90161,7 @@ paths: type: array items: *87 examples: - default: *565 + default: *569 headers: Link: *70 '404': *6 @@ -88879,8 +90182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -88918,7 +90221,7 @@ paths: application/json: schema: *87 examples: - default: &584 + default: &588 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -88950,8 +90253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *348 - - *349 + - *355 + - *356 - name: name in: path required: true @@ -88964,7 +90267,7 @@ paths: application/json: schema: *87 examples: - default: *584 + default: *588 '404': *6 x-github: githubCloudOnly: false @@ -88981,8 +90284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *348 - - *349 + - *355 + - *356 - name: name in: path required: true @@ -89047,8 +90350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *348 - - *349 + - *355 + - *356 - name: name in: path required: true @@ -89074,8 +90377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -89114,9 +90417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *348 - - *349 - - *452 + - *355 + - *356 + - *458 responses: '200': description: Response @@ -89261,8 +90564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -89327,8 +90630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -89362,9 +90665,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *482 + schema: *488 examples: - default: *585 + default: *589 '204': description: Response when already merged '404': @@ -89389,8 +90692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *348 - - *349 + - *355 + - *356 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -89431,12 +90734,12 @@ paths: application/json: schema: type: array - items: &586 + items: &590 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *285 - required: *286 + properties: *292 + required: *293 examples: default: value: @@ -89492,8 +90795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -89533,9 +90836,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: &587 + default: &591 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -89594,9 +90897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *348 - - *349 - - &588 + - *355 + - *356 + - &592 name: milestone_number description: The number that identifies the milestone. in: path @@ -89608,9 +90911,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: *587 + default: *591 '404': *6 x-github: githubCloudOnly: false @@ -89627,9 +90930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *348 - - *349 - - *588 + - *355 + - *356 + - *592 requestBody: required: false content: @@ -89667,9 +90970,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: *587 + default: *591 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89685,9 +90988,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *348 - - *349 - - *588 + - *355 + - *356 + - *592 responses: '204': description: Response @@ -89708,9 +91011,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *348 - - *349 - - *588 + - *355 + - *356 + - *592 - *17 - *19 responses: @@ -89722,7 +91025,7 @@ paths: type: array items: *87 examples: - default: *565 + default: *569 headers: Link: *70 x-github: @@ -89741,12 +91044,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *348 - - *349 - - *589 - - *590 + - *355 + - *356 + - *593 + - *594 - *95 - - *591 + - *595 - *17 - *19 responses: @@ -89758,7 +91061,7 @@ paths: type: array items: *115 examples: - default: *592 + default: *596 headers: Link: *70 x-github: @@ -89782,8 +91085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: false content: @@ -89841,14 +91144,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: &593 + schema: &597 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -89973,7 +91276,7 @@ paths: - custom_404 - public examples: - default: &594 + default: &598 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -90014,8 +91317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -90069,9 +91372,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *597 examples: - default: *594 + default: *598 '422': *15 '409': *54 x-github: @@ -90094,8 +91397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -90194,8 +91497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -90221,8 +91524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -90232,7 +91535,7 @@ paths: application/json: schema: type: array - items: &595 + items: &599 title: Page Build description: Page Build type: object @@ -90326,8 +91629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *348 - - *349 + - *355 + - *356 responses: '201': description: Response @@ -90372,16 +91675,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *595 + schema: *599 examples: - default: &596 + default: &600 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -90429,8 +91732,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *348 - - *349 + - *355 + - *356 - name: build_id in: path required: true @@ -90441,9 +91744,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *599 examples: - default: *596 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90463,8 +91766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -90569,9 +91872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *348 - - *349 - - &597 + - *355 + - *356 + - &601 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -90629,9 +91932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *348 - - *349 - - *597 + - *355 + - *356 + - *601 responses: '204': *61 '404': *6 @@ -90658,8 +91961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -90917,8 +92220,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: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Private vulnerability reporting status @@ -90955,8 +92258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': *61 '422': *14 @@ -90977,8 +92280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': *61 '422': *14 @@ -91000,8 +92303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -91009,7 +92312,7 @@ paths: application/json: schema: type: array - items: *300 + items: *307 examples: default: value: @@ -91040,8 +92343,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: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -91053,7 +92356,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *300 + items: *307 required: - properties examples: @@ -91103,8 +92406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *348 - - *349 + - *355 + - *356 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -91164,9 +92467,9 @@ paths: application/json: schema: type: array - items: *486 + items: *492 examples: - default: *598 + default: *602 headers: Link: *70 '304': *37 @@ -91198,8 +92501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -91264,7 +92567,7 @@ paths: description: Response content: application/json: - schema: &602 + schema: &606 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -91375,8 +92678,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *285 - required: *286 + properties: *292 + required: *293 nullable: true active_lock_reason: type: string @@ -91408,7 +92711,7 @@ paths: items: *4 requested_teams: type: array - items: *337 + items: *344 head: type: object properties: @@ -91446,14 +92749,14 @@ paths: _links: type: object properties: - comments: *287 - commits: *287 - statuses: *287 - html: *287 - issue: *287 - review_comments: *287 - review_comment: *287 - self: *287 + comments: *294 + commits: *294 + statuses: *294 + html: *294 + issue: *294 + review_comments: *294 + review_comment: *294 + self: *294 required: - comments - commits @@ -91464,7 +92767,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: *599 + auto_merge: *603 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -91554,7 +92857,7 @@ paths: - merged_by - review_comments examples: - default: &603 + default: &607 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -92061,8 +93364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *348 - - *349 + - *355 + - *356 - name: sort in: query required: false @@ -92091,9 +93394,9 @@ paths: application/json: schema: type: array - items: *600 + items: *604 examples: - default: &605 + default: &609 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -92170,17 +93473,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *348 - - *349 + - *355 + - *356 - *104 responses: '200': description: Response content: application/json: - schema: *600 + schema: *604 examples: - default: &601 + default: &605 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -92255,8 +93558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *348 - - *349 + - *355 + - *356 - *104 requestBody: required: true @@ -92279,9 +93582,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: - default: *601 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92297,8 +93600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *348 - - *349 + - *355 + - *356 - *104 responses: '204': @@ -92320,8 +93623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -92348,9 +93651,9 @@ paths: application/json: schema: type: array - items: *480 + items: *486 examples: - default: *554 + default: *558 headers: Link: *70 '404': *6 @@ -92371,8 +93674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *348 - - *349 + - *355 + - *356 - *104 requestBody: required: true @@ -92405,16 +93708,16 @@ paths: description: Reaction exists content: application/json: - schema: *480 + schema: *486 examples: - default: *481 + default: *487 '201': description: Reaction created content: application/json: - schema: *480 + schema: *486 examples: - default: *481 + default: *487 '422': *15 x-github: githubCloudOnly: false @@ -92436,10 +93739,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *348 - - *349 + - *355 + - *356 - *104 - - *555 + - *559 responses: '204': description: Response @@ -92482,9 +93785,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *348 - - *349 - - &604 + - *355 + - *356 + - &608 name: pull_number description: The number that identifies the pull request. in: path @@ -92497,9 +93800,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '304': *37 '404': *6 '406': @@ -92534,9 +93837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 requestBody: required: false content: @@ -92578,9 +93881,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '422': *15 '403': *29 x-github: @@ -92602,9 +93905,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#archive-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 responses: '204': description: Response @@ -92629,9 +93932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#unarchive-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 responses: '204': description: Response @@ -92657,9 +93960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 requestBody: required: true content: @@ -92719,17 +94022,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '401': *25 '403': *29 '404': *6 @@ -92759,9 +94062,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 - *112 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -92782,9 +94085,9 @@ paths: application/json: schema: type: array - items: *600 + items: *604 examples: - default: *605 + default: *609 headers: Link: *70 x-github: @@ -92817,9 +94120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 requestBody: required: true content: @@ -92924,7 +94227,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: example-for-a-multi-line-comment: value: @@ -93012,9 +94315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 - *104 requestBody: required: true @@ -93037,7 +94340,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: default: value: @@ -93123,9 +94426,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 - *17 - *19 responses: @@ -93135,9 +94438,9 @@ paths: application/json: schema: type: array - items: *482 + items: *488 examples: - default: *606 + default: *610 headers: Link: *70 x-github: @@ -93167,9 +94470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 - *17 - *19 responses: @@ -93179,7 +94482,7 @@ paths: application/json: schema: type: array - items: *495 + items: *501 examples: default: value: @@ -93217,9 +94520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 responses: '204': description: Response if pull request has been merged @@ -93242,9 +94545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 requestBody: required: false content: @@ -93355,9 +94658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 responses: '200': description: Response @@ -93373,7 +94676,7 @@ paths: items: *4 teams: type: array - items: *201 + items: *208 required: - users - teams @@ -93432,9 +94735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 requestBody: required: false content: @@ -93471,7 +94774,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *492 examples: default: value: @@ -94007,9 +95310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 requestBody: required: true content: @@ -94043,7 +95346,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *492 examples: default: value: @@ -94528,9 +95831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 - *17 - *19 responses: @@ -94540,7 +95843,7 @@ paths: application/json: schema: type: array - items: &607 + items: &611 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -94691,9 +95994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 requestBody: required: false content: @@ -94779,9 +96082,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *611 examples: - default: &609 + default: &613 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -94844,10 +96147,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *348 - - *349 - - *604 - - &608 + - *355 + - *356 + - *608 + - &612 name: review_id description: The unique identifier of the review. in: path @@ -94859,9 +96162,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *611 examples: - default: &610 + default: &614 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -94920,10 +96223,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 - *608 + - *612 requestBody: required: true content: @@ -94946,7 +96249,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *611 examples: default: value: @@ -95008,18 +96311,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 - *608 + - *612 responses: '200': description: Response content: application/json: - schema: *607 + schema: *611 examples: - default: *609 + default: *613 '422': *7 '404': *6 x-github: @@ -95046,10 +96349,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *348 - - *349 - - *604 + - *355 + - *356 - *608 + - *612 - *17 - *19 responses: @@ -95132,9 +96435,9 @@ paths: _links: type: object properties: - self: *287 - html: *287 - pull_request: *287 + self: *294 + html: *294 + pull_request: *294 required: - self - html @@ -95284,10 +96587,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 - *608 + - *612 requestBody: required: true content: @@ -95315,7 +96618,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *611 examples: default: value: @@ -95378,10 +96681,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *348 - - *349 - - *604 + - *355 + - *356 - *608 + - *612 requestBody: required: true content: @@ -95416,9 +96719,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *611 examples: - default: *610 + default: *614 '404': *6 '422': *7 '403': *29 @@ -95440,9 +96743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *348 - - *349 - - *604 + - *355 + - *356 + - *608 requestBody: required: false content: @@ -95505,8 +96808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *348 - - *349 + - *355 + - *356 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -95519,9 +96822,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *615 examples: - default: &612 + default: &616 value: type: file encoding: base64 @@ -95563,8 +96866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *348 - - *349 + - *355 + - *356 - name: dir description: The alternate path to look for a README file in: path @@ -95584,9 +96887,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *615 examples: - default: *612 + default: *616 '404': *6 '422': *15 x-github: @@ -95608,8 +96911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -95619,7 +96922,7 @@ paths: application/json: schema: type: array - items: *613 + items: *617 examples: default: value: @@ -95713,8 +97016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -95790,9 +97093,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *617 examples: - default: &617 + default: &621 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -95897,9 +97200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *348 - - *349 - - &615 + - *355 + - *356 + - &619 name: asset_id description: The unique identifier of the asset. in: path @@ -95911,9 +97214,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *618 examples: - default: &616 + default: &620 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 @@ -95948,7 +97251,7 @@ paths: type: User site_admin: false '404': *6 - '302': *499 + '302': *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95964,9 +97267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *348 - - *349 - - *615 + - *355 + - *356 + - *619 requestBody: required: false content: @@ -95994,9 +97297,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *618 examples: - default: *616 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96012,9 +97315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *348 - - *349 - - *615 + - *355 + - *356 + - *619 responses: '204': description: Response @@ -96039,8 +97342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -96125,16 +97428,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response content: application/json: - schema: *613 + schema: *617 examples: - default: *617 + default: *621 '404': *6 x-github: githubCloudOnly: false @@ -96152,8 +97455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *348 - - *349 + - *355 + - *356 - name: tag description: tag parameter in: path @@ -96166,9 +97469,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *617 examples: - default: *617 + default: *621 '404': *6 x-github: githubCloudOnly: false @@ -96190,9 +97493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *348 - - *349 - - &618 + - *355 + - *356 + - &622 name: release_id description: The unique identifier of the release. in: path @@ -96206,9 +97509,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: *613 + schema: *617 examples: - default: *617 + default: *621 '401': description: Unauthorized x-github: @@ -96226,9 +97529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *348 - - *349 - - *618 + - *355 + - *356 + - *622 requestBody: required: false content: @@ -96292,9 +97595,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *617 examples: - default: *617 + default: *621 '404': description: Not Found if the discussion category name is invalid content: @@ -96315,9 +97618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *348 - - *349 - - *618 + - *355 + - *356 + - *622 responses: '204': description: Response @@ -96338,9 +97641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *348 - - *349 - - *618 + - *355 + - *356 + - *622 - *17 - *19 responses: @@ -96350,7 +97653,7 @@ paths: application/json: schema: type: array - items: *614 + items: *618 examples: default: value: @@ -96431,9 +97734,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: - - *348 - - *349 - - *618 + - *355 + - *356 + - *622 - name: name in: query required: true @@ -96459,7 +97762,7 @@ paths: description: Response for successful upload content: application/json: - schema: *614 + schema: *618 examples: response-for-successful-upload: value: @@ -96514,9 +97817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *348 - - *349 - - *618 + - *355 + - *356 + - *622 - 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. @@ -96540,9 +97843,9 @@ paths: application/json: schema: type: array - items: *480 + items: *486 examples: - default: *554 + default: *558 headers: Link: *70 '404': *6 @@ -96563,9 +97866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *348 - - *349 - - *618 + - *355 + - *356 + - *622 requestBody: required: true content: @@ -96595,16 +97898,16 @@ paths: description: Reaction exists content: application/json: - schema: *480 + schema: *486 examples: - default: *481 + default: *487 '201': description: Reaction created content: application/json: - schema: *480 + schema: *486 examples: - default: *481 + default: *487 '422': *15 x-github: githubCloudOnly: false @@ -96626,10 +97929,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *348 - - *349 - - *618 - - *555 + - *355 + - *356 + - *622 + - *559 responses: '204': description: Response @@ -96653,9 +97956,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *348 - - *349 - - *415 + - *355 + - *356 + - *421 - *17 - *19 responses: @@ -96671,8 +97974,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *309 - - &619 + - *316 + - &623 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -96691,69 +97994,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *310 - - *619 - - allOf: - - *311 - - *619 - - allOf: - - *312 - - *619 - - allOf: - - *620 - - *619 - - allOf: - - *313 - - *619 - - allOf: - - *314 - - *619 - - allOf: - - *315 - - *619 - - allOf: - - *316 - - *619 - allOf: - *317 - - *619 + - *623 - allOf: - *318 - - *619 + - *623 - allOf: - *319 - - *619 + - *623 + - allOf: + - *624 + - *623 - allOf: - *320 - - *619 + - *623 - allOf: - *321 - - *619 + - *623 - allOf: - *322 - - *619 + - *623 - allOf: - *323 - - *619 + - *623 - allOf: - *324 - - *619 + - *623 - allOf: - *325 - - *619 + - *623 - allOf: - *326 - - *619 + - *623 - allOf: - *327 - - *619 + - *623 - allOf: - *328 - - *619 + - *623 - allOf: - *329 - - *619 + - *623 + - allOf: + - *330 + - *623 + - allOf: + - *331 + - *623 + - allOf: + - *332 + - *623 + - allOf: + - *333 + - *623 + - allOf: + - *334 + - *623 + - allOf: + - *335 + - *623 + - allOf: + - *336 + - *623 examples: default: value: @@ -96792,8 +98095,8 @@ paths: category: repos subcategory: rules parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 - name: includes_parents @@ -96804,7 +98107,7 @@ paths: schema: type: boolean default: true - - *621 + - *625 responses: '200': description: Response @@ -96812,7 +98115,7 @@ paths: application/json: schema: type: array - items: *330 + items: *337 examples: default: value: @@ -96859,8 +98162,8 @@ paths: category: repos subcategory: rules parameters: - - *348 - - *349 + - *355 + - *356 requestBody: description: Request body required: true @@ -96880,16 +98183,16 @@ paths: - tag - push default: branch - enforcement: *306 + enforcement: *313 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *307 - conditions: *304 + items: *314 + conditions: *311 rules: type: array description: An array of rules within the ruleset. - items: *622 + items: *626 required: - name - enforcement @@ -96920,9 +98223,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - default: &632 + default: &636 value: id: 42 name: super cool ruleset @@ -96970,12 +98273,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *348 - - *349 - - *623 - - *624 - - *625 - - *626 + - *355 + - *356 + - *627 + - *628 + - *629 + - *630 - *17 - *19 responses: @@ -96983,9 +98286,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *631 examples: - default: *628 + default: *632 '404': *6 '500': *55 x-github: @@ -97006,17 +98309,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *348 - - *349 - - *629 + - *355 + - *356 + - *633 responses: '200': description: Response content: application/json: - schema: *630 + schema: *634 examples: - default: *631 + default: *635 '404': *6 '500': *55 x-github: @@ -97044,8 +98347,8 @@ paths: category: repos subcategory: rules parameters: - - *348 - - *349 + - *355 + - *356 - name: ruleset_id description: The ID of the ruleset. in: path @@ -97065,9 +98368,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - default: *632 + default: *636 '404': *6 '500': *55 put: @@ -97085,8 +98388,8 @@ paths: category: repos subcategory: rules parameters: - - *348 - - *349 + - *355 + - *356 - name: ruleset_id description: The ID of the ruleset. in: path @@ -97111,16 +98414,16 @@ paths: - branch - tag - push - enforcement: *306 + enforcement: *313 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *307 - conditions: *304 + items: *314 + conditions: *311 rules: description: An array of rules within the ruleset. type: array - items: *622 + items: *626 examples: default: value: @@ -97148,9 +98451,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - default: *632 + default: *636 '404': *6 '422': *15 '500': *55 @@ -97169,8 +98472,8 @@ paths: category: repos subcategory: rules parameters: - - *348 - - *349 + - *355 + - *356 - name: ruleset_id description: The ID of the ruleset. in: path @@ -97193,8 +98496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 - name: ruleset_id @@ -97210,9 +98513,9 @@ paths: application/json: schema: type: array - items: *333 + items: *340 examples: - default: *633 + default: *637 '404': *6 '500': *55 x-github: @@ -97231,8 +98534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *348 - - *349 + - *355 + - *356 - name: ruleset_id description: The ID of the ruleset. in: path @@ -97250,7 +98553,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *638 examples: default: value: @@ -97305,26 +98608,26 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *348 - - *349 - - *635 - - *636 - - *637 - - *638 + - *355 + - *356 - *639 - *640 - *641 - *642 - - *62 - - *19 - - *17 - *643 - *644 - *645 - *646 + - *62 + - *19 + - *17 - *647 - *648 - *649 + - *650 + - *651 + - *652 + - *653 responses: '200': description: Response @@ -97332,11 +98635,11 @@ paths: application/json: schema: type: array - items: &653 + items: &657 type: object properties: - number: *179 - created_at: *180 + number: *186 + created_at: *187 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -97344,15 +98647,15 @@ paths: format: date-time readOnly: true nullable: true - url: *182 - html_url: *183 + url: *189 + html_url: *190 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *650 - resolution: *651 + state: *654 + resolution: *655 resolved_at: type: string format: date-time @@ -97458,7 +98761,7 @@ paths: pull request. ' - oneOf: *652 + oneOf: *656 nullable: true has_more_locations: type: boolean @@ -97622,16 +98925,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *348 - - *349 - - *446 - - *648 + - *355 + - *356 + - *452 + - *652 responses: '200': description: Response content: application/json: - schema: *653 + schema: *657 examples: default: value: @@ -97685,9 +98988,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *348 - - *349 - - *446 + - *355 + - *356 + - *452 requestBody: required: true content: @@ -97695,8 +98998,8 @@ paths: schema: type: object properties: - state: *650 - resolution: *651 + state: *654 + resolution: *655 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -97740,7 +99043,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *657 examples: default: value: @@ -97839,9 +99142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *348 - - *349 - - *446 + - *355 + - *356 + - *452 - *19 - *17 responses: @@ -97852,7 +99155,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &811 + items: &815 type: object properties: type: @@ -97878,10 +99181,6 @@ paths: example: commit details: oneOf: - - *654 - - *655 - - *656 - - *657 - *658 - *659 - *660 @@ -97891,6 +99190,10 @@ paths: - *664 - *665 - *666 + - *667 + - *668 + - *669 + - *670 examples: default: value: @@ -97976,8 +99279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -97985,14 +99288,14 @@ paths: schema: type: object properties: - reason: &668 + reason: &672 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *667 + placeholder_id: *671 required: - reason - placeholder_id @@ -98009,7 +99312,7 @@ paths: schema: type: object properties: - reason: *668 + reason: *672 expire_at: type: string format: date-time @@ -98055,8 +99358,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: - - *348 - - *349 + - *355 + - *356 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -98071,7 +99374,7 @@ paths: properties: incremental_scans: type: array - items: &669 + items: &673 description: Information on a single scan performed by secret scanning on the repository type: object @@ -98097,15 +99400,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *669 + items: *673 backfill_scans: type: array - items: *669 + items: *673 custom_pattern_backfill_scans: type: array items: allOf: - - *669 + - *673 - type: object properties: pattern_name: @@ -98118,7 +99421,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *669 + items: *673 examples: default: value: @@ -98183,8 +99486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *348 - - *349 + - *355 + - *356 - *62 - name: sort description: The property to sort the results by. @@ -98228,9 +99531,9 @@ paths: application/json: schema: type: array - items: *670 + items: *674 examples: - default: *671 + default: *675 '400': *14 '404': *6 x-github: @@ -98253,8 +99556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -98327,7 +99630,7 @@ paths: login: type: string description: The username of the user credited. - type: *336 + type: *343 required: - login - type @@ -98414,9 +99717,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *674 examples: - default: &673 + default: &677 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -98646,8 +99949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -98751,7 +100054,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *674 examples: default: value: @@ -98897,17 +100200,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *348 - - *349 - - *672 + - *355 + - *356 + - *676 responses: '200': description: Response content: application/json: - schema: *670 + schema: *674 examples: - default: *673 + default: *677 '403': *29 '404': *6 x-github: @@ -98931,9 +100234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *348 - - *349 - - *672 + - *355 + - *356 + - *676 requestBody: required: true content: @@ -99006,7 +100309,7 @@ paths: login: type: string description: The username of the user credited. - type: *336 + type: *343 required: - login - type @@ -99092,10 +100395,10 @@ paths: description: Response content: application/json: - schema: *670 + schema: *674 examples: - default: *673 - add_credit: *673 + default: *677 + add_credit: *677 '403': *29 '404': *6 '422': @@ -99133,9 +100436,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: - - *348 - - *349 - - *672 + - *355 + - *356 + - *676 responses: '202': *39 '400': *14 @@ -99162,17 +100465,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *348 - - *349 - - *672 + - *355 + - *356 + - *676 responses: '202': description: Response content: application/json: - schema: *351 + schema: *358 examples: - default: *353 + default: *360 '400': *14 '422': *15 '403': *29 @@ -99198,8 +100501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -99298,8 +100601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -99308,7 +100611,7 @@ paths: application/json: schema: type: array - items: &674 + items: &678 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -99341,8 +100644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -99418,8 +100721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -99515,8 +100818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -99670,8 +100973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -99681,7 +100984,7 @@ paths: application/json: schema: type: array - items: *674 + items: *678 examples: default: value: @@ -99714,8 +101017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *348 - - *349 + - *355 + - *356 - name: sha in: path required: true @@ -99769,7 +101072,7 @@ paths: description: Response content: application/json: - schema: *675 + schema: *679 examples: default: value: @@ -99823,8 +101126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -99856,14 +101159,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &676 + schema: &680 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -99931,8 +101234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: false content: @@ -99958,7 +101261,7 @@ paths: description: Response content: application/json: - schema: *676 + schema: *680 examples: default: value: @@ -99985,8 +101288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -100006,8 +101309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -100086,8 +101389,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *348 - - *349 + - *355 + - *356 - name: ref in: path required: true @@ -100123,8 +101426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *348 - - *349 + - *355 + - *356 - *17 - *19 responses: @@ -100134,9 +101437,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: *265 + default: *272 headers: Link: *70 '404': *6 @@ -100156,8 +101459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *348 - - *349 + - *355 + - *356 - *19 - *17 responses: @@ -100165,7 +101468,7 @@ paths: description: Response content: application/json: - schema: &677 + schema: &681 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -100177,7 +101480,7 @@ paths: required: - names examples: - default: &678 + default: &682 value: names: - octocat @@ -100200,8 +101503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -100232,9 +101535,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *681 examples: - default: *678 + default: *682 '404': *6 '422': *7 x-github: @@ -100255,9 +101558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *348 - - *349 - - &679 + - *355 + - *356 + - &683 name: per description: The time frame to display results for. in: query @@ -100286,7 +101589,7 @@ paths: example: 128 clones: type: array - items: &680 + items: &684 title: Traffic type: object properties: @@ -100373,8 +101676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -100464,8 +101767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *348 - - *349 + - *355 + - *356 responses: '200': description: Response @@ -100525,9 +101828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *348 - - *349 - - *679 + - *355 + - *356 + - *683 responses: '200': description: Response @@ -100546,7 +101849,7 @@ paths: example: 3782 views: type: array - items: *680 + items: *684 required: - uniques - count @@ -100623,8 +101926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *348 - - *349 + - *355 + - *356 requestBody: required: true content: @@ -100897,8 +102200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -100921,8 +102224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -100944,8 +102247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -100971,8 +102274,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *348 - - *349 + - *355 + - *356 - name: ref in: path required: true @@ -101064,9 +102367,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *358 examples: - default: *353 + default: *360 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -101317,7 +102620,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &681 + text_matches: &685 title: Search Result Text Matches type: array items: @@ -101479,7 +102782,7 @@ paths: enum: - author-date - committer-date - - &682 + - &686 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 @@ -101550,7 +102853,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *413 + properties: *419 nullable: true comment_count: type: integer @@ -101570,7 +102873,7 @@ paths: url: type: string format: uri - verification: *537 + verification: *541 required: - author - committer @@ -101589,7 +102892,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *413 + properties: *419 nullable: true parents: type: array @@ -101607,7 +102910,7 @@ paths: type: number node_id: type: string - text_matches: *681 + text_matches: *685 required: - sha - node_id @@ -101799,7 +103102,7 @@ paths: - interactions - created - updated - - *682 + - *686 - *17 - *19 - name: advanced_search @@ -101913,11 +103216,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: type: string state_reason: @@ -101927,8 +103230,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *285 - required: *286 + properties: *292 + required: *293 nullable: true comments: type: integer @@ -101942,7 +103245,7 @@ paths: type: string format: date-time nullable: true - text_matches: *681 + text_matches: *685 pull_request: type: object properties: @@ -101986,7 +103289,7 @@ paths: timeline_url: type: string format: uri - type: *248 + type: *255 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -102212,7 +103515,7 @@ paths: enum: - created - updated - - *682 + - *686 - *17 - *19 responses: @@ -102256,7 +103559,7 @@ paths: nullable: true score: type: number - text_matches: *681 + text_matches: *685 required: - id - node_id @@ -102341,7 +103644,7 @@ paths: - forks - help-wanted-issues - updated - - *682 + - *686 - *17 - *19 responses: @@ -102589,7 +103892,7 @@ paths: - admin - pull - push - text_matches: *681 + text_matches: *685 temp_clone_token: type: string allow_merge_commit: @@ -102889,7 +104192,7 @@ paths: type: string format: uri nullable: true - text_matches: *681 + text_matches: *685 related: type: array nullable: true @@ -103080,7 +104383,7 @@ paths: - followers - repositories - joined - - *682 + - *686 - *17 - *19 responses: @@ -103184,7 +104487,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *681 + text_matches: *685 blog: type: string nullable: true @@ -103263,7 +104566,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &685 + - &689 name: team_id description: The unique identifier of the team. in: path @@ -103275,9 +104578,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *351 examples: - default: *345 + default: *352 '404': *6 x-github: githubCloudOnly: false @@ -103304,7 +104607,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *685 + - *689 requestBody: required: true content: @@ -103367,16 +104670,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *344 + schema: *351 examples: - default: *345 + default: *352 '201': description: Response content: application/json: - schema: *344 + schema: *351 examples: - default: *345 + default: *352 '404': *6 '422': *15 '403': *29 @@ -103404,7 +104707,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *685 + - *689 responses: '204': description: Response @@ -103433,7 +104736,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *685 + - *689 - *17 - *19 responses: @@ -103443,9 +104746,9 @@ paths: application/json: schema: type: array - items: *242 + items: *249 examples: - default: *243 + default: *250 headers: Link: *70 x-github: @@ -103471,7 +104774,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *685 + - *689 - name: role description: Filters members returned by their role in the team. in: query @@ -103522,7 +104825,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *685 + - *689 - *74 responses: '204': @@ -103559,7 +104862,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *685 + - *689 - *74 responses: '204': @@ -103599,7 +104902,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *685 + - *689 - *74 responses: '204': @@ -103636,16 +104939,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *685 + - *689 - *74 responses: '200': description: Response content: application/json: - schema: *347 + schema: *354 examples: - response-if-user-is-a-team-maintainer: *686 + response-if-user-is-a-team-maintainer: *690 '404': *6 x-github: githubCloudOnly: false @@ -103678,7 +104981,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *685 + - *689 - *74 requestBody: required: false @@ -103704,9 +105007,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *354 examples: - response-if-users-membership-with-team-is-now-pending: *687 + response-if-users-membership-with-team-is-now-pending: *691 '403': description: Forbidden if team synchronization is set up '422': @@ -103740,7 +105043,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *685 + - *689 - *74 responses: '204': @@ -103768,7 +105071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *685 + - *689 - *17 - *19 responses: @@ -103780,7 +105083,7 @@ paths: type: array items: *161 examples: - default: *279 + default: *286 headers: Link: *70 '404': *6 @@ -103810,15 +105113,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *685 - - *348 - - *349 + - *689 + - *355 + - *356 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *688 + schema: *692 examples: alternative-response-with-extra-repository-information: value: @@ -103968,9 +105271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *685 - - *348 - - *349 + - *689 + - *355 + - *356 requestBody: required: false content: @@ -104020,9 +105323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *685 - - *348 - - *349 + - *689 + - *355 + - *356 responses: '204': description: Response @@ -104047,7 +105350,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *685 + - *689 - *17 - *19 responses: @@ -104057,9 +105360,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - response-if-child-teams-exist: *689 + response-if-child-teams-exist: *693 headers: Link: *70 '404': *6 @@ -104092,7 +105395,7 @@ paths: application/json: schema: oneOf: - - &690 + - &694 title: Private User description: Private User type: object @@ -104295,7 +105598,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &716 + - &720 title: Public User description: Public User type: object @@ -104607,7 +105910,7 @@ paths: description: Response content: application/json: - schema: *690 + schema: *694 examples: default: value: @@ -104810,9 +106113,9 @@ paths: type: integer codespaces: type: array - items: *253 + items: *260 examples: - default: *254 + default: *261 '304': *37 '500': *55 '401': *25 @@ -104951,17 +106254,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '401': *25 '403': *29 '404': *6 @@ -105005,7 +106308,7 @@ paths: type: integer secrets: type: array - items: &691 + items: &695 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -105045,7 +106348,7 @@ paths: - visibility - selected_repositories_url examples: - default: *472 + default: *478 headers: Link: *70 x-github: @@ -105121,7 +106424,7 @@ paths: description: Response content: application/json: - schema: *691 + schema: *695 examples: default: value: @@ -105267,7 +106570,7 @@ paths: type: array items: *161 examples: - default: *202 + default: *209 '401': *25 '403': *29 '404': *6 @@ -105411,15 +106714,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *255 + - *262 responses: '200': description: Response content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '304': *37 '500': *55 '401': *25 @@ -105445,7 +106748,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *255 + - *262 requestBody: required: false content: @@ -105475,9 +106778,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '401': *25 '403': *29 '404': *6 @@ -105499,7 +106802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *255 + - *262 responses: '202': *39 '304': *37 @@ -105528,13 +106831,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *255 + - *262 responses: '202': description: Response content: application/json: - schema: &692 + schema: &696 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -105575,7 +106878,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &693 + default: &697 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -105607,7 +106910,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *255 + - *262 - name: export_id in: path required: true @@ -105620,9 +106923,9 @@ paths: description: Response content: application/json: - schema: *692 + schema: *696 examples: - default: *693 + default: *697 '404': *6 x-github: githubCloudOnly: false @@ -105643,7 +106946,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *255 + - *262 responses: '200': description: Response @@ -105659,9 +106962,9 @@ paths: type: integer machines: type: array - items: *694 + items: *698 examples: - default: *695 + default: *699 '304': *37 '500': *55 '401': *25 @@ -105690,7 +106993,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *255 + - *262 requestBody: required: true content: @@ -105740,13 +107043,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *351 + repository: *358 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *470 - required: *471 + properties: *476 + required: *477 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -106520,15 +107823,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *255 + - *262 responses: '200': description: Response content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '304': *37 '500': *55 '400': *14 @@ -106560,15 +107863,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *255 + - *262 responses: '200': description: Response content: application/json: - schema: *253 + schema: *260 examples: - default: *469 + default: *475 '500': *55 '401': *25 '403': *29 @@ -106598,9 +107901,9 @@ paths: application/json: schema: type: array - items: *266 + items: *273 examples: - default: &706 + default: &710 value: - id: 197 name: hello_docker @@ -106701,7 +108004,7 @@ paths: application/json: schema: type: array - items: &696 + items: &700 title: Email description: Email type: object @@ -106766,9 +108069,9 @@ paths: application/json: schema: type: array - items: *696 + items: *700 examples: - default: &708 + default: &712 value: - email: octocat@github.com verified: true @@ -106843,7 +108146,7 @@ paths: application/json: schema: type: array - items: *696 + items: *700 examples: default: value: @@ -107099,7 +108402,7 @@ paths: application/json: schema: type: array - items: &697 + items: &701 title: GPG Key description: A unique encryption key type: object @@ -107230,7 +108533,7 @@ paths: - subkeys - revoked examples: - default: &726 + default: &730 value: - id: 3 name: Octocat's GPG Key @@ -107315,9 +108618,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *701 examples: - default: &698 + default: &702 value: id: 3 name: Octocat's GPG Key @@ -107374,7 +108677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &699 + - &703 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -107386,9 +108689,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *701 examples: - default: *698 + default: *702 '404': *6 '304': *37 '403': *29 @@ -107411,7 +108714,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *699 + - *703 responses: '204': description: Response @@ -107690,12 +108993,12 @@ paths: application/json: schema: anyOf: - - *240 + - *247 - type: object properties: {} additionalProperties: false examples: - default: *241 + default: *248 '204': description: Response when there are no restrictions x-github: @@ -107719,7 +109022,7 @@ paths: required: true content: application/json: - schema: *548 + schema: *552 examples: default: value: @@ -107730,7 +109033,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *247 examples: default: value: @@ -107811,7 +109114,7 @@ paths: - closed - all default: open - - *251 + - *258 - name: sort description: What to sort results by. in: query @@ -107836,7 +109139,7 @@ paths: type: array items: *88 examples: - default: *252 + default: *259 headers: Link: *70 '404': *6 @@ -107869,7 +109172,7 @@ paths: application/json: schema: type: array - items: &700 + items: &704 title: Key description: Key type: object @@ -107970,9 +109273,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *704 examples: - default: &701 + default: &705 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108005,15 +109308,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *583 + - *587 responses: '200': description: Response content: application/json: - schema: *700 + schema: *704 examples: - default: *701 + default: *705 '404': *6 '304': *37 '403': *29 @@ -108036,7 +109339,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *583 + - *587 responses: '204': description: Response @@ -108069,7 +109372,7 @@ paths: application/json: schema: type: array - items: &702 + items: &706 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -108137,7 +109440,7 @@ paths: - account - plan examples: - default: &703 + default: &707 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -108199,9 +109502,9 @@ paths: application/json: schema: type: array - items: *702 + items: *706 examples: - default: *703 + default: *707 headers: Link: *70 '304': *37 @@ -108241,7 +109544,7 @@ paths: application/json: schema: type: array - items: *257 + items: *264 examples: default: value: @@ -108355,7 +109658,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -108442,7 +109745,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -108514,7 +109817,7 @@ paths: application/json: schema: type: array - items: *259 + items: *266 examples: default: value: @@ -108767,7 +110070,7 @@ paths: description: Response content: application/json: - schema: *259 + schema: *266 examples: default: value: @@ -108947,7 +110250,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *260 + - *267 - name: exclude in: query required: false @@ -108960,7 +110263,7 @@ paths: description: Response content: application/json: - schema: *259 + schema: *266 examples: default: value: @@ -109154,7 +110457,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *260 + - *267 responses: '302': description: Response @@ -109180,7 +110483,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *260 + - *267 responses: '204': description: Response @@ -109209,8 +110512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *260 - - *704 + - *267 + - *708 responses: '204': description: Response @@ -109234,7 +110537,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *260 + - *267 - *17 - *19 responses: @@ -109323,7 +110626,7 @@ paths: - docker - nuget - container - - *705 + - *709 - *19 - *17 responses: @@ -109333,10 +110636,10 @@ paths: application/json: schema: type: array - items: *266 + items: *273 examples: - default: *706 - '400': *707 + default: *710 + '400': *711 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109356,16 +110659,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *268 - - *269 + - *275 + - *276 responses: '200': description: Response content: application/json: - schema: *266 + schema: *273 examples: - default: &727 + default: &731 value: id: 40201 name: octo-name @@ -109478,8 +110781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *268 - - *269 + - *275 + - *276 responses: '204': description: Response @@ -109509,8 +110812,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *268 - - *269 + - *275 + - *276 - name: token description: package token schema: @@ -109542,8 +110845,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: - - *268 - - *269 + - *275 + - *276 - *19 - *17 - name: state @@ -109563,7 +110866,7 @@ paths: application/json: schema: type: array - items: *270 + items: *277 examples: default: value: @@ -109612,15 +110915,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *268 - - *269 - - *271 + - *275 + - *276 + - *278 responses: '200': description: Response content: application/json: - schema: *270 + schema: *277 examples: default: value: @@ -109656,9 +110959,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *268 - - *269 - - *271 + - *275 + - *276 + - *278 responses: '204': description: Response @@ -109688,9 +110991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *268 - - *269 - - *271 + - *275 + - *276 + - *278 responses: '204': description: Response @@ -109727,9 +111030,9 @@ paths: application/json: schema: type: array - items: *696 + items: *700 examples: - default: *708 + default: *712 headers: Link: *70 '304': *37 @@ -109842,7 +111145,7 @@ paths: type: array items: *82 examples: - default: &715 + default: &719 summary: Default response value: - id: 1296269 @@ -110146,9 +111449,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *358 examples: - default: *353 + default: *360 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -110187,9 +111490,9 @@ paths: application/json: schema: type: array - items: *550 + items: *554 examples: - default: *709 + default: *713 headers: Link: *70 '304': *37 @@ -110212,7 +111515,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *244 + - *251 responses: '204': description: Response @@ -110236,7 +111539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *244 + - *251 responses: '204': description: Response @@ -110269,7 +111572,7 @@ paths: application/json: schema: type: array - items: &710 + items: &714 title: Social account description: Social media account type: object @@ -110284,7 +111587,7 @@ paths: - provider - url examples: - default: &711 + default: &715 value: - provider: twitter url: https://twitter.com/github @@ -110346,9 +111649,9 @@ paths: application/json: schema: type: array - items: *710 + items: *714 examples: - default: *711 + default: *715 '422': *15 '304': *37 '404': *6 @@ -110435,7 +111738,7 @@ paths: application/json: schema: type: array - items: &712 + items: &716 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -110455,7 +111758,7 @@ paths: - title - created_at examples: - default: &745 + default: &749 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -110519,9 +111822,9 @@ paths: description: Response content: application/json: - schema: *712 + schema: *716 examples: - default: &713 + default: &717 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -110551,7 +111854,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: - - &714 + - &718 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -110563,9 +111866,9 @@ paths: description: Response content: application/json: - schema: *712 + schema: *716 examples: - default: *713 + default: *717 '404': *6 '304': *37 '403': *29 @@ -110588,7 +111891,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: - - *714 + - *718 responses: '204': description: Response @@ -110617,7 +111920,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &746 + - &750 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 @@ -110642,11 +111945,11 @@ paths: type: array items: *82 examples: - default-response: *715 + default-response: *719 application/vnd.github.v3.star+json: schema: type: array - items: &747 + items: &751 title: Starred Repository description: Starred Repository type: object @@ -110802,8 +112105,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: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response if this repository is starred by you @@ -110831,8 +112134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -110856,8 +112159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *348 - - *349 + - *355 + - *356 responses: '204': description: Response @@ -110892,7 +112195,7 @@ paths: type: array items: *161 examples: - default: *279 + default: *286 headers: Link: *70 '304': *37 @@ -110929,7 +112232,7 @@ paths: application/json: schema: type: array - items: *344 + items: *351 examples: default: value: @@ -111015,10 +112318,10 @@ paths: application/json: schema: oneOf: - - *690 - - *716 + - *694 + - *720 examples: - default-response: &720 + default-response: &724 summary: Default response value: login: octocat @@ -111053,7 +112356,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &721 + response-with-git-hub-plan-information: &725 summary: Response with GitHub plan information value: login: octocat @@ -111110,14 +112413,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &718 + - &722 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *284 + - *291 requestBody: required: true description: Details of the draft item to create in the project. @@ -111151,9 +112454,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *297 examples: - draft_issue: *291 + draft_issue: *298 '304': *37 '403': *29 '401': *25 @@ -111176,7 +112479,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *717 + - *721 - *17 responses: '200': @@ -111211,8 +112514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *718 - - *284 + - *722 + - *291 requestBody: required: true content: @@ -111283,17 +112586,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *719 + schema: *723 examples: table_view: summary: Response for creating a table view - value: *295 + value: *302 board_view: summary: Response for creating a board view with filter - value: *295 + value: *302 roadmap_view: summary: Response for creating a roadmap view - value: *295 + value: *302 '304': *37 '403': *29 '401': *25 @@ -111335,11 +112638,11 @@ paths: application/json: schema: oneOf: - - *690 - - *716 + - *694 + - *720 examples: - default-response: *720 - response-with-git-hub-plan-information: *721 + default-response: *724 + response-with-git-hub-plan-information: *725 '404': *6 x-github: githubCloudOnly: false @@ -111389,8 +112692,8 @@ paths: required: - subject_digests examples: - default: *722 - withPredicateType: *723 + default: *726 + withPredicateType: *727 responses: '200': description: Response @@ -111429,7 +112732,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *724 + default: *728 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111618,7 +112921,7 @@ paths: initiator: type: string examples: - default: *409 + default: *415 '201': description: Response content: @@ -111685,7 +112988,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *195 + items: *202 examples: default: summary: Example response for listing user copilot spaces @@ -111897,9 +113200,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *202 examples: - default: &725 + default: &729 summary: Example response for a user copilot space value: id: 42 @@ -111998,9 +113301,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *202 examples: - default: *725 + default: *729 '403': *29 '404': *6 x-github: @@ -112121,9 +113424,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *202 examples: - default: *725 + default: *729 '403': *29 '404': *6 '422': *15 @@ -112200,7 +113503,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *197 + items: *204 examples: default: value: @@ -112343,7 +113646,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *204 examples: default: value: @@ -112454,7 +113757,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *204 examples: default: value: @@ -112584,7 +113887,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *198 + items: *205 examples: default: value: @@ -112676,7 +113979,7 @@ paths: description: Resource created content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -112692,7 +113995,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -112745,7 +114048,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -112812,7 +114115,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -112889,9 +114192,9 @@ paths: application/json: schema: type: array - items: *266 + items: *273 examples: - default: *706 + default: *710 '403': *29 '401': *25 x-github: @@ -113275,9 +114578,9 @@ paths: application/json: schema: type: array - items: *697 + items: *701 examples: - default: *726 + default: *730 headers: Link: *70 x-github: @@ -113381,7 +114684,7 @@ paths: application/json: schema: *22 examples: - default: *547 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113505,7 +114808,7 @@ paths: - docker - nuget - container - - *705 + - *709 - *74 - *19 - *17 @@ -113516,12 +114819,12 @@ paths: application/json: schema: type: array - items: *266 + items: *273 examples: - default: *706 + default: *710 '403': *29 '401': *25 - '400': *707 + '400': *711 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113541,17 +114844,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *268 - - *269 + - *275 + - *276 - *74 responses: '200': description: Response content: application/json: - schema: *266 + schema: *273 examples: - default: *727 + default: *731 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113572,8 +114875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *268 - - *269 + - *275 + - *276 - *74 responses: '204': @@ -113606,8 +114909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *268 - - *269 + - *275 + - *276 - *74 - name: token description: package token @@ -113640,8 +114943,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: - - *268 - - *269 + - *275 + - *276 - *74 responses: '200': @@ -113650,7 +114953,7 @@ paths: application/json: schema: type: array - items: *270 + items: *277 examples: default: value: @@ -113708,16 +115011,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *268 - - *269 - - *271 + - *275 + - *276 + - *278 - *74 responses: '200': description: Response content: application/json: - schema: *270 + schema: *277 examples: default: value: @@ -113752,10 +115055,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *268 - - *269 + - *275 + - *276 - *74 - - *271 + - *278 responses: '204': description: Response @@ -113787,10 +115090,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *268 - - *269 + - *275 + - *276 - *74 - - *271 + - *278 responses: '204': description: Response @@ -113831,9 +115134,9 @@ paths: application/json: schema: type: array - items: *282 + items: *289 examples: - default: *283 + default: *290 headers: Link: *70 '304': *37 @@ -113855,16 +115158,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *284 + - *291 - *74 responses: '200': description: Response content: application/json: - schema: *282 + schema: *289 examples: - default: *283 + default: *290 headers: Link: *70 '304': *37 @@ -113886,7 +115189,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *284 + - *291 - *74 - *17 - *47 @@ -113898,9 +115201,9 @@ paths: application/json: schema: type: array - items: *288 + items: *295 examples: - default: *728 + default: *732 headers: Link: *70 '304': *37 @@ -113922,7 +115225,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *74 - - *284 + - *291 requestBody: required: true content: @@ -113960,7 +115263,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *729 + items: *733 required: - name - data_type @@ -113976,7 +115279,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *730 + iteration_configuration: *734 required: - name - data_type @@ -113998,20 +115301,20 @@ paths: value: name: Due date data_type: date - single_select_field: *731 - iteration_field: *732 + single_select_field: *735 + iteration_field: *736 responses: '201': description: Response content: application/json: - schema: *288 + schema: *295 examples: - text_field: *733 - number_field: *734 - date_field: *735 - single_select_field: *736 - iteration_field: *737 + text_field: *737 + number_field: *738 + date_field: *739 + single_select_field: *740 + iteration_field: *741 '304': *37 '403': *29 '401': *25 @@ -114032,17 +115335,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *284 - - *738 + - *291 + - *742 - *74 responses: '200': description: Response content: application/json: - schema: *288 + schema: *295 examples: - default: *739 + default: *743 headers: Link: *70 '304': *37 @@ -114065,7 +115368,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *284 + - *291 - *74 - *47 - *48 @@ -114098,9 +115401,9 @@ paths: application/json: schema: type: array - items: *292 + items: *299 examples: - default: *293 + default: *300 headers: Link: *70 '304': *37 @@ -114122,7 +115425,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *74 - - *284 + - *291 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -114192,22 +115495,22 @@ paths: description: Response content: application/json: - schema: *290 + schema: *297 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *291 + value: *298 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *291 + value: *298 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *291 + value: *298 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *291 + value: *298 '304': *37 '403': *29 '401': *25 @@ -114227,9 +115530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *284 + - *291 - *74 - - *294 + - *301 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -114249,9 +115552,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *299 examples: - default: *293 + default: *300 headers: Link: *70 '304': *37 @@ -114272,9 +115575,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *284 + - *291 - *74 - - *294 + - *301 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -114344,13 +115647,13 @@ paths: description: Response content: application/json: - schema: *292 + schema: *299 examples: - text_field: *293 - number_field: *293 - date_field: *293 - single_select_field: *293 - iteration_field: *293 + text_field: *300 + number_field: *300 + date_field: *300 + single_select_field: *300 + iteration_field: *300 '401': *25 '403': *29 '404': *6 @@ -114370,9 +115673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *284 + - *291 - *74 - - *294 + - *301 responses: '204': description: Response @@ -114394,9 +115697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *284 + - *291 - *74 - - *740 + - *744 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -114422,9 +115725,9 @@ paths: application/json: schema: type: array - items: *292 + items: *299 examples: - default: *293 + default: *300 headers: Link: *70 '304': *37 @@ -114645,7 +115948,7 @@ paths: type: array items: *161 examples: - default: *279 + default: *286 headers: Link: *70 x-github: @@ -114671,7 +115974,7 @@ paths: - *124 - *126 - *125 - - *741 + - *745 - *127 responses: '200': @@ -114802,7 +116105,7 @@ paths: parameters: - *74 - *124 - - *742 + - *746 - *125 responses: '200': @@ -114901,9 +116204,9 @@ paths: - *124 - *126 - *125 - - *743 + - *747 - *127 - - *744 + - *748 responses: '200': description: Response when getting a billing usage summary @@ -115037,9 +116340,9 @@ paths: application/json: schema: type: array - items: *710 + items: *714 examples: - default: *711 + default: *715 headers: Link: *70 x-github: @@ -115069,9 +116372,9 @@ paths: application/json: schema: type: array - items: *712 + items: *716 examples: - default: *745 + default: *749 headers: Link: *70 x-github: @@ -115096,7 +116399,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *74 - - *746 + - *750 - *62 - *17 - *19 @@ -115108,11 +116411,11 @@ paths: schema: anyOf: - type: array - items: *747 + items: *751 - type: array items: *82 examples: - default-response: *715 + default-response: *719 headers: Link: *70 x-github: @@ -115143,7 +116446,7 @@ paths: type: array items: *161 examples: - default: *279 + default: *286 headers: Link: *70 x-github: @@ -115271,7 +116574,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &748 + enterprise: &752 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -115329,7 +116632,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &749 + installation: &753 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -115348,7 +116651,7 @@ x-webhooks: required: - id - node_id - organization: &750 + organization: &754 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -115408,13 +116711,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &751 + repository: &755 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &783 + properties: &787 id: description: Unique identifier of the repository example: 42 @@ -116098,7 +117401,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &784 + required: &788 - archive_url - assignees_url - blobs_url @@ -116249,10 +117552,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -116328,11 +117631,11 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - rule: &752 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: &756 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) @@ -116555,11 +117858,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - rule: *752 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: *756 sender: *4 required: - action @@ -116742,11 +118045,11 @@ x-webhooks: - everyone required: - from - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - rule: *752 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: *756 sender: *4 required: - action @@ -116830,7 +118133,7 @@ x-webhooks: type: string enum: - completed - check_run: &754 + check_run: &758 title: CheckRun description: A check performed on the code of a given code change type: object @@ -116921,7 +118224,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *753 + deployment: *757 details_url: example: https://example.com type: string @@ -117006,10 +118309,10 @@ x-webhooks: - output - app - pull_requests - installation: *749 - enterprise: *748 - organization: *750 - repository: *751 + installation: *753 + enterprise: *752 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -117400,11 +118703,11 @@ x-webhooks: type: string enum: - created - check_run: *754 - installation: *749 - enterprise: *748 - organization: *750 - repository: *751 + check_run: *758 + installation: *753 + enterprise: *752 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -117798,11 +119101,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *754 - installation: *749 - enterprise: *748 - organization: *750 - repository: *751 + check_run: *758 + installation: *753 + enterprise: *752 + organization: *754 + repository: *755 requested_action: description: The action requested by the user. type: object @@ -118205,11 +119508,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *754 - installation: *749 - enterprise: *748 - organization: *750 - repository: *751 + check_run: *758 + installation: *753 + enterprise: *752 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -119179,10 +120482,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -119871,10 +121174,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -120557,10 +121860,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -120726,7 +122029,7 @@ x-webhooks: required: - login - id - dismissed_comment: *441 + dismissed_comment: *447 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -120871,20 +122174,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &755 + commit_oid: &759 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: *748 - installation: *749 - organization: *750 - ref: &756 + enterprise: *752 + installation: *753 + organization: *754 + ref: &760 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: *751 + repository: *755 sender: *4 required: - action @@ -121049,7 +122352,7 @@ x-webhooks: required: - login - id - dismissed_comment: *441 + dismissed_comment: *447 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -121279,12 +122582,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *755 - enterprise: *748 - installation: *749 - organization: *750 - ref: *756 - repository: *751 + commit_oid: *759 + enterprise: *752 + installation: *753 + organization: *754 + ref: *760 + repository: *755 sender: *4 required: - action @@ -121379,7 +122682,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *441 + dismissed_comment: *447 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -121550,12 +122853,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *755 - enterprise: *748 - installation: *749 - organization: *750 - ref: *756 - repository: *751 + commit_oid: *759 + enterprise: *752 + installation: *753 + organization: *754 + ref: *760 + repository: *755 sender: *4 required: - action @@ -121721,7 +123024,7 @@ x-webhooks: required: - login - id - dismissed_comment: *441 + dismissed_comment: *447 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -121887,12 +123190,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *755 - enterprise: *748 - installation: *749 - organization: *750 - ref: *756 - repository: *751 + commit_oid: *759 + enterprise: *752 + installation: *753 + organization: *754 + ref: *760 + repository: *755 sender: *4 required: - action @@ -121991,7 +123294,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *441 + dismissed_comment: *447 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -122166,16 +123469,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 ref: 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 nullable: true - repository: *751 + repository: *755 sender: *4 required: - action @@ -122272,7 +123575,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *441 + dismissed_comment: *447 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -122412,12 +123715,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *755 - enterprise: *748 - installation: *749 - organization: *750 - ref: *756 - repository: *751 + commit_oid: *759 + enterprise: *752 + installation: *753 + organization: *754 + ref: *760 + repository: *755 sender: *4 required: - action @@ -122583,7 +123886,7 @@ x-webhooks: required: - login - id - dismissed_comment: *441 + dismissed_comment: *447 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -122728,10 +124031,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -122986,10 +124289,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -123069,18 +124372,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *750 - pusher_type: &757 + organization: *754 + pusher_type: &761 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &758 + ref: &762 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -123090,7 +124393,7 @@ x-webhooks: enum: - tag - branch - repository: *751 + repository: *755 sender: *4 required: - ref @@ -123172,10 +124475,10 @@ x-webhooks: type: string enum: - created - definition: *296 - enterprise: *748 - installation: *749 - organization: *750 + definition: *303 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -123260,9 +124563,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -123339,10 +124642,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *296 - enterprise: *748 - installation: *749 - organization: *750 + definition: *303 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -123419,10 +124722,10 @@ x-webhooks: type: string enum: - updated - definition: *296 - enterprise: *748 - installation: *749 - organization: *750 + definition: *303 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -123499,19 +124802,19 @@ x-webhooks: type: string enum: - updated - enterprise: *748 - installation: *749 - repository: *751 - organization: *750 + enterprise: *752 + installation: *753 + repository: *755 + organization: *754 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *300 + items: *307 old_property_values: type: array description: The old custom property values for the repository. - items: *300 + items: *307 required: - action - repository @@ -123587,18 +124890,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *748 - installation: *749 - organization: *750 - pusher_type: *757 - ref: *758 + enterprise: *752 + installation: *753 + organization: *754 + pusher_type: *761 + ref: *762 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *751 + repository: *755 sender: *4 required: - ref @@ -123678,11 +124981,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *505 - installation: *749 - organization: *750 - enterprise: *748 - repository: *751 + alert: *511 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -123762,11 +125065,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *505 - installation: *749 - organization: *750 - enterprise: *748 - repository: *751 + alert: *511 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -123847,11 +125150,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *505 - installation: *749 - organization: *750 - enterprise: *748 - repository: *751 + alert: *511 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -123932,11 +125235,11 @@ x-webhooks: type: string enum: - created - alert: *505 - installation: *749 - organization: *750 - enterprise: *748 - repository: *751 + alert: *511 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -124015,11 +125318,11 @@ x-webhooks: type: string enum: - dismissed - alert: *505 - installation: *749 - organization: *750 - enterprise: *748 - repository: *751 + alert: *511 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -124098,11 +125401,11 @@ x-webhooks: type: string enum: - fixed - alert: *505 - installation: *749 - organization: *750 - enterprise: *748 - repository: *751 + alert: *511 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -124182,11 +125485,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *505 - installation: *749 - organization: *750 - enterprise: *748 - repository: *751 + alert: *511 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -124265,11 +125568,11 @@ x-webhooks: type: string enum: - reopened - alert: *505 - installation: *749 - organization: *750 - enterprise: *748 - repository: *751 + alert: *511 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -124346,9 +125649,9 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - key: &759 + enterprise: *752 + installation: *753 + key: &763 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -124384,8 +125687,8 @@ x-webhooks: - verified - created_at - read_only - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -124462,11 +125765,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - key: *759 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + key: *763 + organization: *754 + repository: *755 sender: *4 required: - action @@ -125022,12 +126325,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: &765 + workflow: &769 title: Workflow type: object nullable: true @@ -125768,15 +127071,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *760 - required: *761 + properties: *764 + required: *765 nullable: true pull_requests: type: array - items: *602 - repository: *751 - organization: *750 - installation: *749 + items: *606 + repository: *755 + organization: *754 + installation: *753 sender: *4 responses: '200': @@ -125847,7 +127150,7 @@ x-webhooks: type: string enum: - approved - approver: &762 + approver: &766 type: object properties: avatar_url: @@ -125890,11 +127193,11 @@ x-webhooks: type: string comment: type: string - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - reviewers: &763 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + reviewers: &767 type: array items: type: object @@ -125973,7 +127276,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &764 + workflow_job_run: &768 type: object properties: conclusion: @@ -126704,18 +128007,18 @@ x-webhooks: type: string enum: - rejected - approver: *762 + approver: *766 comment: type: string - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - reviewers: *763 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + reviewers: *767 sender: *4 since: type: string - workflow_job_run: *764 + workflow_job_run: *768 workflow_job_runs: type: array items: @@ -127419,13 +128722,13 @@ x-webhooks: type: string enum: - requested - enterprise: *748 + enterprise: *752 environment: type: string - installation: *749 - organization: *750 - repository: *751 - requestor: &770 + installation: *753 + organization: *754 + repository: *755 + requestor: &774 title: User type: object nullable: true @@ -129314,12 +130617,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *765 + workflow: *769 workflow_run: title: Deployment Workflow Run type: object @@ -129999,7 +131302,7 @@ x-webhooks: type: string enum: - answered - answer: &768 + answer: &772 type: object properties: author_association: @@ -130156,11 +131459,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130287,11 +131590,11 @@ x-webhooks: - from required: - category - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130374,11 +131677,11 @@ x-webhooks: type: string enum: - closed - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130460,7 +131763,7 @@ x-webhooks: type: string enum: - created - comment: &767 + comment: &771 type: object properties: author_association: @@ -130617,11 +131920,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130704,12 +132007,12 @@ x-webhooks: type: string enum: - deleted - comment: *767 - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + comment: *771 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130804,12 +132107,12 @@ x-webhooks: - from required: - body - comment: *767 - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + comment: *771 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130893,11 +132196,11 @@ x-webhooks: type: string enum: - created - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130979,11 +132282,11 @@ x-webhooks: type: string enum: - deleted - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131083,11 +132386,11 @@ x-webhooks: type: string required: - from - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131169,10 +132472,10 @@ x-webhooks: type: string enum: - labeled - discussion: *766 - enterprise: *748 - installation: *749 - label: &769 + discussion: *770 + enterprise: *752 + installation: *753 + label: &773 title: Label type: object properties: @@ -131204,8 +132507,8 @@ x-webhooks: - color - default - description - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131288,11 +132591,11 @@ x-webhooks: type: string enum: - locked - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131374,11 +132677,11 @@ x-webhooks: type: string enum: - pinned - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131460,11 +132763,11 @@ x-webhooks: type: string enum: - reopened - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131549,16 +132852,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *766 - new_repository: *751 + new_discussion: *770 + new_repository: *755 required: - new_discussion - new_repository - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131641,10 +132944,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *766 - old_answer: *768 - organization: *750 - repository: *751 + discussion: *770 + old_answer: *772 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131726,12 +133029,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *766 - enterprise: *748 - installation: *749 - label: *769 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + label: *773 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131814,11 +133117,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131900,11 +133203,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *766 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + discussion: *770 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131977,7 +133280,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *748 + enterprise: *752 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -132637,9 +133940,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - forkee @@ -132785,9 +134088,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 pages: description: The pages that were updated. type: array @@ -132824,7 +134127,7 @@ x-webhooks: - action - sha - html_url - repository: *751 + repository: *755 sender: *4 required: - pages @@ -132900,10 +134203,10 @@ x-webhooks: type: string enum: - created - enterprise: *748 + enterprise: *752 installation: *22 - organization: *750 - repositories: &771 + organization: *754 + repositories: &775 description: An array of repository objects that the installation can access. type: array @@ -132929,8 +134232,8 @@ x-webhooks: - name - full_name - private - repository: *751 - requester: *770 + repository: *755 + requester: *774 sender: *4 required: - action @@ -133005,11 +134308,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 + enterprise: *752 installation: *22 - organization: *750 - repositories: *771 - repository: *751 + organization: *754 + repositories: *775 + repository: *755 requester: nullable: true sender: *4 @@ -133085,11 +134388,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *748 + enterprise: *752 installation: *22 - organization: *750 - repositories: *771 - repository: *751 + organization: *754 + repositories: *775 + repository: *755 requester: nullable: true sender: *4 @@ -133165,10 +134468,10 @@ x-webhooks: type: string enum: - added - enterprise: *748 + enterprise: *752 installation: *22 - organization: *750 - repositories_added: &772 + organization: *754 + repositories_added: &776 description: An array of repository objects, which were added to the installation. type: array @@ -133214,15 +134517,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *751 - repository_selection: &773 + repository: *755 + repository_selection: &777 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *770 + requester: *774 sender: *4 required: - action @@ -133301,10 +134604,10 @@ x-webhooks: type: string enum: - removed - enterprise: *748 + enterprise: *752 installation: *22 - organization: *750 - repositories_added: *772 + organization: *754 + repositories_added: *776 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -133331,9 +134634,9 @@ x-webhooks: - name - full_name - private - repository: *751 - repository_selection: *773 - requester: *770 + repository: *755 + repository_selection: *777 + requester: *774 sender: *4 required: - action @@ -133412,11 +134715,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *748 + enterprise: *752 installation: *22 - organization: *750 - repositories: *771 - repository: *751 + organization: *754 + repositories: *775 + repository: *755 requester: nullable: true sender: *4 @@ -133594,10 +134897,10 @@ x-webhooks: type: string required: - from - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 target_type: type: string @@ -133676,11 +134979,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *748 + enterprise: *752 installation: *22 - organization: *750 - repositories: *771 - repository: *751 + organization: *754 + repositories: *775 + repository: *755 requester: nullable: true sender: *4 @@ -133854,8 +135157,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *579 - required: *580 + properties: *583 + required: *584 nullable: true user: title: User @@ -133940,8 +135243,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -134730,8 +136033,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134747,7 +136050,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -135080,8 +136383,8 @@ x-webhooks: - state - locked - assignee - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -135161,7 +136464,7 @@ x-webhooks: type: string enum: - deleted - comment: &774 + comment: &778 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -135318,8 +136621,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *579 - required: *580 + properties: *583 + required: *584 nullable: true required: - url @@ -135334,8 +136637,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -136120,8 +137423,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136137,7 +137440,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -136472,8 +137775,8 @@ x-webhooks: - state - locked - assignee - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -136553,7 +137856,7 @@ x-webhooks: type: string enum: - edited - changes: &803 + changes: &807 description: The changes to the comment. type: object properties: @@ -136565,9 +137868,9 @@ x-webhooks: type: string required: - from - comment: *774 - enterprise: *748 - installation: *749 + comment: *778 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -137355,8 +138658,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137372,7 +138675,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -137705,8 +139008,8 @@ x-webhooks: - state - locked - assignee - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -137787,9 +139090,9 @@ x-webhooks: type: string enum: - pinned - comment: *774 - enterprise: *748 - installation: *749 + comment: *778 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -138579,8 +139882,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138596,7 +139899,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -138931,8 +140234,8 @@ x-webhooks: - state - locked - assignee - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -139012,9 +140315,9 @@ x-webhooks: type: string enum: - unpinned - comment: *774 - enterprise: *748 - installation: *749 + comment: *778 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -139804,8 +141107,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139821,7 +141124,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -140156,8 +141459,8 @@ x-webhooks: - state - locked - assignee - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -140246,9 +141549,9 @@ x-webhooks: type: number blocking_issue: *88 blocking_issue_repo: *82 - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -140337,9 +141640,9 @@ x-webhooks: type: number blocking_issue: *88 blocking_issue_repo: *82 - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -140427,9 +141730,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *88 - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -140518,9 +141821,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *88 - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -140600,10 +141903,10 @@ x-webhooks: type: string enum: - assigned - assignee: *770 - enterprise: *748 - installation: *749 - issue: &775 + assignee: *774 + enterprise: *752 + installation: *753 + issue: &779 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -141395,11 +142698,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141415,7 +142718,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -141516,8 +142819,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -141597,8 +142900,8 @@ x-webhooks: type: string enum: - closed - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -142395,11 +143698,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142415,7 +143718,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -142651,8 +143954,8 @@ x-webhooks: required: - state - closed_at - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -142731,8 +144034,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143520,11 +144823,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143540,7 +144843,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -143640,8 +144943,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -143720,8 +145023,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144531,11 +145834,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144551,7 +145854,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -144630,7 +145933,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &776 + milestone: &780 title: Milestone description: A collection of related issues and pull requests. type: object @@ -144768,8 +146071,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -144868,8 +146171,8 @@ x-webhooks: type: string required: - from - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -145661,11 +146964,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145678,7 +146981,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *248 + type: *255 title: description: Title of the issue type: string @@ -145782,9 +147085,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *769 - organization: *750 - repository: *751 + label: *773 + organization: *754 + repository: *755 sender: *4 required: - action @@ -145864,9 +147167,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *748 - installation: *749 - issue: *775 + enterprise: *752 + installation: *753 + issue: *779 issue_field: type: object description: The issue field whose value was set or updated on the @@ -145975,8 +147278,8 @@ x-webhooks: - id required: - from - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -146056,9 +147359,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *748 - installation: *749 - issue: *775 + enterprise: *752 + installation: *753 + issue: *779 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -146116,8 +147419,8 @@ x-webhooks: nullable: true required: - id - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -146197,8 +147500,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -146989,11 +148292,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147006,7 +148309,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *248 + type: *255 title: description: Title of the issue type: string @@ -147110,9 +148413,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *769 - organization: *750 - repository: *751 + label: *773 + organization: *754 + repository: *755 sender: *4 required: - action @@ -147192,8 +148495,8 @@ x-webhooks: type: string enum: - locked - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148008,11 +149311,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148025,7 +149328,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *248 + type: *255 title: description: Title of the issue type: string @@ -148106,8 +149409,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -148186,8 +149489,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148996,11 +150299,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149016,7 +150319,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -149094,9 +150397,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *776 - organization: *750 - repository: *751 + milestone: *780 + organization: *754 + repository: *755 sender: *4 required: - action @@ -149959,11 +151262,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150064,7 +151367,7 @@ x-webhooks: required: - login - id - type: *248 + type: *255 required: - id - number @@ -150544,8 +151847,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151329,11 +152632,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151349,7 +152652,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -151457,8 +152760,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -151538,9 +152841,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *748 - installation: *749 - issue: &777 + enterprise: *752 + installation: *753 + issue: &781 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -152326,11 +153629,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152346,7 +153649,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -152446,8 +153749,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152526,8 +153829,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153340,11 +154643,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153438,9 +154741,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *248 - organization: *750 - repository: *751 + type: *255 + organization: *754 + repository: *755 sender: *4 required: - action @@ -154309,11 +155612,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154329,7 +155632,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -154908,11 +156211,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *748 - installation: *749 - issue: *777 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + issue: *781 + organization: *754 + repository: *755 sender: *4 required: - action @@ -154992,12 +156295,12 @@ x-webhooks: type: string enum: - typed - enterprise: *748 - installation: *749 - issue: *775 - type: *248 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + issue: *779 + type: *255 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155078,7 +156381,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &806 + assignee: &810 title: User type: object nullable: true @@ -155148,11 +156451,11 @@ x-webhooks: required: - login - id - enterprise: *748 - installation: *749 - issue: *775 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + issue: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155231,12 +156534,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *748 - installation: *749 - issue: *775 - label: *769 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + issue: *779 + label: *773 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155316,8 +156619,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -156130,11 +157433,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *683 - issue_dependencies_summary: *684 + sub_issues_summary: *687 + issue_dependencies_summary: *688 issue_field_values: type: array - items: *563 + items: *567 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156150,7 +157453,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *248 + type: *255 updated_at: type: string format: date-time @@ -156228,8 +157531,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156309,11 +157612,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *748 - installation: *749 - issue: *777 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + issue: *781 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156392,12 +157695,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *748 - installation: *749 - issue: *775 - type: *248 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + issue: *779 + type: *255 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156477,11 +157780,11 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - label: *769 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + label: *773 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156559,11 +157862,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - label: *769 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + label: *773 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156673,11 +157976,11 @@ x-webhooks: type: string required: - from - enterprise: *748 - installation: *749 - label: *769 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + label: *773 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156759,9 +158062,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *748 - installation: *749 - marketplace_purchase: &778 + enterprise: *752 + installation: *753 + marketplace_purchase: &782 title: Marketplace Purchase type: object required: @@ -156844,8 +158147,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *750 - previous_marketplace_purchase: &779 + organization: *754 + previous_marketplace_purchase: &783 title: Marketplace Purchase type: object properties: @@ -156925,7 +158228,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *751 + repository: *755 sender: *4 required: - action @@ -157005,10 +158308,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *748 - installation: *749 - marketplace_purchase: *778 - organization: *750 + enterprise: *752 + installation: *753 + marketplace_purchase: *782 + organization: *754 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -157091,7 +158394,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *751 + repository: *755 sender: *4 required: - action @@ -157173,10 +158476,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *748 - installation: *749 - marketplace_purchase: *778 - organization: *750 + enterprise: *752 + installation: *753 + marketplace_purchase: *782 + organization: *754 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -157258,7 +158561,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *751 + repository: *755 sender: *4 required: - action @@ -157339,8 +158642,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 marketplace_purchase: title: Marketplace Purchase type: object @@ -157422,9 +158725,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *750 - previous_marketplace_purchase: *779 - repository: *751 + organization: *754 + previous_marketplace_purchase: *783 + repository: *755 sender: *4 required: - action @@ -157504,12 +158807,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *748 - installation: *749 - marketplace_purchase: *778 - organization: *750 - previous_marketplace_purchase: *779 - repository: *751 + enterprise: *752 + installation: *753 + marketplace_purchase: *782 + organization: *754 + previous_marketplace_purchase: *783 + repository: *755 sender: *4 required: - action @@ -157611,11 +158914,11 @@ x-webhooks: type: string required: - to - enterprise: *748 - installation: *749 - member: *770 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + member: *774 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157715,11 +159018,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *748 - installation: *749 - member: *770 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + member: *774 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157798,11 +159101,11 @@ x-webhooks: type: string enum: - removed - enterprise: *748 - installation: *749 - member: *770 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + member: *774 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157880,11 +159183,11 @@ x-webhooks: type: string enum: - added - enterprise: *748 - installation: *749 - member: *770 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + member: *774 + organization: *754 + repository: *755 scope: description: The scope of the membership. Currently, can only be `team`. @@ -157960,7 +159263,7 @@ x-webhooks: required: - login - id - team: &780 + team: &784 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -158183,11 +159486,11 @@ x-webhooks: type: string enum: - removed - enterprise: *748 - installation: *749 - member: *770 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + member: *774 + organization: *754 + repository: *755 scope: description: The scope of the membership. Currently, can only be `team`. @@ -158264,7 +159567,7 @@ x-webhooks: required: - login - id - team: *780 + team: *784 required: - action - scope @@ -158346,8 +159649,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *749 - merge_group: &782 + installation: *753 + merge_group: &786 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -158366,15 +159669,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *781 + head_commit: *785 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -158460,10 +159763,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *749 - merge_group: *782 - organization: *750 - repository: *751 + installation: *753 + merge_group: *786 + organization: *754 + repository: *755 sender: *4 required: - action @@ -158536,7 +159839,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 + enterprise: *752 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -158645,16 +159948,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *749 - organization: *750 + installation: *753 + organization: *754 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *783 - required: *784 + properties: *787 + required: *788 nullable: true sender: *4 required: @@ -158735,11 +160038,11 @@ x-webhooks: type: string enum: - closed - enterprise: *748 - installation: *749 - milestone: *776 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + milestone: *780 + organization: *754 + repository: *755 sender: *4 required: - action @@ -158818,9 +160121,9 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - milestone: &785 + enterprise: *752 + installation: *753 + milestone: &789 title: Milestone description: A collection of related issues and pull requests. type: object @@ -158957,8 +160260,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -159037,11 +160340,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - milestone: *776 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + milestone: *780 + organization: *754 + repository: *755 sender: *4 required: - action @@ -159151,11 +160454,11 @@ x-webhooks: type: string required: - from - enterprise: *748 - installation: *749 - milestone: *776 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + milestone: *780 + organization: *754 + repository: *755 sender: *4 required: - action @@ -159235,11 +160538,11 @@ x-webhooks: type: string enum: - opened - enterprise: *748 - installation: *749 - milestone: *785 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + milestone: *789 + organization: *754 + repository: *755 sender: *4 required: - action @@ -159318,11 +160621,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *770 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + blocked_user: *774 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -159401,11 +160704,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *770 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + blocked_user: *774 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -159484,9 +160787,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - membership: &786 + enterprise: *752 + installation: *753 + membership: &790 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -159593,8 +160896,8 @@ x-webhooks: - role - organization_url - user - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 required: - action @@ -159672,11 +160975,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *748 - installation: *749 - membership: *786 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + membership: *790 + organization: *754 + repository: *755 sender: *4 required: - action @@ -159755,8 +161058,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -159872,10 +161175,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 - user: *770 + user: *774 required: - action - invitation @@ -159953,11 +161256,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *748 - installation: *749 - membership: *786 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + membership: *790 + organization: *754 + repository: *755 sender: *4 required: - action @@ -160044,11 +161347,11 @@ x-webhooks: properties: from: type: string - enterprise: *748 - installation: *749 - membership: *786 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + membership: *790 + organization: *754 + repository: *755 sender: *4 required: - action @@ -160125,9 +161428,9 @@ x-webhooks: type: string enum: - published - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 package: description: Information about the package. type: object @@ -160626,7 +161929,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &787 + items: &791 title: Ruby Gems metadata type: object properties: @@ -160721,7 +162024,7 @@ x-webhooks: - owner - package_version - registry - repository: *751 + repository: *755 sender: *4 required: - action @@ -160797,9 +162100,9 @@ x-webhooks: type: string enum: - updated - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 package: description: Information about the package. type: object @@ -161152,7 +162455,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *787 + items: *791 source_url: type: string format: uri @@ -161222,7 +162525,7 @@ x-webhooks: - owner - package_version - registry - repository: *751 + repository: *755 sender: *4 required: - action @@ -161398,12 +162701,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *748 + enterprise: *752 id: type: integer - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - id @@ -161480,7 +162783,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &788 + personal_access_token_request: &792 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -161626,10 +162929,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *748 - organization: *750 + enterprise: *752 + organization: *754 sender: *4 - installation: *749 + installation: *753 required: - action - personal_access_token_request @@ -161706,11 +163009,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *788 - enterprise: *748 - organization: *750 + personal_access_token_request: *792 + enterprise: *752 + organization: *754 sender: *4 - installation: *749 + installation: *753 required: - action - personal_access_token_request @@ -161786,11 +163089,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *788 - enterprise: *748 - organization: *750 + personal_access_token_request: *792 + enterprise: *752 + organization: *754 sender: *4 - installation: *749 + installation: *753 required: - action - personal_access_token_request @@ -161865,11 +163168,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *788 - organization: *750 - enterprise: *748 + personal_access_token_request: *792 + organization: *754 + enterprise: *752 sender: *4 - installation: *749 + installation: *753 required: - action - personal_access_token_request @@ -161974,7 +163277,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *789 + last_response: *793 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -162006,8 +163309,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 zen: description: Random string of GitHub zen. @@ -162252,10 +163555,10 @@ x-webhooks: - from required: - note - enterprise: *748 - installation: *749 - organization: *750 - project_card: &790 + enterprise: *752 + installation: *753 + organization: *754 + project_card: &794 title: Project Card type: object properties: @@ -162374,7 +163677,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *751 + repository: *755 sender: *4 required: - action @@ -162455,11 +163758,11 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 - project_card: *790 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + project_card: *794 + repository: *755 sender: *4 required: - action @@ -162539,9 +163842,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 project_card: title: Project Card type: object @@ -162669,8 +163972,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *783 - required: *784 + properties: *787 + required: *788 nullable: true sender: *4 required: @@ -162764,11 +164067,11 @@ x-webhooks: - from required: - note - enterprise: *748 - installation: *749 - organization: *750 - project_card: *790 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + project_card: *794 + repository: *755 sender: *4 required: - action @@ -162862,9 +164165,9 @@ x-webhooks: - from required: - column_id - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 project_card: allOf: - title: Project Card @@ -163054,7 +164357,7 @@ x-webhooks: type: string required: - after_id - repository: *751 + repository: *755 sender: *4 required: - action @@ -163134,10 +164437,10 @@ x-webhooks: type: string enum: - closed - enterprise: *748 - installation: *749 - organization: *750 - project: &792 + enterprise: *752 + installation: *753 + organization: *754 + project: &796 title: Project type: object properties: @@ -163261,7 +164564,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *751 + repository: *755 sender: *4 required: - action @@ -163341,10 +164644,10 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 - project_column: &791 + enterprise: *752 + installation: *753 + organization: *754 + project_column: &795 title: Project Column type: object properties: @@ -163383,7 +164686,7 @@ x-webhooks: - name - created_at - updated_at - repository: *751 + repository: *755 sender: *4 required: - action @@ -163462,18 +164765,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - organization: *750 - project_column: *791 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *795 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *783 - required: *784 + properties: *787 + required: *788 nullable: true sender: *4 required: @@ -163563,11 +164866,11 @@ x-webhooks: type: string required: - from - enterprise: *748 - installation: *749 - organization: *750 - project_column: *791 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *795 + repository: *755 sender: *4 required: - action @@ -163647,11 +164950,11 @@ x-webhooks: type: string enum: - moved - enterprise: *748 - installation: *749 - organization: *750 - project_column: *791 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *795 + repository: *755 sender: *4 required: - action @@ -163731,11 +165034,11 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 - project: *792 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + project: *796 + repository: *755 sender: *4 required: - action @@ -163815,18 +165118,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - organization: *750 - project: *792 + enterprise: *752 + installation: *753 + organization: *754 + project: *796 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *783 - required: *784 + properties: *787 + required: *788 nullable: true sender: *4 required: @@ -163928,11 +165231,11 @@ x-webhooks: type: string required: - from - enterprise: *748 - installation: *749 - organization: *750 - project: *792 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + project: *796 + repository: *755 sender: *4 required: - action @@ -164011,11 +165314,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *748 - installation: *749 - organization: *750 - project: *792 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + project: *796 + repository: *755 sender: *4 required: - action @@ -164096,9 +165399,9 @@ x-webhooks: type: string enum: - closed - installation: *749 - organization: *750 - projects_v2: *282 + installation: *753 + organization: *754 + projects_v2: *289 sender: *4 required: - action @@ -164179,9 +165482,9 @@ x-webhooks: type: string enum: - created - installation: *749 - organization: *750 - projects_v2: *282 + installation: *753 + organization: *754 + projects_v2: *289 sender: *4 required: - action @@ -164262,9 +165565,9 @@ x-webhooks: type: string enum: - deleted - installation: *749 - organization: *750 - projects_v2: *282 + installation: *753 + organization: *754 + projects_v2: *289 sender: *4 required: - action @@ -164381,9 +165684,9 @@ x-webhooks: type: string to: type: string - installation: *749 - organization: *750 - projects_v2: *282 + installation: *753 + organization: *754 + projects_v2: *289 sender: *4 required: - action @@ -164466,7 +165769,7 @@ x-webhooks: type: string enum: - archived - changes: &796 + changes: &800 type: object properties: archived_at: @@ -164480,9 +165783,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *749 - organization: *750 - projects_v2_item: &793 + installation: *753 + organization: *754 + projects_v2_item: &797 title: Projects v2 Item description: An item belonging to a project type: object @@ -164500,7 +165803,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *289 + content_type: *296 creator: *4 created_at: type: string @@ -164617,9 +165920,9 @@ x-webhooks: nullable: true to: type: string - installation: *749 - organization: *750 - projects_v2_item: *793 + installation: *753 + organization: *754 + projects_v2_item: *797 sender: *4 required: - action @@ -164701,9 +166004,9 @@ x-webhooks: type: string enum: - created - installation: *749 - organization: *750 - projects_v2_item: *793 + installation: *753 + organization: *754 + projects_v2_item: *797 sender: *4 required: - action @@ -164784,9 +166087,9 @@ x-webhooks: type: string enum: - deleted - installation: *749 - organization: *750 - projects_v2_item: *793 + installation: *753 + organization: *754 + projects_v2_item: *797 sender: *4 required: - action @@ -164892,7 +166195,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &794 + - &798 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -164914,7 +166217,7 @@ x-webhooks: required: - id - name - - &795 + - &799 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -164948,8 +166251,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *794 - - *795 + - *798 + - *799 required: - field_value - type: object @@ -164965,9 +166268,9 @@ x-webhooks: nullable: true required: - body - installation: *749 - organization: *750 - projects_v2_item: *793 + installation: *753 + organization: *754 + projects_v2_item: *797 sender: *4 required: - action @@ -165062,9 +166365,9 @@ x-webhooks: to: type: string nullable: true - installation: *749 - organization: *750 - projects_v2_item: *793 + installation: *753 + organization: *754 + projects_v2_item: *797 sender: *4 required: - action @@ -165147,10 +166450,10 @@ x-webhooks: type: string enum: - restored - changes: *796 - installation: *749 - organization: *750 - projects_v2_item: *793 + changes: *800 + installation: *753 + organization: *754 + projects_v2_item: *797 sender: *4 required: - action @@ -165232,9 +166535,9 @@ x-webhooks: type: string enum: - reopened - installation: *749 - organization: *750 - projects_v2: *282 + installation: *753 + organization: *754 + projects_v2: *289 sender: *4 required: - action @@ -165315,14 +166618,14 @@ x-webhooks: type: string enum: - created - installation: *749 - organization: *750 - projects_v2_status_update: &799 + installation: *753 + organization: *754 + projects_v2_status_update: &803 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *797 - required: *798 + properties: *801 + required: *802 sender: *4 required: - action @@ -165403,9 +166706,9 @@ x-webhooks: type: string enum: - deleted - installation: *749 - organization: *750 - projects_v2_status_update: *799 + installation: *753 + organization: *754 + projects_v2_status_update: *803 sender: *4 required: - action @@ -165541,9 +166844,9 @@ x-webhooks: type: string format: date nullable: true - installation: *749 - organization: *750 - projects_v2_status_update: *799 + installation: *753 + organization: *754 + projects_v2_status_update: *803 sender: *4 required: - action @@ -165614,10 +166917,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - repository @@ -165694,13 +166997,13 @@ x-webhooks: type: string enum: - assigned - assignee: *770 - enterprise: *748 - installation: *749 - number: &800 + assignee: *774 + enterprise: *752 + installation: *753 + number: &804 description: The pull request number. type: integer - organization: *750 + organization: *754 pull_request: title: Pull Request type: object @@ -167987,7 +169290,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 sender: *4 required: - action @@ -168069,11 +169372,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 number: type: integer - organization: *750 + organization: *754 pull_request: title: Pull Request type: object @@ -170355,7 +171658,7 @@ x-webhooks: - draft reason: type: string - repository: *751 + repository: *755 sender: *4 required: - action @@ -170437,11 +171740,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 number: type: integer - organization: *750 + organization: *754 pull_request: title: Pull Request type: object @@ -172723,7 +174026,7 @@ x-webhooks: - draft reason: type: string - repository: *751 + repository: *755 sender: *4 required: - action @@ -172805,13 +174108,13 @@ x-webhooks: type: string enum: - closed - enterprise: *748 - installation: *749 - number: *800 - organization: *750 - pull_request: &801 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 + pull_request: &805 allOf: - - *602 + - *606 - type: object properties: allow_auto_merge: @@ -172873,7 +174176,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *751 + repository: *755 sender: *4 required: - action @@ -172954,12 +174257,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *748 - installation: *749 - number: *800 - organization: *750 - pull_request: *801 - repository: *751 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 + pull_request: *805 + repository: *755 sender: *4 required: - action @@ -173039,11 +174342,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *748 - milestone: *586 - number: *800 - organization: *750 - pull_request: &802 + enterprise: *752 + milestone: *590 + number: *804 + organization: *754 + pull_request: &806 title: Pull Request type: object properties: @@ -175324,7 +176627,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 sender: *4 required: - action @@ -175403,11 +176706,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 number: type: integer - organization: *750 + organization: *754 pull_request: title: Pull Request type: object @@ -177707,7 +179010,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *751 + repository: *755 sender: *4 required: - action @@ -177831,12 +179134,12 @@ x-webhooks: type: string required: - from - enterprise: *748 - installation: *749 - number: *800 - organization: *750 - pull_request: *801 - repository: *751 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 + pull_request: *805 + repository: *755 sender: *4 required: - action @@ -177916,11 +179219,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 number: type: integer - organization: *750 + organization: *754 pull_request: title: Pull Request type: object @@ -180205,7 +181508,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 sender: *4 required: - action @@ -180285,11 +181588,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *748 - installation: *749 - label: *769 - number: *800 - organization: *750 + enterprise: *752 + installation: *753 + label: *773 + number: *804 + organization: *754 pull_request: title: Pull Request type: object @@ -182575,7 +183878,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 sender: *4 required: - action @@ -182656,10 +183959,10 @@ x-webhooks: type: string enum: - locked - enterprise: *748 - installation: *749 - number: *800 - organization: *750 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 pull_request: title: Pull Request type: object @@ -184943,7 +186246,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 sender: *4 required: - action @@ -185023,12 +186326,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *748 - milestone: *586 - number: *800 - organization: *750 - pull_request: *802 - repository: *751 + enterprise: *752 + milestone: *590 + number: *804 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -185107,12 +186410,12 @@ x-webhooks: type: string enum: - opened - enterprise: *748 - installation: *749 - number: *800 - organization: *750 - pull_request: *801 - repository: *751 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 + pull_request: *805 + repository: *755 sender: *4 required: - action @@ -185193,12 +186496,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *748 - installation: *749 - number: *800 - organization: *750 - pull_request: *801 - repository: *751 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 + pull_request: *805 + repository: *755 sender: *4 required: - action @@ -185278,12 +186581,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *748 - installation: *749 - number: *800 - organization: *750 - pull_request: *801 - repository: *751 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 + pull_request: *805 + repository: *755 sender: *4 required: - action @@ -185649,9 +186952,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -187825,7 +189128,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *751 + repository: *755 sender: *4 required: - action @@ -187905,7 +189208,7 @@ x-webhooks: type: string enum: - deleted - comment: &804 + comment: &808 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -188190,9 +189493,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -190354,7 +191657,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *751 + repository: *755 sender: *4 required: - action @@ -190434,11 +191737,11 @@ x-webhooks: type: string enum: - edited - changes: *803 - comment: *804 - enterprise: *748 - installation: *749 - organization: *750 + changes: *807 + comment: *808 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -192603,7 +193906,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *751 + repository: *755 sender: *4 required: - action @@ -192684,9 +193987,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -194863,7 +196166,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *751 + repository: *755 review: description: The review that was affected. type: object @@ -195110,9 +196413,9 @@ x-webhooks: type: string required: - from - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -197162,8 +198465,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *751 - review: &805 + repository: *755 + review: &809 description: The review that was affected. type: object properties: @@ -197396,12 +198699,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *750 + organization: *754 pull_request: title: Pull Request type: object @@ -199688,7 +200991,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 requested_reviewer: title: User type: object @@ -199772,12 +201075,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *750 + organization: *754 pull_request: title: Pull Request type: object @@ -202071,7 +203374,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 requested_team: title: Team description: Groups of organization members that gives permissions @@ -202263,12 +203566,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *750 + organization: *754 pull_request: title: Pull Request type: object @@ -204557,7 +205860,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 requested_reviewer: title: User type: object @@ -204642,12 +205945,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *748 - installation: *749 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *750 + organization: *754 pull_request: title: Pull Request type: object @@ -206927,7 +208230,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 requested_team: title: Team description: Groups of organization members that gives permissions @@ -207108,9 +208411,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -209289,8 +210592,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *751 - review: *805 + repository: *755 + review: *809 sender: *4 required: - action @@ -209370,9 +210673,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -211460,7 +212763,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *751 + repository: *755 sender: *4 thread: type: object @@ -211847,9 +213150,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -213923,7 +215226,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *751 + repository: *755 sender: *4 thread: type: object @@ -214313,10 +215616,10 @@ x-webhooks: type: string before: type: string - enterprise: *748 - installation: *749 - number: *800 - organization: *750 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 pull_request: title: Pull Request type: object @@ -216591,7 +217894,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 sender: *4 required: - action @@ -216673,11 +217976,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *806 - enterprise: *748 - installation: *749 - number: *800 - organization: *750 + assignee: *810 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 pull_request: title: Pull Request type: object @@ -218964,7 +220267,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 sender: *4 required: - action @@ -219043,11 +220346,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *748 - installation: *749 - label: *769 - number: *800 - organization: *750 + enterprise: *752 + installation: *753 + label: *773 + number: *804 + organization: *754 pull_request: title: Pull Request type: object @@ -221324,7 +222627,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 sender: *4 required: - action @@ -221405,10 +222708,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *748 - installation: *749 - number: *800 - organization: *750 + enterprise: *752 + installation: *753 + number: *804 + organization: *754 pull_request: title: Pull Request type: object @@ -223677,7 +224980,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *751 + repository: *755 sender: *4 required: - action @@ -223877,7 +225180,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *748 + enterprise: *752 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -223969,8 +225272,8 @@ x-webhooks: - url - author - committer - installation: *749 - organization: *750 + installation: *753 + organization: *754 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -224556,9 +225859,9 @@ x-webhooks: type: string enum: - published - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 registry_package: type: object properties: @@ -225004,7 +226307,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *787 + items: *791 summary: type: string tag_name: @@ -225058,7 +226361,7 @@ x-webhooks: - owner - package_version - registry - repository: *751 + repository: *755 sender: *4 required: - action @@ -225136,9 +226439,9 @@ x-webhooks: type: string enum: - updated - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 registry_package: type: object properties: @@ -225446,7 +226749,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *787 + items: *791 summary: type: string tag_name: @@ -225495,7 +226798,7 @@ x-webhooks: - owner - package_version - registry - repository: *751 + repository: *755 sender: *4 required: - action @@ -225572,10 +226875,10 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 - release: &807 + enterprise: *752 + installation: *753 + organization: *754 + release: &811 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -225893,7 +227196,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *751 + repository: *755 sender: *4 required: - action @@ -225970,11 +227273,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - organization: *750 - release: *807 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + release: *811 + repository: *755 sender: *4 required: - action @@ -226091,11 +227394,11 @@ x-webhooks: type: boolean required: - to - enterprise: *748 - installation: *749 - organization: *750 - release: *807 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + release: *811 + repository: *755 sender: *4 required: - action @@ -226173,9 +227476,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -226497,7 +227800,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *751 + repository: *755 sender: *4 required: - action @@ -226573,10 +227876,10 @@ x-webhooks: type: string enum: - published - enterprise: *748 - installation: *749 - organization: *750 - release: &808 + enterprise: *752 + installation: *753 + organization: *754 + release: &812 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -226895,7 +228198,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *751 + repository: *755 sender: *4 required: - action @@ -226971,11 +228274,11 @@ x-webhooks: type: string enum: - released - enterprise: *748 - installation: *749 - organization: *750 - release: *807 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + release: *811 + repository: *755 sender: *4 required: - action @@ -227051,11 +228354,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *748 - installation: *749 - organization: *750 - release: *808 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + release: *812 + repository: *755 sender: *4 required: - action @@ -227131,11 +228434,11 @@ x-webhooks: type: string enum: - published - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - repository_advisory: *670 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_advisory: *674 sender: *4 required: - action @@ -227211,11 +228514,11 @@ x-webhooks: type: string enum: - reported - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - repository_advisory: *670 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_advisory: *674 sender: *4 required: - action @@ -227291,10 +228594,10 @@ x-webhooks: type: string enum: - archived - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -227371,10 +228674,10 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -227452,10 +228755,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -227539,10 +228842,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -227654,10 +228957,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -227729,10 +229032,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 status: type: string @@ -227813,10 +229116,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -227893,10 +229196,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -227990,10 +229293,10 @@ x-webhooks: - name required: - repository - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228073,11 +229376,11 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - repository_ruleset: *330 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_ruleset: *337 sender: *4 required: - action @@ -228155,11 +229458,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - repository_ruleset: *330 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_ruleset: *337 sender: *4 required: - action @@ -228237,11 +229540,11 @@ x-webhooks: type: string enum: - edited - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - repository_ruleset: *330 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_ruleset: *337 changes: type: object properties: @@ -228260,16 +229563,16 @@ x-webhooks: properties: added: type: array - items: *304 + items: *311 deleted: type: array - items: *304 + items: *311 updated: type: array items: type: object properties: - condition: *304 + condition: *311 changes: type: object properties: @@ -228302,16 +229605,16 @@ x-webhooks: properties: added: type: array - items: *622 + items: *626 deleted: type: array - items: *622 + items: *626 updated: type: array items: type: object properties: - rule: *622 + rule: *626 changes: type: object properties: @@ -228545,10 +229848,10 @@ x-webhooks: - from required: - owner - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228626,10 +229929,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228707,7 +230010,7 @@ x-webhooks: type: string enum: - create - alert: &809 + alert: &813 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -228829,10 +230132,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229038,10 +230341,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229119,11 +230422,11 @@ x-webhooks: type: string enum: - reopen - alert: *809 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + alert: *813 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229322,10 +230625,10 @@ x-webhooks: enum: - fixed - open - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229403,11 +230706,11 @@ x-webhooks: type: string enum: - assigned - alert: &810 + alert: &814 type: object properties: - number: *179 - created_at: *180 + number: *186 + created_at: *187 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -229415,8 +230718,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *182 - html_url: *183 + url: *189 + html_url: *190 locations_url: type: string format: uri @@ -229546,10 +230849,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229627,11 +230930,11 @@ x-webhooks: type: string enum: - created - alert: *810 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + alert: *814 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229712,11 +231015,11 @@ x-webhooks: type: string enum: - created - alert: *810 - installation: *749 - location: *811 - organization: *750 - repository: *751 + alert: *814 + installation: *753 + location: *815 + organization: *754 + repository: *755 sender: *4 required: - location @@ -229954,11 +231257,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *810 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + alert: *814 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -230036,11 +231339,11 @@ x-webhooks: type: string enum: - reopened - alert: *810 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + alert: *814 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -230118,11 +231421,11 @@ x-webhooks: type: string enum: - resolved - alert: *810 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + alert: *814 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -230200,12 +231503,12 @@ x-webhooks: type: string enum: - unassigned - alert: *810 + alert: *814 assignee: *4 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -230283,11 +231586,11 @@ x-webhooks: type: string enum: - validated - alert: *810 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + alert: *814 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -230413,10 +231716,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *751 - enterprise: *748 - installation: *749 - organization: *750 + repository: *755 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -230494,11 +231797,11 @@ x-webhooks: type: string enum: - published - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - security_advisory: &812 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + security_advisory: &816 description: The details of the security advisory, including summary, description, and severity. type: object @@ -230669,11 +231972,11 @@ x-webhooks: type: string enum: - updated - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 - security_advisory: *812 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + security_advisory: *816 sender: *4 required: - action @@ -230746,10 +232049,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -230921,11 +232224,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *303 - enterprise: *748 - installation: *749 - organization: *750 - repository: *351 + security_and_analysis: *310 + enterprise: *752 + installation: *753 + organization: *754 + repository: *358 sender: *4 required: - changes @@ -231003,12 +232306,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: &813 + sponsorship: &817 type: object properties: created_at: @@ -231309,12 +232612,12 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *813 + sponsorship: *817 required: - action - sponsorship @@ -231402,12 +232705,12 @@ x-webhooks: type: string required: - from - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *813 + sponsorship: *817 required: - action - changes @@ -231484,17 +232787,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &814 + effective_date: &818 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: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *813 + sponsorship: *817 required: - action - sponsorship @@ -231568,7 +232871,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &815 + changes: &819 type: object properties: tier: @@ -231612,13 +232915,13 @@ x-webhooks: - from required: - tier - effective_date: *814 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + effective_date: *818 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *813 + sponsorship: *817 required: - action - changes @@ -231695,13 +232998,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *815 - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + changes: *819 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *813 + sponsorship: *817 required: - action - changes @@ -231775,10 +233078,10 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -231861,10 +233164,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -232284,15 +233587,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *748 + enterprise: *752 id: description: The unique identifier of the status. type: integer - installation: *749 + installation: *753 name: type: string - organization: *750 - repository: *751 + organization: *754 + repository: *755 sender: *4 sha: description: The Commit SHA. @@ -232407,17 +233710,16 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *88 - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 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 @@ -232499,17 +233801,16 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *88 - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 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 @@ -232591,17 +233892,16 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *88 - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 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 @@ -232683,17 +233983,16 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *88 - installation: *749 - organization: *750 - repository: *751 + installation: *753 + organization: *754 + repository: *755 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 @@ -232762,12 +234061,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - team: &816 + team: &820 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -232990,9 +234289,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -233450,7 +234749,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *816 + team: *820 required: - action - team @@ -233526,9 +234825,9 @@ x-webhooks: type: string enum: - created - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -233986,7 +235285,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *816 + team: *820 required: - action - team @@ -234063,9 +235362,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -234523,7 +235822,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *816 + team: *820 required: - action - team @@ -234667,9 +235966,9 @@ x-webhooks: - from required: - permissions - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -235127,7 +236426,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *816 + team: *820 required: - action - changes @@ -235205,9 +236504,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *748 - installation: *749 - organization: *750 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -235665,7 +236964,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *816 + team: *820 required: - action - team @@ -235741,10 +237040,10 @@ x-webhooks: type: string enum: - started - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -235817,16 +237116,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *748 + enterprise: *752 inputs: type: object nullable: true additionalProperties: true - installation: *749 - organization: *750 + installation: *753 + organization: *754 ref: type: string - repository: *751 + repository: *755 sender: *4 workflow: type: string @@ -235908,10 +237207,10 @@ x-webhooks: type: string enum: - completed - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: allOf: @@ -236148,7 +237447,7 @@ x-webhooks: type: string required: - conclusion - deployment: *512 + deployment: *518 required: - action - repository @@ -236227,10 +237526,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: allOf: @@ -236490,7 +237789,7 @@ x-webhooks: required: - status - steps - deployment: *512 + deployment: *518 required: - action - repository @@ -236569,10 +237868,10 @@ x-webhooks: type: string enum: - queued - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: type: object @@ -236707,7 +238006,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *512 + deployment: *518 required: - action - repository @@ -236786,10 +238085,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: type: object @@ -236925,7 +238224,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *512 + deployment: *518 required: - action - repository @@ -237005,12 +238304,12 @@ x-webhooks: type: string enum: - completed - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *765 + workflow: *769 workflow_run: title: Workflow Run type: object @@ -238009,12 +239308,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *765 + workflow: *769 workflow_run: title: Workflow Run type: object @@ -238998,12 +240297,12 @@ x-webhooks: type: string enum: - requested - enterprise: *748 - installation: *749 - organization: *750 - repository: *751 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *765 + workflow: *769 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 7173bd019d..1eb34b2436 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/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": [ @@ -29392,6 +29396,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -29531,6 +29544,14 @@ "nullable": true, "type": "string", "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": [ @@ -29611,6 +29632,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -31699,6 +31729,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -31845,6 +31884,14 @@ "nullable": true, "type": "string", "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" + ] } } }, @@ -31922,6 +31969,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -93173,512 +93229,4316 @@ "tags_url", "teams_url", "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_downloads", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at" + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ], + "x-github-breaking-changes": [ + { + "changeset": "remove_use_squash_pr_title_as_default", + "patch": { + "properties": { + "use_squash_pr_title_as_default": null + } + }, + "version": "2026-03-10" + }, + { + "changeset": "deprecate_beta_media_type", + "patch": { + "properties": { + "master_branch": null + } + }, + "version": "2026-03-10" + }, + { + "changeset": "remove_has_downloads", + "patch": { + "properties": { + "has_downloads": null + }, + "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", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "version": "2026-03-10" + } + ] + } + }, + "single_file": { + "type": "string", + "example": "config.yaml", + "nullable": true + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved", + "type": "string", + "enum": [ + "all", + "selected" + ] + } + }, + "required": [ + "token", + "expires_at" + ] + }, + "examples": { + "default": { + "value": { + "token": "AABF3JGZDX3P5PMEXLND6TS6FCWO6", + "expires_at": "2020-01-29T12:13:35.123-08:00" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/{runner_id}": { + "get": { + "summary": "Get a self-hosted runner for an organization", + "description": "Gets a specific self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/get-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Self hosted runners", + "description": "A self hosted runner", + "type": "object", + "properties": { + "id": { + "description": "The ID of the runner.", + "type": "integer", + "example": 5 + }, + "runner_group_id": { + "description": "The ID of the runner group.", + "type": "integer", + "example": 1 + }, + "name": { + "description": "The name of the runner.", + "type": "string", + "example": "iMac" + }, + "os": { + "description": "The Operating System of the runner.", + "type": "string", + "example": "macos" + }, + "status": { + "description": "The status of the runner.", + "type": "string", + "example": "online" + }, + "busy": { + "type": "boolean" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + }, + "ephemeral": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "os", + "status", + "busy", + "labels" + ] + }, + "examples": { + "default": { + "value": { + "id": 23, + "name": "MBP", + "os": "macos", + "status": "online", + "busy": true, + "ephemeral": false, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "delete": { + "summary": "Delete a self-hosted runner from an organization", + "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/delete-self-hosted-runner-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "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": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/{runner_id}/labels": { + "get": { + "summary": "List labels for a self-hosted runner for an organization", + "description": "Lists all labels for a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/list-labels-for-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "post": { + "summary": "Add custom labels to a self-hosted runner for an organization", + "description": "Adds custom labels to a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/add-custom-labels-to-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "labels" + ], + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "maxItems": 100, + "description": "The names of the custom labels to add to the runner.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "labels": [ + "gpu", + "accelerated" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "put": { + "summary": "Set custom labels for a self-hosted runner for an organization", + "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/set-custom-labels-for-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "labels" + ], + "properties": { + "labels": { + "type": "array", + "minItems": 0, + "maxItems": 100, + "description": "The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "labels": [ + "gpu", + "accelerated" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "delete": { + "summary": "Remove all custom labels from a self-hosted runner for an organization", + "description": "Remove all custom labels from a self-hosted runner configured in an\norganization. Returns the remaining read-only labels from the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/remove-all-custom-labels-from-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 3, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/{runner_id}/labels/{name}": { + "delete": { + "summary": "Remove a custom label from a self-hosted runner for an organization", + "description": "Remove a custom label from a self-hosted runner configured\nin an organization. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/remove-custom-label-from-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "name", + "description": "The name of a self-hosted runner's custom label.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/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": [ + "actions" + ], + "operationId": "actions/list-org-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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", + "example": "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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/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\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": [ + "actions" + ], + "operationId": "actions/get-org-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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", + "example": "1234567" + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "example": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + }, + "id": { + "type": "integer", + "example": 2 + }, + "url": { + "type": "string", + "example": "https://api.github.com/user/keys/2" + }, + "title": { + "type": "string", + "example": "ssh-rsa AAAAB3NzaC1yc2EAAA" + }, + "created_at": { + "type": "string", + "example": "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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/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": [ + "actions" + ], + "operationId": "actions/get-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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", + "example": "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": "actions", + "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": [ + "actions" + ], + "operationId": "actions/create-or-update-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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/actions/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/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-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": [ + "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": "actions", + "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": [ + "actions" + ], + "operationId": "actions/delete-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/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": [ + "actions" + ], + "operationId": "actions/list-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "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", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# 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", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string", + "nullable": true + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "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": "actions", + "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/actions/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": [ + "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": [ + { + "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/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\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/actions/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": [ + "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": [ + { + "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": "actions", + "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/actions/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": [ + "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": [ + { + "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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/variables": { + "get": { + "summary": "List organization variables", + "description": "Lists all organization 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 `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": [ + { + "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "example": "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": "actions", + "subcategory": "variables" + } + }, + "post": { + "summary": "Create an organization variable", + "description": "Creates an organization 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": [ + "actions" + ], + "operationId": "actions/create-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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": "actions", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/actions/variables/{name}": { + "get": { + "summary": "Get an organization variable", + "description": "Gets a specific 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": [ + "actions" + ], + "operationId": "actions/get-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "example": "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": "actions", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update an organization variable", + "description": "Updates an organization 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": [ + "actions" + ], + "operationId": "actions/update-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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": "actions", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Delete an organization variable", + "description": "Deletes an organization 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": [ + "actions" + ], + "operationId": "actions/delete-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/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": "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\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": [ + "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": [ + { + "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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "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", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# 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", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string", + "nullable": true + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "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_use_squash_pr_title_as_default", - "patch": { - "properties": { - "use_squash_pr_title_as_default": null - } - }, - "version": "2026-03-10" - }, - { - "changeset": "deprecate_beta_media_type", - "patch": { - "properties": { - "master_branch": null - } - }, - "version": "2026-03-10" - }, { "changeset": "remove_has_downloads", "patch": { "properties": { "has_downloads": null - }, - "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", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at" - ] + } }, "version": "2026-03-10" } ] } - }, - "single_file": { - "type": "string", - "example": "config.yaml", - "nullable": true - }, - "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", - "type": "string", - "enum": [ - "all", - "selected" - ] - } - }, - "required": [ - "token", - "expires_at" - ] - }, - "examples": { - "default": { - "value": { - "token": "AABF3JGZDX3P5PMEXLND6TS6FCWO6", - "expires_at": "2020-01-29T12:13:35.123-08:00" } } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "self-hosted-runners" - } - } - }, - "/orgs/{org}/actions/runners/{runner_id}": { - "get": { - "summary": "Get a self-hosted runner for an organization", - "description": "Gets a specific self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/get-self-hosted-runner-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Self hosted runners", - "description": "A self hosted runner", - "type": "object", - "properties": { - "id": { - "description": "The ID of the runner.", - "type": "integer", - "example": 5 - }, - "runner_group_id": { - "description": "The ID of the runner group.", - "type": "integer", - "example": 1 - }, - "name": { - "description": "The name of the runner.", - "type": "string", - "example": "iMac" - }, - "os": { - "description": "The Operating System of the runner.", - "type": "string", - "example": "macos" - }, - "status": { - "description": "The status of the runner.", - "type": "string", - "example": "online" - }, - "busy": { - "type": "boolean" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - }, - "ephemeral": { - "type": "boolean" - } - }, - "required": [ - "id", - "name", - "os", - "status", - "busy", - "labels" - ] }, "examples": { "default": { "value": { - "id": 23, - "name": "MBP", - "os": "macos", - "status": "online", - "busy": true, - "ephemeral": false, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, + "total_count": 1, + "repositories": [ { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "self-hosted-runners" - } - }, - "delete": { - "summary": "Delete a self-hosted runner from an organization", - "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/delete-self-hosted-runner-from-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - }, - "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": "actions", - "subcategory": "self-hosted-runners" - } - } - }, - "/orgs/{org}/actions/runners/{runner_id}/labels": { - "get": { - "summary": "List labels for a self-hosted runner for an organization", - "description": "Lists all labels for a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/list-labels-for-self-hosted-runner-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." + "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 }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" + "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" } ] } @@ -93687,50 +97547,27 @@ } } }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } }, - "post": { - "summary": "Add custom labels to a self-hosted runner for an organization", - "description": "Adds custom labels to a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "put": { + "summary": "Set selected repositories for an organization variable", + "description": "Replaces all repositories for an organization 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": [ "actions" ], - "operationId": "actions/add-custom-labels-to-self-hosted-runner-for-org", + "operationId": "actions/set-selected-repos-for-org-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization" + "url": "https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable" }, "parameters": [ { @@ -93743,12 +97580,12 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", + "name": "name", + "description": "The name of the variable.", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" } } ], @@ -93758,27 +97595,24 @@ "application/json": { "schema": { "type": "object", - "required": [ - "labels" - ], "properties": { - "labels": { + "selected_repository_ids": { "type": "array", - "minItems": 1, - "maxItems": 100, - "description": "The names of the custom labels to add to the runner.", + "description": "The IDs of the repositories that can access the organization variable.", "items": { - "type": "string" + "type": "integer" } } - } + }, + "required": [ + "selected_repository_ids" + ] }, "examples": { "default": { "value": { - "labels": [ - "gpu", - "accelerated" + "selected_repository_ids": [ + 64780797 ] } } @@ -93787,157 +97621,32 @@ } }, "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Response" }, - "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" - } - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } - }, + } + }, + "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}": { "put": { - "summary": "Set custom labels for a self-hosted runner for an organization", - "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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.", + "summary": "Add selected repository to an organization variable", + "description": "Adds a repository to an organization 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 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": [ "actions" ], - "operationId": "actions/set-custom-labels-for-self-hosted-runner-for-org", + "operationId": "actions/add-selected-repo-to-org-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization" + "url": "https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable" }, "parameters": [ { @@ -93950,206 +97659,8 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "labels" - ], - "properties": { - "labels": { - "type": "array", - "minItems": 0, - "maxItems": 100, - "description": "The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels.", - "items": { - "type": "string" - } - } - } - }, - "examples": { - "default": { - "value": { - "labels": [ - "gpu", - "accelerated" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "self-hosted-runners" - } - }, - "delete": { - "summary": "Remove all custom labels from a self-hosted runner for an organization", - "description": "Remove all custom labels from a self-hosted runner configured in an\norganization. Returns the remaining read-only labels from the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/remove-all-custom-labels-from-self-hosted-runner-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", + "name": "name", + "description": "The name of the variable.", "in": "path", "required": true, "schema": { @@ -94157,8 +97668,7 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", + "name": "repository_id", "in": "path", "required": true, "schema": { @@ -94167,124 +97677,30 @@ } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 3, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - } - ] - } - } - } - } - } + "204": { + "description": "Response" }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } - } - }, - "/orgs/{org}/actions/runners/{runner_id}/labels/{name}": { + }, "delete": { - "summary": "Remove a custom label from a self-hosted runner for an organization", - "description": "Remove a custom label from a self-hosted runner configured\nin an organization. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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.", + "summary": "Remove selected repository from an organization variable", + "description": "Removes a repository from an organization 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": [ "actions" ], - "operationId": "actions/remove-custom-label-from-self-hosted-runner-for-org", + "operationId": "actions/remove-selected-repo-from-org-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization" + "url": "https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable" }, "parameters": [ { @@ -94297,178 +97713,50 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", + "name": "name", + "description": "The name of the variable.", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" } }, { - "name": "name", - "description": "The name of a self-hosted runner's custom label.", + "name": "repository_id", "in": "path", "required": true, "schema": { - "type": "string" + "type": "integer" } } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Response" }, - "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" - } - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } } }, - "/orgs/{org}/actions/secrets": { + "/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": [ - "actions" + "agents" ], - "operationId": "actions/list-org-secrets", + "operationId": "agents/list-org-secrets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/secrets#list-organization-secrets" + "url": "https://docs.github.com/rest/agents/secrets#list-organization-secrets" }, "parameters": [ { @@ -94602,22 +97890,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "secrets" } } }, - "/orgs/{org}/actions/secrets/public-key": { + "/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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/get-org-public-key", + "operationId": "agents/get-org-public-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/secrets#get-an-organization-public-key" + "url": "https://docs.github.com/rest/agents/secrets#get-an-organization-public-key" }, "parameters": [ { @@ -94687,22 +97975,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "secrets" } } }, - "/orgs/{org}/actions/secrets/{secret_name}": { + "/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/get-org-secret", + "operationId": "agents/get-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/secrets#get-an-organization-secret" + "url": "https://docs.github.com/rest/agents/secrets#get-an-organization-secret" }, "parameters": [ { @@ -94787,20 +98075,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/create-or-update-org-secret", + "operationId": "agents/create-or-update-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret" + "url": "https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret" }, "parameters": [ { @@ -94831,7 +98119,7 @@ "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/actions/secrets#get-an-organization-public-key) endpoint.", + "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": { @@ -94849,7 +98137,7 @@ }, "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/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-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.", + "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" } @@ -94904,20 +98192,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/delete-org-secret", + "operationId": "agents/delete-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/secrets#delete-an-organization-secret" + "url": "https://docs.github.com/rest/agents/secrets#delete-an-organization-secret" }, "parameters": [ { @@ -94947,22 +98235,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "secrets" } } }, - "/orgs/{org}/actions/secrets/{secret_name}/repositories": { + "/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": [ - "actions" + "agents" ], - "operationId": "actions/list-selected-repos-for-org-secret", + "operationId": "agents/list-selected-repos-for-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret" + "url": "https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret" }, "parameters": [ { @@ -95873,20 +99161,20 @@ "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`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/rest/actions/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/set-selected-repos-for-org-secret", + "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": [ { @@ -95917,7 +99205,7 @@ "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.", + "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" } @@ -95947,22 +99235,22 @@ "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\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/actions/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/add-selected-repo-to-org-secret", + "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": [ { @@ -96003,20 +99291,20 @@ "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`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/rest/actions/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/remove-selected-repo-from-org-secret", + "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": [ { @@ -96057,22 +99345,22 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/list-org-variables", + "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": [ { @@ -96219,20 +99507,20 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/create-org-variable", + "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": [ { @@ -96323,22 +99611,22 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/get-org-variable", + "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": [ { @@ -96434,20 +99722,20 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/update-org-variable", + "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": [ { @@ -96526,20 +99814,20 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/delete-org-variable", + "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": [ { @@ -96569,22 +99857,22 @@ "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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/list-selected-repos-for-org-variable", + "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": [ { @@ -97498,20 +100786,20 @@ "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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/set-selected-repos-for-org-variable", + "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": [ { @@ -97575,22 +100863,22 @@ "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.\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 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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/add-selected-repo-to-org-variable", + "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": [ { @@ -97631,20 +100919,20 @@ "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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/remove-selected-repo-from-org-variable", + "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": [ { @@ -97685,7 +100973,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "variables" } } @@ -120426,6 +123714,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -159498,6 +162795,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -270973,106 +274279,1678 @@ } }, { - "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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "before": { + "type": "string", + "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "description": "The SHA of the commit before the activity." + }, + "after": { + "type": "string", + "example": "827efc6d56897b048c772eb4087f854f46256132", + "description": "The SHA of the commit after the activity." + }, + "ref": { + "type": "string", + "example": "refs/heads/main", + "description": "The full Git reference, formatted as `refs/heads/`." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "description": "The time when the activity occurred." + }, + "activity_type": { + "type": "string", + "example": "force_push", + "enum": [ + "push", + "force_push", + "branch_deletion", + "branch_creation", + "pr_merge", + "merge_queue_merge" + ], + "description": "The type of the activity that was performed." + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + } + }, + "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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "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", + "example": "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", + "example": "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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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", + "example": "1234567" + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "example": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + }, + "id": { + "type": "integer", + "example": 2 + }, + "url": { + "type": "string", + "example": "https://api.github.com/user/keys/2" + }, + "title": { + "type": "string", + "example": "ssh-rsa AAAAB3NzaC1yc2EAAA" + }, + "created_at": { + "type": "string", + "example": "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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "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", + "example": "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", + "example": "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "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", + "example": "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", + "example": "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": [ { @@ -271094,372 +275972,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", - "example": 1296269 - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - }, - "before": { - "type": "string", - "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "description": "The SHA of the commit before the activity." - }, - "after": { - "type": "string", - "example": "827efc6d56897b048c772eb4087f854f46256132", - "description": "The SHA of the commit after the activity." - }, - "ref": { - "type": "string", - "example": "refs/heads/main", - "description": "The full Git reference, formatted as `refs/heads/`." - }, - "timestamp": { - "type": "string", - "format": "date-time", - "example": "2011-01-26T19:06:43Z", - "description": "The time when the activity occurred." - }, - "activity_type": { - "type": "string", - "example": "force_push", - "enum": [ - "push", - "force_push", - "branch_deletion", - "branch_creation", - "pr_merge", - "merge_queue_merge" - ], - "description": "The type of the activity that was performed." - }, - "actor": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - } - }, - "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" } } }, @@ -1429981,11 +1434512,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1438658,11 +1443188,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1447335,11 +1451864,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } @@ -1456012,11 +1460540,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index 3886c8c1ac..bedbf644e1 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/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: @@ -886,7 +888,7 @@ paths: - subscriptions_url - type - url - type: &338 + type: &345 type: string description: The type of credit the user is receiving. enum: @@ -1079,7 +1081,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &675 + - &679 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 - - &223 + - &230 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 - - &224 + - &231 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: &225 + items: &232 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4269,7 +4271,7 @@ paths: - installation_id - repository_id examples: - default: &226 + default: &233 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4397,7 +4399,7 @@ paths: description: Response content: application/json: - schema: &227 + schema: &234 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4511,7 +4513,7 @@ paths: - request - response examples: - default: &228 + default: &235 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -5496,7 +5498,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &302 + properties: &309 id: description: Unique identifier of the repository example: 42 @@ -5947,7 +5949,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &303 + required: &310 - archive_url - assignees_url - blobs_url @@ -6021,7 +6023,7 @@ paths: - watchers_count - created_at - updated_at - x-github-breaking-changes: &304 + x-github-breaking-changes: &311 - changeset: remove_use_squash_pr_title_as_default patch: properties: @@ -10677,7 +10679,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &197 type: array description: A list of default code security configurations items: @@ -10693,7 +10695,7 @@ paths: default configuration: *49 examples: - default: &191 + default: &198 value: - default_for_new_repos: public configuration: @@ -11155,7 +11157,7 @@ paths: default: value: default_for_new_repos: all - configuration: &189 + configuration: &196 value: id: 1325 target_type: organization @@ -11245,7 +11247,7 @@ paths: application/json: schema: type: array - items: &192 + items: &199 type: object description: Repositories associated with a code security configuration and attachment status @@ -11546,7 +11548,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &193 + repository: &200 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -12051,7 +12053,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &203 + - &210 name: classification in: query description: |- @@ -12060,7 +12062,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &204 + - &211 name: state in: query description: |- @@ -12069,7 +12071,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &205 + - &212 name: severity in: query description: |- @@ -12078,7 +12080,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &206 + - &213 name: ecosystem in: query description: |- @@ -12087,14 +12089,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &207 + - &214 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 - - &208 + - &215 name: epss_percentage in: query description: |- @@ -12106,7 +12108,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 - - &503 + - &509 name: has in: query description: |- @@ -12120,7 +12122,7 @@ paths: type: string enum: - patch - - &209 + - &216 name: assignee in: query description: |- @@ -12129,7 +12131,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &210 + - &217 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12139,7 +12141,7 @@ paths: enum: - development - runtime - - &211 + - &218 name: sort in: query description: |- @@ -12165,11 +12167,11 @@ paths: application/json: schema: type: array - items: &212 + items: &219 type: object description: A Dependabot alert. properties: - number: &179 + number: &186 type: integer description: The security alert number. readOnly: true @@ -12232,7 +12234,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &504 + security_advisory: &510 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12461,29 +12463,29 @@ paths: - withdrawn_at version: '2026-03-10' security_vulnerability: *66 - url: &182 + url: &189 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &183 + html_url: &190 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &180 + created_at: &187 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: &181 + updated_at: &188 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: &185 + dismissed_at: &192 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12513,21 +12515,21 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &184 + fixed_at: &191 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &505 + auto_dismissed_at: &511 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &506 + dismissal_request: &512 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -12589,7 +12591,7 @@ paths: - repository additionalProperties: false examples: - default: &213 + default: &220 value: - number: 2 state: dismissed @@ -12974,7 +12976,7 @@ paths: description: Response content: application/json: - schema: &214 + schema: &221 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -13000,7 +13002,7 @@ paths: nullable: true additionalProperties: false examples: - default: &215 + default: &222 value: default_level: public accessible_repositories: @@ -13265,6 +13267,14 @@ paths: updated_at: type: string format: date-time + notification_setting: + type: string + description: Whether team members will receive notifications + when the team is mentioned. + example: notifications_enabled + enum: + - notifications_enabled + - notifications_disabled required: - id - url @@ -13349,6 +13359,18 @@ paths: type: string 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: @@ -13664,7 +13686,7 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: &199 + properties: &206 login: type: string example: github @@ -13705,7 +13727,7 @@ paths: type: string example: A great organization nullable: true - required: &200 + required: &207 - login - url - id @@ -14015,6 +14037,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: @@ -14185,7 +14217,7 @@ paths: properties: action: type: string - discussion: &769 + discussion: &773 title: Discussion description: A Discussion in a repository. type: object @@ -14552,7 +14584,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &558 + properties: &562 id: type: integer format: int64 @@ -14665,7 +14697,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &286 + properties: &293 url: type: string format: uri @@ -14735,7 +14767,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &287 + required: &294 - closed_issues - creator - description @@ -14814,7 +14846,7 @@ paths: timeline_url: type: string format: uri - type: &249 + type: &256 title: Issue Type description: The type of issue. type: object @@ -14928,7 +14960,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &686 + sub_issues_summary: &690 title: Sub-issues Summary type: object properties: @@ -15015,7 +15047,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &582 + properties: &586 pinned_at: type: string format: date-time @@ -15027,7 +15059,7 @@ paths: properties: *20 required: *21 nullable: true - required: &583 + required: &587 - pinned_at - pinned_by nullable: true @@ -15041,7 +15073,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &687 + issue_dependencies_summary: &691 title: Issue Dependencies Summary type: object properties: @@ -15060,7 +15092,7 @@ paths: - total_blocking issue_field_values: type: array - items: &566 + items: &570 title: Issue Field Value description: A value assigned to an issue field type: object @@ -15121,7 +15153,7 @@ paths: - node_id - data_type - value - required: &559 + required: &563 - assignee - closed_at - comments @@ -15142,7 +15174,7 @@ paths: - user - created_at - updated_at - x-github-breaking-changes: &560 + x-github-breaking-changes: &564 - changeset: deprecate_beta_media_type patch: properties: @@ -15202,7 +15234,7 @@ paths: action: type: string issue: *88 - comment: &554 + comment: &558 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15866,7 +15898,7 @@ paths: type: string release: allOf: - - &616 + - &620 title: Release description: A release. type: object @@ -15937,7 +15969,7 @@ paths: author: *4 assets: type: array - items: &617 + items: &621 title: Release Asset description: Data related to a release. type: object @@ -16557,7 +16589,7 @@ paths: url: type: string format: uri - user: &693 + user: &697 title: Public User description: Public User type: object @@ -18436,7 +18468,7 @@ paths: - closed - all default: open - - &252 + - &259 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -18487,7 +18519,7 @@ paths: type: array items: *88 examples: - default: &253 + default: &260 value: - id: 1 node_id: MDU6SXNzdWUx @@ -19872,14 +19904,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &350 + - &357 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &351 + - &358 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -19941,7 +19973,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &354 + '301': &361 description: Moved permanently content: application/json: @@ -19963,7 +19995,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &592 + - &596 name: all description: If `true`, show notifications marked as read. in: query @@ -19971,7 +20003,7 @@ paths: schema: type: boolean default: false - - &593 + - &597 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -19981,7 +20013,7 @@ paths: type: boolean default: false - *95 - - &594 + - &598 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: @@ -20017,7 +20049,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &217 + properties: &224 id: type: integer format: int64 @@ -20303,7 +20335,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &305 + security_and_analysis: &312 nullable: true type: object properties: @@ -20423,7 +20455,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &218 + required: &225 - archive_url - assignees_url - blobs_url @@ -20470,7 +20502,7 @@ paths: - teams_url - trees_url - url - x-github-breaking-changes: &219 + x-github-breaking-changes: &226 - changeset: remove_has_downloads patch: properties: @@ -20517,7 +20549,7 @@ paths: - url - subscription_url examples: - default: &595 + default: &599 value: - id: '1' repository: @@ -21799,7 +21831,7 @@ paths: required: false schema: type: string - - &744 + - &748 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -21945,7 +21977,7 @@ paths: parameters: - *78 - *124 - - &745 + - &749 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 @@ -22057,7 +22089,7 @@ paths: - *124 - *126 - *125 - - &746 + - &750 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -22065,7 +22097,7 @@ paths: schema: type: string - *127 - - &747 + - &751 name: sku description: The SKU to query for usage. in: query @@ -22995,7 +23027,7 @@ paths: type: integer repository_cache_usages: type: array - items: &361 + items: &368 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -24337,7 +24369,7 @@ paths: - all - local_only - selected - selected_actions_url: &367 + selected_actions_url: &373 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` @@ -24420,7 +24452,7 @@ paths: description: Response content: application/json: - schema: &371 + schema: &377 type: object properties: days: @@ -24462,7 +24494,7 @@ paths: required: true content: application/json: - schema: &372 + schema: &378 type: object properties: days: @@ -24519,7 +24551,7 @@ paths: required: - approval_policy examples: - default: &373 + default: &379 value: approval_policy: first_time_contributors '404': *6 @@ -24578,7 +24610,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &380 type: object required: - run_workflows_from_fork_pull_requests @@ -24632,7 +24664,7 @@ paths: required: true content: application/json: - schema: &375 + schema: &381 type: object required: - run_workflows_from_fork_pull_requests @@ -25267,7 +25299,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &382 type: object properties: default_workflow_permissions: &154 @@ -25318,7 +25350,7 @@ paths: required: false content: application/json: - schema: &377 + schema: &383 type: object properties: default_workflow_permissions: *154 @@ -25807,7 +25839,7 @@ paths: type: array items: *161 examples: - default: &202 + default: &209 value: total_count: 1 repositories: @@ -26449,7 +26481,7 @@ paths: application/json: schema: type: array - items: &378 + items: &384 title: Runner Application description: Runner Application type: object @@ -26474,7 +26506,7 @@ paths: - download_url - filename examples: - default: &379 + default: &385 value: - os: osx architecture: x64 @@ -26560,7 +26592,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &380 + '201': &386 description: Response content: application/json: @@ -26671,7 +26703,7 @@ paths: - token - expires_at examples: - default: &381 + default: &387 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -26710,7 +26742,7 @@ paths: application/json: schema: *165 examples: - default: &382 + default: &388 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -26744,7 +26776,7 @@ paths: application/json: schema: *163 examples: - default: &383 + default: &389 value: id: 23 name: MBP @@ -26970,7 +27002,7 @@ paths: - *78 - *162 responses: - '200': &384 + '200': &390 description: Response content: application/json: @@ -27027,7 +27059,7 @@ paths: parameters: - *78 - *162 - - &385 + - &391 name: name description: The name of a self-hosted runner's custom label. in: path @@ -27110,7 +27142,7 @@ paths: - updated_at - visibility examples: - default: + default: &174 value: total_count: 3 secrets: @@ -27157,7 +27189,7 @@ paths: description: Response content: application/json: - schema: &397 + schema: &175 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -27186,7 +27218,7 @@ paths: - key_id - key examples: - default: &398 + default: &176 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27226,7 +27258,7 @@ paths: application/json: schema: *168 examples: - default: + default: &177 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27386,97 +27418,961 @@ paths: type: array items: *161 examples: - default: &173 - 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: &173 + 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: + - *78 + - *169 + 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: + - *78 + - *169 + - 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: + - *78 + - *169 + - 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: + - *78 + - &178 + 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: &171 + title: Actions Variable for an Organization + description: Organization variable for GitHub Actions. + type: object + properties: + name: + description: The name of the variable. + example: USERNAME + type: string + value: + description: The value of the variable. + example: octocat + type: string + created_at: + description: The date and time at which the variable was + created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + example: '2019-01-24T22:45:36.000Z' + type: string + format: date-time + updated_at: + description: The date and time at which the variable was + last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + example: '2019-01-24T22:45:36.000Z' + type: string + format: date-time + visibility: + description: Visibility of a variable + enum: + - all + - private + - selected + type: string + selected_repositories_url: + type: string + format: uri + example: https://api.github.com/organizations/org/variables/USERNAME/repositories + required: + - name + - value + - created_at + - updated_at + - visibility + examples: + default: &179 + 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: *70 + 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: + - *78 + 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: *170 + 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: + - *78 + - &172 + name: name + description: The name of the variable. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *171 + examples: + default: &180 + 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: + - *78 + - *172 + 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: + - *78 + - *172 + 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: + - *78 + - *172 + - *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: *161 + examples: + default: *173 + '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: + - *78 + - *172 + 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: + - *78 + - *172 + - 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: + - *78 + - *172 + - 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: + - *78 + - *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: *168 + examples: + default: *174 + headers: + Link: *70 + 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: + - *78 + responses: + '200': + description: Response + content: + application/json: + schema: *175 + examples: + default: *176 + 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: + - *78 + - *169 + responses: + '200': + description: Response + content: + application/json: + schema: *168 + examples: + default: *177 + 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: + - *78 + - *169 + 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: *170 + 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: + - *78 + - *169 + 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: + - *78 + - *169 + - *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: *161 + examples: + default: *173 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: - *78 - *169 @@ -27493,8 +28389,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 @@ -27511,25 +28407,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: - *78 - *169 @@ -27546,24 +28442,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: - *78 - *169 @@ -27580,33 +28476,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: - *78 - - &366 - 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 + - *178 - *19 responses: '200': @@ -27623,90 +28513,30 @@ paths: type: integer variables: type: array - items: &171 - title: Actions Variable for an Organization - description: Organization variable for GitHub Actions. - type: object - properties: - name: - description: The name of the variable. - example: USERNAME - type: string - value: - description: The value of the variable. - example: octocat - type: string - created_at: - description: The date and time at which the variable was - created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - example: '2019-01-24T22:45:36.000Z' - type: string - format: date-time - updated_at: - description: The date and time at which the variable was - last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - example: '2019-01-24T22:45:36.000Z' - type: string - format: date-time - visibility: - description: Visibility of a variable - enum: - - all - - private - - selected - type: string - selected_repositories_url: - type: string - format: uri - example: https://api.github.com/organizations/org/variables/USERNAME/repositories - required: - - name - - value - - created_at - - updated_at - - visibility + items: *171 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: *179 headers: Link: *70 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: - *78 requestBody: @@ -27763,32 +28593,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: - *78 - - &172 - name: name - description: The name of the variable. - in: path - required: true - schema: - type: string + - *172 responses: '200': description: Response @@ -27796,33 +28620,26 @@ paths: application/json: schema: *171 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: *180 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: - *78 - *172 @@ -27870,22 +28687,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: - *78 - *172 @@ -27895,24 +28712,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: - *78 - *172 @@ -27942,12 +28759,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`. @@ -27955,11 +28772,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: - *78 - *172 @@ -27992,24 +28809,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: - *78 - *172 @@ -28027,12 +28844,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`. @@ -28040,11 +28857,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: - *78 - *172 @@ -28062,7 +28879,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables "/orgs/{org}/artifacts/metadata/deployment-record": post: @@ -28211,7 +29028,7 @@ paths: type: integer deployment_records: type: array - items: &174 + items: &181 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -28257,7 +29074,7 @@ paths: required: - total_count examples: - default: &175 + default: &182 value: total_count: 1 deployment_records: @@ -28435,11 +29252,11 @@ paths: type: integer deployment_records: type: array - items: *174 + items: *181 required: - total_count examples: - default: *175 + default: *182 '403': description: Forbidden content: @@ -28674,9 +29491,9 @@ paths: type: integer deployment_records: type: array - items: *174 + items: *181 examples: - default: *175 + default: *182 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28805,12 +29622,12 @@ paths: required: - subject_digests examples: - default: &725 + default: &729 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &726 + withPredicateType: &730 value: subject_digests: - sha256:abc123 @@ -28868,7 +29685,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &727 + default: &731 value: attestations_subject_digests: - sha256:abc: @@ -29233,7 +30050,7 @@ paths: initiator: type: string examples: - default: &411 + default: &417 value: attestations: - bundle: @@ -29466,7 +30283,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &176 + schema: &183 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -29492,7 +30309,7 @@ paths: application/json: schema: type: array - items: &177 + items: &184 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -29523,7 +30340,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &201 + items: &208 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -29598,7 +30415,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &264 + properties: &271 id: description: Unique identifier of the team type: integer @@ -29670,7 +30487,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &265 + required: &272 - id - node_id - url @@ -29713,7 +30530,7 @@ paths: type: string format: date-time nullable: true - state: *176 + state: *183 contact_link: description: The contact link of the campaign. type: string @@ -29933,9 +30750,9 @@ paths: description: Response content: application/json: - schema: *177 + schema: *184 examples: - default: &178 + default: &185 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -30018,9 +30835,9 @@ paths: description: Response content: application/json: - schema: *177 + schema: *184 examples: - default: *178 + default: *185 '404': *6 '422': description: Unprocessable Entity @@ -30097,7 +30914,7 @@ paths: type: string format: uri nullable: true - state: *176 + state: *183 examples: default: value: @@ -30107,9 +30924,9 @@ paths: description: Response content: application/json: - schema: *177 + schema: *184 examples: - default: *178 + default: *185 '400': description: Bad Request content: @@ -30176,17 +30993,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *78 - - &436 + - &442 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: &186 + schema: &193 type: string description: The name of the tool used to generate the code scanning analysis. - - &437 + - &443 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 @@ -30194,7 +31011,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &187 + schema: &194 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -30209,7 +31026,7 @@ paths: be returned. in: query required: false - schema: &439 + schema: &445 type: string description: State of a code scanning alert. enum: @@ -30232,7 +31049,7 @@ paths: be returned. in: query required: false - schema: &440 + schema: &446 type: string description: Severity of a code scanning alert. enum: @@ -30261,18 +31078,18 @@ paths: items: type: object properties: - number: *179 - created_at: *180 - updated_at: *181 - url: *182 - html_url: *183 - instances_url: &441 + number: *186 + created_at: *187 + updated_at: *188 + url: *189 + html_url: *190 + instances_url: &447 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &188 + state: &195 type: string description: State of a code scanning alert. nullable: true @@ -30280,7 +31097,7 @@ paths: - open - dismissed - fixed - fixed_at: *184 + fixed_at: *191 dismissed_by: title: Simple User description: A GitHub user. @@ -30288,8 +31105,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *185 - dismissed_reason: &442 + dismissed_at: *192 + dismissed_reason: &448 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -30298,13 +31115,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &443 + dismissed_comment: &449 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &444 + rule: &450 type: object properties: id: @@ -30357,42 +31174,42 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &445 + tool: &451 type: object properties: - name: *186 + name: *193 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *187 - most_recent_instance: &446 + guid: *194 + most_recent_instance: &452 type: object properties: - ref: &438 + ref: &444 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &456 + analysis_key: &462 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: &457 + environment: &463 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: &458 + category: &464 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: *188 + state: *195 commit_sha: type: string message: @@ -30406,7 +31223,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: &459 + location: &465 type: object description: Describe a region within a file for the alert. properties: @@ -30427,7 +31244,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: &460 + items: &466 type: string description: A classification of the file. For example to identify it as generated. @@ -31066,7 +31883,7 @@ paths: application/json: schema: *49 examples: - default: *189 + default: *196 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31094,9 +31911,9 @@ paths: description: Response content: application/json: - schema: *190 + schema: *197 examples: - default: *191 + default: *198 '304': *37 '403': *29 '404': *6 @@ -31185,7 +32002,7 @@ paths: application/json: schema: *49 examples: - default: *189 + default: *196 '304': *37 '403': *29 '404': *6 @@ -31630,7 +32447,7 @@ paths: default: value: default_for_new_repos: all - configuration: *189 + configuration: *196 '403': *29 '404': *6 x-github: @@ -31683,13 +32500,13 @@ paths: application/json: schema: type: array - items: *192 + items: *199 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *193 + repository: *200 '403': *29 '404': *6 x-github: @@ -31729,7 +32546,7 @@ paths: type: integer codespaces: type: array - items: &254 + items: &261 type: object title: Codespace description: A codespace. @@ -31759,7 +32576,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &472 + properties: &478 name: type: string description: The name of the machine. @@ -31801,7 +32618,7 @@ paths: - ready - in_progress nullable: true - required: &473 + required: &479 - name - display_name - operating_system @@ -32006,7 +32823,7 @@ paths: - pulls_url - recent_folders examples: - default: &255 + default: &262 value: total_count: 3 codespaces: @@ -32630,7 +33447,7 @@ paths: type: integer secrets: type: array - items: &194 + items: &201 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -32669,7 +33486,7 @@ paths: - updated_at - visibility examples: - default: &474 + default: &480 value: total_count: 2 secrets: @@ -32707,7 +33524,7 @@ paths: description: Response content: application/json: - schema: &475 + schema: &481 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -32736,7 +33553,7 @@ paths: - key_id - key examples: - default: &476 + default: &482 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32766,9 +33583,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *201 examples: - default: &478 + default: &484 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -33100,7 +33917,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &195 + items: &202 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -33479,9 +34296,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *202 examples: - default: &196 + default: &203 summary: Example response for an organization copilot space value: id: 84 @@ -33584,9 +34401,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *202 examples: - default: *196 + default: *203 '403': *29 '404': *6 x-github: @@ -33710,9 +34527,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *202 examples: - default: *196 + default: *203 '403': *29 '404': *6 '422': *15 @@ -33791,7 +34608,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &197 + items: &204 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -34012,7 +34829,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *204 examples: user: value: @@ -34140,7 +34957,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *204 examples: user: value: @@ -34287,7 +35104,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &198 + items: &205 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -34428,7 +35245,7 @@ paths: description: Resource created content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -34444,7 +35261,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -34497,7 +35314,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -34564,7 +35381,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -34804,7 +35621,7 @@ paths: currently being billed. seats: type: array - items: &257 + items: &264 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -34821,14 +35638,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *199 - required: *200 + properties: *206 + required: *207 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *201 + - *208 - *71 nullable: true pending_cancellation_date: @@ -35440,7 +36257,7 @@ paths: - total_count - repositories examples: - default: *202 + default: *209 '500': *55 '401': *25 '403': *29 @@ -35775,7 +36592,7 @@ paths: application/json: schema: type: array - items: &343 + items: &350 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -36082,7 +36899,7 @@ paths: - date additionalProperties: true examples: - default: &344 + default: &351 value: - date: '2024-06-24' total_active_users: 24 @@ -36184,7 +37001,7 @@ paths: '500': *55 '403': *29 '404': *6 - '422': &345 + '422': &352 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -36364,12 +37181,12 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *78 - - *203 - - *204 - - *205 - - *206 - - *207 - - *208 + - *210 + - *211 + - *212 + - *213 + - *214 + - *215 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -36399,7 +37216,7 @@ paths: enum: - patch - deployment - - *209 + - *216 - name: runtime_risk in: query description: |- @@ -36408,8 +37225,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *210 - - *211 + - *217 + - *218 - *62 - *47 - *48 @@ -36421,9 +37238,9 @@ paths: application/json: schema: type: array - items: *212 + items: *219 examples: - default: *213 + default: *220 '304': *37 '400': *14 '403': *29 @@ -36472,9 +37289,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *221 examples: - default: *215 + default: *222 '403': *29 '404': *6 x-github: @@ -36637,7 +37454,7 @@ paths: type: integer secrets: type: array - items: &216 + items: &223 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -36714,7 +37531,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &515 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -36731,7 +37548,7 @@ paths: - key_id - key examples: - default: &510 + default: &516 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -36761,7 +37578,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *223 examples: default: value: @@ -37068,7 +37885,7 @@ paths: application/json: schema: type: array - items: &267 + items: &274 title: Package description: A software package type: object @@ -37118,9 +37935,9 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *217 - required: *218 - x-github-breaking-changes: *219 + properties: *224 + required: *225 + x-github-breaking-changes: *226 nullable: true created_at: type: string @@ -37139,7 +37956,7 @@ paths: - created_at - updated_at examples: - default: &268 + default: &275 value: - id: 197 name: hello_docker @@ -37309,7 +38126,7 @@ paths: application/json: schema: type: array - items: &243 + items: &250 title: Organization Invitation description: Organization Invitation type: object @@ -37356,7 +38173,7 @@ paths: - invitation_teams_url - node_id examples: - default: &244 + default: &251 value: - id: 1 login: monalisa @@ -37423,7 +38240,7 @@ paths: application/json: schema: type: array - items: &220 + items: &227 title: Org Hook description: Org Hook type: object @@ -37594,9 +38411,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *227 examples: - default: &221 + default: &228 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -37644,7 +38461,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *78 - - &222 + - &229 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. @@ -37657,9 +38474,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *227 examples: - default: *221 + default: *228 '404': *6 x-github: githubCloudOnly: false @@ -37687,7 +38504,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *78 - - *222 + - *229 requestBody: required: false content: @@ -37732,7 +38549,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *227 examples: default: value: @@ -37774,7 +38591,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *78 - - *222 + - *229 responses: '204': description: Response @@ -37802,7 +38619,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *78 - - *222 + - *229 responses: '200': description: Response @@ -37833,7 +38650,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *78 - - *222 + - *229 requestBody: required: false content: @@ -37884,10 +38701,10 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *78 - - *222 + - *229 - *17 - - *223 - - *224 + - *230 + - *231 responses: '200': description: Response @@ -37895,9 +38712,9 @@ paths: application/json: schema: type: array - items: *225 + items: *232 examples: - default: *226 + default: *233 '400': *14 '422': *15 x-github: @@ -37923,16 +38740,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *78 - - *222 + - *229 - *16 responses: '200': description: Response content: application/json: - schema: *227 + schema: *234 examples: - default: *228 + default: *235 '400': *14 '422': *15 x-github: @@ -37958,7 +38775,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *78 - - *222 + - *229 - *16 responses: '202': *39 @@ -37988,7 +38805,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *78 - - *222 + - *229 responses: '204': description: Response @@ -38011,7 +38828,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *78 - - &233 + - &240 name: actor_type in: path description: The type of the actor @@ -38024,14 +38841,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &234 + - &241 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &229 + - &236 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`.' @@ -38039,7 +38856,7 @@ paths: required: true schema: type: string - - &230 + - &237 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) @@ -38133,12 +38950,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *78 - - *229 - - *230 + - *236 + - *237 - *19 - *17 - *62 - - &239 + - &246 name: sort description: The property to sort the results by. in: query @@ -38216,14 +39033,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *78 - - *229 - - *230 + - *236 + - *237 responses: '200': description: Response content: application/json: - schema: &231 + schema: &238 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -38239,7 +39056,7 @@ paths: type: integer format: int64 examples: - default: &232 + default: &239 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -38260,23 +39077,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *78 - - &235 + - &242 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *229 - - *230 + - *236 + - *237 responses: '200': description: Response content: application/json: - schema: *231 + schema: *238 examples: - default: *232 + default: *239 x-github: enabledForGitHubApps: true category: orgs @@ -38295,18 +39112,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *78 - - *229 - - *230 - - *233 - - *234 + - *236 + - *237 + - *240 + - *241 responses: '200': description: Response content: application/json: - schema: *231 + schema: *238 examples: - default: *232 + default: *239 x-github: enabledForGitHubApps: true category: orgs @@ -38324,9 +39141,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *78 - - *229 - - *230 - - &236 + - *236 + - *237 + - &243 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -38339,7 +39156,7 @@ paths: description: Response content: application/json: - schema: &237 + schema: &244 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -38355,7 +39172,7 @@ paths: type: integer format: int64 examples: - default: &238 + default: &245 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -38392,18 +39209,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *78 - - *235 - - *229 - - *230 + - *242 - *236 + - *237 + - *243 responses: '200': description: Response content: application/json: - schema: *237 + schema: *244 examples: - default: *238 + default: *245 x-github: enabledForGitHubApps: true category: orgs @@ -38421,19 +39238,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *78 - - *233 - - *234 - - *229 - - *230 + - *240 + - *241 - *236 + - *237 + - *243 responses: '200': description: Response content: application/json: - schema: *237 + schema: *244 examples: - default: *238 + default: *245 x-github: enabledForGitHubApps: true category: orgs @@ -38451,13 +39268,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *78 - - *235 - - *229 - - *230 + - *242 + - *236 + - *237 - *19 - *17 - *62 - - *239 + - *246 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -38538,7 +39355,7 @@ paths: application/json: schema: *22 examples: - default: &549 + default: &553 value: id: 1 account: @@ -38704,12 +39521,12 @@ paths: application/json: schema: anyOf: - - &241 + - &248 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &240 + limit: &247 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -38734,7 +39551,7 @@ paths: properties: {} additionalProperties: false examples: - default: &242 + default: &249 value: limit: collaborators_only origin: organization @@ -38763,13 +39580,13 @@ paths: required: true content: application/json: - schema: &550 + schema: &554 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *240 + limit: *247 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -38793,9 +39610,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *248 examples: - default: *242 + default: *249 '422': *15 x-github: githubCloudOnly: false @@ -38871,9 +39688,9 @@ paths: application/json: schema: type: array - items: *243 + items: *250 examples: - default: *244 + default: *251 headers: Link: *70 '404': *6 @@ -38950,7 +39767,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *250 examples: default: value: @@ -39005,7 +39822,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *78 - - &245 + - &252 name: invitation_id description: The unique identifier of the invitation. in: path @@ -39036,7 +39853,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *78 - - *245 + - *252 - *17 - *19 responses: @@ -39046,9 +39863,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: &266 + default: &273 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -39091,7 +39908,7 @@ paths: application/json: schema: type: array - items: &246 + items: &253 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -39324,9 +40141,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *253 examples: - default: &247 + default: &254 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -39382,7 +40199,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *78 - - &248 + - &255 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -39490,9 +40307,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *253 examples: - default: *247 + default: *254 '404': *6 '422': *7 x-github: @@ -39517,7 +40334,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *78 - - *248 + - *255 responses: '204': *61 '404': *6 @@ -39547,7 +40364,7 @@ paths: application/json: schema: type: array - items: *249 + items: *256 examples: default: value: @@ -39632,9 +40449,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *256 examples: - default: &250 + default: &257 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -39667,7 +40484,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *78 - - &251 + - &258 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -39720,9 +40537,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *256 examples: - default: *250 + default: *257 '404': *6 '422': *7 x-github: @@ -39747,7 +40564,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *78 - - *251 + - *258 responses: '204': description: Response @@ -39810,7 +40627,7 @@ paths: - closed - all default: open - - *252 + - *259 - name: type description: Can be the name of an issue type. in: query @@ -39841,7 +40658,7 @@ paths: type: array items: *88 examples: - default: *253 + default: *260 headers: Link: *70 '404': *6 @@ -40006,9 +40823,9 @@ paths: type: integer codespaces: type: array - items: *254 + items: *261 examples: - default: *255 + default: *262 '304': *37 '500': *55 '401': *25 @@ -40035,7 +40852,7 @@ paths: parameters: - *78 - *74 - - &256 + - &263 name: codespace_name in: path required: true @@ -40070,15 +40887,15 @@ paths: parameters: - *78 - *74 - - *256 + - *263 responses: '200': description: Response content: application/json: - schema: *254 + schema: *261 examples: - default: &471 + default: &477 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -40258,7 +41075,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -40334,7 +41151,7 @@ paths: description: Response content: application/json: - schema: &258 + schema: &265 title: Org Membership description: Org Membership type: object @@ -40401,7 +41218,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &259 + response-if-user-has-an-active-admin-membership-with-organization: &266 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -40502,9 +41319,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *265 examples: - response-if-user-already-had-membership-with-organization: *259 + response-if-user-already-had-membership-with-organization: *266 '422': *15 '403': *29 x-github: @@ -40581,7 +41398,7 @@ paths: application/json: schema: type: array - items: &260 + items: &267 title: Migration description: A migration. type: object @@ -40921,7 +41738,7 @@ paths: description: Response content: application/json: - schema: *260 + schema: *267 examples: default: value: @@ -41100,7 +41917,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *78 - - &261 + - &268 name: migration_id description: The unique identifier of the migration. in: path @@ -41127,7 +41944,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *260 + schema: *267 examples: default: value: @@ -41297,7 +42114,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *78 - - *261 + - *268 responses: '302': description: Response @@ -41319,7 +42136,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *78 - - *261 + - *268 responses: '204': description: Response @@ -41343,8 +42160,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *78 - - *261 - - &708 + - *268 + - &712 name: repo_name description: repo_name parameter in: path @@ -41372,7 +42189,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *78 - - *261 + - *268 - *17 - *19 responses: @@ -41384,7 +42201,7 @@ paths: type: array items: *161 examples: - default: &273 + default: &280 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41557,7 +42374,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &263 + items: &270 title: Organization Role description: Organization roles type: object @@ -41732,7 +42549,7 @@ paths: parameters: - *78 - *80 - - &262 + - &269 name: role_id description: The unique identifier of the role. in: path @@ -41769,7 +42586,7 @@ paths: parameters: - *78 - *80 - - *262 + - *269 responses: '204': description: Response @@ -41822,7 +42639,7 @@ paths: parameters: - *78 - *74 - - *262 + - *269 responses: '204': description: Response @@ -41854,7 +42671,7 @@ paths: parameters: - *78 - *74 - - *262 + - *269 responses: '204': description: Response @@ -41883,13 +42700,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *78 - - *262 + - *269 responses: '200': description: Response content: application/json: - schema: *263 + schema: *270 examples: default: value: @@ -41940,7 +42757,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *78 - - *262 + - *269 - *17 - *19 responses: @@ -42018,8 +42835,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *264 - required: *265 + properties: *271 + required: *272 nullable: true type: description: The ownership type of the team @@ -42051,7 +42868,7 @@ paths: - type - parent examples: - default: *266 + default: *273 headers: Link: *70 '404': @@ -42081,7 +42898,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *78 - - *262 + - *269 - *17 - *19 responses: @@ -42109,13 +42926,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &339 + items: &346 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *264 - required: *265 + properties: *271 + required: *272 name: nullable: true type: string @@ -42403,7 +43220,7 @@ paths: - nuget - container - *78 - - &709 + - &713 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -42439,12 +43256,12 @@ paths: application/json: schema: type: array - items: *267 + items: *274 examples: - default: *268 + default: *275 '403': *29 '401': *25 - '400': &711 + '400': &715 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -42466,7 +43283,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &269 + - &276 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 @@ -42484,7 +43301,7 @@ paths: - docker - nuget - container - - &270 + - &277 name: package_name description: The name of the package. in: path @@ -42497,7 +43314,7 @@ paths: description: Response content: application/json: - schema: *267 + schema: *274 examples: default: value: @@ -42549,8 +43366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *269 - - *270 + - *276 + - *277 - *78 responses: '204': @@ -42583,8 +43400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *269 - - *270 + - *276 + - *277 - *78 - name: token description: package token @@ -42617,8 +43434,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: - - *269 - - *270 + - *276 + - *277 - *78 - *19 - *17 @@ -42639,7 +43456,7 @@ paths: application/json: schema: type: array - items: &271 + items: &278 title: Package Version description: A version of a software package type: object @@ -42764,10 +43581,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *269 - - *270 + - *276 + - *277 - *78 - - &272 + - &279 name: package_version_id description: Unique identifier of the package version. in: path @@ -42779,7 +43596,7 @@ paths: description: Response content: application/json: - schema: *271 + schema: *278 examples: default: value: @@ -42815,10 +43632,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *269 - - *270 + - *276 + - *277 - *78 - - *272 + - *279 responses: '204': description: Response @@ -42850,10 +43667,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *269 - - *270 + - *276 + - *277 - *78 - - *272 + - *279 responses: '204': description: Response @@ -42883,7 +43700,7 @@ paths: - *78 - *17 - *19 - - &274 + - &281 name: sort description: The property by which to sort the results. in: query @@ -42894,7 +43711,7 @@ paths: - created_at default: created_at - *62 - - &275 + - &282 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -42905,7 +43722,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &276 + - &283 name: repository description: The name of the repository to use to filter the results. in: query @@ -42913,7 +43730,7 @@ paths: schema: type: string example: Hello-World - - &277 + - &284 name: permission description: The permission to use to filter the results. in: query @@ -42921,7 +43738,7 @@ paths: schema: type: string example: issues_read - - &278 + - &285 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) @@ -42931,7 +43748,7 @@ paths: schema: type: string format: date-time - - &279 + - &286 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) @@ -42941,7 +43758,7 @@ paths: schema: type: string format: date-time - - &280 + - &287 name: token_id description: The ID of the token in: query @@ -43254,7 +44071,7 @@ paths: type: array items: *161 examples: - default: *273 + default: *280 headers: Link: *70 x-github: @@ -43280,14 +44097,14 @@ paths: - *78 - *17 - *19 - - *274 + - *281 - *62 - - *275 - - *276 - - *277 - - *278 - - *279 - - *280 + - *282 + - *283 + - *284 + - *285 + - *286 + - *287 responses: '500': *55 '422': *15 @@ -43569,7 +44386,7 @@ paths: type: array items: *161 examples: - default: *273 + default: *280 headers: Link: *70 x-github: @@ -43611,7 +44428,7 @@ paths: type: integer configurations: type: array - items: &281 + items: &288 title: Organization private registry description: Private registry configuration for an organization type: object @@ -44122,7 +44939,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &282 + org-private-registry-with-selected-visibility: &289 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -44218,9 +45035,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *281 + schema: *288 examples: - default: *282 + default: *289 '404': *6 x-github: githubCloudOnly: false @@ -44471,7 +45288,7 @@ paths: application/json: schema: type: array - items: &283 + items: &290 title: Projects v2 Project description: A projects v2 project type: object @@ -44541,7 +45358,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &801 + properties: &805 id: type: number description: The unique identifier of the status update. @@ -44589,7 +45406,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &802 + required: &806 - id - node_id - created_at @@ -44614,7 +45431,7 @@ paths: - deleted_at - deleted_by examples: - default: &284 + default: &291 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -44717,7 +45534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &285 + - &292 name: project_number description: The project's number. in: path @@ -44730,9 +45547,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *290 examples: - default: *284 + default: *291 headers: Link: *70 '304': *37 @@ -44755,7 +45572,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *78 - - *285 + - *292 requestBody: required: true description: Details of the draft item to create in the project. @@ -44789,7 +45606,7 @@ paths: description: Response content: application/json: - schema: &291 + schema: &298 title: Projects v2 Item description: An item belonging to a project type: object @@ -44803,7 +45620,7 @@ paths: content: oneOf: - *88 - - &488 + - &494 title: Pull Request Simple description: Pull Request Simple type: object @@ -44909,8 +45726,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *286 - required: *287 + properties: *293 + required: *294 nullable: true active_lock_reason: type: string @@ -44953,7 +45770,7 @@ paths: items: *4 requested_teams: type: array - items: *201 + items: *208 head: type: object properties: @@ -45003,7 +45820,7 @@ paths: _links: type: object properties: - comments: &288 + comments: &295 title: Link description: Hypermedia Link type: object @@ -45012,13 +45829,13 @@ paths: type: string required: - href - commits: *288 - statuses: *288 - html: *288 - issue: *288 - review_comments: *288 - review_comment: *288 - self: *288 + commits: *295 + statuses: *295 + html: *295 + issue: *295 + review_comments: *295 + review_comment: *295 + self: *295 required: - comments - commits @@ -45029,7 +45846,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: &602 + auto_merge: &606 title: Auto merge description: The status of auto merging a pull request. type: object @@ -45203,7 +46020,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &290 + content_type: &297 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -45243,7 +46060,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &292 + draft_issue: &299 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -45317,7 +46134,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *285 + - *292 - *78 - *17 - *47 @@ -45329,7 +46146,7 @@ paths: application/json: schema: type: array - items: &289 + items: &296 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -45479,7 +46296,7 @@ paths: - updated_at - project_url examples: - default: &731 + default: &735 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -45609,7 +46426,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *285 + - *292 - *78 requestBody: required: true @@ -45656,7 +46473,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &732 + items: &736 type: object properties: name: @@ -45693,7 +46510,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &733 + iteration_configuration: &737 type: object description: The configuration for iteration fields. properties: @@ -45743,7 +46560,7 @@ paths: value: name: Due date data_type: date - single_select_field: &734 + single_select_field: &738 summary: Create a single select field value: name: Priority @@ -45770,7 +46587,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &735 + iteration_field: &739 summary: Create an iteration field value: name: Sprint @@ -45794,9 +46611,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *289 + schema: *296 examples: - text_field: &736 + text_field: &740 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -45805,7 +46622,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: &737 + number_field: &741 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -45814,7 +46631,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: &738 + date_field: &742 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -45823,7 +46640,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: &739 + single_select_field: &743 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -45857,7 +46674,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &740 + iteration_field: &744 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -45902,8 +46719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *285 - - &741 + - *292 + - &745 name: field_id description: The unique identifier of the field. in: path @@ -45916,9 +46733,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *296 examples: - default: &742 + default: &746 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -45974,7 +46791,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *285 + - *292 - *78 - 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) @@ -46007,7 +46824,7 @@ paths: application/json: schema: type: array - items: &293 + items: &300 title: Projects v2 Item description: An item belonging to a project type: object @@ -46023,7 +46840,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *290 + content_type: *297 content: type: object additionalProperties: true @@ -46066,7 +46883,7 @@ paths: - updated_at - archived_at examples: - default: &294 + default: &301 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -46764,7 +47581,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *78 - - *285 + - *292 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -46834,22 +47651,22 @@ paths: description: Response content: application/json: - schema: *291 + schema: *298 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *292 + value: *299 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *292 + value: *299 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *292 + value: *299 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *292 + value: *299 '304': *37 '403': *29 '401': *25 @@ -46869,9 +47686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *285 + - *292 - *78 - - &295 + - &302 name: item_id description: The unique identifier of the project item. in: path @@ -46897,9 +47714,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *300 examples: - default: *294 + default: *301 headers: Link: *70 '304': *37 @@ -46920,9 +47737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *285 + - *292 - *78 - - *295 + - *302 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -46992,13 +47809,13 @@ paths: description: Response content: application/json: - schema: *293 + schema: *300 examples: - text_field: *294 - number_field: *294 - date_field: *294 - single_select_field: *294 - iteration_field: *294 + text_field: *301 + number_field: *301 + date_field: *301 + single_select_field: *301 + iteration_field: *301 '401': *25 '403': *29 '404': *6 @@ -47018,9 +47835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *285 + - *292 - *78 - - *295 + - *302 responses: '204': description: Response @@ -47044,7 +47861,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *78 - - *285 + - *292 requestBody: required: true content: @@ -47115,7 +47932,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &722 + schema: &726 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -47213,7 +48030,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &296 + value: &303 value: id: 1 number: 1 @@ -47259,10 +48076,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *296 + value: *303 roadmap_view: summary: Response for creating a roadmap view - value: *296 + value: *303 '304': *37 '403': *29 '401': *25 @@ -47290,9 +48107,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *285 + - *292 - *78 - - &743 + - &747 name: view_number description: The number that identifies the project view. in: path @@ -47324,9 +48141,9 @@ paths: application/json: schema: type: array - items: *293 + items: *300 examples: - default: *294 + default: *301 headers: Link: *70 '304': *37 @@ -47359,7 +48176,7 @@ paths: application/json: schema: type: array - items: &297 + items: &304 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -47427,7 +48244,7 @@ paths: - property_name - value_type examples: - default: &298 + default: &305 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -47487,7 +48304,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *297 + items: *304 minItems: 1 maxItems: 100 required: @@ -47517,9 +48334,9 @@ paths: application/json: schema: type: array - items: *297 + items: *304 examples: - default: *298 + default: *305 '403': *29 '404': *6 x-github: @@ -47541,7 +48358,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *78 - - &299 + - &306 name: custom_property_name description: The custom property name in: path @@ -47553,9 +48370,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *304 examples: - default: &300 + default: &307 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -47590,7 +48407,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *78 - - *299 + - *306 requestBody: required: true content: @@ -47661,9 +48478,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *304 examples: - default: *300 + default: *307 '403': *29 '404': *6 x-github: @@ -47687,7 +48504,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *78 - - *299 + - *306 responses: '204': *61 '403': *29 @@ -47748,7 +48565,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &301 + items: &308 title: Custom Property Value description: Custom property name and associated value type: object @@ -47835,7 +48652,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *301 + items: *308 required: - repository_names - properties @@ -48027,7 +48844,7 @@ paths: type: array items: *161 examples: - default: *273 + default: *280 headers: Link: *70 x-github: @@ -48229,7 +49046,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &360 title: Full Repository description: Full Repository type: object @@ -48517,9 +49334,9 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *302 - required: *303 - x-github-breaking-changes: *304 + properties: *309 + required: *310 + x-github-breaking-changes: *311 nullable: true temp_clone_token: type: string @@ -48634,7 +49451,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &493 + properties: &499 url: type: string format: uri @@ -48650,12 +49467,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &494 + required: &500 - url - key - name - html_url - security_and_analysis: *305 + security_and_analysis: *312 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -48750,7 +49567,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &355 + default: &362 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -49283,7 +50100,7 @@ paths: - *78 - *17 - *19 - - &624 + - &628 name: targets description: | A comma-separated list of rule targets to filter by. @@ -49301,7 +50118,7 @@ paths: application/json: schema: type: array - items: &332 + items: &339 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -49336,7 +50153,7 @@ paths: source: type: string description: The name of the source - enforcement: &308 + enforcement: &315 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -49349,7 +50166,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &309 + items: &316 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -49419,7 +50236,7 @@ paths: conditions: nullable: true anyOf: - - &306 + - &313 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -49443,7 +50260,7 @@ paths: match. items: type: string - - &310 + - &317 title: Organization ruleset conditions type: object description: |- @@ -49457,7 +50274,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *306 + - *313 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -49491,7 +50308,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *306 + - *313 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -49513,7 +50330,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *306 + - *313 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -49526,7 +50343,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &307 + items: &314 title: Repository ruleset property targeting definition type: object @@ -49559,17 +50376,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *307 + items: *314 required: - repository_property rules: type: array - items: &625 + items: &629 title: Repository Rule type: object description: A repository rule. oneOf: - - &311 + - &318 title: creation description: Only allow users with bypass permission to create matching refs. @@ -49581,7 +50398,7 @@ paths: type: string enum: - creation - - &312 + - &319 title: update description: Only allow users with bypass permission to update matching refs. @@ -49602,7 +50419,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &313 + - &320 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -49614,7 +50431,7 @@ paths: type: string enum: - deletion - - &314 + - &321 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -49626,7 +50443,7 @@ paths: type: string enum: - required_linear_history - - &623 + - &627 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -49704,7 +50521,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &315 + - &322 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -49728,7 +50545,7 @@ paths: type: string required: - required_deployment_environments - - &316 + - &323 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -49740,7 +50557,7 @@ paths: type: string enum: - required_signatures - - &317 + - &324 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -49846,7 +50663,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &318 + - &325 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -49894,7 +50711,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &319 + - &326 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -49906,7 +50723,7 @@ paths: type: string enum: - non_fast_forward - - &320 + - &327 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -49943,7 +50760,7 @@ paths: required: - operator - pattern - - &321 + - &328 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -49980,7 +50797,7 @@ paths: required: - operator - pattern - - &322 + - &329 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -50017,7 +50834,7 @@ paths: required: - operator - pattern - - &323 + - &330 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -50054,7 +50871,7 @@ paths: required: - operator - pattern - - &324 + - &331 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -50091,7 +50908,7 @@ paths: required: - operator - pattern - - &325 + - &332 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -50116,7 +50933,7 @@ paths: type: string required: - restricted_file_paths - - &326 + - &333 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -50140,7 +50957,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &327 + - &334 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -50163,7 +50980,7 @@ paths: type: string required: - restricted_file_extensions - - &328 + - &335 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -50188,7 +51005,7 @@ paths: maximum: 100 required: - max_file_size - - &329 + - &336 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -50238,7 +51055,7 @@ paths: - repository_id required: - workflows - - &330 + - &337 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -50299,7 +51116,7 @@ paths: - tool required: - code_scanning_tools - - &331 + - &338 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -50398,27 +51215,20 @@ paths: - push - repository default: branch - enforcement: *308 + enforcement: *315 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *309 - conditions: *310 + items: *316 + conditions: *317 rules: type: array description: An array of rules within the ruleset. - items: &334 + items: &341 title: Repository Rule type: object description: A repository rule. oneOf: - - *311 - - *312 - - *313 - - *314 - - *315 - - *316 - - *317 - *318 - *319 - *320 @@ -50433,6 +51243,13 @@ paths: - *329 - *330 - *331 + - *332 + - *333 + - *334 + - *335 + - *336 + - *337 + - *338 required: - name - enforcement @@ -50470,9 +51287,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *339 examples: - default: &333 + default: &340 value: id: 21 name: super cool ruleset @@ -50528,7 +51345,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *78 - - &626 + - &630 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 @@ -50543,7 +51360,7 @@ paths: in: query schema: type: string - - &627 + - &631 name: time_period description: |- The time period to filter by. @@ -50559,14 +51376,14 @@ paths: - week - month default: day - - &628 + - &632 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 - - &629 + - &633 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -50586,7 +51403,7 @@ paths: description: Response content: application/json: - schema: &630 + schema: &634 title: Rule Suites description: Response type: array @@ -50641,7 +51458,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &631 + default: &635 value: - id: 21 actor_id: 12 @@ -50685,7 +51502,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *78 - - &632 + - &636 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -50701,7 +51518,7 @@ paths: description: Response content: application/json: - schema: &633 + schema: &637 title: Rule Suite description: Response type: object @@ -50800,7 +51617,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &634 + default: &638 value: id: 21 actor_id: 12 @@ -50873,9 +51690,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *339 examples: - default: *333 + default: *340 '404': *6 '500': *55 put: @@ -50919,16 +51736,16 @@ paths: - tag - push - repository - enforcement: *308 + enforcement: *315 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *309 - conditions: *310 + items: *316 + conditions: *317 rules: description: An array of rules within the ruleset. type: array - items: *334 + items: *341 examples: default: value: @@ -50963,9 +51780,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *339 examples: - default: *333 + default: *340 '404': *6 '422': *15 '500': *55 @@ -51023,7 +51840,7 @@ paths: application/json: schema: type: array - items: &335 + items: &342 title: Ruleset version type: object description: The historical version of a ruleset @@ -51047,7 +51864,7 @@ paths: type: string format: date-time examples: - default: &636 + default: &640 value: - version_id: 3 actor: @@ -51100,9 +51917,9 @@ paths: description: Response content: application/json: - schema: &637 + schema: &641 allOf: - - *335 + - *342 - type: object required: - state @@ -51172,7 +51989,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *78 - - &638 + - &642 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -51183,7 +52000,7 @@ paths: enum: - open - resolved - - &639 + - &643 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -51193,7 +52010,7 @@ paths: required: false schema: type: string - - &640 + - &644 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -51204,7 +52021,7 @@ paths: required: false schema: type: string - - &641 + - &645 name: exclude_providers in: query description: |- @@ -51215,7 +52032,7 @@ paths: required: false schema: type: string - - &642 + - &646 name: providers in: query description: |- @@ -51226,7 +52043,7 @@ paths: required: false schema: type: string - - &643 + - &647 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -51235,7 +52052,7 @@ paths: required: false schema: type: string - - &644 + - &648 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -51254,7 +52071,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &645 + - &649 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. @@ -51269,7 +52086,7 @@ paths: - *62 - *19 - *17 - - &646 + - &650 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 @@ -51279,7 +52096,7 @@ paths: required: false schema: type: string - - &647 + - &651 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 @@ -51289,7 +52106,7 @@ paths: required: false schema: type: string - - &648 + - &652 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -51298,7 +52115,7 @@ paths: required: false schema: type: string - - &649 + - &653 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -51307,7 +52124,7 @@ paths: schema: type: boolean default: false - - &650 + - &654 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -51316,7 +52133,7 @@ paths: schema: type: boolean default: false - - &651 + - &655 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -51325,7 +52142,7 @@ paths: schema: type: boolean default: false - - &652 + - &656 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -51346,8 +52163,8 @@ paths: items: type: object properties: - number: *179 - created_at: *180 + number: *186 + created_at: *187 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -51355,21 +52172,21 @@ paths: format: date-time readOnly: true nullable: true - url: *182 - html_url: *183 + url: *189 + html_url: *190 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &653 + state: &657 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: &654 + resolution: &658 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -51486,8 +52303,8 @@ paths: pull request. ' - oneOf: &655 - - &657 + oneOf: &659 + - &661 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -51545,7 +52362,7 @@ paths: - blob_url - commit_sha - commit_url - - &658 + - &662 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. @@ -51600,7 +52417,7 @@ paths: - page_url - commit_sha - commit_url - - &659 + - &663 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -51620,7 +52437,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &660 + - &664 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -51640,7 +52457,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &661 + - &665 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -51660,7 +52477,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &662 + - &666 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -51674,7 +52491,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &663 + - &667 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -51688,7 +52505,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &664 + - &668 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -51702,7 +52519,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &665 + - &669 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. @@ -51722,7 +52539,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &666 + - &670 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. @@ -51742,7 +52559,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &667 + - &671 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. @@ -51762,7 +52579,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &668 + - &672 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. @@ -51782,7 +52599,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &669 + - &673 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 request. @@ -52045,7 +52862,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &337 + pattern_config_version: &344 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -52054,7 +52871,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &336 + items: &343 type: object properties: token_type: @@ -52120,7 +52937,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *336 + items: *343 examples: default: value: @@ -52177,7 +52994,7 @@ paths: schema: type: object properties: - pattern_config_version: *337 + pattern_config_version: *344 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -52203,7 +53020,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *337 + custom_pattern_version: *344 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -52301,7 +53118,7 @@ paths: application/json: schema: type: array - items: &673 + items: &677 description: A repository security advisory. type: object properties: @@ -52521,7 +53338,7 @@ paths: login: type: string description: The username of the user credited. - type: *338 + type: *345 credits_detailed: type: array nullable: true @@ -52531,7 +53348,7 @@ paths: type: object properties: user: *4 - type: *338 + type: *345 state: type: string description: The state of the user's acceptance of the @@ -52555,7 +53372,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *201 + items: *208 private_fork: readOnly: true nullable: true @@ -52624,7 +53441,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &674 + default: &678 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -53011,7 +53828,7 @@ paths: application/json: schema: type: array - items: *339 + items: *346 examples: default: value: @@ -53364,7 +54181,7 @@ paths: type: integer network_configurations: type: array - items: &340 + items: &347 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -53510,9 +54327,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *347 examples: - default: &341 + default: &348 value: id: 123456789ABCDEF name: My network configuration @@ -53541,7 +54358,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *78 - - &342 + - &349 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -53553,9 +54370,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *347 examples: - default: *341 + default: *348 headers: Link: *70 x-github: @@ -53577,7 +54394,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *78 - - *342 + - *349 requestBody: required: true content: @@ -53630,9 +54447,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *347 examples: - default: *341 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53652,7 +54469,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *78 - - *342 + - *349 responses: '204': description: Response @@ -53792,13 +54609,13 @@ paths: application/json: schema: type: array - items: *343 + items: *350 examples: - default: *344 + default: *351 '500': *55 '403': *29 '404': *6 - '422': *345 + '422': *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53838,9 +54655,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: *266 + default: *273 headers: Link: *70 '403': *29 @@ -53934,7 +54751,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &353 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -53997,8 +54814,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *264 - required: *265 + properties: *271 + required: *272 nullable: true members_count: type: integer @@ -54261,7 +55078,7 @@ paths: - repos_count - organization examples: - default: &347 + default: &354 value: id: 1 node_id: MDQ6VGVhbTE= @@ -54349,9 +55166,9 @@ paths: description: Response content: application/json: - schema: *346 + schema: *353 examples: - default: *347 + default: *354 '404': *6 x-github: githubCloudOnly: false @@ -54435,16 +55252,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *346 + schema: *353 examples: - default: *347 + default: *354 '201': description: Response content: application/json: - schema: *346 + schema: *353 examples: - default: *347 + default: *354 '404': *6 '422': *15 '403': *29 @@ -54474,7 +55291,7 @@ paths: responses: '204': description: Response - '422': &348 + '422': &355 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -54508,12 +55325,12 @@ paths: application/json: schema: type: array - items: *243 + items: *250 examples: - default: *244 + default: *251 headers: Link: *70 - '422': *348 + '422': *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54595,7 +55412,7 @@ paths: description: Response content: application/json: - schema: &349 + schema: &356 title: Team Membership description: Team Membership type: object @@ -54622,7 +55439,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &689 + response-if-user-is-a-team-maintainer: &693 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -54685,9 +55502,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *356 examples: - response-if-users-membership-with-team-is-now-pending: &690 + response-if-users-membership-with-team-is-now-pending: &694 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -54763,7 +55580,7 @@ paths: type: array items: *161 examples: - default: *273 + default: *280 headers: Link: *70 x-github: @@ -54794,14 +55611,14 @@ paths: parameters: - *78 - *80 - - *350 - - *351 + - *357 + - *358 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &691 + schema: &695 title: Team Repository description: A team's access to a repository. type: object @@ -55457,8 +56274,8 @@ paths: parameters: - *78 - *80 - - *350 - - *351 + - *357 + - *358 requestBody: required: false content: @@ -55505,8 +56322,8 @@ paths: parameters: - *78 - *80 - - *350 - - *351 + - *357 + - *358 responses: '204': description: Response @@ -55541,9 +56358,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - response-if-child-teams-exist: &692 + response-if-child-teams-exist: &696 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -55697,7 +56514,7 @@ paths: resources: type: object properties: - core: &352 + core: &359 title: Rate Limit type: object properties: @@ -55714,21 +56531,21 @@ paths: - remaining - reset - used - graphql: *352 - search: *352 - code_search: *352 - source_import: *352 - integration_manifest: *352 - code_scanning_upload: *352 - actions_runner_registration: *352 - scim: *352 - dependency_snapshots: *352 - dependency_sbom: *352 - code_scanning_autofix: *352 + graphql: *359 + search: *359 + code_search: *359 + source_import: *359 + integration_manifest: *359 + code_scanning_upload: *359 + actions_runner_registration: *359 + scim: *359 + dependency_snapshots: *359 + dependency_sbom: *359 + code_scanning_autofix: *359 required: - core - search - rate: *352 + rate: *359 required: - rate - resources @@ -55847,14 +56664,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *353 + schema: *360 examples: default-response: summary: Default response @@ -56365,7 +57182,7 @@ paths: version: '2026-03-10' '403': *29 '404': *6 - '301': *354 + '301': *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56383,8 +57200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: false content: @@ -56682,10 +57499,10 @@ paths: description: Response content: application/json: - schema: *353 + schema: *360 examples: - default: *355 - '307': &356 + default: *362 + '307': &363 description: Temporary Redirect content: application/json: @@ -56714,8 +57531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': description: Response @@ -56737,7 +57554,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *356 + '307': *363 '404': *6 '409': *54 x-github: @@ -56761,11 +57578,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 - - &389 + - &395 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -56788,7 +57605,7 @@ paths: type: integer artifacts: type: array - items: &357 + items: &364 title: Artifact description: An artifact type: object @@ -56866,7 +57683,7 @@ paths: - expires_at - updated_at examples: - default: &390 + default: &396 value: total_count: 2 artifacts: @@ -56927,9 +57744,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *350 - - *351 - - &358 + - *357 + - *358 + - &365 name: artifact_id description: The unique identifier of the artifact. in: path @@ -56941,7 +57758,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *364 examples: default: value: @@ -56979,9 +57796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *350 - - *351 + - *357 - *358 + - *365 responses: '204': description: Response @@ -57005,9 +57822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *350 - - *351 + - *357 - *358 + - *365 - name: archive_format in: path required: true @@ -57017,11 +57834,11 @@ paths: '302': description: Response headers: - Location: &512 + Location: &518 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': &553 + '410': &557 description: Gone content: application/json: @@ -57046,14 +57863,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: &359 + schema: &366 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -57086,13 +57903,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: application/json: - schema: *359 + schema: *366 examples: selected_actions: *42 responses: @@ -57121,14 +57938,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: &360 + schema: &367 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -57161,13 +57978,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: application/json: - schema: *360 + schema: *367 examples: selected_actions: *44 responses: @@ -57198,14 +58015,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *361 + schema: *368 examples: default: value: @@ -57231,11 +58048,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 - - &362 + - &369 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 @@ -57269,7 +58086,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &370 title: Repository actions caches description: Repository actions caches type: object @@ -57311,7 +58128,7 @@ paths: - total_count - actions_caches examples: - default: &364 + default: &371 value: total_count: 1 actions_caches: @@ -57343,23 +58160,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: - - *350 - - *351 + - *357 + - *358 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *362 + - *369 responses: '200': description: Response content: application/json: - schema: *363 + schema: *370 examples: - default: *364 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57379,8 +58196,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: - - *350 - - *351 + - *357 + - *358 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -57409,8 +58226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *48 responses: @@ -57492,8 +58309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -57645,9 +58462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *350 - - *351 - - &365 + - *357 + - *358 + - &372 name: job_id description: The unique identifier of the job. in: path @@ -57659,7 +58476,7 @@ paths: description: Response content: application/json: - schema: &393 + schema: &399 title: Job description: Information of a job execution in a workflow run type: object @@ -57966,9 +58783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *350 - - *351 - - *365 + - *357 + - *358 + - *372 responses: '302': description: Response @@ -57996,9 +58813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *350 - - *351 - - *365 + - *357 + - *358 + - *372 requestBody: required: false content: @@ -58048,8 +58865,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: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Status response @@ -58108,8 +58925,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: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -58177,8 +58994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -58196,7 +59013,7 @@ paths: type: integer secrets: type: array - items: &395 + items: &401 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -58216,7 +59033,7 @@ paths: - created_at - updated_at examples: - default: &396 + default: &402 value: total_count: 2 secrets: @@ -58249,9 +59066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *350 - - *351 - - *366 + - *357 + - *358 + - *178 - *19 responses: '200': @@ -58268,7 +59085,7 @@ paths: type: integer variables: type: array - items: &399 + items: &403 title: Actions Variable type: object properties: @@ -58298,7 +59115,7 @@ paths: - created_at - updated_at examples: - default: &400 + default: &404 value: total_count: 2 variables: @@ -58331,8 +59148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -58341,11 +59158,11 @@ paths: schema: type: object properties: - enabled: &368 + enabled: &374 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *146 - selected_actions_url: *367 + selected_actions_url: *373 sha_pinning_required: *147 required: - enabled @@ -58374,8 +59191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': description: Response @@ -58386,7 +59203,7 @@ paths: schema: type: object properties: - enabled: *368 + enabled: *374 allowed_actions: *146 sha_pinning_required: *147 required: @@ -58418,14 +59235,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: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: &369 + schema: &375 type: object properties: access_level: @@ -58442,7 +59259,7 @@ paths: required: - access_level examples: - default: &370 + default: &376 value: access_level: organization x-github: @@ -58466,15 +59283,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: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: application/json: - schema: *369 + schema: *375 examples: - default: *370 + default: *376 responses: '204': description: Response @@ -58498,14 +59315,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *371 + schema: *377 examples: default: value: @@ -58529,8 +59346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': description: Empty response for successful settings update @@ -58540,7 +59357,7 @@ paths: required: true content: application/json: - schema: *372 + schema: *378 examples: default: summary: Set retention days @@ -58564,8 +59381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -58573,7 +59390,7 @@ paths: application/json: schema: *148 examples: - default: *373 + default: *379 '404': *6 x-github: enabledForGitHubApps: true @@ -58592,8 +59409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': description: Response @@ -58627,14 +59444,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: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *374 + schema: *380 examples: default: *149 '403': *29 @@ -58656,13 +59473,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: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: application/json: - schema: *375 + schema: *381 examples: default: *149 responses: @@ -58688,8 +59505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -58716,8 +59533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': description: Response @@ -58749,14 +59566,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *376 + schema: *382 examples: default: *156 x-github: @@ -58779,8 +59596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': description: Success response @@ -58791,7 +59608,7 @@ paths: required: true content: application/json: - schema: *377 + schema: *383 examples: default: *156 x-github: @@ -58820,8 +59637,8 @@ paths: in: query schema: type: string - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -58865,8 +59682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -58874,9 +59691,9 @@ paths: application/json: schema: type: array - items: *378 + items: *384 examples: - default: *379 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58898,8 +59715,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: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -58942,7 +59759,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *380 + '201': *386 '404': *6 '422': *7 '409': *54 @@ -58973,8 +59790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '201': description: Response @@ -58982,7 +59799,7 @@ paths: application/json: schema: *165 examples: - default: *381 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59010,8 +59827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '201': description: Response @@ -59019,7 +59836,7 @@ paths: application/json: schema: *165 examples: - default: *382 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59041,8 +59858,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: - - *350 - - *351 + - *357 + - *358 - *162 responses: '200': @@ -59051,7 +59868,7 @@ paths: application/json: schema: *163 examples: - default: *383 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59072,8 +59889,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: - - *350 - - *351 + - *357 + - *358 - *162 responses: '204': @@ -59100,8 +59917,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: - - *350 - - *351 + - *357 + - *358 - *162 responses: '200': *167 @@ -59126,8 +59943,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: - - *350 - - *351 + - *357 + - *358 - *162 requestBody: required: true @@ -59176,8 +59993,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: - - *350 - - *351 + - *357 + - *358 - *162 requestBody: required: true @@ -59227,11 +60044,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: - - *350 - - *351 + - *357 + - *358 - *162 responses: - '200': *384 + '200': *390 '404': *6 x-github: githubCloudOnly: false @@ -59258,10 +60075,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: - - *350 - - *351 + - *357 + - *358 - *162 - - *385 + - *391 responses: '200': *167 '404': *6 @@ -59289,9 +60106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *350 - - *351 - - &403 + - *357 + - *358 + - &407 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. @@ -59299,7 +60116,7 @@ paths: required: false schema: type: string - - &404 + - &408 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -59307,7 +60124,7 @@ paths: required: false schema: type: string - - &405 + - &409 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -59316,7 +60133,7 @@ paths: required: false schema: type: string - - &406 + - &410 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 @@ -59343,7 +60160,7 @@ paths: - pending - *17 - *19 - - &407 + - &411 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)." @@ -59352,7 +60169,7 @@ paths: schema: type: string format: date-time - - &386 + - &392 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -59361,13 +60178,13 @@ paths: schema: type: boolean default: false - - &408 + - &412 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &409 + - &413 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -59390,7 +60207,7 @@ paths: type: integer workflow_runs: type: array - items: &387 + items: &393 title: Workflow Run description: An invocation of a workflow type: object @@ -59538,7 +60355,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &431 + properties: &437 id: type: string description: SHA for the commit @@ -59589,7 +60406,7 @@ paths: - name - email nullable: true - required: &432 + required: &438 - id - tree_id - message @@ -59636,7 +60453,7 @@ paths: - workflow_url - pull_requests examples: - default: &410 + default: &414 value: total_count: 1 workflow_runs: @@ -59872,24 +60689,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *350 - - *351 - - &388 + - *357 + - *358 + - &394 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *386 + - *392 responses: '200': description: Response content: application/json: - schema: *387 + schema: *393 examples: - default: &391 + default: &397 value: id: 30433642 name: Build @@ -60130,9 +60947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *350 - - *351 - - *388 + - *357 + - *358 + - *394 responses: '204': description: Response @@ -60155,9 +60972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *350 - - *351 - - *388 + - *357 + - *358 + - *394 responses: '200': description: Response @@ -60276,9 +61093,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: - - *350 - - *351 - - *388 + - *357 + - *358 + - *394 responses: '201': description: Response @@ -60311,12 +61128,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *350 - - *351 - - *388 + - *357 + - *358 + - *394 - *17 - *19 - - *389 + - *395 - *62 responses: '200': @@ -60333,9 +61150,9 @@ paths: type: integer artifacts: type: array - items: *357 + items: *364 examples: - default: *390 + default: *396 headers: Link: *70 x-github: @@ -60359,25 +61176,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *350 - - *351 - - *388 - - &392 + - *357 + - *358 + - *394 + - &398 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *386 + - *392 responses: '200': description: Response content: application/json: - schema: *387 + schema: *393 examples: - default: *391 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60400,10 +61217,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *350 - - *351 - - *388 - - *392 + - *357 + - *358 + - *394 + - *398 - *17 - *19 responses: @@ -60421,9 +61238,9 @@ paths: type: integer jobs: type: array - items: *393 + items: *399 examples: - default: &394 + default: &400 value: total_count: 1 jobs: @@ -60536,10 +61353,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *350 - - *351 - - *388 - - *392 + - *357 + - *358 + - *394 + - *398 responses: '302': description: Response @@ -60567,9 +61384,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *350 - - *351 - - *388 + - *357 + - *358 + - *394 responses: '202': description: Response @@ -60615,9 +61432,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *350 - - *351 - - *388 + - *357 + - *358 + - *394 - *17 - *47 - *48 @@ -60788,9 +61605,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: - - *350 - - *351 - - *388 + - *357 + - *358 + - *394 requestBody: required: true content: @@ -60857,9 +61674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *350 - - *351 - - *388 + - *357 + - *358 + - *394 responses: '202': description: Response @@ -60892,9 +61709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *350 - - *351 - - *388 + - *357 + - *358 + - *394 - 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 @@ -60924,9 +61741,9 @@ paths: type: integer jobs: type: array - items: *393 + items: *399 examples: - default: *394 + default: *400 headers: Link: *70 x-github: @@ -60951,9 +61768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *350 - - *351 - - *388 + - *357 + - *358 + - *394 responses: '302': description: Response @@ -60980,9 +61797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *350 - - *351 - - *388 + - *357 + - *358 + - *394 responses: '204': description: Response @@ -61009,9 +61826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *350 - - *351 - - *388 + - *357 + - *358 + - *394 responses: '200': description: Response @@ -61071,7 +61888,7 @@ paths: items: type: object properties: - type: &519 + type: &525 type: string description: The type of reviewer. enum: @@ -61081,7 +61898,7 @@ paths: reviewer: anyOf: - *4 - - *201 + - *208 required: - environment - wait_timer @@ -61156,9 +61973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *350 - - *351 - - *388 + - *357 + - *358 + - *394 requestBody: required: true content: @@ -61205,12 +62022,12 @@ paths: application/json: schema: type: array - items: &514 + items: &520 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &763 + properties: &767 url: type: string format: uri @@ -61295,7 +62112,7 @@ paths: nullable: true properties: *83 required: *84 - required: &764 + required: &768 - id - node_id - sha @@ -61311,7 +62128,7 @@ paths: - created_at - updated_at examples: - default: &515 + default: &521 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -61367,9 +62184,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *350 - - *351 - - *388 + - *357 + - *358 + - *394 requestBody: required: false content: @@ -61413,9 +62230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *350 - - *351 - - *388 + - *357 + - *358 + - *394 requestBody: required: false content: @@ -61468,9 +62285,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *350 - - *351 - - *388 + - *357 + - *358 + - *394 responses: '200': description: Response @@ -61607,8 +62424,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -61626,9 +62443,9 @@ paths: type: integer secrets: type: array - items: *395 + items: *401 examples: - default: *396 + default: *402 headers: Link: *70 x-github: @@ -61653,16 +62470,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *397 + schema: *175 examples: - default: *398 + default: *176 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61684,17 +62501,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *350 - - *351 + - *357 + - *358 - *169 responses: '200': description: Response content: application/json: - schema: *395 + schema: *401 examples: - default: &532 + default: &415 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -61720,8 +62537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *350 - - *351 + - *357 + - *358 - *169 requestBody: required: true @@ -61779,8 +62596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *350 - - *351 + - *357 + - *358 - *169 responses: '204': @@ -61806,9 +62623,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *350 - - *351 - - *366 + - *357 + - *358 + - *178 - *19 responses: '200': @@ -61825,9 +62642,9 @@ paths: type: integer variables: type: array - items: *399 + items: *403 examples: - default: *400 + default: *404 headers: Link: *70 x-github: @@ -61850,8 +62667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -61903,17 +62720,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *350 - - *351 + - *357 + - *358 - *172 responses: '200': description: Response content: application/json: - schema: *399 + schema: *403 examples: - default: &533 + default: &416 value: name: USERNAME value: octocat @@ -61939,8 +62756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *350 - - *351 + - *357 + - *358 - *172 requestBody: required: true @@ -61983,8 +62800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *350 - - *351 + - *357 + - *358 - *172 responses: '204': @@ -62010,8 +62827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -62029,7 +62846,7 @@ paths: type: integer workflows: type: array - items: &401 + items: &405 title: Workflow description: A GitHub Actions workflow type: object @@ -62136,9 +62953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *350 - - *351 - - &402 + - *357 + - *358 + - &406 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -62153,7 +62970,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *405 examples: default: value: @@ -62186,9 +63003,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *350 - - *351 - - *402 + - *357 + - *358 + - *406 responses: '204': description: Response @@ -62213,9 +63030,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *350 - - *351 - - *402 + - *357 + - *358 + - *406 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -62313,9 +63130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *350 - - *351 - - *402 + - *357 + - *358 + - *406 responses: '204': description: Response @@ -62342,19 +63159,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *350 - - *351 - - *402 - - *403 - - *404 - - *405 + - *357 + - *358 - *406 - - *17 - - *19 - *407 - - *386 - *408 - *409 + - *410 + - *17 + - *19 + - *411 + - *392 + - *412 + - *413 responses: '200': description: Response @@ -62370,9 +63187,9 @@ paths: type: integer workflow_runs: type: array - items: *387 + items: *393 examples: - default: *410 + default: *414 headers: Link: *70 x-github: @@ -62404,9 +63221,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *350 - - *351 - - *402 + - *357 + - *358 + - *406 responses: '200': description: Response @@ -62467,8 +63284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *350 - - *351 + - *357 + - *358 - *62 - *17 - *47 @@ -62620,6 +63437,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: + - *357 + - *358 + - *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: *401 + examples: + default: *402 + headers: + Link: *70 + 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: + - *357 + - *358 + - *178 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *403 + examples: + default: *404 + headers: + Link: *70 + 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: + - *357 + - *358 + - *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: *401 + examples: + default: *402 + headers: + Link: *70 + 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: + - *357 + - *358 + responses: + '200': + description: Response + content: + application/json: + schema: *175 + examples: + default: *176 + 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: + - *357 + - *358 + - *169 + responses: + '200': + description: Response + content: + application/json: + schema: *401 + examples: + default: *415 + 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: + - *357 + - *358 + - *169 + 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: *170 + 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: + - *357 + - *358 + - *169 + 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: + - *357 + - *358 + - *178 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *403 + examples: + default: *404 + headers: + Link: *70 + 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: + - *357 + - *358 + 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: *170 + 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: + - *357 + - *358 + - *172 + responses: + '200': + description: Response + content: + application/json: + schema: *403 + examples: + default: *416 + 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: + - *357 + - *358 + - *172 + 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: + - *357 + - *358 + - *172 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables "/repos/{owner}/{repo}/assignees": get: summary: List assignees @@ -62632,8 +63935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -62670,8 +63973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *350 - - *351 + - *357 + - *358 - name: assignee in: path required: true @@ -62707,8 +64010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -62818,8 +64121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *47 - *48 @@ -62876,7 +64179,7 @@ paths: initiator: type: string examples: - default: *411 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62910,8 +64213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -62919,7 +64222,7 @@ paths: application/json: schema: type: array - items: &412 + items: &418 title: Autolink reference description: An autolink reference. type: object @@ -62973,8 +64276,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -63013,9 +64316,9 @@ paths: description: response content: application/json: - schema: *412 + schema: *418 examples: - default: &413 + default: &419 value: id: 1 key_prefix: TICKET- @@ -63046,9 +64349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *350 - - *351 - - &414 + - *357 + - *358 + - &420 name: autolink_id description: The unique identifier of the autolink. in: path @@ -63060,9 +64363,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *418 examples: - default: *413 + default: *419 '404': *6 x-github: githubCloudOnly: false @@ -63082,9 +64385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *350 - - *351 - - *414 + - *357 + - *358 + - *420 responses: '204': description: Response @@ -63108,8 +64411,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: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response if Dependabot is enabled @@ -63157,8 +64460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': description: Response @@ -63179,8 +64482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': description: Response @@ -63200,8 +64503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *350 - - *351 + - *357 + - *358 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -63239,7 +64542,7 @@ paths: - url protected: type: boolean - protection: &416 + protection: &422 title: Branch Protection description: Branch Protection type: object @@ -63281,7 +64584,7 @@ paths: required: - contexts - checks - enforce_admins: &419 + enforce_admins: &425 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -63296,7 +64599,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &421 + required_pull_request_reviews: &427 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -63317,7 +64620,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *201 + items: *208 apps: description: The list of apps with review dismissal access. @@ -63346,7 +64649,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *201 + items: *208 apps: description: The list of apps allowed to bypass pull request requirements. @@ -63372,7 +64675,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &418 + restrictions: &424 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -63435,7 +64738,7 @@ paths: type: string teams: type: array - items: *201 + items: *208 apps: type: array items: @@ -63649,9 +64952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *350 - - *351 - - &417 + - *357 + - *358 + - &423 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). @@ -63665,14 +64968,14 @@ paths: description: Response content: application/json: - schema: &427 + schema: &433 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &484 + commit: &490 title: Commit description: Commit type: object @@ -63706,7 +65009,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &415 + properties: &421 name: type: string example: '"Chris Wanstrath"' @@ -63722,7 +65025,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *415 + properties: *421 nullable: true message: type: string @@ -63743,7 +65046,7 @@ paths: required: - sha - url - verification: &539 + verification: &543 title: Verification type: object properties: @@ -63813,7 +65116,7 @@ paths: type: integer files: type: array - items: &497 + items: &503 title: Diff Entry description: Diff Entry type: object @@ -63897,7 +65200,7 @@ paths: - self protected: type: boolean - protection: *416 + protection: *422 protection_url: type: string format: uri @@ -64004,7 +65307,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *354 + '301': *361 '404': *6 x-github: githubCloudOnly: false @@ -64026,15 +65329,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *416 + schema: *422 examples: default: value: @@ -64228,9 +65531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 requestBody: required: true content: @@ -64485,7 +65788,7 @@ paths: url: type: string format: uri - required_status_checks: &424 + required_status_checks: &430 title: Status Check Policy description: Status Check Policy type: object @@ -64561,7 +65864,7 @@ paths: items: *4 teams: type: array - items: *201 + items: *208 apps: type: array items: *5 @@ -64579,7 +65882,7 @@ paths: items: *4 teams: type: array - items: *201 + items: *208 apps: type: array items: *5 @@ -64637,7 +65940,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *418 + restrictions: *424 required_conversation_resolution: type: object properties: @@ -64749,9 +66052,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 responses: '204': description: Response @@ -64776,17 +66079,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *419 + schema: *425 examples: - default: &420 + default: &426 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -64808,17 +66111,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *419 + schema: *425 examples: - default: *420 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64837,9 +66140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 responses: '204': description: Response @@ -64864,17 +66167,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *421 + schema: *427 examples: - default: &422 + default: &428 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -64970,9 +66273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 requestBody: required: false content: @@ -65070,9 +66373,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *427 examples: - default: *422 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -65093,9 +66396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 responses: '204': description: Response @@ -65122,17 +66425,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *419 + schema: *425 examples: - default: &423 + default: &429 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -65155,17 +66458,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *419 + schema: *425 examples: - default: *423 + default: *429 '404': *6 x-github: githubCloudOnly: false @@ -65185,9 +66488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 responses: '204': description: Response @@ -65212,17 +66515,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *424 + schema: *430 examples: - default: &425 + default: &431 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -65248,9 +66551,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 requestBody: required: false content: @@ -65302,9 +66605,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *430 examples: - default: *425 + default: *431 '404': *6 '422': *15 x-github: @@ -65326,9 +66629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 responses: '204': description: Response @@ -65352,9 +66655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 responses: '200': description: Response @@ -65388,9 +66691,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 requestBody: required: false content: @@ -65457,9 +66760,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 requestBody: required: false content: @@ -65523,9 +66826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 requestBody: content: application/json: @@ -65591,15 +66894,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 responses: '200': description: Response content: application/json: - schema: *418 + schema: *424 examples: default: value: @@ -65690,9 +66993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 responses: '204': description: Response @@ -65715,9 +67018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 responses: '200': description: Response @@ -65727,7 +67030,7 @@ paths: type: array items: *5 examples: - default: &426 + default: &432 value: - id: 1 slug: octoapp @@ -65784,9 +67087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 requestBody: required: true content: @@ -65820,7 +67123,7 @@ paths: type: array items: *5 examples: - default: *426 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -65841,9 +67144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 requestBody: required: true content: @@ -65877,7 +67180,7 @@ paths: type: array items: *5 examples: - default: *426 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -65898,9 +67201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 requestBody: required: true content: @@ -65934,7 +67237,7 @@ paths: type: array items: *5 examples: - default: *426 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -65956,9 +67259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 responses: '200': description: Response @@ -65966,9 +67269,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: *266 + default: *273 '404': *6 x-github: githubCloudOnly: false @@ -65988,9 +67291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 requestBody: required: false content: @@ -66026,9 +67329,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: *266 + default: *273 '422': *15 x-github: githubCloudOnly: false @@ -66049,9 +67352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 requestBody: required: false content: @@ -66087,9 +67390,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: *266 + default: *273 '422': *15 x-github: githubCloudOnly: false @@ -66110,9 +67413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 requestBody: content: application/json: @@ -66147,9 +67450,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: *266 + default: *273 '422': *15 x-github: githubCloudOnly: false @@ -66171,9 +67474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 responses: '200': description: Response @@ -66207,9 +67510,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 requestBody: required: true content: @@ -66267,9 +67570,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 requestBody: required: true content: @@ -66327,9 +67630,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 requestBody: required: true content: @@ -66389,9 +67692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 requestBody: required: true content: @@ -66413,7 +67716,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *433 examples: default: value: @@ -66529,8 +67832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -66809,7 +68112,7 @@ paths: description: Response content: application/json: - schema: &428 + schema: &434 title: CheckRun description: A check performed on the code of a given code change type: object @@ -66929,7 +68232,7 @@ paths: check. type: array items: *93 - deployment: &756 + deployment: &760 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -67209,9 +68512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *350 - - *351 - - &429 + - *357 + - *358 + - &435 name: check_run_id description: The unique identifier of the check run. in: path @@ -67223,9 +68526,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *434 examples: - default: &430 + default: &436 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -67325,9 +68628,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *350 - - *351 - - *429 + - *357 + - *358 + - *435 requestBody: required: true content: @@ -67567,9 +68870,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *434 examples: - default: *430 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67589,9 +68892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *350 - - *351 - - *429 + - *357 + - *358 + - *435 - *17 - *19 responses: @@ -67686,9 +68989,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *350 - - *351 - - *429 + - *357 + - *358 + - *435 responses: '201': description: Response @@ -67732,8 +69035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -67755,7 +69058,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &433 + schema: &439 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -67841,12 +69144,12 @@ paths: type: string format: date-time nullable: true - head_commit: &784 + head_commit: &788 title: Simple Commit description: A commit. type: object - properties: *431 - required: *432 + properties: *437 + required: *438 latest_check_runs_count: type: integer check_runs_url: @@ -67874,7 +69177,7 @@ paths: - check_runs_url - pull_requests examples: - default: &434 + default: &440 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -68165,9 +69468,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *433 + schema: *439 examples: - default: *434 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68186,8 +69489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -68496,9 +69799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *350 - - *351 - - &435 + - *357 + - *358 + - &441 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -68510,9 +69813,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *439 examples: - default: *434 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68535,17 +69838,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *350 - - *351 - - *435 - - &490 + - *357 + - *358 + - *441 + - &496 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &491 + - &497 name: status description: Returns check runs with the specified `status`. in: query @@ -68584,9 +69887,9 @@ paths: type: integer check_runs: type: array - items: *428 + items: *434 examples: - default: &492 + default: &498 value: total_count: 1 check_runs: @@ -68688,9 +69991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *350 - - *351 - - *435 + - *357 + - *358 + - *441 responses: '201': description: Response @@ -68723,21 +70026,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *350 - - *351 - - *436 - - *437 + - *357 + - *358 + - *442 + - *443 - *19 - *17 - - &454 + - &460 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: *438 - - &455 + schema: *444 + - &461 name: pr description: The number of the pull request for the results you want to list. in: query @@ -68762,13 +70065,13 @@ paths: be returned. in: query required: false - schema: *439 + schema: *445 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *440 + schema: *446 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -68787,14 +70090,14 @@ paths: items: type: object properties: - number: *179 - created_at: *180 - updated_at: *181 - url: *182 - html_url: *183 - instances_url: *441 - state: *188 - fixed_at: *184 + number: *186 + created_at: *187 + updated_at: *188 + url: *189 + html_url: *190 + instances_url: *447 + state: *195 + fixed_at: *191 dismissed_by: title: Simple User description: A GitHub user. @@ -68802,12 +70105,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *185 - dismissed_reason: *442 - dismissed_comment: *443 - rule: *444 - tool: *445 - most_recent_instance: *446 + dismissed_at: *192 + dismissed_reason: *448 + dismissed_comment: *449 + rule: *450 + tool: *451 + most_recent_instance: *452 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -68933,7 +70236,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &447 + '403': &453 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -68960,9 +70263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *350 - - *351 - - &448 + - *357 + - *358 + - &454 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -68970,23 +70273,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *179 + schema: *186 responses: '200': description: Response content: application/json: - schema: &449 + schema: &455 type: object properties: - number: *179 - created_at: *180 - updated_at: *181 - url: *182 - html_url: *183 - instances_url: *441 - state: *188 - fixed_at: *184 + number: *186 + created_at: *187 + updated_at: *188 + url: *189 + html_url: *190 + instances_url: *447 + state: *195 + fixed_at: *191 dismissed_by: title: Simple User description: A GitHub user. @@ -68994,9 +70297,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *185 - dismissed_reason: *442 - dismissed_comment: *443 + dismissed_at: *192 + dismissed_reason: *448 + dismissed_comment: *449 rule: type: object properties: @@ -69050,8 +70353,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *445 - most_recent_instance: *446 + tool: *451 + most_recent_instance: *452 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -69150,7 +70453,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *447 + '403': *453 '404': *6 '503': *122 x-github: @@ -69170,9 +70473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *350 - - *351 - - *448 + - *357 + - *358 + - *454 requestBody: required: true content: @@ -69187,8 +70490,8 @@ paths: enum: - open - dismissed - dismissed_reason: *442 - dismissed_comment: *443 + dismissed_reason: *448 + dismissed_comment: *449 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -69216,7 +70519,7 @@ paths: description: Response content: application/json: - schema: *449 + schema: *455 examples: default: value: @@ -69292,7 +70595,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &453 + '403': &459 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -69319,15 +70622,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: - - *350 - - *351 - - *448 + - *357 + - *358 + - *454 responses: '200': description: Response content: application/json: - schema: &450 + schema: &456 type: object properties: status: @@ -69353,13 +70656,13 @@ paths: - description - started_at examples: - default: &451 + default: &457 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &452 + '400': &458 description: Bad Request content: application/json: @@ -69370,7 +70673,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': *447 + '403': *453 '404': *6 '503': *122 x-github: @@ -69395,29 +70698,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: - - *350 - - *351 - - *448 + - *357 + - *358 + - *454 responses: '200': description: OK content: application/json: - schema: *450 + schema: *456 examples: - default: *451 + default: *457 '202': description: Accepted content: application/json: - schema: *450 + schema: *456 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *452 + '400': *458 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -69449,9 +70752,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: - - *350 - - *351 - - *448 + - *357 + - *358 + - *454 requestBody: required: false content: @@ -69496,8 +70799,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *452 - '403': *453 + '400': *458 + '403': *459 '404': *6 '422': description: Unprocessable Entity @@ -69521,13 +70824,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *350 - - *351 - - *448 + - *357 + - *358 + - *454 - *19 - *17 - - *454 - - *455 + - *460 + - *461 responses: '200': description: Response @@ -69538,10 +70841,10 @@ paths: items: type: object properties: - ref: *438 - analysis_key: *456 - environment: *457 - category: *458 + ref: *444 + analysis_key: *462 + environment: *463 + category: *464 state: type: string description: State of a code scanning alert instance. @@ -69556,7 +70859,7 @@ paths: properties: text: type: string - location: *459 + location: *465 html_url: type: string classifications: @@ -69564,7 +70867,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: *460 + items: *466 examples: default: value: @@ -69601,7 +70904,7 @@ paths: end_column: 50 classifications: - source - '403': *447 + '403': *453 '404': *6 '503': *122 x-github: @@ -69635,25 +70938,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *350 - - *351 - - *436 - - *437 + - *357 + - *358 + - *442 + - *443 - *19 - *17 - - *455 + - *461 - 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: *438 + schema: *444 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &461 + schema: &467 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -69674,23 +70977,23 @@ paths: application/json: schema: type: array - items: &462 + items: &468 type: object properties: - ref: *438 - commit_sha: &470 + ref: *444 + commit_sha: &476 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: *456 + analysis_key: *462 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *458 + category: *464 error: type: string example: error reading field xyz @@ -69714,8 +71017,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *461 - tool: *445 + sarif_id: *467 + tool: *451 deletable: type: boolean warning: @@ -69776,7 +71079,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *447 + '403': *453 '404': *6 '503': *122 x-github: @@ -69812,8 +71115,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: - - *350 - - *351 + - *357 + - *358 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -69826,7 +71129,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *468 examples: response: summary: application/json response @@ -69880,7 +71183,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *447 + '403': *453 '404': *6 '422': description: Response if analysis could not be processed @@ -69967,8 +71270,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: - - *350 - - *351 + - *357 + - *358 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -70021,7 +71324,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': *453 + '403': *459 '404': *6 '503': *122 x-github: @@ -70043,8 +71346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -70052,7 +71355,7 @@ paths: application/json: schema: type: array - items: &463 + items: &469 title: CodeQL Database description: A CodeQL database. type: object @@ -70163,7 +71466,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': *447 + '403': *453 '404': *6 '503': *122 x-github: @@ -70192,8 +71495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 - name: language in: path description: The language of the CodeQL database. @@ -70205,7 +71508,7 @@ paths: description: Response content: application/json: - schema: *463 + schema: *469 examples: default: value: @@ -70237,9 +71540,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': &501 + '302': &507 description: Found - '403': *447 + '403': *453 '404': *6 '503': *122 x-github: @@ -70261,8 +71564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *350 - - *351 + - *357 + - *358 - name: language in: path description: The language of the CodeQL database. @@ -70272,7 +71575,7 @@ paths: responses: '204': description: Response - '403': *453 + '403': *459 '404': *6 '503': *122 x-github: @@ -70300,8 +71603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -70310,7 +71613,7 @@ paths: type: object additionalProperties: false properties: - language: &464 + language: &470 type: string description: The language targeted by the CodeQL query enum: @@ -70390,7 +71693,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &468 + schema: &474 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -70400,7 +71703,7 @@ paths: description: The ID of the variant analysis. controller_repo: *67 actor: *4 - query_language: *464 + query_language: *470 query_pack_url: type: string description: The download url for the query pack. @@ -70447,7 +71750,7 @@ paths: items: type: object properties: - repository: &465 + repository: &471 title: Repository Identifier description: Repository Identifier type: object @@ -70483,7 +71786,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &469 + analysis_status: &475 type: string description: The new status of the CodeQL variant analysis repository task. @@ -70515,7 +71818,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &466 + access_mismatch_repos: &472 type: object properties: repository_count: @@ -70529,7 +71832,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: *465 + items: *471 required: - repository_count - repositories @@ -70551,8 +71854,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *466 - over_limit_repos: *466 + no_codeql_db_repos: *472 + over_limit_repos: *472 required: - access_mismatch_repos - not_found_repos @@ -70568,7 +71871,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &467 + value: &473 summary: Default response value: id: 1 @@ -70714,10 +72017,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *467 + value: *473 repository_lists: summary: Response for a successful variant analysis submission - value: *467 + value: *473 '404': *6 '422': description: Unable to process variant analysis submission @@ -70745,8 +72048,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: - - *350 - - *351 + - *357 + - *358 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -70758,9 +72061,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *474 examples: - default: *467 + default: *473 '404': *6 '503': *122 x-github: @@ -70783,7 +72086,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: - - *350 + - *357 - name: repo in: path description: The name of the controller repository. @@ -70818,7 +72121,7 @@ paths: type: object properties: repository: *67 - analysis_status: *469 + analysis_status: *475 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -70943,8 +72246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -71046,7 +72349,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *447 + '403': *453 '404': *6 '503': *122 x-github: @@ -71067,8 +72370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -71160,7 +72463,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *453 + '403': *459 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -71231,8 +72534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -71240,7 +72543,7 @@ paths: schema: type: object properties: - commit_sha: *470 + commit_sha: *476 ref: type: string description: |- @@ -71298,7 +72601,7 @@ paths: schema: type: object properties: - id: *461 + id: *467 url: type: string description: The REST API URL for checking the status of the upload. @@ -71312,7 +72615,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': *453 + '403': *459 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -71335,8 +72638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *350 - - *351 + - *357 + - *358 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -71382,7 +72685,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': *447 + '403': *453 '404': description: Not Found if the sarif id does not match any upload '503': *122 @@ -71407,8 +72710,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: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -71489,8 +72792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *350 - - *351 + - *357 + - *358 - 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 @@ -71610,8 +72913,8 @@ paths: parameters: - *17 - *19 - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -71627,7 +72930,7 @@ paths: type: integer codespaces: type: array - items: *254 + items: *261 examples: default: value: @@ -71925,8 +73228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -71989,17 +73292,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *254 + schema: *261 examples: - default: *471 + default: *477 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *254 + schema: *261 examples: - default: *471 + default: *477 '400': *14 '401': *25 '403': *29 @@ -72028,8 +73331,8 @@ paths: parameters: - *17 - *19 - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -72093,8 +73396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -72129,14 +73432,14 @@ paths: type: integer machines: type: array - items: &698 + items: &702 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *472 - required: *473 + properties: *478 + required: *479 examples: - default: &699 + default: &703 value: total_count: 2 machines: @@ -72176,8 +73479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *350 - - *351 + - *357 + - *358 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -72261,8 +73564,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: - - *350 - - *351 + - *357 + - *358 - 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 @@ -72328,8 +73631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -72347,7 +73650,7 @@ paths: type: integer secrets: type: array - items: &477 + items: &483 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -72367,7 +73670,7 @@ paths: - created_at - updated_at examples: - default: *474 + default: *480 headers: Link: *70 x-github: @@ -72390,16 +73693,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *475 + schema: *481 examples: - default: *476 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -72419,17 +73722,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *350 - - *351 + - *357 + - *358 - *169 responses: '200': description: Response content: application/json: - schema: *477 + schema: *483 examples: - default: *478 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72449,8 +73752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *350 - - *351 + - *357 + - *358 - *169 requestBody: required: true @@ -72503,8 +73806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *350 - - *351 + - *357 + - *358 - *169 responses: '204': @@ -72533,8 +73836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *350 - - *351 + - *357 + - *358 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -72576,7 +73879,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &479 + properties: &485 login: type: string example: octocat @@ -72669,7 +73972,7 @@ paths: user_view_type: type: string example: public - required: &480 + required: &486 - avatar_url - events_url - followers_url @@ -72743,8 +74046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *350 - - *351 + - *357 + - *358 - *74 responses: '204': @@ -72791,8 +74094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *350 - - *351 + - *357 + - *358 - *74 requestBody: required: false @@ -72819,7 +74122,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &552 + schema: &556 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -73048,8 +74351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *350 - - *351 + - *357 + - *358 - *74 responses: '204': @@ -73081,8 +74384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *350 - - *351 + - *357 + - *358 - *74 responses: '200': @@ -73103,8 +74406,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *479 - required: *480 + properties: *485 + required: *486 nullable: true required: - permission @@ -73159,8 +74462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -73170,7 +74473,7 @@ paths: application/json: schema: type: array - items: &481 + items: &487 title: Commit Comment description: Commit Comment type: object @@ -73228,7 +74531,7 @@ paths: - created_at - updated_at examples: - default: &486 + default: &492 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -73287,17 +74590,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *350 - - *351 + - *357 + - *358 - *104 responses: '200': description: Response content: application/json: - schema: *481 + schema: *487 examples: - default: &487 + default: &493 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -73354,8 +74657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *350 - - *351 + - *357 + - *358 - *104 requestBody: required: true @@ -73378,7 +74681,7 @@ paths: description: Response content: application/json: - schema: *481 + schema: *487 examples: default: value: @@ -73429,8 +74732,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *350 - - *351 + - *357 + - *358 - *104 responses: '204': @@ -73452,8 +74755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *350 - - *351 + - *357 + - *358 - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -73480,7 +74783,7 @@ paths: application/json: schema: type: array - items: &482 + items: &488 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -73523,7 +74826,7 @@ paths: - content - created_at examples: - default: &556 + default: &560 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -73568,8 +74871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *350 - - *351 + - *357 + - *358 - *104 requestBody: required: true @@ -73602,9 +74905,9 @@ paths: description: Reaction exists content: application/json: - schema: *482 + schema: *488 examples: - default: &483 + default: &489 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -73633,9 +74936,9 @@ paths: description: Reaction created content: application/json: - schema: *482 + schema: *488 examples: - default: *483 + default: *489 '422': *15 x-github: githubCloudOnly: false @@ -73657,10 +74960,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *350 - - *351 + - *357 + - *358 - *104 - - &557 + - &561 name: reaction_id description: The unique identifier of the reaction. in: path @@ -73715,8 +75018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *350 - - *351 + - *357 + - *358 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -73772,9 +75075,9 @@ paths: application/json: schema: type: array - items: *484 + items: *490 examples: - default: &609 + default: &613 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -73868,9 +75171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *350 - - *351 - - &485 + - *357 + - *358 + - &491 name: commit_sha description: The SHA of the commit. in: path @@ -73942,9 +75245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *350 - - *351 - - *485 + - *357 + - *358 + - *491 - *17 - *19 responses: @@ -73954,9 +75257,9 @@ paths: application/json: schema: type: array - items: *481 + items: *487 examples: - default: *486 + default: *492 headers: Link: *70 x-github: @@ -73984,9 +75287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *350 - - *351 - - *485 + - *357 + - *358 + - *491 requestBody: required: true content: @@ -74021,9 +75324,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *487 examples: - default: *487 + default: *493 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74051,9 +75354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *350 - - *351 - - *485 + - *357 + - *358 + - *491 - *17 - *19 responses: @@ -74063,9 +75366,9 @@ paths: application/json: schema: type: array - items: *488 + items: *494 examples: - default: &601 + default: &605 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -74602,11 +75905,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *350 - - *351 + - *357 + - *358 - *19 - *17 - - &489 + - &495 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)" @@ -74621,9 +75924,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *490 examples: - default: &588 + default: &592 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -74711,7 +76014,7 @@ paths: schema: type: string examples: - default: &498 + default: &504 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -74724,7 +76027,7 @@ paths: schema: type: string examples: - default: &499 + default: &505 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -74777,11 +76080,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *350 - - *351 - - *489 - - *490 - - *491 + - *357 + - *358 + - *495 + - *496 + - *497 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -74815,9 +76118,9 @@ paths: type: integer check_runs: type: array - items: *428 + items: *434 examples: - default: *492 + default: *498 headers: Link: *70 x-github: @@ -74842,9 +76145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *350 - - *351 - - *489 + - *357 + - *358 + - *495 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -74852,7 +76155,7 @@ paths: schema: type: integer example: 1 - - *490 + - *496 - *17 - *19 responses: @@ -74870,7 +76173,7 @@ paths: type: integer check_suites: type: array - items: *433 + items: *439 examples: default: value: @@ -75070,9 +76373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *350 - - *351 - - *489 + - *357 + - *358 + - *495 - *17 - *19 responses: @@ -75270,9 +76573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *350 - - *351 - - *489 + - *357 + - *358 + - *495 - *17 - *19 responses: @@ -75282,7 +76585,7 @@ paths: application/json: schema: type: array - items: &678 + items: &682 title: Status description: The status of a commit. type: object @@ -75363,7 +76666,7 @@ paths: site_admin: false headers: Link: *70 - '301': *354 + '301': *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75391,8 +76694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -75421,20 +76724,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *493 - required: *494 + properties: *499 + required: *500 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &495 + properties: &501 url: type: string format: uri html_url: type: string format: uri - required: &496 + required: &502 - url - html_url nullable: true @@ -75448,26 +76751,26 @@ paths: contributing: title: Community Health File type: object - properties: *495 - required: *496 + properties: *501 + required: *502 nullable: true readme: title: Community Health File type: object - properties: *495 - required: *496 + properties: *501 + required: *502 nullable: true issue_template: title: Community Health File type: object - properties: *495 - required: *496 + properties: *501 + required: *502 nullable: true pull_request_template: title: Community Health File type: object - properties: *495 - required: *496 + properties: *501 + required: *502 nullable: true required: - code_of_conduct @@ -75594,8 +76897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *350 - - *351 + - *357 + - *358 - *19 - *17 - name: basehead @@ -75638,8 +76941,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *484 - merge_base_commit: *484 + base_commit: *490 + merge_base_commit: *490 status: type: string enum: @@ -75659,10 +76962,10 @@ paths: example: 6 commits: type: array - items: *484 + items: *490 files: type: array - items: *497 + items: *503 required: - url - html_url @@ -75908,12 +77211,12 @@ paths: schema: type: string examples: - default: *498 + default: *504 application/vnd.github.patch: schema: type: string examples: - default: *499 + default: *505 '404': *6 '500': *55 '503': *122 @@ -75958,8 +77261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *350 - - *351 + - *357 + - *358 - name: path description: path parameter in: path @@ -76119,7 +77422,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &500 + response-if-content-is-a-file-github-object: &506 summary: Response if content is a file value: type: file @@ -76251,7 +77554,7 @@ paths: - size - type - url - - &614 + - &618 title: Content File description: Content File type: object @@ -76452,7 +77755,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *500 + response-if-content-is-a-file: *506 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -76521,7 +77824,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *501 + '302': *507 '304': *37 x-github: githubCloudOnly: false @@ -76574,8 +77877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *350 - - *351 + - *357 + - *358 - name: path description: path parameter in: path @@ -76668,7 +77971,7 @@ paths: description: Response content: application/json: - schema: &502 + schema: &508 title: File Commit description: File Commit type: object @@ -76820,7 +78123,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *508 examples: example-for-creating-a-file: value: @@ -76874,7 +78177,7 @@ paths: schema: oneOf: - *3 - - &534 + - &538 description: Repository rule violation was detected type: object properties: @@ -76895,7 +78198,7 @@ paths: items: type: object properties: - placeholder_id: &670 + placeholder_id: &674 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -76927,8 +78230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *350 - - *351 + - *357 + - *358 - name: path description: path parameter in: path @@ -76989,7 +78292,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *508 examples: default: value: @@ -77044,8 +78347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *350 - - *351 + - *357 + - *358 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -77168,24 +78471,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *350 - - *351 - - *203 - - *204 - - *205 - - *206 - - *207 + - *357 + - *358 + - *210 + - *211 + - *212 + - *213 + - *214 - 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 - - *208 - - *503 - - *209 - - *210 - - *211 + - *215 + - *509 + - *216 + - *217 + - *218 - *62 - *47 - *48 @@ -77197,11 +78500,11 @@ paths: application/json: schema: type: array - items: &507 + items: &513 type: object description: A Dependabot alert. properties: - number: *179 + number: *186 state: type: string description: The state of the Dependabot alert. @@ -77244,13 +78547,13 @@ paths: - direct - transitive - inconclusive - security_advisory: *504 + security_advisory: *510 security_vulnerability: *66 - url: *182 - html_url: *183 - created_at: *180 - updated_at: *181 - dismissed_at: *185 + url: *189 + html_url: *190 + created_at: *187 + updated_at: *188 + dismissed_at: *192 dismissed_by: title: Simple User description: A GitHub user. @@ -77274,9 +78577,9 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *184 - auto_dismissed_at: *505 - dismissal_request: *506 + fixed_at: *191 + auto_dismissed_at: *511 + dismissal_request: *512 assignees: type: array description: The users assigned to this alert. @@ -77531,9 +78834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *350 - - *351 - - &508 + - *357 + - *358 + - &514 name: alert_number in: path description: |- @@ -77542,13 +78845,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *179 + schema: *186 responses: '200': description: Response content: application/json: - schema: *507 + schema: *513 examples: default: value: @@ -77680,9 +78983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *350 - - *351 - - *508 + - *357 + - *358 + - *514 requestBody: required: true content: @@ -77738,7 +79041,7 @@ paths: description: Response content: application/json: - schema: *507 + schema: *513 examples: default: value: @@ -77868,8 +79171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -77887,7 +79190,7 @@ paths: type: integer secrets: type: array - items: &511 + items: &517 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -77940,16 +79243,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *509 + schema: *515 examples: - default: *510 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77969,15 +79272,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *350 - - *351 + - *357 + - *358 - *169 responses: '200': description: Response content: application/json: - schema: *511 + schema: *517 examples: default: value: @@ -78003,8 +79306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *350 - - *351 + - *357 + - *358 - *169 requestBody: required: true @@ -78057,8 +79360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *350 - - *351 + - *357 + - *358 - *169 responses: '204': @@ -78081,8 +79384,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: - - *350 - - *351 + - *357 + - *358 - 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 @@ -78242,8 +79545,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: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -78481,8 +79784,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: - - *350 - - *351 + - *357 + - *358 - name: sbom_uuid in: path required: true @@ -78493,7 +79796,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *512 + Location: *518 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -78514,8 +79817,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: - - *350 - - *351 + - *357 + - *358 responses: '201': description: Response @@ -78553,8 +79856,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: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -78629,7 +79932,7 @@ paths: - version - url additionalProperties: false - metadata: &513 + metadata: &519 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -78662,7 +79965,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *513 + metadata: *519 resolved: type: object description: A collection of resolved package dependencies. @@ -78675,7 +79978,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *513 + metadata: *519 relationship: type: string description: A notation of whether a dependency is requested @@ -78804,8 +80107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *350 - - *351 + - *357 + - *358 - name: sha description: The SHA recorded at creation time. in: query @@ -78845,9 +80148,9 @@ paths: application/json: schema: type: array - items: *514 + items: *520 examples: - default: *515 + default: *521 headers: Link: *70 x-github: @@ -78913,8 +80216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -78995,7 +80298,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *520 examples: simple-example: summary: Simple example @@ -79068,9 +80371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *350 - - *351 - - &516 + - *357 + - *358 + - &522 name: deployment_id description: deployment_id parameter in: path @@ -79082,7 +80385,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *520 examples: default: value: @@ -79147,9 +80450,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *350 - - *351 - - *516 + - *357 + - *358 + - *522 responses: '204': description: Response @@ -79171,9 +80474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *350 - - *351 - - *516 + - *357 + - *358 + - *522 - *17 - *19 responses: @@ -79183,7 +80486,7 @@ paths: application/json: schema: type: array - items: &517 + items: &523 title: Deployment Status description: The status of a deployment. type: object @@ -79344,9 +80647,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *350 - - *351 - - *516 + - *357 + - *358 + - *522 requestBody: required: true content: @@ -79421,9 +80724,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *523 examples: - default: &518 + default: &524 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -79479,9 +80782,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *350 - - *351 - - *516 + - *357 + - *358 + - *522 - name: status_id in: path required: true @@ -79492,9 +80795,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *523 examples: - default: *518 + default: *524 '404': *6 x-github: githubCloudOnly: false @@ -79519,8 +80822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -79577,8 +80880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -79595,7 +80898,7 @@ paths: type: integer environments: type: array - items: &520 + items: &526 title: Environment description: Details of a deployment environment type: object @@ -79647,7 +80950,7 @@ paths: type: type: string example: wait_timer - wait_timer: &522 + wait_timer: &528 type: integer example: 30 description: The amount of time to delay a job after @@ -79684,11 +80987,11 @@ paths: items: type: object properties: - type: *519 + type: *525 reviewer: anyOf: - *4 - - *201 + - *208 required: - id - node_id @@ -79708,7 +81011,7 @@ paths: - id - node_id - type - deployment_branch_policy: &523 + deployment_branch_policy: &529 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -79824,9 +81127,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *350 - - *351 - - &521 + - *357 + - *358 + - &527 name: environment_name in: path required: true @@ -79839,9 +81142,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *526 examples: - default: &524 + default: &530 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -79925,9 +81228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *350 - - *351 - - *521 + - *357 + - *358 + - *527 requestBody: required: false content: @@ -79936,7 +81239,7 @@ paths: type: object nullable: true properties: - wait_timer: *522 + wait_timer: *528 prevent_self_review: type: boolean example: false @@ -79953,13 +81256,13 @@ paths: items: type: object properties: - type: *519 + type: *525 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *523 + deployment_branch_policy: *529 additionalProperties: false examples: default: @@ -79979,9 +81282,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *526 examples: - default: *524 + default: *530 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -80005,9 +81308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *350 - - *351 - - *521 + - *357 + - *358 + - *527 responses: '204': description: Default response @@ -80032,9 +81335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *350 - - *351 - - *521 + - *357 + - *358 + - *527 - *17 - *19 responses: @@ -80052,7 +81355,7 @@ paths: example: 2 branch_policies: type: array - items: &525 + items: &531 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -80109,9 +81412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *350 - - *351 - - *521 + - *357 + - *358 + - *527 requestBody: required: true content: @@ -80157,9 +81460,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *531 examples: - example-wildcard: &526 + example-wildcard: &532 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -80201,10 +81504,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *350 - - *351 - - *521 - - &527 + - *357 + - *358 + - *527 + - &533 name: branch_policy_id in: path required: true @@ -80216,9 +81519,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *531 examples: - default: *526 + default: *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80237,10 +81540,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *350 - - *351 - - *521 + - *357 + - *358 - *527 + - *533 requestBody: required: true content: @@ -80268,9 +81571,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *531 examples: - default: *526 + default: *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80289,10 +81592,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *350 - - *351 - - *521 + - *357 + - *358 - *527 + - *533 responses: '204': description: Response @@ -80317,9 +81620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *521 - - *351 - - *350 + - *527 + - *358 + - *357 responses: '200': description: List of deployment protection rules @@ -80335,7 +81638,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &528 + items: &534 title: Deployment protection rule description: Deployment protection rule type: object @@ -80354,7 +81657,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &529 + app: &535 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -80453,9 +81756,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: - - *521 - - *351 - - *350 + - *527 + - *358 + - *357 requestBody: content: application/json: @@ -80476,9 +81779,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *528 + schema: *534 examples: - default: &530 + default: &536 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -80513,9 +81816,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: - - *521 - - *351 - - *350 + - *527 + - *358 + - *357 - *19 - *17 responses: @@ -80534,7 +81837,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *529 + items: *535 examples: default: value: @@ -80569,10 +81872,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *350 - - *351 - - *521 - - &531 + - *357 + - *358 + - *527 + - &537 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -80584,9 +81887,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: *530 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80607,10 +81910,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *521 - - *351 - - *350 - - *531 + - *527 + - *358 + - *357 + - *537 responses: '204': description: Response @@ -80636,9 +81939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *350 - - *351 - - *521 + - *357 + - *358 + - *527 - *17 - *19 responses: @@ -80656,9 +81959,9 @@ paths: type: integer secrets: type: array - items: *395 + items: *401 examples: - default: *396 + default: *402 headers: Link: *70 x-github: @@ -80683,17 +81986,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *350 - - *351 - - *521 + - *357 + - *358 + - *527 responses: '200': description: Response content: application/json: - schema: *397 + schema: *175 examples: - default: *398 + default: *176 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80715,18 +82018,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *350 - - *351 - - *521 + - *357 + - *358 + - *527 - *169 responses: '200': description: Response content: application/json: - schema: *395 + schema: *401 examples: - default: *532 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80748,9 +82051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *350 - - *351 - - *521 + - *357 + - *358 + - *527 - *169 requestBody: required: true @@ -80808,9 +82111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *350 - - *351 - - *521 + - *357 + - *358 + - *527 - *169 responses: '204': @@ -80836,10 +82139,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *350 - - *351 - - *521 - - *366 + - *357 + - *358 + - *527 + - *178 - *19 responses: '200': @@ -80856,9 +82159,9 @@ paths: type: integer variables: type: array - items: *399 + items: *403 examples: - default: *400 + default: *404 headers: Link: *70 x-github: @@ -80881,9 +82184,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *350 - - *351 - - *521 + - *357 + - *358 + - *527 requestBody: required: true content: @@ -80935,18 +82238,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *350 - - *351 - - *521 + - *357 + - *358 + - *527 - *172 responses: '200': description: Response content: application/json: - schema: *399 + schema: *403 examples: - default: *533 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80967,10 +82270,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *350 - - *351 + - *357 + - *358 - *172 - - *521 + - *527 requestBody: required: true content: @@ -81012,10 +82315,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *350 - - *351 + - *357 + - *358 - *172 - - *521 + - *527 responses: '204': description: Response @@ -81037,8 +82340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -81106,8 +82409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *350 - - *351 + - *357 + - *358 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -81266,8 +82569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: false content: @@ -81299,9 +82602,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *360 examples: - default: *355 + default: *362 '400': *14 '422': *15 '403': *29 @@ -81322,8 +82625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -81383,7 +82686,7 @@ paths: schema: oneOf: - *130 - - *534 + - *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81408,8 +82711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *350 - - *351 + - *357 + - *358 - name: file_sha in: path required: true @@ -81508,8 +82811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -81618,7 +82921,7 @@ paths: description: Response content: application/json: - schema: &535 + schema: &539 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -81832,15 +83135,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *350 - - *351 - - *485 + - *357 + - *358 + - *491 responses: '200': description: Response content: application/json: - schema: *535 + schema: *539 examples: default: value: @@ -81896,9 +83199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *350 - - *351 - - &536 + - *357 + - *358 + - &540 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. @@ -81915,7 +83218,7 @@ paths: application/json: schema: type: array - items: &537 + items: &541 title: Git Reference description: Git references within a repository type: object @@ -81990,17 +83293,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *350 - - *351 - - *536 + - *357 + - *358 + - *540 responses: '200': description: Response content: application/json: - schema: *537 + schema: *541 examples: - default: &538 + default: &542 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -82029,8 +83332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -82059,9 +83362,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *541 examples: - default: *538 + default: *542 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -82087,9 +83390,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *350 - - *351 - - *536 + - *357 + - *358 + - *540 requestBody: required: true content: @@ -82118,9 +83421,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *541 examples: - default: *538 + default: *542 '422': *15 '409': *54 x-github: @@ -82138,9 +83441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *350 - - *351 - - *536 + - *357 + - *358 + - *540 responses: '204': description: Response @@ -82195,8 +83498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -82263,7 +83566,7 @@ paths: description: Response content: application/json: - schema: &540 + schema: &544 title: Git Tag description: Metadata for a Git tag type: object @@ -82314,7 +83617,7 @@ paths: - sha - type - url - verification: *539 + verification: *543 required: - sha - url @@ -82324,7 +83627,7 @@ paths: - tag - message examples: - default: &541 + default: &545 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -82397,8 +83700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *350 - - *351 + - *357 + - *358 - name: tag_sha in: path required: true @@ -82409,9 +83712,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *544 examples: - default: *541 + default: *545 '404': *6 '409': *54 x-github: @@ -82435,8 +83738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -82509,7 +83812,7 @@ paths: description: Response content: application/json: - schema: &542 + schema: &546 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -82605,8 +83908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *350 - - *351 + - *357 + - *358 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -82629,7 +83932,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *546 examples: default-response: summary: Default response @@ -82688,8 +83991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -82699,7 +84002,7 @@ paths: application/json: schema: type: array - items: &543 + items: &547 title: Webhook description: Webhooks for repositories. type: object @@ -82753,7 +84056,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &793 + last_response: &797 title: Hook Response type: object properties: @@ -82827,8 +84130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: false content: @@ -82880,9 +84183,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *547 examples: - default: &544 + default: &548 value: type: Repository id: 12345678 @@ -82930,17 +84233,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *350 - - *351 - - *222 + - *357 + - *358 + - *229 responses: '200': description: Response content: application/json: - schema: *543 + schema: *547 examples: - default: *544 + default: *548 '404': *6 x-github: githubCloudOnly: false @@ -82960,9 +84263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *350 - - *351 - - *222 + - *357 + - *358 + - *229 requestBody: required: true content: @@ -83007,9 +84310,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *547 examples: - default: *544 + default: *548 '422': *15 '404': *6 x-github: @@ -83030,9 +84333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *350 - - *351 - - *222 + - *357 + - *358 + - *229 responses: '204': description: Response @@ -83056,9 +84359,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *350 - - *351 - - *222 + - *357 + - *358 + - *229 responses: '200': description: Response @@ -83085,9 +84388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *350 - - *351 - - *222 + - *357 + - *358 + - *229 requestBody: required: false content: @@ -83131,12 +84434,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *350 - - *351 - - *222 + - *357 + - *358 + - *229 - *17 - - *223 - - *224 + - *230 + - *231 responses: '200': description: Response @@ -83144,9 +84447,9 @@ paths: application/json: schema: type: array - items: *225 + items: *232 examples: - default: *226 + default: *233 '400': *14 '422': *15 x-github: @@ -83165,18 +84468,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *350 - - *351 - - *222 + - *357 + - *358 + - *229 - *16 responses: '200': description: Response content: application/json: - schema: *227 + schema: *234 examples: - default: *228 + default: *235 '400': *14 '422': *15 x-github: @@ -83195,9 +84498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *350 - - *351 - - *222 + - *357 + - *358 + - *229 - *16 responses: '202': *39 @@ -83220,9 +84523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *350 - - *351 - - *222 + - *357 + - *358 + - *229 responses: '204': description: Response @@ -83247,9 +84550,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *350 - - *351 - - *222 + - *357 + - *358 + - *229 responses: '204': description: Response @@ -83272,8 +84575,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response if immutable releases are enabled @@ -83319,8 +84622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': *61 '409': *54 @@ -83340,8 +84643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': *61 '409': *54 @@ -83398,14 +84701,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: &545 + schema: &549 title: Import description: A repository import from an external source. type: object @@ -83504,7 +84807,7 @@ paths: - html_url - authors_url examples: - default: &548 + default: &552 value: vcs: subversion use_lfs: true @@ -83520,7 +84823,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': &546 + '503': &550 description: Unavailable due to service under maintenance. content: application/json: @@ -83549,8 +84852,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -83598,7 +84901,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *549 examples: default: value: @@ -83623,7 +84926,7 @@ paths: type: string '422': *15 '404': *6 - '503': *546 + '503': *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83651,8 +84954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: false content: @@ -83701,7 +85004,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *549 examples: example-1: summary: Example 1 @@ -83749,7 +85052,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': *546 + '503': *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83772,12 +85075,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': description: Response - '503': *546 + '503': *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83803,9 +85106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *350 - - *351 - - &720 + - *357 + - *358 + - &724 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -83819,7 +85122,7 @@ paths: application/json: schema: type: array - items: &547 + items: &551 title: Porter Author description: Porter Author type: object @@ -83873,7 +85176,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': *546 + '503': *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83898,8 +85201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *350 - - *351 + - *357 + - *358 - name: author_id in: path required: true @@ -83929,7 +85232,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *551 examples: default: value: @@ -83942,7 +85245,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *546 + '503': *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83966,8 +85269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -84008,7 +85311,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *546 + '503': *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84036,8 +85339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -84064,11 +85367,11 @@ paths: description: Response content: application/json: - schema: *545 + schema: *549 examples: - default: *548 + default: *552 '422': *15 - '503': *546 + '503': *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84091,8 +85394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -84100,8 +85403,8 @@ paths: application/json: schema: *22 examples: - default: *549 - '301': *354 + default: *553 + '301': *361 '404': *6 x-github: githubCloudOnly: false @@ -84121,8 +85424,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -84130,12 +85433,12 @@ paths: application/json: schema: anyOf: - - *241 + - *248 - type: object properties: {} additionalProperties: false examples: - default: &551 + default: &555 value: limit: collaborators_only origin: repository @@ -84160,13 +85463,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: application/json: - schema: *550 + schema: *554 examples: default: summary: Example request body @@ -84178,9 +85481,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *248 examples: - default: *551 + default: *555 '409': description: Response x-github: @@ -84202,8 +85505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': description: Response @@ -84226,8 +85529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -84237,9 +85540,9 @@ paths: application/json: schema: type: array - items: *552 + items: *556 examples: - default: &713 + default: &717 value: - id: 1 repository: @@ -84370,9 +85673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *350 - - *351 - - *245 + - *357 + - *358 + - *252 requestBody: required: false content: @@ -84401,7 +85704,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *556 examples: default: value: @@ -84532,9 +85835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *350 - - *351 - - *245 + - *357 + - *358 + - *252 responses: '204': description: Response @@ -84565,8 +85868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *350 - - *351 + - *357 + - *358 - 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 @@ -84614,7 +85917,7 @@ paths: required: false schema: type: string - - *252 + - *259 - name: sort description: What to sort results by. in: query @@ -84639,7 +85942,7 @@ paths: type: array items: *88 examples: - default: &565 + default: &569 value: - id: 1 node_id: MDU6SXNzdWUx @@ -84788,7 +86091,7 @@ paths: state_reason: completed headers: Link: *70 - '301': *354 + '301': *361 '422': *15 '404': *6 x-github: @@ -84817,8 +86120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -84923,7 +86226,7 @@ paths: application/json: schema: *88 examples: - default: &562 + default: &566 value: id: 1 node_id: MDU6SXNzdWUx @@ -85086,7 +86389,7 @@ paths: '422': *15 '503': *122 '404': *6 - '410': *553 + '410': *557 x-github: triggersNotification: true githubCloudOnly: false @@ -85124,8 +86427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 - *112 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -85146,9 +86449,9 @@ paths: application/json: schema: type: array - items: *554 + items: *558 examples: - default: &564 + default: &568 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -85206,17 +86509,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *350 - - *351 + - *357 + - *358 - *104 responses: '200': description: Response content: application/json: - schema: *554 + schema: *558 examples: - default: &555 + default: &559 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -85271,8 +86574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *350 - - *351 + - *357 + - *358 - *104 requestBody: required: true @@ -85295,9 +86598,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *558 examples: - default: *555 + default: *559 '422': *15 x-github: githubCloudOnly: false @@ -85315,8 +86618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *350 - - *351 + - *357 + - *358 - *104 responses: '204': @@ -85345,15 +86648,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *350 - - *351 + - *357 + - *358 - *104 responses: '200': description: Response content: application/json: - schema: *554 + schema: *558 examples: default: value: @@ -85409,7 +86712,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *553 + '410': *557 '422': *15 x-github: githubCloudOnly: false @@ -85426,8 +86729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *350 - - *351 + - *357 + - *358 - *104 responses: '204': @@ -85435,7 +86738,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *553 + '410': *557 '503': *122 x-github: githubCloudOnly: false @@ -85453,8 +86756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *350 - - *351 + - *357 + - *358 - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -85481,9 +86784,9 @@ paths: application/json: schema: type: array - items: *482 + items: *488 examples: - default: *556 + default: *560 headers: Link: *70 '404': *6 @@ -85504,8 +86807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *350 - - *351 + - *357 + - *358 - *104 requestBody: required: true @@ -85538,16 +86841,16 @@ paths: description: Reaction exists content: application/json: - schema: *482 + schema: *488 examples: - default: *483 + default: *489 '201': description: Reaction created content: application/json: - schema: *482 + schema: *488 examples: - default: *483 + default: *489 '422': *15 x-github: githubCloudOnly: false @@ -85569,10 +86872,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *350 - - *351 + - *357 + - *358 - *104 - - *557 + - *561 responses: '204': description: Response @@ -85592,8 +86895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -85603,7 +86906,7 @@ paths: application/json: schema: type: array - items: &561 + items: &565 title: Issue Event description: Issue Event type: object @@ -85646,9 +86949,9 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *558 - required: *559 - x-github-breaking-changes: *560 + properties: *562 + required: *563 + x-github-breaking-changes: *564 nullable: true label: title: Issue Event Label @@ -85692,7 +86995,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *201 + requested_team: *208 dismissed_review: title: Issue Event Dismissed Review type: object @@ -85956,8 +87259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *350 - - *351 + - *357 + - *358 - name: event_id in: path required: true @@ -85968,7 +87271,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *565 examples: default: value: @@ -86161,7 +87464,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *553 + '410': *557 '403': *29 x-github: githubCloudOnly: false @@ -86195,9 +87498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *350 - - *351 - - &563 + - *357 + - *358 + - &567 name: issue_number description: The number that identifies the issue. in: path @@ -86213,7 +87516,7 @@ paths: examples: default: summary: Issue - value: *562 + value: *566 pinned_comment: summary: Issue with pinned comment value: @@ -86418,9 +87721,9 @@ paths: - op: remove path: "/value/assignee" version: '2026-03-10' - '301': *354 + '301': *361 '404': *6 - '410': *553 + '410': *557 '304': *37 x-github: githubCloudOnly: false @@ -86445,9 +87748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 requestBody: required: false content: @@ -86573,13 +87876,13 @@ paths: application/json: schema: *88 examples: - default: *562 + default: *566 '422': *15 '503': *122 '403': *29 - '301': *354 + '301': *361 '404': *6 - '410': *553 + '410': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86607,9 +87910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 requestBody: required: false content: @@ -86637,7 +87940,7 @@ paths: application/json: schema: *88 examples: - default: *562 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86653,9 +87956,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 requestBody: content: application/json: @@ -86682,7 +87985,7 @@ paths: application/json: schema: *88 examples: - default: *562 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86704,9 +88007,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: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 - name: assignee in: path required: true @@ -86746,9 +88049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 - *95 - *17 - *19 @@ -86759,13 +88062,13 @@ paths: application/json: schema: type: array - items: *554 + items: *558 examples: - default: *564 + default: *568 headers: Link: *70 '404': *6 - '410': *553 + '410': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86794,9 +88097,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 requestBody: required: true content: @@ -86818,16 +88121,16 @@ paths: description: Response content: application/json: - schema: *554 + schema: *558 examples: - default: *555 + default: *559 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *553 + '410': *557 '422': *15 '404': *6 x-github: @@ -86855,9 +88158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 - *17 - *19 responses: @@ -86869,12 +88172,12 @@ paths: type: array items: *88 examples: - default: *565 + default: *569 headers: Link: *70 - '301': *354 + '301': *361 '404': *6 - '410': *553 + '410': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86902,9 +88205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 requestBody: required: true content: @@ -86928,15 +88231,15 @@ paths: application/json: schema: *88 examples: - default: *562 + default: *566 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *354 + '301': *361 '403': *29 - '410': *553 + '410': *557 '422': *15 '404': *6 x-github: @@ -86967,9 +88270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -86983,13 +88286,13 @@ paths: application/json: schema: *88 examples: - default: *562 - '301': *354 + default: *566 + '301': *361 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *553 + '410': *557 x-github: triggersNotification: true githubCloudOnly: false @@ -87015,9 +88318,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 - *17 - *19 responses: @@ -87029,12 +88332,12 @@ paths: type: array items: *88 examples: - default: *565 + default: *569 headers: Link: *70 - '301': *354 + '301': *361 '404': *6 - '410': *553 + '410': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87051,9 +88354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 - *17 - *19 responses: @@ -87067,7 +88370,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &569 + - &573 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -87121,7 +88424,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &570 + - &574 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -87257,7 +88560,7 @@ paths: - performed_via_github_app - assignee - assigner - - &571 + - &575 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -87308,7 +88611,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &572 + - &576 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -87359,7 +88662,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &573 + - &577 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -87413,7 +88716,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &574 + - &578 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -87447,7 +88750,7 @@ paths: properties: *83 required: *84 review_requester: *4 - requested_team: *201 + requested_team: *208 requested_reviewer: *4 required: - review_requester @@ -87460,7 +88763,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &575 + - &579 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -87494,7 +88797,7 @@ paths: properties: *83 required: *84 review_requester: *4 - requested_team: *201 + requested_team: *208 requested_reviewer: *4 required: - review_requester @@ -87507,7 +88810,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &576 + - &580 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -87567,7 +88870,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &577 + - &581 title: Locked Issue Event description: Locked Issue Event type: object @@ -87615,7 +88918,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &578 + - &582 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -87681,7 +88984,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &579 + - &583 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -87747,7 +89050,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &580 + - &584 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -87813,7 +89116,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &581 + - &585 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -87904,7 +89207,7 @@ paths: color: red headers: Link: *70 - '410': *553 + '410': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87921,9 +89224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 - *17 - *19 responses: @@ -87933,9 +89236,9 @@ paths: application/json: schema: type: array - items: *566 + items: *570 examples: - default: &567 + default: &571 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -87959,9 +89262,9 @@ paths: value: '2025-12-25' headers: Link: *70 - '301': *354 + '301': *361 '404': *6 - '410': *553 + '410': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87990,9 +89293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 requestBody: required: true content: @@ -88056,9 +89359,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *566 + items: *570 examples: - default: *567 + default: *571 '400': *14 '403': *29 '404': *6 @@ -88094,9 +89397,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 requestBody: required: true content: @@ -88161,9 +89464,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *566 + items: *570 examples: - default: *567 + default: *571 '400': *14 '403': *29 '404': *6 @@ -88194,10 +89497,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: - - *350 - - *351 - - *563 - - *248 + - *357 + - *358 + - *567 + - *255 responses: '204': description: Issue field value deleted successfully @@ -88222,9 +89525,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 - *17 - *19 responses: @@ -88236,7 +89539,7 @@ paths: type: array items: *87 examples: - default: &568 + default: &572 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -88254,9 +89557,9 @@ paths: default: false headers: Link: *70 - '301': *354 + '301': *361 '404': *6 - '410': *553 + '410': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88272,9 +89575,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 requestBody: required: false content: @@ -88319,10 +89622,10 @@ paths: type: array items: *87 examples: - default: *568 - '301': *354 + default: *572 + '301': *361 '404': *6 - '410': *553 + '410': *557 '422': *15 x-github: githubCloudOnly: false @@ -88339,9 +89642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 requestBody: required: false content: @@ -88403,10 +89706,10 @@ paths: type: array items: *87 examples: - default: *568 - '301': *354 + default: *572 + '301': *361 '404': *6 - '410': *553 + '410': *557 '422': *15 x-github: githubCloudOnly: false @@ -88423,15 +89726,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 responses: '204': description: Response - '301': *354 + '301': *361 '404': *6 - '410': *553 + '410': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88450,9 +89753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 - name: name in: path required: true @@ -88476,9 +89779,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *354 + '301': *361 '404': *6 - '410': *553 + '410': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88498,9 +89801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 requestBody: required: false content: @@ -88528,7 +89831,7 @@ paths: '204': description: Response '403': *29 - '410': *553 + '410': *557 '404': *6 '422': *15 x-github: @@ -88546,9 +89849,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 responses: '204': description: Response @@ -88578,9 +89881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 responses: '200': description: Response @@ -88588,10 +89891,10 @@ paths: application/json: schema: *88 examples: - default: *562 - '301': *354 + default: *566 + '301': *361 '404': *6 - '410': *553 + '410': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88608,9 +89911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 - 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. @@ -88636,13 +89939,13 @@ paths: application/json: schema: type: array - items: *482 + items: *488 examples: - default: *556 + default: *560 headers: Link: *70 '404': *6 - '410': *553 + '410': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88660,9 +89963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 requestBody: required: true content: @@ -88694,16 +89997,16 @@ paths: description: Response content: application/json: - schema: *482 + schema: *488 examples: - default: *483 + default: *489 '201': description: Response content: application/json: - schema: *482 + schema: *488 examples: - default: *483 + default: *489 '422': *15 x-github: githubCloudOnly: false @@ -88725,10 +90028,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *350 - - *351 - - *563 - - *557 + - *357 + - *358 + - *567 + - *561 responses: '204': description: Response @@ -88757,9 +90060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 requestBody: required: true content: @@ -88783,7 +90086,7 @@ paths: application/json: schema: *88 examples: - default: *562 + default: *566 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -88816,9 +90119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 - *17 - *19 responses: @@ -88830,11 +90133,11 @@ paths: type: array items: *88 examples: - default: *565 + default: *569 headers: Link: *70 '404': *6 - '410': *553 + '410': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88862,9 +90165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 requestBody: required: true content: @@ -88893,14 +90196,14 @@ paths: application/json: schema: *88 examples: - default: *562 + default: *566 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *553 + '410': *557 '422': *15 '404': *6 x-github: @@ -88920,9 +90223,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 requestBody: required: true content: @@ -88955,7 +90258,7 @@ paths: application/json: schema: *88 examples: - default: *562 + default: *566 '403': *29 '404': *6 '422': *7 @@ -88977,9 +90280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *350 - - *351 - - *563 + - *357 + - *358 + - *567 - *17 - *19 responses: @@ -88994,10 +90297,6 @@ paths: description: Timeline Event type: object anyOf: - - *569 - - *570 - - *571 - - *572 - *573 - *574 - *575 @@ -89007,6 +90306,10 @@ paths: - *579 - *580 - *581 + - *582 + - *583 + - *584 + - *585 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -89067,8 +90370,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *582 - required: *583 + properties: *586 + required: *587 nullable: true required: - event @@ -89323,7 +90626,7 @@ paths: type: string comments: type: array - items: &603 + items: &607 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -89538,7 +90841,7 @@ paths: type: string comments: type: array - items: *481 + items: *487 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -89827,7 +91130,7 @@ paths: headers: Link: *70 '404': *6 - '410': *553 + '410': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89844,8 +91147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -89855,7 +91158,7 @@ paths: application/json: schema: type: array - items: &584 + items: &588 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -89921,8 +91224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -89958,9 +91261,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *588 examples: - default: &585 + default: &589 value: id: 1 key: ssh-rsa AAA... @@ -89994,9 +91297,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *350 - - *351 - - &586 + - *357 + - *358 + - &590 name: key_id description: The unique identifier of the key. in: path @@ -90008,9 +91311,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *588 examples: - default: *585 + default: *589 '404': *6 x-github: githubCloudOnly: false @@ -90028,9 +91331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *350 - - *351 - - *586 + - *357 + - *358 + - *590 responses: '204': description: Response @@ -90050,8 +91353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -90063,7 +91366,7 @@ paths: type: array items: *87 examples: - default: *568 + default: *572 headers: Link: *70 '404': *6 @@ -90084,8 +91387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -90123,7 +91426,7 @@ paths: application/json: schema: *87 examples: - default: &587 + default: &591 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -90155,8 +91458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *350 - - *351 + - *357 + - *358 - name: name in: path required: true @@ -90169,7 +91472,7 @@ paths: application/json: schema: *87 examples: - default: *587 + default: *591 '404': *6 x-github: githubCloudOnly: false @@ -90186,8 +91489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *350 - - *351 + - *357 + - *358 - name: name in: path required: true @@ -90252,8 +91555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *350 - - *351 + - *357 + - *358 - name: name in: path required: true @@ -90279,8 +91582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -90319,9 +91622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *350 - - *351 - - *454 + - *357 + - *358 + - *460 responses: '200': description: Response @@ -90466,8 +91769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -90532,8 +91835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -90567,9 +91870,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *484 + schema: *490 examples: - default: *588 + default: *592 '204': description: Response when already merged '404': @@ -90594,8 +91897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *350 - - *351 + - *357 + - *358 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -90636,12 +91939,12 @@ paths: application/json: schema: type: array - items: &589 + items: &593 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *286 - required: *287 + properties: *293 + required: *294 examples: default: value: @@ -90697,8 +92000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -90738,9 +92041,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *593 examples: - default: &590 + default: &594 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -90799,9 +92102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *350 - - *351 - - &591 + - *357 + - *358 + - &595 name: milestone_number description: The number that identifies the milestone. in: path @@ -90813,9 +92116,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *593 examples: - default: *590 + default: *594 '404': *6 x-github: githubCloudOnly: false @@ -90832,9 +92135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *350 - - *351 - - *591 + - *357 + - *358 + - *595 requestBody: required: false content: @@ -90872,9 +92175,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *593 examples: - default: *590 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90890,9 +92193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *350 - - *351 - - *591 + - *357 + - *358 + - *595 responses: '204': description: Response @@ -90913,9 +92216,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *350 - - *351 - - *591 + - *357 + - *358 + - *595 - *17 - *19 responses: @@ -90927,7 +92230,7 @@ paths: type: array items: *87 examples: - default: *568 + default: *572 headers: Link: *70 x-github: @@ -90946,12 +92249,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *350 - - *351 - - *592 - - *593 + - *357 + - *358 + - *596 + - *597 - *95 - - *594 + - *598 - *17 - *19 responses: @@ -90963,7 +92266,7 @@ paths: type: array items: *115 examples: - default: *595 + default: *599 headers: Link: *70 x-github: @@ -90987,8 +92290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: false content: @@ -91046,14 +92349,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: &596 + schema: &600 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -91178,7 +92481,7 @@ paths: - custom_404 - public examples: - default: &597 + default: &601 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -91219,8 +92522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -91274,9 +92577,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *600 examples: - default: *597 + default: *601 '422': *15 '409': *54 x-github: @@ -91299,8 +92602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -91399,8 +92702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': description: Response @@ -91426,8 +92729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -91437,7 +92740,7 @@ paths: application/json: schema: type: array - items: &598 + items: &602 title: Page Build description: Page Build type: object @@ -91531,8 +92834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *350 - - *351 + - *357 + - *358 responses: '201': description: Response @@ -91577,16 +92880,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *598 + schema: *602 examples: - default: &599 + default: &603 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -91634,8 +92937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *350 - - *351 + - *357 + - *358 - name: build_id in: path required: true @@ -91646,9 +92949,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *602 examples: - default: *599 + default: *603 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91668,8 +92971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -91774,9 +93077,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *350 - - *351 - - &600 + - *357 + - *358 + - &604 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -91834,9 +93137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *350 - - *351 - - *600 + - *357 + - *358 + - *604 responses: '204': *61 '404': *6 @@ -91863,8 +93166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -92122,8 +93425,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: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Private vulnerability reporting status @@ -92160,8 +93463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': *61 '422': *14 @@ -92182,8 +93485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': *61 '422': *14 @@ -92205,8 +93508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -92214,7 +93517,7 @@ paths: application/json: schema: type: array - items: *301 + items: *308 examples: default: value: @@ -92245,8 +93548,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: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -92258,7 +93561,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *301 + items: *308 required: - properties examples: @@ -92308,8 +93611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *350 - - *351 + - *357 + - *358 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -92369,9 +93672,9 @@ paths: application/json: schema: type: array - items: *488 + items: *494 examples: - default: *601 + default: *605 headers: Link: *70 '304': *37 @@ -92403,8 +93706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -92469,7 +93772,7 @@ paths: description: Response content: application/json: - schema: &605 + schema: &609 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -92580,8 +93883,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *286 - required: *287 + properties: *293 + required: *294 nullable: true active_lock_reason: type: string @@ -92624,7 +93927,7 @@ paths: items: *4 requested_teams: type: array - items: *339 + items: *346 head: type: object properties: @@ -92662,14 +93965,14 @@ paths: _links: type: object properties: - comments: *288 - commits: *288 - statuses: *288 - html: *288 - issue: *288 - review_comments: *288 - review_comment: *288 - self: *288 + comments: *295 + commits: *295 + statuses: *295 + html: *295 + issue: *295 + review_comments: *295 + review_comment: *295 + self: *295 required: - comments - commits @@ -92680,7 +93983,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: *602 + auto_merge: *606 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -92866,7 +94169,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &606 + default: &610 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -93404,8 +94707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *350 - - *351 + - *357 + - *358 - name: sort in: query required: false @@ -93434,9 +94737,9 @@ paths: application/json: schema: type: array - items: *603 + items: *607 examples: - default: &608 + default: &612 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -93513,17 +94816,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *350 - - *351 + - *357 + - *358 - *104 responses: '200': description: Response content: application/json: - schema: *603 + schema: *607 examples: - default: &604 + default: &608 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -93598,8 +94901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *350 - - *351 + - *357 + - *358 - *104 requestBody: required: true @@ -93622,9 +94925,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *607 examples: - default: *604 + default: *608 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93640,8 +94943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *350 - - *351 + - *357 + - *358 - *104 responses: '204': @@ -93663,8 +94966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *350 - - *351 + - *357 + - *358 - *104 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -93691,9 +94994,9 @@ paths: application/json: schema: type: array - items: *482 + items: *488 examples: - default: *556 + default: *560 headers: Link: *70 '404': *6 @@ -93714,8 +95017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *350 - - *351 + - *357 + - *358 - *104 requestBody: required: true @@ -93748,16 +95051,16 @@ paths: description: Reaction exists content: application/json: - schema: *482 + schema: *488 examples: - default: *483 + default: *489 '201': description: Reaction created content: application/json: - schema: *482 + schema: *488 examples: - default: *483 + default: *489 '422': *15 x-github: githubCloudOnly: false @@ -93779,10 +95082,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *350 - - *351 + - *357 + - *358 - *104 - - *557 + - *561 responses: '204': description: Response @@ -93825,9 +95128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *350 - - *351 - - &607 + - *357 + - *358 + - &611 name: pull_number description: The number that identifies the pull request. in: path @@ -93840,9 +95143,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *605 + schema: *609 examples: - default: *606 + default: *610 '304': *37 '404': *6 '406': @@ -93877,9 +95180,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *350 - - *351 - - *607 + - *357 + - *358 + - *611 requestBody: required: false content: @@ -93921,9 +95224,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *609 examples: - default: *606 + default: *610 '422': *15 '403': *29 x-github: @@ -93945,9 +95248,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#archive-a-pull-request parameters: - - *350 - - *351 - - *607 + - *357 + - *358 + - *611 responses: '204': description: Response @@ -93972,9 +95275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#unarchive-a-pull-request parameters: - - *350 - - *351 - - *607 + - *357 + - *358 + - *611 responses: '204': description: Response @@ -94000,9 +95303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *350 - - *351 - - *607 + - *357 + - *358 + - *611 requestBody: required: true content: @@ -94062,17 +95365,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *254 + schema: *261 examples: - default: *471 + default: *477 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *254 + schema: *261 examples: - default: *471 + default: *477 '401': *25 '403': *29 '404': *6 @@ -94102,9 +95405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *350 - - *351 - - *607 + - *357 + - *358 + - *611 - *112 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -94125,9 +95428,9 @@ paths: application/json: schema: type: array - items: *603 + items: *607 examples: - default: *608 + default: *612 headers: Link: *70 x-github: @@ -94160,9 +95463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *350 - - *351 - - *607 + - *357 + - *358 + - *611 requestBody: required: true content: @@ -94267,7 +95570,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *607 examples: example-for-a-multi-line-comment: value: @@ -94355,9 +95658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *350 - - *351 - - *607 + - *357 + - *358 + - *611 - *104 requestBody: required: true @@ -94380,7 +95683,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *607 examples: default: value: @@ -94466,9 +95769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *350 - - *351 - - *607 + - *357 + - *358 + - *611 - *17 - *19 responses: @@ -94478,9 +95781,9 @@ paths: application/json: schema: type: array - items: *484 + items: *490 examples: - default: *609 + default: *613 headers: Link: *70 x-github: @@ -94510,9 +95813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *350 - - *351 - - *607 + - *357 + - *358 + - *611 - *17 - *19 responses: @@ -94522,7 +95825,7 @@ paths: application/json: schema: type: array - items: *497 + items: *503 examples: default: value: @@ -94560,9 +95863,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *350 - - *351 - - *607 + - *357 + - *358 + - *611 responses: '204': description: Response if pull request has been merged @@ -94585,9 +95888,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *350 - - *351 - - *607 + - *357 + - *358 + - *611 requestBody: required: false content: @@ -94698,9 +96001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *350 - - *351 - - *607 + - *357 + - *358 + - *611 responses: '200': description: Response @@ -94716,7 +96019,7 @@ paths: items: *4 teams: type: array - items: *201 + items: *208 required: - users - teams @@ -94775,9 +96078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *350 - - *351 - - *607 + - *357 + - *358 + - *611 requestBody: required: false content: @@ -94814,7 +96117,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *494 examples: default: value: @@ -95350,9 +96653,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *350 - - *351 - - *607 + - *357 + - *358 + - *611 requestBody: required: true content: @@ -95386,7 +96689,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *494 examples: default: value: @@ -95902,9 +97205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *350 - - *351 - - *607 + - *357 + - *358 + - *611 - *17 - *19 responses: @@ -95914,7 +97217,7 @@ paths: application/json: schema: type: array - items: &610 + items: &614 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -96065,9 +97368,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *350 - - *351 - - *607 + - *357 + - *358 + - *611 requestBody: required: false content: @@ -96153,9 +97456,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *614 examples: - default: &612 + default: &616 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -96218,10 +97521,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *350 - - *351 - - *607 - - &611 + - *357 + - *358 + - *611 + - &615 name: review_id description: The unique identifier of the review. in: path @@ -96233,9 +97536,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *614 examples: - default: &613 + default: &617 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -96294,10 +97597,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *350 - - *351 - - *607 + - *357 + - *358 - *611 + - *615 requestBody: required: true content: @@ -96320,7 +97623,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *614 examples: default: value: @@ -96382,18 +97685,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *350 - - *351 - - *607 + - *357 + - *358 - *611 + - *615 responses: '200': description: Response content: application/json: - schema: *610 + schema: *614 examples: - default: *612 + default: *616 '422': *7 '404': *6 x-github: @@ -96420,10 +97723,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *350 - - *351 - - *607 + - *357 + - *358 - *611 + - *615 - *17 - *19 responses: @@ -96506,9 +97809,9 @@ paths: _links: type: object properties: - self: *288 - html: *288 - pull_request: *288 + self: *295 + html: *295 + pull_request: *295 required: - self - html @@ -96658,10 +97961,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *350 - - *351 - - *607 + - *357 + - *358 - *611 + - *615 requestBody: required: true content: @@ -96689,7 +97992,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *614 examples: default: value: @@ -96752,10 +98055,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *350 - - *351 - - *607 + - *357 + - *358 - *611 + - *615 requestBody: required: true content: @@ -96790,9 +98093,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *614 examples: - default: *613 + default: *617 '404': *6 '422': *7 '403': *29 @@ -96814,9 +98117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *350 - - *351 - - *607 + - *357 + - *358 + - *611 requestBody: required: false content: @@ -96879,8 +98182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *350 - - *351 + - *357 + - *358 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -96893,9 +98196,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *618 examples: - default: &615 + default: &619 value: type: file encoding: base64 @@ -96937,8 +98240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *350 - - *351 + - *357 + - *358 - name: dir description: The alternate path to look for a README file in: path @@ -96958,9 +98261,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *618 examples: - default: *615 + default: *619 '404': *6 '422': *15 x-github: @@ -96982,8 +98285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -96993,7 +98296,7 @@ paths: application/json: schema: type: array - items: *616 + items: *620 examples: default: value: @@ -97087,8 +98390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -97164,9 +98467,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *620 examples: - default: &620 + default: &624 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -97271,9 +98574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *350 - - *351 - - &618 + - *357 + - *358 + - &622 name: asset_id description: The unique identifier of the asset. in: path @@ -97285,9 +98588,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *621 examples: - default: &619 + default: &623 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 @@ -97322,7 +98625,7 @@ paths: type: User site_admin: false '404': *6 - '302': *501 + '302': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97338,9 +98641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *350 - - *351 - - *618 + - *357 + - *358 + - *622 requestBody: required: false content: @@ -97368,9 +98671,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *621 examples: - default: *619 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97386,9 +98689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *350 - - *351 - - *618 + - *357 + - *358 + - *622 responses: '204': description: Response @@ -97413,8 +98716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -97499,16 +98802,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response content: application/json: - schema: *616 + schema: *620 examples: - default: *620 + default: *624 '404': *6 x-github: githubCloudOnly: false @@ -97526,8 +98829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *350 - - *351 + - *357 + - *358 - name: tag description: tag parameter in: path @@ -97540,9 +98843,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *620 examples: - default: *620 + default: *624 '404': *6 x-github: githubCloudOnly: false @@ -97564,9 +98867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *350 - - *351 - - &621 + - *357 + - *358 + - &625 name: release_id description: The unique identifier of the release. in: path @@ -97580,9 +98883,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: *616 + schema: *620 examples: - default: *620 + default: *624 '401': description: Unauthorized x-github: @@ -97600,9 +98903,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *350 - - *351 - - *621 + - *357 + - *358 + - *625 requestBody: required: false content: @@ -97666,9 +98969,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *620 examples: - default: *620 + default: *624 '404': description: Not Found if the discussion category name is invalid content: @@ -97689,9 +98992,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *350 - - *351 - - *621 + - *357 + - *358 + - *625 responses: '204': description: Response @@ -97712,9 +99015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *350 - - *351 - - *621 + - *357 + - *358 + - *625 - *17 - *19 responses: @@ -97724,7 +99027,7 @@ paths: application/json: schema: type: array - items: *617 + items: *621 examples: default: value: @@ -97805,9 +99108,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: - - *350 - - *351 - - *621 + - *357 + - *358 + - *625 - name: name in: query required: true @@ -97833,7 +99136,7 @@ paths: description: Response for successful upload content: application/json: - schema: *617 + schema: *621 examples: response-for-successful-upload: value: @@ -97888,9 +99191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *350 - - *351 - - *621 + - *357 + - *358 + - *625 - 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. @@ -97914,9 +99217,9 @@ paths: application/json: schema: type: array - items: *482 + items: *488 examples: - default: *556 + default: *560 headers: Link: *70 '404': *6 @@ -97937,9 +99240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *350 - - *351 - - *621 + - *357 + - *358 + - *625 requestBody: required: true content: @@ -97969,16 +99272,16 @@ paths: description: Reaction exists content: application/json: - schema: *482 + schema: *488 examples: - default: *483 + default: *489 '201': description: Reaction created content: application/json: - schema: *482 + schema: *488 examples: - default: *483 + default: *489 '422': *15 x-github: githubCloudOnly: false @@ -98000,10 +99303,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *350 - - *351 - - *621 - - *557 + - *357 + - *358 + - *625 + - *561 responses: '204': description: Response @@ -98027,9 +99330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *350 - - *351 - - *417 + - *357 + - *358 + - *423 - *17 - *19 responses: @@ -98045,8 +99348,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *311 - - &622 + - *318 + - &626 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -98065,69 +99368,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *312 - - *622 - - allOf: - - *313 - - *622 - - allOf: - - *314 - - *622 - - allOf: - - *623 - - *622 - - allOf: - - *315 - - *622 - - allOf: - - *316 - - *622 - - allOf: - - *317 - - *622 - - allOf: - - *318 - - *622 - allOf: - *319 - - *622 + - *626 - allOf: - *320 - - *622 + - *626 - allOf: - *321 - - *622 + - *626 + - allOf: + - *627 + - *626 - allOf: - *322 - - *622 + - *626 - allOf: - *323 - - *622 + - *626 - allOf: - *324 - - *622 + - *626 - allOf: - *325 - - *622 + - *626 - allOf: - *326 - - *622 + - *626 - allOf: - *327 - - *622 + - *626 - allOf: - *328 - - *622 + - *626 - allOf: - *329 - - *622 + - *626 - allOf: - *330 - - *622 + - *626 - allOf: - *331 - - *622 + - *626 + - allOf: + - *332 + - *626 + - allOf: + - *333 + - *626 + - allOf: + - *334 + - *626 + - allOf: + - *335 + - *626 + - allOf: + - *336 + - *626 + - allOf: + - *337 + - *626 + - allOf: + - *338 + - *626 examples: default: value: @@ -98166,8 +99469,8 @@ paths: category: repos subcategory: rules parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 - name: includes_parents @@ -98178,7 +99481,7 @@ paths: schema: type: boolean default: true - - *624 + - *628 responses: '200': description: Response @@ -98186,7 +99489,7 @@ paths: application/json: schema: type: array - items: *332 + items: *339 examples: default: value: @@ -98233,8 +99536,8 @@ paths: category: repos subcategory: rules parameters: - - *350 - - *351 + - *357 + - *358 requestBody: description: Request body required: true @@ -98254,16 +99557,16 @@ paths: - tag - push default: branch - enforcement: *308 + enforcement: *315 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *309 - conditions: *306 + items: *316 + conditions: *313 rules: type: array description: An array of rules within the ruleset. - items: *625 + items: *629 required: - name - enforcement @@ -98294,9 +99597,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *339 examples: - default: &635 + default: &639 value: id: 42 name: super cool ruleset @@ -98344,12 +99647,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *350 - - *351 - - *626 - - *627 - - *628 - - *629 + - *357 + - *358 + - *630 + - *631 + - *632 + - *633 - *17 - *19 responses: @@ -98357,9 +99660,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *634 examples: - default: *631 + default: *635 '404': *6 '500': *55 x-github: @@ -98380,17 +99683,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *350 - - *351 - - *632 + - *357 + - *358 + - *636 responses: '200': description: Response content: application/json: - schema: *633 + schema: *637 examples: - default: *634 + default: *638 '404': *6 '500': *55 x-github: @@ -98418,8 +99721,8 @@ paths: category: repos subcategory: rules parameters: - - *350 - - *351 + - *357 + - *358 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98439,9 +99742,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *339 examples: - default: *635 + default: *639 '404': *6 '500': *55 put: @@ -98459,8 +99762,8 @@ paths: category: repos subcategory: rules parameters: - - *350 - - *351 + - *357 + - *358 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98485,16 +99788,16 @@ paths: - branch - tag - push - enforcement: *308 + enforcement: *315 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *309 - conditions: *306 + items: *316 + conditions: *313 rules: description: An array of rules within the ruleset. type: array - items: *625 + items: *629 examples: default: value: @@ -98522,9 +99825,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *339 examples: - default: *635 + default: *639 '404': *6 '422': *15 '500': *55 @@ -98543,8 +99846,8 @@ paths: category: repos subcategory: rules parameters: - - *350 - - *351 + - *357 + - *358 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98567,8 +99870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 - name: ruleset_id @@ -98584,9 +99887,9 @@ paths: application/json: schema: type: array - items: *335 + items: *342 examples: - default: *636 + default: *640 '404': *6 '500': *55 x-github: @@ -98605,8 +99908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *350 - - *351 + - *357 + - *358 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98624,7 +99927,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *641 examples: default: value: @@ -98679,26 +99982,26 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *350 - - *351 - - *638 - - *639 - - *640 - - *641 + - *357 + - *358 - *642 - *643 - *644 - *645 - - *62 - - *19 - - *17 - *646 - *647 - *648 - *649 + - *62 + - *19 + - *17 - *650 - *651 - *652 + - *653 + - *654 + - *655 + - *656 responses: '200': description: Response @@ -98706,11 +100009,11 @@ paths: application/json: schema: type: array - items: &656 + items: &660 type: object properties: - number: *179 - created_at: *180 + number: *186 + created_at: *187 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -98718,15 +100021,15 @@ paths: format: date-time readOnly: true nullable: true - url: *182 - html_url: *183 + url: *189 + html_url: *190 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *653 - resolution: *654 + state: *657 + resolution: *658 resolved_at: type: string format: date-time @@ -98832,7 +100135,7 @@ paths: pull request. ' - oneOf: *655 + oneOf: *659 nullable: true has_more_locations: type: boolean @@ -98996,16 +100299,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *350 - - *351 - - *448 - - *651 + - *357 + - *358 + - *454 + - *655 responses: '200': description: Response content: application/json: - schema: *656 + schema: *660 examples: default: value: @@ -99059,9 +100362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *350 - - *351 - - *448 + - *357 + - *358 + - *454 requestBody: required: true content: @@ -99069,8 +100372,8 @@ paths: schema: type: object properties: - state: *653 - resolution: *654 + state: *657 + resolution: *658 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -99114,7 +100417,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *660 examples: default: value: @@ -99213,9 +100516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *350 - - *351 - - *448 + - *357 + - *358 + - *454 - *19 - *17 responses: @@ -99226,7 +100529,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &815 + items: &819 type: object properties: type: @@ -99252,10 +100555,6 @@ paths: example: commit details: oneOf: - - *657 - - *658 - - *659 - - *660 - *661 - *662 - *663 @@ -99265,6 +100564,10 @@ paths: - *667 - *668 - *669 + - *670 + - *671 + - *672 + - *673 examples: default: value: @@ -99350,8 +100653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -99359,14 +100662,14 @@ paths: schema: type: object properties: - reason: &671 + reason: &675 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *670 + placeholder_id: *674 required: - reason - placeholder_id @@ -99383,7 +100686,7 @@ paths: schema: type: object properties: - reason: *671 + reason: *675 expire_at: type: string format: date-time @@ -99429,8 +100732,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: - - *350 - - *351 + - *357 + - *358 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -99445,7 +100748,7 @@ paths: properties: incremental_scans: type: array - items: &672 + items: &676 description: Information on a single scan performed by secret scanning on the repository type: object @@ -99471,15 +100774,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *672 + items: *676 backfill_scans: type: array - items: *672 + items: *676 custom_pattern_backfill_scans: type: array items: allOf: - - *672 + - *676 - type: object properties: pattern_name: @@ -99492,7 +100795,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *672 + items: *676 examples: default: value: @@ -99557,8 +100860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *350 - - *351 + - *357 + - *358 - *62 - name: sort description: The property to sort the results by. @@ -99602,9 +100905,9 @@ paths: application/json: schema: type: array - items: *673 + items: *677 examples: - default: *674 + default: *678 '400': *14 '404': *6 x-github: @@ -99627,8 +100930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -99701,7 +101004,7 @@ paths: login: type: string description: The username of the user credited. - type: *338 + type: *345 required: - login - type @@ -99788,9 +101091,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *677 examples: - default: &676 + default: &680 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -100029,8 +101332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -100134,7 +101437,7 @@ paths: description: Response content: application/json: - schema: *673 + schema: *677 examples: default: value: @@ -100287,17 +101590,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *350 - - *351 - - *675 + - *357 + - *358 + - *679 responses: '200': description: Response content: application/json: - schema: *673 + schema: *677 examples: - default: *676 + default: *680 '403': *29 '404': *6 x-github: @@ -100321,9 +101624,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *350 - - *351 - - *675 + - *357 + - *358 + - *679 requestBody: required: true content: @@ -100396,7 +101699,7 @@ paths: login: type: string description: The username of the user credited. - type: *338 + type: *345 required: - login - type @@ -100482,10 +101785,10 @@ paths: description: Response content: application/json: - schema: *673 + schema: *677 examples: - default: *676 - add_credit: *676 + default: *680 + add_credit: *680 '403': *29 '404': *6 '422': @@ -100523,9 +101826,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: - - *350 - - *351 - - *675 + - *357 + - *358 + - *679 responses: '202': *39 '400': *14 @@ -100552,17 +101855,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *350 - - *351 - - *675 + - *357 + - *358 + - *679 responses: '202': description: Response content: application/json: - schema: *353 + schema: *360 examples: - default: *355 + default: *362 '400': *14 '422': *15 '403': *29 @@ -100588,8 +101891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -100688,8 +101991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -100698,7 +102001,7 @@ paths: application/json: schema: type: array - items: &677 + items: &681 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -100731,8 +102034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -100808,8 +102111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -100905,8 +102208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -101060,8 +102363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -101071,7 +102374,7 @@ paths: application/json: schema: type: array - items: *677 + items: *681 examples: default: value: @@ -101104,8 +102407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *350 - - *351 + - *357 + - *358 - name: sha in: path required: true @@ -101159,7 +102462,7 @@ paths: description: Response content: application/json: - schema: *678 + schema: *682 examples: default: value: @@ -101213,8 +102516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -101246,14 +102549,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &679 + schema: &683 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -101321,8 +102624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: false content: @@ -101348,7 +102651,7 @@ paths: description: Response content: application/json: - schema: *679 + schema: *683 examples: default: value: @@ -101375,8 +102678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': description: Response @@ -101396,8 +102699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -101476,8 +102779,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *350 - - *351 + - *357 + - *358 - name: ref in: path required: true @@ -101513,8 +102816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *350 - - *351 + - *357 + - *358 - *17 - *19 responses: @@ -101524,9 +102827,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - default: *266 + default: *273 headers: Link: *70 '404': *6 @@ -101546,8 +102849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *350 - - *351 + - *357 + - *358 - *19 - *17 responses: @@ -101555,7 +102858,7 @@ paths: description: Response content: application/json: - schema: &680 + schema: &684 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -101567,7 +102870,7 @@ paths: required: - names examples: - default: &681 + default: &685 value: names: - octocat @@ -101590,8 +102893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -101622,9 +102925,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *684 examples: - default: *681 + default: *685 '404': *6 '422': *7 x-github: @@ -101645,9 +102948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *350 - - *351 - - &682 + - *357 + - *358 + - &686 name: per description: The time frame to display results for. in: query @@ -101676,7 +102979,7 @@ paths: example: 128 clones: type: array - items: &683 + items: &687 title: Traffic type: object properties: @@ -101763,8 +103066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -101854,8 +103157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *350 - - *351 + - *357 + - *358 responses: '200': description: Response @@ -101915,9 +103218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *350 - - *351 - - *682 + - *357 + - *358 + - *686 responses: '200': description: Response @@ -101936,7 +103239,7 @@ paths: example: 3782 views: type: array - items: *683 + items: *687 required: - uniques - count @@ -102013,8 +103316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *350 - - *351 + - *357 + - *358 requestBody: required: true content: @@ -102294,8 +103597,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -102318,8 +103621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': description: Response @@ -102341,8 +103644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': description: Response @@ -102368,8 +103671,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *350 - - *351 + - *357 + - *358 - name: ref in: path required: true @@ -102461,9 +103764,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *360 examples: - default: *355 + default: *362 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102714,7 +104017,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &684 + text_matches: &688 title: Search Result Text Matches type: array items: @@ -102876,7 +104179,7 @@ paths: enum: - author-date - committer-date - - &685 + - &689 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 @@ -102947,7 +104250,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *415 + properties: *421 nullable: true comment_count: type: integer @@ -102967,7 +104270,7 @@ paths: url: type: string format: uri - verification: *539 + verification: *543 required: - author - committer @@ -102986,7 +104289,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *415 + properties: *421 nullable: true parents: type: array @@ -103004,7 +104307,7 @@ paths: type: number node_id: type: string - text_matches: *684 + text_matches: *688 required: - sha - node_id @@ -103196,7 +104499,7 @@ paths: - interactions - created - updated - - *685 + - *689 - *17 - *19 - name: advanced_search @@ -103310,11 +104613,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 issue_field_values: type: array - items: *566 + items: *570 state: type: string state_reason: @@ -103331,8 +104634,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *286 - required: *287 + properties: *293 + required: *294 nullable: true comments: type: integer @@ -103346,7 +104649,7 @@ paths: type: string format: date-time nullable: true - text_matches: *684 + text_matches: *688 pull_request: type: object properties: @@ -103390,7 +104693,7 @@ paths: timeline_url: type: string format: uri - type: *249 + type: *256 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -103652,7 +104955,7 @@ paths: enum: - created - updated - - *685 + - *689 - *17 - *19 responses: @@ -103696,7 +104999,7 @@ paths: nullable: true score: type: number - text_matches: *684 + text_matches: *688 required: - id - node_id @@ -103781,7 +105084,7 @@ paths: - forks - help-wanted-issues - updated - - *685 + - *689 - *17 - *19 responses: @@ -104029,7 +105332,7 @@ paths: - admin - pull - push - text_matches: *684 + text_matches: *688 temp_clone_token: type: string allow_merge_commit: @@ -104329,7 +105632,7 @@ paths: type: string format: uri nullable: true - text_matches: *684 + text_matches: *688 related: type: array nullable: true @@ -104520,7 +105823,7 @@ paths: - followers - repositories - joined - - *685 + - *689 - *17 - *19 responses: @@ -104624,7 +105927,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *684 + text_matches: *688 blog: type: string nullable: true @@ -104703,7 +106006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &688 + - &692 name: team_id description: The unique identifier of the team. in: path @@ -104715,9 +106018,9 @@ paths: description: Response content: application/json: - schema: *346 + schema: *353 examples: - default: *347 + default: *354 '404': *6 x-github: githubCloudOnly: false @@ -104744,7 +106047,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *688 + - *692 requestBody: required: true content: @@ -104807,16 +106110,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *346 + schema: *353 examples: - default: *347 + default: *354 '201': description: Response content: application/json: - schema: *346 + schema: *353 examples: - default: *347 + default: *354 '404': *6 '422': *15 '403': *29 @@ -104844,7 +106147,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *688 + - *692 responses: '204': description: Response @@ -104873,7 +106176,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *688 + - *692 - *17 - *19 responses: @@ -104883,9 +106186,9 @@ paths: application/json: schema: type: array - items: *243 + items: *250 examples: - default: *244 + default: *251 headers: Link: *70 x-github: @@ -104911,7 +106214,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *688 + - *692 - name: role description: Filters members returned by their role in the team. in: query @@ -104962,7 +106265,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *688 + - *692 - *74 responses: '204': @@ -104999,7 +106302,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *688 + - *692 - *74 responses: '204': @@ -105039,7 +106342,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *688 + - *692 - *74 responses: '204': @@ -105076,16 +106379,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *688 + - *692 - *74 responses: '200': description: Response content: application/json: - schema: *349 + schema: *356 examples: - response-if-user-is-a-team-maintainer: *689 + response-if-user-is-a-team-maintainer: *693 '404': *6 x-github: githubCloudOnly: false @@ -105118,7 +106421,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *688 + - *692 - *74 requestBody: required: false @@ -105144,9 +106447,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *356 examples: - response-if-users-membership-with-team-is-now-pending: *690 + response-if-users-membership-with-team-is-now-pending: *694 '403': description: Forbidden if team synchronization is set up '422': @@ -105180,7 +106483,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *688 + - *692 - *74 responses: '204': @@ -105208,7 +106511,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *688 + - *692 - *17 - *19 responses: @@ -105220,7 +106523,7 @@ paths: type: array items: *161 examples: - default: *273 + default: *280 headers: Link: *70 '404': *6 @@ -105250,15 +106553,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *688 - - *350 - - *351 + - *692 + - *357 + - *358 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *691 + schema: *695 examples: alternative-response-with-extra-repository-information: value: @@ -105415,9 +106718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *688 - - *350 - - *351 + - *692 + - *357 + - *358 requestBody: required: false content: @@ -105467,9 +106770,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *688 - - *350 - - *351 + - *692 + - *357 + - *358 responses: '204': description: Response @@ -105494,7 +106797,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *688 + - *692 - *17 - *19 responses: @@ -105504,9 +106807,9 @@ paths: application/json: schema: type: array - items: *201 + items: *208 examples: - response-if-child-teams-exist: *692 + response-if-child-teams-exist: *696 headers: Link: *70 '404': *6 @@ -105539,7 +106842,7 @@ paths: application/json: schema: oneOf: - - &694 + - &698 title: Private User description: Private User type: object @@ -105742,7 +107045,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *693 + - *697 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -105895,7 +107198,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *698 examples: default: value: @@ -106098,9 +107401,9 @@ paths: type: integer codespaces: type: array - items: *254 + items: *261 examples: - default: *255 + default: *262 '304': *37 '500': *55 '401': *25 @@ -106239,17 +107542,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *254 + schema: *261 examples: - default: *471 + default: *477 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *254 + schema: *261 examples: - default: *471 + default: *477 '401': *25 '403': *29 '404': *6 @@ -106293,7 +107596,7 @@ paths: type: integer secrets: type: array - items: &695 + items: &699 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -106333,7 +107636,7 @@ paths: - visibility - selected_repositories_url examples: - default: *474 + default: *480 headers: Link: *70 x-github: @@ -106409,7 +107712,7 @@ paths: description: Response content: application/json: - schema: *695 + schema: *699 examples: default: value: @@ -106555,7 +107858,7 @@ paths: type: array items: *161 examples: - default: *202 + default: *209 '401': *25 '403': *29 '404': *6 @@ -106699,15 +108002,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *256 + - *263 responses: '200': description: Response content: application/json: - schema: *254 + schema: *261 examples: - default: *471 + default: *477 '304': *37 '500': *55 '401': *25 @@ -106733,7 +108036,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *256 + - *263 requestBody: required: false content: @@ -106763,9 +108066,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *261 examples: - default: *471 + default: *477 '401': *25 '403': *29 '404': *6 @@ -106787,7 +108090,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *256 + - *263 responses: '202': *39 '304': *37 @@ -106816,13 +108119,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *256 + - *263 responses: '202': description: Response content: application/json: - schema: &696 + schema: &700 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -106863,7 +108166,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &697 + default: &701 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -106895,7 +108198,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *256 + - *263 - name: export_id in: path required: true @@ -106908,9 +108211,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *700 examples: - default: *697 + default: *701 '404': *6 x-github: githubCloudOnly: false @@ -106931,7 +108234,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *256 + - *263 responses: '200': description: Response @@ -106947,9 +108250,9 @@ paths: type: integer machines: type: array - items: *698 + items: *702 examples: - default: *699 + default: *703 '304': *37 '500': *55 '401': *25 @@ -106978,7 +108281,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *256 + - *263 requestBody: required: true content: @@ -107028,13 +108331,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *353 + repository: *360 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *472 - required: *473 + properties: *478 + required: *479 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -107808,15 +109111,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *256 + - *263 responses: '200': description: Response content: application/json: - schema: *254 + schema: *261 examples: - default: *471 + default: *477 '304': *37 '500': *55 '400': *14 @@ -107848,15 +109151,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *256 + - *263 responses: '200': description: Response content: application/json: - schema: *254 + schema: *261 examples: - default: *471 + default: *477 '500': *55 '401': *25 '403': *29 @@ -107886,9 +109189,9 @@ paths: application/json: schema: type: array - items: *267 + items: *274 examples: - default: &710 + default: &714 value: - id: 197 name: hello_docker @@ -107989,7 +109292,7 @@ paths: application/json: schema: type: array - items: &700 + items: &704 title: Email description: Email type: object @@ -108054,9 +109357,9 @@ paths: application/json: schema: type: array - items: *700 + items: *704 examples: - default: &712 + default: &716 value: - email: octocat@github.com verified: true @@ -108131,7 +109434,7 @@ paths: application/json: schema: type: array - items: *700 + items: *704 examples: default: value: @@ -108387,7 +109690,7 @@ paths: application/json: schema: type: array - items: &701 + items: &705 title: GPG Key description: A unique encryption key type: object @@ -108518,7 +109821,7 @@ paths: - subkeys - revoked examples: - default: &729 + default: &733 value: - id: 3 name: Octocat's GPG Key @@ -108603,9 +109906,9 @@ paths: description: Response content: application/json: - schema: *701 + schema: *705 examples: - default: &702 + default: &706 value: id: 3 name: Octocat's GPG Key @@ -108662,7 +109965,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &703 + - &707 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -108674,9 +109977,9 @@ paths: description: Response content: application/json: - schema: *701 + schema: *705 examples: - default: *702 + default: *706 '404': *6 '304': *37 '403': *29 @@ -108699,7 +110002,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *703 + - *707 responses: '204': description: Response @@ -108978,12 +110281,12 @@ paths: application/json: schema: anyOf: - - *241 + - *248 - type: object properties: {} additionalProperties: false examples: - default: *242 + default: *249 '204': description: Response when there are no restrictions x-github: @@ -109007,7 +110310,7 @@ paths: required: true content: application/json: - schema: *550 + schema: *554 examples: default: value: @@ -109018,7 +110321,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *248 examples: default: value: @@ -109099,7 +110402,7 @@ paths: - closed - all default: open - - *252 + - *259 - name: sort description: What to sort results by. in: query @@ -109124,7 +110427,7 @@ paths: type: array items: *88 examples: - default: *253 + default: *260 headers: Link: *70 '404': *6 @@ -109157,7 +110460,7 @@ paths: application/json: schema: type: array - items: &704 + items: &708 title: Key description: Key type: object @@ -109258,9 +110561,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *708 examples: - default: &705 + default: &709 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109293,15 +110596,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *586 + - *590 responses: '200': description: Response content: application/json: - schema: *704 + schema: *708 examples: - default: *705 + default: *709 '404': *6 '304': *37 '403': *29 @@ -109324,7 +110627,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *586 + - *590 responses: '204': description: Response @@ -109357,7 +110660,7 @@ paths: application/json: schema: type: array - items: &706 + items: &710 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -109425,7 +110728,7 @@ paths: - account - plan examples: - default: &707 + default: &711 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -109487,9 +110790,9 @@ paths: application/json: schema: type: array - items: *706 + items: *710 examples: - default: *707 + default: *711 headers: Link: *70 '304': *37 @@ -109529,7 +110832,7 @@ paths: application/json: schema: type: array - items: *258 + items: *265 examples: default: value: @@ -109643,7 +110946,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *265 examples: default: value: @@ -109730,7 +111033,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *265 examples: default: value: @@ -109802,7 +111105,7 @@ paths: application/json: schema: type: array - items: *260 + items: *267 examples: default: value: @@ -110055,7 +111358,7 @@ paths: description: Response content: application/json: - schema: *260 + schema: *267 examples: default: value: @@ -110235,7 +111538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *261 + - *268 - name: exclude in: query required: false @@ -110248,7 +111551,7 @@ paths: description: Response content: application/json: - schema: *260 + schema: *267 examples: default: value: @@ -110442,7 +111745,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *261 + - *268 responses: '302': description: Response @@ -110468,7 +111771,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *261 + - *268 responses: '204': description: Response @@ -110497,8 +111800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *261 - - *708 + - *268 + - *712 responses: '204': description: Response @@ -110522,7 +111825,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *261 + - *268 - *17 - *19 responses: @@ -110534,7 +111837,7 @@ paths: type: array items: *161 examples: - default: *273 + default: *280 headers: Link: *70 '404': *6 @@ -110631,7 +111934,7 @@ paths: - docker - nuget - container - - *709 + - *713 - *19 - *17 responses: @@ -110641,10 +111944,10 @@ paths: application/json: schema: type: array - items: *267 + items: *274 examples: - default: *710 - '400': *711 + default: *714 + '400': *715 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110664,16 +111967,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *269 - - *270 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: *267 + schema: *274 examples: - default: &730 + default: &734 value: id: 40201 name: octo-name @@ -110786,8 +112089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *269 - - *270 + - *276 + - *277 responses: '204': description: Response @@ -110817,8 +112120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *269 - - *270 + - *276 + - *277 - name: token description: package token schema: @@ -110850,8 +112153,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: - - *269 - - *270 + - *276 + - *277 - *19 - *17 - name: state @@ -110871,7 +112174,7 @@ paths: application/json: schema: type: array - items: *271 + items: *278 examples: default: value: @@ -110920,15 +112223,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *269 - - *270 - - *272 + - *276 + - *277 + - *279 responses: '200': description: Response content: application/json: - schema: *271 + schema: *278 examples: default: value: @@ -110964,9 +112267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *269 - - *270 - - *272 + - *276 + - *277 + - *279 responses: '204': description: Response @@ -110996,9 +112299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *269 - - *270 - - *272 + - *276 + - *277 + - *279 responses: '204': description: Response @@ -111035,9 +112338,9 @@ paths: application/json: schema: type: array - items: *700 + items: *704 examples: - default: *712 + default: *716 headers: Link: *70 '304': *37 @@ -111150,7 +112453,7 @@ paths: type: array items: *82 examples: - default: &719 + default: &723 summary: Default response value: - id: 1296269 @@ -111454,9 +112757,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *360 examples: - default: *355 + default: *362 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -111500,9 +112803,9 @@ paths: application/json: schema: type: array - items: *552 + items: *556 examples: - default: *713 + default: *717 headers: Link: *70 '304': *37 @@ -111525,7 +112828,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *245 + - *252 responses: '204': description: Response @@ -111554,7 +112857,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *245 + - *252 responses: '204': description: Response @@ -111587,7 +112890,7 @@ paths: application/json: schema: type: array - items: &714 + items: &718 title: Social account description: Social media account type: object @@ -111602,7 +112905,7 @@ paths: - provider - url examples: - default: &715 + default: &719 value: - provider: twitter url: https://twitter.com/github @@ -111664,9 +112967,9 @@ paths: application/json: schema: type: array - items: *714 + items: *718 examples: - default: *715 + default: *719 '422': *15 '304': *37 '404': *6 @@ -111753,7 +113056,7 @@ paths: application/json: schema: type: array - items: &716 + items: &720 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -111773,7 +113076,7 @@ paths: - title - created_at examples: - default: &748 + default: &752 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -111837,9 +113140,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *720 examples: - default: &717 + default: &721 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -111869,7 +113172,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: - - &718 + - &722 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -111881,9 +113184,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *720 examples: - default: *717 + default: *721 '404': *6 '304': *37 '403': *29 @@ -111906,7 +113209,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: - - *718 + - *722 responses: '204': description: Response @@ -111935,7 +113238,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &749 + - &753 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 @@ -111960,11 +113263,11 @@ paths: type: array items: *82 examples: - default-response: *719 + default-response: *723 application/vnd.github.v3.star+json: schema: type: array - items: &750 + items: &754 title: Starred Repository description: Starred Repository type: object @@ -112120,8 +113423,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: - - *350 - - *351 + - *357 + - *358 responses: '204': description: Response if this repository is starred by you @@ -112149,8 +113452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': description: Response @@ -112174,8 +113477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *350 - - *351 + - *357 + - *358 responses: '204': description: Response @@ -112210,7 +113513,7 @@ paths: type: array items: *161 examples: - default: *273 + default: *280 headers: Link: *70 '304': *37 @@ -112247,7 +113550,7 @@ paths: application/json: schema: type: array - items: *346 + items: *353 examples: default: value: @@ -112333,10 +113636,10 @@ paths: application/json: schema: oneOf: - - *694 - - *693 + - *698 + - *697 examples: - default-response: &723 + default-response: &727 summary: Default response value: login: octocat @@ -112371,7 +113674,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &724 + response-with-git-hub-plan-information: &728 summary: Response with GitHub plan information value: login: octocat @@ -112428,14 +113731,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &721 + - &725 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *285 + - *292 requestBody: required: true description: Details of the draft item to create in the project. @@ -112469,9 +113772,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *298 examples: - draft_issue: *292 + draft_issue: *299 '304': *37 '403': *29 '401': *25 @@ -112494,7 +113797,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *720 + - *724 - *17 responses: '200': @@ -112529,8 +113832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *721 - - *285 + - *725 + - *292 requestBody: required: true content: @@ -112601,17 +113904,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *722 + schema: *726 examples: table_view: summary: Response for creating a table view - value: *296 + value: *303 board_view: summary: Response for creating a board view with filter - value: *296 + value: *303 roadmap_view: summary: Response for creating a roadmap view - value: *296 + value: *303 '304': *37 '403': *29 '401': *25 @@ -112653,11 +113956,11 @@ paths: application/json: schema: oneOf: - - *694 - - *693 + - *698 + - *697 examples: - default-response: *723 - response-with-git-hub-plan-information: *724 + default-response: *727 + response-with-git-hub-plan-information: *728 '404': *6 x-github: githubCloudOnly: false @@ -112707,8 +114010,8 @@ paths: required: - subject_digests examples: - default: *725 - withPredicateType: *726 + default: *729 + withPredicateType: *730 responses: '200': description: Response @@ -112761,7 +114064,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *727 + default: *731 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112981,7 +114284,7 @@ paths: initiator: type: string examples: - default: *411 + default: *417 '201': description: Response content: @@ -113062,7 +114365,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *195 + items: *202 examples: default: summary: Example response for listing user copilot spaces @@ -113274,9 +114577,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *202 examples: - default: &728 + default: &732 summary: Example response for a user copilot space value: id: 42 @@ -113375,9 +114678,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *202 examples: - default: *728 + default: *732 '403': *29 '404': *6 x-github: @@ -113498,9 +114801,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *202 examples: - default: *728 + default: *732 '403': *29 '404': *6 '422': *15 @@ -113577,7 +114880,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *197 + items: *204 examples: default: value: @@ -113720,7 +115023,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *204 examples: default: value: @@ -113831,7 +115134,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *204 examples: default: value: @@ -113961,7 +115264,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *198 + items: *205 examples: default: value: @@ -114053,7 +115356,7 @@ paths: description: Resource created content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -114069,7 +115372,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -114122,7 +115425,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -114189,7 +115492,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *205 examples: default: value: @@ -114266,9 +115569,9 @@ paths: application/json: schema: type: array - items: *267 + items: *274 examples: - default: *710 + default: *714 '403': *29 '401': *25 x-github: @@ -114652,9 +115955,9 @@ paths: application/json: schema: type: array - items: *701 + items: *705 examples: - default: *729 + default: *733 headers: Link: *70 x-github: @@ -114758,7 +116061,7 @@ paths: application/json: schema: *22 examples: - default: *549 + default: *553 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114882,7 +116185,7 @@ paths: - docker - nuget - container - - *709 + - *713 - *74 - *19 - *17 @@ -114893,12 +116196,12 @@ paths: application/json: schema: type: array - items: *267 + items: *274 examples: - default: *710 + default: *714 '403': *29 '401': *25 - '400': *711 + '400': *715 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114918,17 +116221,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *269 - - *270 + - *276 + - *277 - *74 responses: '200': description: Response content: application/json: - schema: *267 + schema: *274 examples: - default: *730 + default: *734 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114949,8 +116252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *269 - - *270 + - *276 + - *277 - *74 responses: '204': @@ -114983,8 +116286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *269 - - *270 + - *276 + - *277 - *74 - name: token description: package token @@ -115017,8 +116320,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: - - *269 - - *270 + - *276 + - *277 - *74 responses: '200': @@ -115027,7 +116330,7 @@ paths: application/json: schema: type: array - items: *271 + items: *278 examples: default: value: @@ -115085,16 +116388,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *269 - - *270 - - *272 + - *276 + - *277 + - *279 - *74 responses: '200': description: Response content: application/json: - schema: *271 + schema: *278 examples: default: value: @@ -115129,10 +116432,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *269 - - *270 + - *276 + - *277 - *74 - - *272 + - *279 responses: '204': description: Response @@ -115164,10 +116467,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *269 - - *270 + - *276 + - *277 - *74 - - *272 + - *279 responses: '204': description: Response @@ -115208,9 +116511,9 @@ paths: application/json: schema: type: array - items: *283 + items: *290 examples: - default: *284 + default: *291 headers: Link: *70 '304': *37 @@ -115232,16 +116535,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *285 + - *292 - *74 responses: '200': description: Response content: application/json: - schema: *283 + schema: *290 examples: - default: *284 + default: *291 headers: Link: *70 '304': *37 @@ -115263,7 +116566,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *285 + - *292 - *74 - *17 - *47 @@ -115275,9 +116578,9 @@ paths: application/json: schema: type: array - items: *289 + items: *296 examples: - default: *731 + default: *735 headers: Link: *70 '304': *37 @@ -115299,7 +116602,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *74 - - *285 + - *292 requestBody: required: true content: @@ -115337,7 +116640,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *732 + items: *736 required: - name - data_type @@ -115353,7 +116656,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *733 + iteration_configuration: *737 required: - name - data_type @@ -115375,20 +116678,20 @@ paths: value: name: Due date data_type: date - single_select_field: *734 - iteration_field: *735 + single_select_field: *738 + iteration_field: *739 responses: '201': description: Response content: application/json: - schema: *289 + schema: *296 examples: - text_field: *736 - number_field: *737 - date_field: *738 - single_select_field: *739 - iteration_field: *740 + text_field: *740 + number_field: *741 + date_field: *742 + single_select_field: *743 + iteration_field: *744 '304': *37 '403': *29 '401': *25 @@ -115409,17 +116712,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *285 - - *741 + - *292 + - *745 - *74 responses: '200': description: Response content: application/json: - schema: *289 + schema: *296 examples: - default: *742 + default: *746 headers: Link: *70 '304': *37 @@ -115442,7 +116745,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *285 + - *292 - *74 - *47 - *48 @@ -115475,9 +116778,9 @@ paths: application/json: schema: type: array - items: *293 + items: *300 examples: - default: *294 + default: *301 headers: Link: *70 '304': *37 @@ -115499,7 +116802,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *74 - - *285 + - *292 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -115569,22 +116872,22 @@ paths: description: Response content: application/json: - schema: *291 + schema: *298 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *292 + value: *299 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *292 + value: *299 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *292 + value: *299 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *292 + value: *299 '304': *37 '403': *29 '401': *25 @@ -115604,9 +116907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *285 + - *292 - *74 - - *295 + - *302 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -115626,9 +116929,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *300 examples: - default: *294 + default: *301 headers: Link: *70 '304': *37 @@ -115649,9 +116952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *285 + - *292 - *74 - - *295 + - *302 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -115721,13 +117024,13 @@ paths: description: Response content: application/json: - schema: *293 + schema: *300 examples: - text_field: *294 - number_field: *294 - date_field: *294 - single_select_field: *294 - iteration_field: *294 + text_field: *301 + number_field: *301 + date_field: *301 + single_select_field: *301 + iteration_field: *301 '401': *25 '403': *29 '404': *6 @@ -115747,9 +117050,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *285 + - *292 - *74 - - *295 + - *302 responses: '204': description: Response @@ -115771,9 +117074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *285 + - *292 - *74 - - *743 + - *747 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -115799,9 +117102,9 @@ paths: application/json: schema: type: array - items: *293 + items: *300 examples: - default: *294 + default: *301 headers: Link: *70 '304': *37 @@ -116022,7 +117325,7 @@ paths: type: array items: *161 examples: - default: *273 + default: *280 headers: Link: *70 x-github: @@ -116048,7 +117351,7 @@ paths: - *124 - *126 - *125 - - *744 + - *748 - *127 responses: '200': @@ -116179,7 +117482,7 @@ paths: parameters: - *74 - *124 - - *745 + - *749 - *125 responses: '200': @@ -116278,9 +117581,9 @@ paths: - *124 - *126 - *125 - - *746 + - *750 - *127 - - *747 + - *751 responses: '200': description: Response when getting a billing usage summary @@ -116414,9 +117717,9 @@ paths: application/json: schema: type: array - items: *714 + items: *718 examples: - default: *715 + default: *719 headers: Link: *70 x-github: @@ -116446,9 +117749,9 @@ paths: application/json: schema: type: array - items: *716 + items: *720 examples: - default: *748 + default: *752 headers: Link: *70 x-github: @@ -116473,7 +117776,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *74 - - *749 + - *753 - *62 - *17 - *19 @@ -116485,11 +117788,11 @@ paths: schema: anyOf: - type: array - items: *750 + items: *754 - type: array items: *82 examples: - default-response: *719 + default-response: *723 headers: Link: *70 x-github: @@ -116520,7 +117823,7 @@ paths: type: array items: *161 examples: - default: *273 + default: *280 headers: Link: *70 x-github: @@ -116648,7 +117951,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &751 + enterprise: &755 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -116706,7 +118009,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &752 + installation: &756 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -116725,7 +118028,7 @@ x-webhooks: required: - id - node_id - organization: &753 + organization: &757 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -116785,13 +118088,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &754 + repository: &758 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &786 + properties: &790 id: description: Unique identifier of the repository example: 42 @@ -117486,7 +118789,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &787 + required: &791 - archive_url - assignees_url - blobs_url @@ -117560,7 +118863,7 @@ x-webhooks: - watchers_count - created_at - updated_at - x-github-breaking-changes: &788 + x-github-breaking-changes: &792 - changeset: remove_use_squash_pr_title_as_default patch: properties: @@ -117651,10 +118954,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -117730,11 +119033,11 @@ x-webhooks: type: string enum: - created - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 - rule: &755 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 + rule: &759 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) @@ -117957,11 +119260,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 - rule: *755 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 + rule: *759 sender: *4 required: - action @@ -118144,11 +119447,11 @@ x-webhooks: - everyone required: - from - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 - rule: *755 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 + rule: *759 sender: *4 required: - action @@ -118232,7 +119535,7 @@ x-webhooks: type: string enum: - completed - check_run: &757 + check_run: &761 title: CheckRun description: A check performed on the code of a given code change type: object @@ -118323,7 +119626,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *756 + deployment: *760 details_url: example: https://example.com type: string @@ -118408,10 +119711,10 @@ x-webhooks: - output - app - pull_requests - installation: *752 - enterprise: *751 - organization: *753 - repository: *754 + installation: *756 + enterprise: *755 + organization: *757 + repository: *758 sender: *4 required: - check_run @@ -118802,11 +120105,11 @@ x-webhooks: type: string enum: - created - check_run: *757 - installation: *752 - enterprise: *751 - organization: *753 - repository: *754 + check_run: *761 + installation: *756 + enterprise: *755 + organization: *757 + repository: *758 sender: *4 required: - check_run @@ -119200,11 +120503,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *757 - installation: *752 - enterprise: *751 - organization: *753 - repository: *754 + check_run: *761 + installation: *756 + enterprise: *755 + organization: *757 + repository: *758 requested_action: description: The action requested by the user. type: object @@ -119607,11 +120910,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *757 - installation: *752 - enterprise: *751 - organization: *753 - repository: *754 + check_run: *761 + installation: *756 + enterprise: *755 + organization: *757 + repository: *758 sender: *4 required: - check_run @@ -120581,10 +121884,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -121273,10 +122576,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -121959,10 +123262,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -122128,7 +123431,7 @@ x-webhooks: required: - login - id - dismissed_comment: *443 + dismissed_comment: *449 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -122273,20 +123576,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &758 + commit_oid: &762 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: *751 - installation: *752 - organization: *753 - ref: &759 + enterprise: *755 + installation: *756 + organization: *757 + ref: &763 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: *754 + repository: *758 sender: *4 required: - action @@ -122451,7 +123754,7 @@ x-webhooks: required: - login - id - dismissed_comment: *443 + dismissed_comment: *449 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -122681,12 +123984,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *758 - enterprise: *751 - installation: *752 - organization: *753 - ref: *759 - repository: *754 + commit_oid: *762 + enterprise: *755 + installation: *756 + organization: *757 + ref: *763 + repository: *758 sender: *4 required: - action @@ -122781,7 +124084,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *443 + dismissed_comment: *449 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -122952,12 +124255,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *758 - enterprise: *751 - installation: *752 - organization: *753 - ref: *759 - repository: *754 + commit_oid: *762 + enterprise: *755 + installation: *756 + organization: *757 + ref: *763 + repository: *758 sender: *4 required: - action @@ -123123,7 +124426,7 @@ x-webhooks: required: - login - id - dismissed_comment: *443 + dismissed_comment: *449 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -123289,12 +124592,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *758 - enterprise: *751 - installation: *752 - organization: *753 - ref: *759 - repository: *754 + commit_oid: *762 + enterprise: *755 + installation: *756 + organization: *757 + ref: *763 + repository: *758 sender: *4 required: - action @@ -123393,7 +124696,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *443 + dismissed_comment: *449 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -123568,16 +124871,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 ref: 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 nullable: true - repository: *754 + repository: *758 sender: *4 required: - action @@ -123674,7 +124977,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *443 + dismissed_comment: *449 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -123814,12 +125117,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *758 - enterprise: *751 - installation: *752 - organization: *753 - ref: *759 - repository: *754 + commit_oid: *762 + enterprise: *755 + installation: *756 + organization: *757 + ref: *763 + repository: *758 sender: *4 required: - action @@ -123985,7 +125288,7 @@ x-webhooks: required: - login - id - dismissed_comment: *443 + dismissed_comment: *449 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -124130,10 +125433,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -124388,10 +125691,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -124471,18 +125774,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *753 - pusher_type: &760 + organization: *757 + pusher_type: &764 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &761 + ref: &765 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -124492,7 +125795,7 @@ x-webhooks: enum: - tag - branch - repository: *754 + repository: *758 sender: *4 required: - ref @@ -124574,10 +125877,10 @@ x-webhooks: type: string enum: - created - definition: *297 - enterprise: *751 - installation: *752 - organization: *753 + definition: *304 + enterprise: *755 + installation: *756 + organization: *757 sender: *4 required: - action @@ -124662,9 +125965,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 sender: *4 required: - action @@ -124741,10 +126044,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *297 - enterprise: *751 - installation: *752 - organization: *753 + definition: *304 + enterprise: *755 + installation: *756 + organization: *757 sender: *4 required: - action @@ -124821,10 +126124,10 @@ x-webhooks: type: string enum: - updated - definition: *297 - enterprise: *751 - installation: *752 - organization: *753 + definition: *304 + enterprise: *755 + installation: *756 + organization: *757 sender: *4 required: - action @@ -124901,19 +126204,19 @@ x-webhooks: type: string enum: - updated - enterprise: *751 - installation: *752 - repository: *754 - organization: *753 + enterprise: *755 + installation: *756 + repository: *758 + organization: *757 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *301 + items: *308 old_property_values: type: array description: The old custom property values for the repository. - items: *301 + items: *308 required: - action - repository @@ -124989,18 +126292,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *751 - installation: *752 - organization: *753 - pusher_type: *760 - ref: *761 + enterprise: *755 + installation: *756 + organization: *757 + pusher_type: *764 + ref: *765 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *754 + repository: *758 sender: *4 required: - ref @@ -125080,11 +126383,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *507 - installation: *752 - organization: *753 - enterprise: *751 - repository: *754 + alert: *513 + installation: *756 + organization: *757 + enterprise: *755 + repository: *758 sender: *4 required: - action @@ -125164,11 +126467,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *507 - installation: *752 - organization: *753 - enterprise: *751 - repository: *754 + alert: *513 + installation: *756 + organization: *757 + enterprise: *755 + repository: *758 sender: *4 required: - action @@ -125249,11 +126552,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *507 - installation: *752 - organization: *753 - enterprise: *751 - repository: *754 + alert: *513 + installation: *756 + organization: *757 + enterprise: *755 + repository: *758 sender: *4 required: - action @@ -125334,11 +126637,11 @@ x-webhooks: type: string enum: - created - alert: *507 - installation: *752 - organization: *753 - enterprise: *751 - repository: *754 + alert: *513 + installation: *756 + organization: *757 + enterprise: *755 + repository: *758 sender: *4 required: - action @@ -125417,11 +126720,11 @@ x-webhooks: type: string enum: - dismissed - alert: *507 - installation: *752 - organization: *753 - enterprise: *751 - repository: *754 + alert: *513 + installation: *756 + organization: *757 + enterprise: *755 + repository: *758 sender: *4 required: - action @@ -125500,11 +126803,11 @@ x-webhooks: type: string enum: - fixed - alert: *507 - installation: *752 - organization: *753 - enterprise: *751 - repository: *754 + alert: *513 + installation: *756 + organization: *757 + enterprise: *755 + repository: *758 sender: *4 required: - action @@ -125584,11 +126887,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *507 - installation: *752 - organization: *753 - enterprise: *751 - repository: *754 + alert: *513 + installation: *756 + organization: *757 + enterprise: *755 + repository: *758 sender: *4 required: - action @@ -125667,11 +126970,11 @@ x-webhooks: type: string enum: - reopened - alert: *507 - installation: *752 - organization: *753 - enterprise: *751 - repository: *754 + alert: *513 + installation: *756 + organization: *757 + enterprise: *755 + repository: *758 sender: *4 required: - action @@ -125748,9 +127051,9 @@ x-webhooks: type: string enum: - created - enterprise: *751 - installation: *752 - key: &762 + enterprise: *755 + installation: *756 + key: &766 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -125786,8 +127089,8 @@ x-webhooks: - verified - created_at - read_only - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -125864,11 +127167,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *751 - installation: *752 - key: *762 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + key: *766 + organization: *757 + repository: *758 sender: *4 required: - action @@ -126424,12 +127727,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 - workflow: &768 + workflow: &772 title: Workflow type: object nullable: true @@ -127170,15 +128473,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *763 - required: *764 + properties: *767 + required: *768 nullable: true pull_requests: type: array - items: *605 - repository: *754 - organization: *753 - installation: *752 + items: *609 + repository: *758 + organization: *757 + installation: *756 sender: *4 responses: '200': @@ -127249,7 +128552,7 @@ x-webhooks: type: string enum: - approved - approver: &765 + approver: &769 type: object properties: avatar_url: @@ -127292,11 +128595,11 @@ x-webhooks: type: string comment: type: string - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 - reviewers: &766 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 + reviewers: &770 type: array items: type: object @@ -127375,7 +128678,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &767 + workflow_job_run: &771 type: object properties: conclusion: @@ -128106,18 +129409,18 @@ x-webhooks: type: string enum: - rejected - approver: *765 + approver: *769 comment: type: string - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 - reviewers: *766 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 + reviewers: *770 sender: *4 since: type: string - workflow_job_run: *767 + workflow_job_run: *771 workflow_job_runs: type: array items: @@ -128821,13 +130124,13 @@ x-webhooks: type: string enum: - requested - enterprise: *751 + enterprise: *755 environment: type: string - installation: *752 - organization: *753 - repository: *754 - requestor: &773 + installation: *756 + organization: *757 + repository: *758 + requestor: &777 title: User type: object nullable: true @@ -130716,12 +132019,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 - workflow: *768 + workflow: *772 workflow_run: title: Deployment Workflow Run type: object @@ -131401,7 +132704,7 @@ x-webhooks: type: string enum: - answered - answer: &771 + answer: &775 type: object properties: author_association: @@ -131558,11 +132861,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *769 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + discussion: *773 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -131689,11 +132992,11 @@ x-webhooks: - from required: - category - discussion: *769 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + discussion: *773 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -131776,11 +133079,11 @@ x-webhooks: type: string enum: - closed - discussion: *769 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + discussion: *773 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -131862,7 +133165,7 @@ x-webhooks: type: string enum: - created - comment: &770 + comment: &774 type: object properties: author_association: @@ -132019,11 +133322,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *769 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + discussion: *773 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -132106,12 +133409,12 @@ x-webhooks: type: string enum: - deleted - comment: *770 - discussion: *769 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + comment: *774 + discussion: *773 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -132206,12 +133509,12 @@ x-webhooks: - from required: - body - comment: *770 - discussion: *769 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + comment: *774 + discussion: *773 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -132295,11 +133598,11 @@ x-webhooks: type: string enum: - created - discussion: *769 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + discussion: *773 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -132381,11 +133684,11 @@ x-webhooks: type: string enum: - deleted - discussion: *769 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + discussion: *773 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -132485,11 +133788,11 @@ x-webhooks: type: string required: - from - discussion: *769 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + discussion: *773 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -132571,10 +133874,10 @@ x-webhooks: type: string enum: - labeled - discussion: *769 - enterprise: *751 - installation: *752 - label: &772 + discussion: *773 + enterprise: *755 + installation: *756 + label: &776 title: Label type: object properties: @@ -132606,8 +133909,8 @@ x-webhooks: - color - default - description - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -132690,11 +133993,11 @@ x-webhooks: type: string enum: - locked - discussion: *769 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + discussion: *773 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -132776,11 +134079,11 @@ x-webhooks: type: string enum: - pinned - discussion: *769 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + discussion: *773 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -132862,11 +134165,11 @@ x-webhooks: type: string enum: - reopened - discussion: *769 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + discussion: *773 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -132951,16 +134254,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *769 - new_repository: *754 + new_discussion: *773 + new_repository: *758 required: - new_discussion - new_repository - discussion: *769 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + discussion: *773 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -133043,10 +134346,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *769 - old_answer: *771 - organization: *753 - repository: *754 + discussion: *773 + old_answer: *775 + organization: *757 + repository: *758 sender: *4 required: - action @@ -133128,12 +134431,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *769 - enterprise: *751 - installation: *752 - label: *772 - organization: *753 - repository: *754 + discussion: *773 + enterprise: *755 + installation: *756 + label: *776 + organization: *757 + repository: *758 sender: *4 required: - action @@ -133216,11 +134519,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *769 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + discussion: *773 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -133302,11 +134605,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *769 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + discussion: *773 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -133379,7 +134682,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *751 + enterprise: *755 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -134039,9 +135342,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *752 - organization: *753 - repository: *754 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - forkee @@ -134187,9 +135490,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 pages: description: The pages that were updated. type: array @@ -134226,7 +135529,7 @@ x-webhooks: - action - sha - html_url - repository: *754 + repository: *758 sender: *4 required: - pages @@ -134302,10 +135605,10 @@ x-webhooks: type: string enum: - created - enterprise: *751 + enterprise: *755 installation: *22 - organization: *753 - repositories: &774 + organization: *757 + repositories: &778 description: An array of repository objects that the installation can access. type: array @@ -134331,8 +135634,8 @@ x-webhooks: - name - full_name - private - repository: *754 - requester: *773 + repository: *758 + requester: *777 sender: *4 required: - action @@ -134407,11 +135710,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *751 + enterprise: *755 installation: *22 - organization: *753 - repositories: *774 - repository: *754 + organization: *757 + repositories: *778 + repository: *758 requester: nullable: true sender: *4 @@ -134487,11 +135790,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *751 + enterprise: *755 installation: *22 - organization: *753 - repositories: *774 - repository: *754 + organization: *757 + repositories: *778 + repository: *758 requester: nullable: true sender: *4 @@ -134567,10 +135870,10 @@ x-webhooks: type: string enum: - added - enterprise: *751 + enterprise: *755 installation: *22 - organization: *753 - repositories_added: &775 + organization: *757 + repositories_added: &779 description: An array of repository objects, which were added to the installation. type: array @@ -134616,15 +135919,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *754 - repository_selection: &776 + repository: *758 + repository_selection: &780 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *773 + requester: *777 sender: *4 required: - action @@ -134703,10 +136006,10 @@ x-webhooks: type: string enum: - removed - enterprise: *751 + enterprise: *755 installation: *22 - organization: *753 - repositories_added: *775 + organization: *757 + repositories_added: *779 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -134733,9 +136036,9 @@ x-webhooks: - name - full_name - private - repository: *754 - repository_selection: *776 - requester: *773 + repository: *758 + repository_selection: *780 + requester: *777 sender: *4 required: - action @@ -134814,11 +136117,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *751 + enterprise: *755 installation: *22 - organization: *753 - repositories: *774 - repository: *754 + organization: *757 + repositories: *778 + repository: *758 requester: nullable: true sender: *4 @@ -134996,10 +136299,10 @@ x-webhooks: type: string required: - from - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 target_type: type: string @@ -135078,11 +136381,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *751 + enterprise: *755 installation: *22 - organization: *753 - repositories: *774 - repository: *754 + organization: *757 + repositories: *778 + repository: *758 requester: nullable: true sender: *4 @@ -135256,8 +136559,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *582 - required: *583 + properties: *586 + required: *587 nullable: true user: title: User @@ -135342,8 +136645,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -136132,8 +137435,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136149,7 +137452,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *249 + type: *256 updated_at: type: string format: date-time @@ -136482,8 +137785,8 @@ x-webhooks: - state - locked - assignee - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -136563,7 +137866,7 @@ x-webhooks: type: string enum: - deleted - comment: &777 + comment: &781 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -136720,8 +138023,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *582 - required: *583 + properties: *586 + required: *587 nullable: true required: - url @@ -136736,8 +138039,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -137522,8 +138825,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137539,7 +138842,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *249 + type: *256 updated_at: type: string format: date-time @@ -137874,8 +139177,8 @@ x-webhooks: - state - locked - assignee - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -137955,7 +139258,7 @@ x-webhooks: type: string enum: - edited - changes: &807 + changes: &811 description: The changes to the comment. type: object properties: @@ -137967,9 +139270,9 @@ x-webhooks: type: string required: - from - comment: *777 - enterprise: *751 - installation: *752 + comment: *781 + enterprise: *755 + installation: *756 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -138757,8 +140060,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138774,7 +140077,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *249 + type: *256 updated_at: type: string format: date-time @@ -139107,8 +140410,8 @@ x-webhooks: - state - locked - assignee - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -139189,9 +140492,9 @@ x-webhooks: type: string enum: - pinned - comment: *777 - enterprise: *751 - installation: *752 + comment: *781 + enterprise: *755 + installation: *756 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -139981,8 +141284,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139998,7 +141301,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *249 + type: *256 updated_at: type: string format: date-time @@ -140333,8 +141636,8 @@ x-webhooks: - state - locked - assignee - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -140414,9 +141717,9 @@ x-webhooks: type: string enum: - unpinned - comment: *777 - enterprise: *751 - installation: *752 + comment: *781 + enterprise: *755 + installation: *756 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -141206,8 +142509,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141223,7 +142526,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *249 + type: *256 updated_at: type: string format: date-time @@ -141558,8 +142861,8 @@ x-webhooks: - state - locked - assignee - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -141648,9 +142951,9 @@ x-webhooks: type: number blocking_issue: *88 blocking_issue_repo: *82 - installation: *752 - organization: *753 - repository: *754 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -141739,9 +143042,9 @@ x-webhooks: type: number blocking_issue: *88 blocking_issue_repo: *82 - installation: *752 - organization: *753 - repository: *754 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -141829,9 +143132,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *88 - installation: *752 - organization: *753 - repository: *754 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -141920,9 +143223,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *88 - installation: *752 - organization: *753 - repository: *754 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -142002,10 +143305,10 @@ x-webhooks: type: string enum: - assigned - assignee: *773 - enterprise: *751 - installation: *752 - issue: &778 + assignee: *777 + enterprise: *755 + installation: *756 + issue: &782 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -142797,11 +144100,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 issue_field_values: type: array - items: *566 + items: *570 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142817,7 +144120,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *249 + type: *256 updated_at: type: string format: date-time @@ -142918,8 +144221,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -142999,8 +144302,8 @@ x-webhooks: type: string enum: - closed - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143797,11 +145100,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 issue_field_values: type: array - items: *566 + items: *570 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143817,7 +145120,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *249 + type: *256 updated_at: type: string format: date-time @@ -144053,8 +145356,8 @@ x-webhooks: required: - state - closed_at - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -144133,8 +145436,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144922,11 +146225,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 issue_field_values: type: array - items: *566 + items: *570 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144942,7 +146245,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *249 + type: *256 updated_at: type: string format: date-time @@ -145042,8 +146345,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -145122,8 +146425,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -145933,11 +147236,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 issue_field_values: type: array - items: *566 + items: *570 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145953,7 +147256,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *249 + type: *256 updated_at: type: string format: date-time @@ -146032,7 +147335,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &779 + milestone: &783 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146170,8 +147473,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -146270,8 +147573,8 @@ x-webhooks: type: string required: - from - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147063,11 +148366,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 issue_field_values: type: array - items: *566 + items: *570 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147080,7 +148383,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *249 + type: *256 title: description: Title of the issue type: string @@ -147184,9 +148487,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *772 - organization: *753 - repository: *754 + label: *776 + organization: *757 + repository: *758 sender: *4 required: - action @@ -147266,9 +148569,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *751 - installation: *752 - issue: *778 + enterprise: *755 + installation: *756 + issue: *782 issue_field: type: object description: The issue field whose value was set or updated on the @@ -147377,8 +148680,8 @@ x-webhooks: - id required: - from - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -147458,9 +148761,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *751 - installation: *752 - issue: *778 + enterprise: *755 + installation: *756 + issue: *782 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -147518,8 +148821,8 @@ x-webhooks: nullable: true required: - id - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -147599,8 +148902,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148391,11 +149694,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 issue_field_values: type: array - items: *566 + items: *570 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148408,7 +149711,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *249 + type: *256 title: description: Title of the issue type: string @@ -148512,9 +149815,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *772 - organization: *753 - repository: *754 + label: *776 + organization: *757 + repository: *758 sender: *4 required: - action @@ -148594,8 +149897,8 @@ x-webhooks: type: string enum: - locked - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -149410,11 +150713,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 issue_field_values: type: array - items: *566 + items: *570 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149427,7 +150730,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *249 + type: *256 title: description: Title of the issue type: string @@ -149508,8 +150811,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -149588,8 +150891,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150398,11 +151701,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 issue_field_values: type: array - items: *566 + items: *570 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150418,7 +151721,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *249 + type: *256 updated_at: type: string format: date-time @@ -150496,9 +151799,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *779 - organization: *753 - repository: *754 + milestone: *783 + organization: *757 + repository: *758 sender: *4 required: - action @@ -151361,11 +152664,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 issue_field_values: type: array - items: *566 + items: *570 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151466,7 +152769,7 @@ x-webhooks: required: - login - id - type: *249 + type: *256 required: - id - number @@ -151946,8 +153249,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152731,11 +154034,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 issue_field_values: type: array - items: *566 + items: *570 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152751,7 +154054,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *249 + type: *256 updated_at: type: string format: date-time @@ -152859,8 +154162,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -152940,9 +154243,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *751 - installation: *752 - issue: &780 + enterprise: *755 + installation: *756 + issue: &784 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -153728,11 +155031,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 issue_field_values: type: array - items: *566 + items: *570 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153748,7 +155051,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *249 + type: *256 updated_at: type: string format: date-time @@ -153848,8 +155151,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -153928,8 +155231,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154742,11 +156045,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 issue_field_values: type: array - items: *566 + items: *570 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154840,9 +156143,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *249 - organization: *753 - repository: *754 + type: *256 + organization: *757 + repository: *758 sender: *4 required: - action @@ -155711,11 +157014,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 issue_field_values: type: array - items: *566 + items: *570 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155731,7 +157034,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *249 + type: *256 updated_at: type: string format: date-time @@ -156310,11 +157613,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *751 - installation: *752 - issue: *780 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + issue: *784 + organization: *757 + repository: *758 sender: *4 required: - action @@ -156394,12 +157697,12 @@ x-webhooks: type: string enum: - typed - enterprise: *751 - installation: *752 - issue: *778 - type: *249 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + issue: *782 + type: *256 + organization: *757 + repository: *758 sender: *4 required: - action @@ -156480,7 +157783,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &810 + assignee: &814 title: User type: object nullable: true @@ -156550,11 +157853,11 @@ x-webhooks: required: - login - id - enterprise: *751 - installation: *752 - issue: *778 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + issue: *782 + organization: *757 + repository: *758 sender: *4 required: - action @@ -156633,12 +157936,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *751 - installation: *752 - issue: *778 - label: *772 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + issue: *782 + label: *776 + organization: *757 + repository: *758 sender: *4 required: - action @@ -156718,8 +158021,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -157532,11 +158835,11 @@ x-webhooks: properties: *89 required: *90 nullable: true - sub_issues_summary: *686 - issue_dependencies_summary: *687 + sub_issues_summary: *690 + issue_dependencies_summary: *691 issue_field_values: type: array - items: *566 + items: *570 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157552,7 +158855,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *249 + type: *256 updated_at: type: string format: date-time @@ -157630,8 +158933,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -157711,11 +159014,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *751 - installation: *752 - issue: *780 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + issue: *784 + organization: *757 + repository: *758 sender: *4 required: - action @@ -157794,12 +159097,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *751 - installation: *752 - issue: *778 - type: *249 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + issue: *782 + type: *256 + organization: *757 + repository: *758 sender: *4 required: - action @@ -157879,11 +159182,11 @@ x-webhooks: type: string enum: - created - enterprise: *751 - installation: *752 - label: *772 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + label: *776 + organization: *757 + repository: *758 sender: *4 required: - action @@ -157961,11 +159264,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *751 - installation: *752 - label: *772 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + label: *776 + organization: *757 + repository: *758 sender: *4 required: - action @@ -158075,11 +159378,11 @@ x-webhooks: type: string required: - from - enterprise: *751 - installation: *752 - label: *772 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + label: *776 + organization: *757 + repository: *758 sender: *4 required: - action @@ -158161,9 +159464,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *751 - installation: *752 - marketplace_purchase: &781 + enterprise: *755 + installation: *756 + marketplace_purchase: &785 title: Marketplace Purchase type: object required: @@ -158246,8 +159549,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *753 - previous_marketplace_purchase: &782 + organization: *757 + previous_marketplace_purchase: &786 title: Marketplace Purchase type: object properties: @@ -158327,7 +159630,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *754 + repository: *758 sender: *4 required: - action @@ -158407,10 +159710,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *751 - installation: *752 - marketplace_purchase: *781 - organization: *753 + enterprise: *755 + installation: *756 + marketplace_purchase: *785 + organization: *757 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -158493,7 +159796,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *754 + repository: *758 sender: *4 required: - action @@ -158575,10 +159878,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *751 - installation: *752 - marketplace_purchase: *781 - organization: *753 + enterprise: *755 + installation: *756 + marketplace_purchase: *785 + organization: *757 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -158660,7 +159963,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *754 + repository: *758 sender: *4 required: - action @@ -158741,8 +160044,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 marketplace_purchase: title: Marketplace Purchase type: object @@ -158824,9 +160127,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *753 - previous_marketplace_purchase: *782 - repository: *754 + organization: *757 + previous_marketplace_purchase: *786 + repository: *758 sender: *4 required: - action @@ -158906,12 +160209,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *751 - installation: *752 - marketplace_purchase: *781 - organization: *753 - previous_marketplace_purchase: *782 - repository: *754 + enterprise: *755 + installation: *756 + marketplace_purchase: *785 + organization: *757 + previous_marketplace_purchase: *786 + repository: *758 sender: *4 required: - action @@ -159013,11 +160316,11 @@ x-webhooks: type: string required: - to - enterprise: *751 - installation: *752 - member: *773 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + member: *777 + organization: *757 + repository: *758 sender: *4 required: - action @@ -159117,11 +160420,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *751 - installation: *752 - member: *773 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + member: *777 + organization: *757 + repository: *758 sender: *4 required: - action @@ -159200,11 +160503,11 @@ x-webhooks: type: string enum: - removed - enterprise: *751 - installation: *752 - member: *773 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + member: *777 + organization: *757 + repository: *758 sender: *4 required: - action @@ -159282,11 +160585,11 @@ x-webhooks: type: string enum: - added - enterprise: *751 - installation: *752 - member: *773 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + member: *777 + organization: *757 + repository: *758 scope: description: The scope of the membership. Currently, can only be `team`. @@ -159362,7 +160665,7 @@ x-webhooks: required: - login - id - team: &783 + team: &787 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -159585,11 +160888,11 @@ x-webhooks: type: string enum: - removed - enterprise: *751 - installation: *752 - member: *773 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + member: *777 + organization: *757 + repository: *758 scope: description: The scope of the membership. Currently, can only be `team`. @@ -159666,7 +160969,7 @@ x-webhooks: required: - login - id - team: *783 + team: *787 required: - action - scope @@ -159748,8 +161051,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *752 - merge_group: &785 + installation: *756 + merge_group: &789 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -159768,15 +161071,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *784 + head_commit: *788 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -159862,10 +161165,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *752 - merge_group: *785 - organization: *753 - repository: *754 + installation: *756 + merge_group: *789 + organization: *757 + repository: *758 sender: *4 required: - action @@ -159938,7 +161241,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *751 + enterprise: *755 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -160047,17 +161350,17 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *752 - organization: *753 + installation: *756 + organization: *757 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *786 - required: *787 - x-github-breaking-changes: *788 + properties: *790 + required: *791 + x-github-breaking-changes: *792 nullable: true sender: *4 required: @@ -160138,11 +161441,11 @@ x-webhooks: type: string enum: - closed - enterprise: *751 - installation: *752 - milestone: *779 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + milestone: *783 + organization: *757 + repository: *758 sender: *4 required: - action @@ -160221,9 +161524,9 @@ x-webhooks: type: string enum: - created - enterprise: *751 - installation: *752 - milestone: &789 + enterprise: *755 + installation: *756 + milestone: &793 title: Milestone description: A collection of related issues and pull requests. type: object @@ -160360,8 +161663,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -160440,11 +161743,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *751 - installation: *752 - milestone: *779 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + milestone: *783 + organization: *757 + repository: *758 sender: *4 required: - action @@ -160554,11 +161857,11 @@ x-webhooks: type: string required: - from - enterprise: *751 - installation: *752 - milestone: *779 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + milestone: *783 + organization: *757 + repository: *758 sender: *4 required: - action @@ -160638,11 +161941,11 @@ x-webhooks: type: string enum: - opened - enterprise: *751 - installation: *752 - milestone: *789 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + milestone: *793 + organization: *757 + repository: *758 sender: *4 required: - action @@ -160721,11 +162024,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *773 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + blocked_user: *777 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -160804,11 +162107,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *773 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + blocked_user: *777 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -160887,9 +162190,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *751 - installation: *752 - membership: &790 + enterprise: *755 + installation: *756 + membership: &794 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -160996,8 +162299,8 @@ x-webhooks: - role - organization_url - user - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 required: - action @@ -161075,11 +162378,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *751 - installation: *752 - membership: *790 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + membership: *794 + organization: *757 + repository: *758 sender: *4 required: - action @@ -161158,8 +162461,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -161275,10 +162578,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 - user: *773 + user: *777 required: - action - invitation @@ -161356,11 +162659,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *751 - installation: *752 - membership: *790 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + membership: *794 + organization: *757 + repository: *758 sender: *4 required: - action @@ -161447,11 +162750,11 @@ x-webhooks: properties: from: type: string - enterprise: *751 - installation: *752 - membership: *790 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + membership: *794 + organization: *757 + repository: *758 sender: *4 required: - action @@ -161528,9 +162831,9 @@ x-webhooks: type: string enum: - published - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 package: description: Information about the package. type: object @@ -162029,7 +163332,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &791 + items: &795 title: Ruby Gems metadata type: object properties: @@ -162124,7 +163427,7 @@ x-webhooks: - owner - package_version - registry - repository: *754 + repository: *758 sender: *4 required: - action @@ -162200,9 +163503,9 @@ x-webhooks: type: string enum: - updated - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 package: description: Information about the package. type: object @@ -162555,7 +163858,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *791 + items: *795 source_url: type: string format: uri @@ -162625,7 +163928,7 @@ x-webhooks: - owner - package_version - registry - repository: *754 + repository: *758 sender: *4 required: - action @@ -162801,12 +164104,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *751 + enterprise: *755 id: type: integer - installation: *752 - organization: *753 - repository: *754 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - id @@ -162883,7 +164186,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &792 + personal_access_token_request: &796 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -163029,10 +164332,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *751 - organization: *753 + enterprise: *755 + organization: *757 sender: *4 - installation: *752 + installation: *756 required: - action - personal_access_token_request @@ -163109,11 +164412,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *792 - enterprise: *751 - organization: *753 + personal_access_token_request: *796 + enterprise: *755 + organization: *757 sender: *4 - installation: *752 + installation: *756 required: - action - personal_access_token_request @@ -163189,11 +164492,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *792 - enterprise: *751 - organization: *753 + personal_access_token_request: *796 + enterprise: *755 + organization: *757 sender: *4 - installation: *752 + installation: *756 required: - action - personal_access_token_request @@ -163268,11 +164571,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *792 - organization: *753 - enterprise: *751 + personal_access_token_request: *796 + organization: *757 + enterprise: *755 sender: *4 - installation: *752 + installation: *756 required: - action - personal_access_token_request @@ -163377,7 +164680,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *793 + last_response: *797 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -163409,8 +164712,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 zen: description: Random string of GitHub zen. @@ -163655,10 +164958,10 @@ x-webhooks: - from required: - note - enterprise: *751 - installation: *752 - organization: *753 - project_card: &794 + enterprise: *755 + installation: *756 + organization: *757 + project_card: &798 title: Project Card type: object properties: @@ -163777,7 +165080,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *754 + repository: *758 sender: *4 required: - action @@ -163858,11 +165161,11 @@ x-webhooks: type: string enum: - created - enterprise: *751 - installation: *752 - organization: *753 - project_card: *794 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + project_card: *798 + repository: *758 sender: *4 required: - action @@ -163942,9 +165245,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 project_card: title: Project Card type: object @@ -164072,9 +165375,9 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *786 - required: *787 - x-github-breaking-changes: *788 + properties: *790 + required: *791 + x-github-breaking-changes: *792 nullable: true sender: *4 required: @@ -164168,11 +165471,11 @@ x-webhooks: - from required: - note - enterprise: *751 - installation: *752 - organization: *753 - project_card: *794 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + project_card: *798 + repository: *758 sender: *4 required: - action @@ -164266,9 +165569,9 @@ x-webhooks: - from required: - column_id - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 project_card: allOf: - title: Project Card @@ -164458,7 +165761,7 @@ x-webhooks: type: string required: - after_id - repository: *754 + repository: *758 sender: *4 required: - action @@ -164538,10 +165841,10 @@ x-webhooks: type: string enum: - closed - enterprise: *751 - installation: *752 - organization: *753 - project: &796 + enterprise: *755 + installation: *756 + organization: *757 + project: &800 title: Project type: object properties: @@ -164665,7 +165968,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *754 + repository: *758 sender: *4 required: - action @@ -164745,10 +166048,10 @@ x-webhooks: type: string enum: - created - enterprise: *751 - installation: *752 - organization: *753 - project_column: &795 + enterprise: *755 + installation: *756 + organization: *757 + project_column: &799 title: Project Column type: object properties: @@ -164787,7 +166090,7 @@ x-webhooks: - name - created_at - updated_at - repository: *754 + repository: *758 sender: *4 required: - action @@ -164866,19 +166169,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *751 - installation: *752 - organization: *753 - project_column: *795 + enterprise: *755 + installation: *756 + organization: *757 + project_column: *799 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *786 - required: *787 - x-github-breaking-changes: *788 + properties: *790 + required: *791 + x-github-breaking-changes: *792 nullable: true sender: *4 required: @@ -164968,11 +166271,11 @@ x-webhooks: type: string required: - from - enterprise: *751 - installation: *752 - organization: *753 - project_column: *795 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + project_column: *799 + repository: *758 sender: *4 required: - action @@ -165052,11 +166355,11 @@ x-webhooks: type: string enum: - moved - enterprise: *751 - installation: *752 - organization: *753 - project_column: *795 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + project_column: *799 + repository: *758 sender: *4 required: - action @@ -165136,11 +166439,11 @@ x-webhooks: type: string enum: - created - enterprise: *751 - installation: *752 - organization: *753 - project: *796 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + project: *800 + repository: *758 sender: *4 required: - action @@ -165220,19 +166523,19 @@ x-webhooks: type: string enum: - deleted - enterprise: *751 - installation: *752 - organization: *753 - project: *796 + enterprise: *755 + installation: *756 + organization: *757 + project: *800 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *786 - required: *787 - x-github-breaking-changes: *788 + properties: *790 + required: *791 + x-github-breaking-changes: *792 nullable: true sender: *4 required: @@ -165334,11 +166637,11 @@ x-webhooks: type: string required: - from - enterprise: *751 - installation: *752 - organization: *753 - project: *796 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + project: *800 + repository: *758 sender: *4 required: - action @@ -165417,11 +166720,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *751 - installation: *752 - organization: *753 - project: *796 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + project: *800 + repository: *758 sender: *4 required: - action @@ -165502,9 +166805,9 @@ x-webhooks: type: string enum: - closed - installation: *752 - organization: *753 - projects_v2: *283 + installation: *756 + organization: *757 + projects_v2: *290 sender: *4 required: - action @@ -165585,9 +166888,9 @@ x-webhooks: type: string enum: - created - installation: *752 - organization: *753 - projects_v2: *283 + installation: *756 + organization: *757 + projects_v2: *290 sender: *4 required: - action @@ -165668,9 +166971,9 @@ x-webhooks: type: string enum: - deleted - installation: *752 - organization: *753 - projects_v2: *283 + installation: *756 + organization: *757 + projects_v2: *290 sender: *4 required: - action @@ -165787,9 +167090,9 @@ x-webhooks: type: string to: type: string - installation: *752 - organization: *753 - projects_v2: *283 + installation: *756 + organization: *757 + projects_v2: *290 sender: *4 required: - action @@ -165872,7 +167175,7 @@ x-webhooks: type: string enum: - archived - changes: &800 + changes: &804 type: object properties: archived_at: @@ -165886,9 +167189,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *752 - organization: *753 - projects_v2_item: &797 + installation: *756 + organization: *757 + projects_v2_item: &801 title: Projects v2 Item description: An item belonging to a project type: object @@ -165906,7 +167209,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *290 + content_type: *297 creator: *4 created_at: type: string @@ -166023,9 +167326,9 @@ x-webhooks: nullable: true to: type: string - installation: *752 - organization: *753 - projects_v2_item: *797 + installation: *756 + organization: *757 + projects_v2_item: *801 sender: *4 required: - action @@ -166107,9 +167410,9 @@ x-webhooks: type: string enum: - created - installation: *752 - organization: *753 - projects_v2_item: *797 + installation: *756 + organization: *757 + projects_v2_item: *801 sender: *4 required: - action @@ -166190,9 +167493,9 @@ x-webhooks: type: string enum: - deleted - installation: *752 - organization: *753 - projects_v2_item: *797 + installation: *756 + organization: *757 + projects_v2_item: *801 sender: *4 required: - action @@ -166298,7 +167601,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &798 + - &802 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -166320,7 +167623,7 @@ x-webhooks: required: - id - name - - &799 + - &803 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -166354,8 +167657,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *798 - - *799 + - *802 + - *803 required: - field_value - type: object @@ -166371,9 +167674,9 @@ x-webhooks: nullable: true required: - body - installation: *752 - organization: *753 - projects_v2_item: *797 + installation: *756 + organization: *757 + projects_v2_item: *801 sender: *4 required: - action @@ -166468,9 +167771,9 @@ x-webhooks: to: type: string nullable: true - installation: *752 - organization: *753 - projects_v2_item: *797 + installation: *756 + organization: *757 + projects_v2_item: *801 sender: *4 required: - action @@ -166553,10 +167856,10 @@ x-webhooks: type: string enum: - restored - changes: *800 - installation: *752 - organization: *753 - projects_v2_item: *797 + changes: *804 + installation: *756 + organization: *757 + projects_v2_item: *801 sender: *4 required: - action @@ -166638,9 +167941,9 @@ x-webhooks: type: string enum: - reopened - installation: *752 - organization: *753 - projects_v2: *283 + installation: *756 + organization: *757 + projects_v2: *290 sender: *4 required: - action @@ -166721,14 +168024,14 @@ x-webhooks: type: string enum: - created - installation: *752 - organization: *753 - projects_v2_status_update: &803 + installation: *756 + organization: *757 + projects_v2_status_update: &807 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *801 - required: *802 + properties: *805 + required: *806 sender: *4 required: - action @@ -166809,9 +168112,9 @@ x-webhooks: type: string enum: - deleted - installation: *752 - organization: *753 - projects_v2_status_update: *803 + installation: *756 + organization: *757 + projects_v2_status_update: *807 sender: *4 required: - action @@ -166947,9 +168250,9 @@ x-webhooks: type: string format: date nullable: true - installation: *752 - organization: *753 - projects_v2_status_update: *803 + installation: *756 + organization: *757 + projects_v2_status_update: *807 sender: *4 required: - action @@ -167020,10 +168323,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - repository @@ -167100,13 +168403,13 @@ x-webhooks: type: string enum: - assigned - assignee: *773 - enterprise: *751 - installation: *752 - number: &804 + assignee: *777 + enterprise: *755 + installation: *756 + number: &808 description: The pull request number. type: integer - organization: *753 + organization: *757 pull_request: title: Pull Request type: object @@ -169411,7 +170714,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *754 + repository: *758 sender: *4 required: - action @@ -169508,11 +170811,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 number: type: integer - organization: *753 + organization: *757 pull_request: title: Pull Request type: object @@ -171812,7 +173115,7 @@ x-webhooks: - draft reason: type: string - repository: *754 + repository: *758 sender: *4 required: - action @@ -171909,11 +173212,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 number: type: integer - organization: *753 + organization: *757 pull_request: title: Pull Request type: object @@ -174213,7 +175516,7 @@ x-webhooks: - draft reason: type: string - repository: *754 + repository: *758 sender: *4 required: - action @@ -174310,13 +175613,13 @@ x-webhooks: type: string enum: - closed - enterprise: *751 - installation: *752 - number: *804 - organization: *753 - pull_request: &805 + enterprise: *755 + installation: *756 + number: *808 + organization: *757 + pull_request: &809 allOf: - - *605 + - *609 - type: object properties: allow_auto_merge: @@ -174378,7 +175681,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *754 + repository: *758 sender: *4 required: - action @@ -174459,12 +175762,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *751 - installation: *752 - number: *804 - organization: *753 - pull_request: *805 - repository: *754 + enterprise: *755 + installation: *756 + number: *808 + organization: *757 + pull_request: *809 + repository: *758 sender: *4 required: - action @@ -174544,11 +175847,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *751 - milestone: *589 - number: *804 - organization: *753 - pull_request: &806 + enterprise: *755 + milestone: *593 + number: *808 + organization: *757 + pull_request: &810 title: Pull Request type: object properties: @@ -176875,7 +178178,7 @@ x-webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *754 + repository: *758 sender: *4 required: - action @@ -176954,11 +178257,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 number: type: integer - organization: *753 + organization: *757 pull_request: title: Pull Request type: object @@ -179262,7 +180565,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *754 + repository: *758 sender: *4 required: - action @@ -179394,12 +180697,12 @@ x-webhooks: type: string required: - from - enterprise: *751 - installation: *752 - number: *804 - organization: *753 - pull_request: *805 - repository: *754 + enterprise: *755 + installation: *756 + number: *808 + organization: *757 + pull_request: *809 + repository: *758 sender: *4 required: - action @@ -179479,11 +180782,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 number: type: integer - organization: *753 + organization: *757 pull_request: title: Pull Request type: object @@ -181772,7 +183075,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *754 + repository: *758 sender: *4 required: - action @@ -181860,11 +183163,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *751 - installation: *752 - label: *772 - number: *804 - organization: *753 + enterprise: *755 + installation: *756 + label: *776 + number: *808 + organization: *757 pull_request: title: Pull Request type: object @@ -184168,7 +185471,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *754 + repository: *758 sender: *4 required: - action @@ -184264,10 +185567,10 @@ x-webhooks: type: string enum: - locked - enterprise: *751 - installation: *752 - number: *804 - organization: *753 + enterprise: *755 + installation: *756 + number: *808 + organization: *757 pull_request: title: Pull Request type: object @@ -186569,7 +187872,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *754 + repository: *758 sender: *4 required: - action @@ -186664,12 +187967,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *751 - milestone: *589 - number: *804 - organization: *753 - pull_request: *806 - repository: *754 + enterprise: *755 + milestone: *593 + number: *808 + organization: *757 + pull_request: *810 + repository: *758 sender: *4 required: - action @@ -186748,12 +188051,12 @@ x-webhooks: type: string enum: - opened - enterprise: *751 - installation: *752 - number: *804 - organization: *753 - pull_request: *805 - repository: *754 + enterprise: *755 + installation: *756 + number: *808 + organization: *757 + pull_request: *809 + repository: *758 sender: *4 required: - action @@ -186834,12 +188137,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *751 - installation: *752 - number: *804 - organization: *753 - pull_request: *805 - repository: *754 + enterprise: *755 + installation: *756 + number: *808 + organization: *757 + pull_request: *809 + repository: *758 sender: *4 required: - action @@ -186919,12 +188222,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *751 - installation: *752 - number: *804 - organization: *753 - pull_request: *805 - repository: *754 + enterprise: *755 + installation: *756 + number: *808 + organization: *757 + pull_request: *809 + repository: *758 sender: *4 required: - action @@ -187290,9 +188593,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 pull_request: type: object properties: @@ -189484,7 +190787,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *754 + repository: *758 sender: *4 required: - action @@ -189579,7 +190882,7 @@ x-webhooks: type: string enum: - deleted - comment: &808 + comment: &812 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -189864,9 +191167,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 pull_request: type: object properties: @@ -192046,7 +193349,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *754 + repository: *758 sender: *4 required: - action @@ -192141,11 +193444,11 @@ x-webhooks: type: string enum: - edited - changes: *807 - comment: *808 - enterprise: *751 - installation: *752 - organization: *753 + changes: *811 + comment: *812 + enterprise: *755 + installation: *756 + organization: *757 pull_request: type: object properties: @@ -194328,7 +195631,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *754 + repository: *758 sender: *4 required: - action @@ -194424,9 +195727,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 pull_request: title: Simple Pull Request type: object @@ -196621,7 +197924,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *754 + repository: *758 review: description: The review that was affected. type: object @@ -196883,9 +198186,9 @@ x-webhooks: type: string required: - from - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 pull_request: title: Simple Pull Request type: object @@ -198939,8 +200242,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *754 - review: &809 + repository: *758 + review: &813 description: The review that was affected. type: object properties: @@ -199181,12 +200484,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 number: description: The pull request number. type: integer - organization: *753 + organization: *757 pull_request: title: Pull Request type: object @@ -201491,7 +202794,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *754 + repository: *758 requested_reviewer: title: User type: object @@ -201575,12 +202878,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 number: description: The pull request number. type: integer - organization: *753 + organization: *757 pull_request: title: Pull Request type: object @@ -203892,7 +205195,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *754 + repository: *758 requested_team: title: Team description: Groups of organization members that gives permissions @@ -204107,12 +205410,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 number: description: The pull request number. type: integer - organization: *753 + organization: *757 pull_request: title: Pull Request type: object @@ -206419,7 +207722,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *754 + repository: *758 requested_reviewer: title: User type: object @@ -206504,12 +207807,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *751 - installation: *752 + enterprise: *755 + installation: *756 number: description: The pull request number. type: integer - organization: *753 + organization: *757 pull_request: title: Pull Request type: object @@ -208807,7 +210110,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *754 + repository: *758 requested_team: title: Team description: Groups of organization members that gives permissions @@ -209011,9 +210314,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 pull_request: title: Simple Pull Request type: object @@ -211210,8 +212513,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *754 - review: *809 + repository: *758 + review: *813 sender: *4 required: - action @@ -211306,9 +212609,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 pull_request: title: Simple Pull Request type: object @@ -213400,7 +214703,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *754 + repository: *758 sender: *4 thread: type: object @@ -213795,9 +215098,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 pull_request: title: Simple Pull Request type: object @@ -215875,7 +217178,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *754 + repository: *758 sender: *4 thread: type: object @@ -216273,10 +217576,10 @@ x-webhooks: type: string before: type: string - enterprise: *751 - installation: *752 - number: *804 - organization: *753 + enterprise: *755 + installation: *756 + number: *808 + organization: *757 pull_request: title: Pull Request type: object @@ -218569,7 +219872,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *754 + repository: *758 sender: *4 required: - action @@ -218666,11 +219969,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *810 - enterprise: *751 - installation: *752 - number: *804 - organization: *753 + assignee: *814 + enterprise: *755 + installation: *756 + number: *808 + organization: *757 pull_request: title: Pull Request type: object @@ -220975,7 +222278,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *754 + repository: *758 sender: *4 required: - action @@ -221069,11 +222372,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *751 - installation: *752 - label: *772 - number: *804 - organization: *753 + enterprise: *755 + installation: *756 + label: *776 + number: *808 + organization: *757 pull_request: title: Pull Request type: object @@ -223368,7 +224671,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *754 + repository: *758 sender: *4 required: - action @@ -223464,10 +224767,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *751 - installation: *752 - number: *804 - organization: *753 + enterprise: *755 + installation: *756 + number: *808 + organization: *757 pull_request: title: Pull Request type: object @@ -225754,7 +227057,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *754 + repository: *758 sender: *4 required: - action @@ -225969,7 +227272,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *751 + enterprise: *755 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -226061,8 +227364,8 @@ x-webhooks: - url - author - committer - installation: *752 - organization: *753 + installation: *756 + organization: *757 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -226648,9 +227951,9 @@ x-webhooks: type: string enum: - published - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 registry_package: type: object properties: @@ -227096,7 +228399,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *791 + items: *795 summary: type: string tag_name: @@ -227150,7 +228453,7 @@ x-webhooks: - owner - package_version - registry - repository: *754 + repository: *758 sender: *4 required: - action @@ -227228,9 +228531,9 @@ x-webhooks: type: string enum: - updated - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 registry_package: type: object properties: @@ -227538,7 +228841,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *791 + items: *795 summary: type: string tag_name: @@ -227587,7 +228890,7 @@ x-webhooks: - owner - package_version - registry - repository: *754 + repository: *758 sender: *4 required: - action @@ -227664,10 +228967,10 @@ x-webhooks: type: string enum: - created - enterprise: *751 - installation: *752 - organization: *753 - release: &811 + enterprise: *755 + installation: *756 + organization: *757 + release: &815 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -227985,7 +229288,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *754 + repository: *758 sender: *4 required: - action @@ -228062,11 +229365,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *751 - installation: *752 - organization: *753 - release: *811 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + release: *815 + repository: *758 sender: *4 required: - action @@ -228183,11 +229486,11 @@ x-webhooks: type: boolean required: - to - enterprise: *751 - installation: *752 - organization: *753 - release: *811 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + release: *815 + repository: *758 sender: *4 required: - action @@ -228265,9 +229568,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -228589,7 +229892,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *754 + repository: *758 sender: *4 required: - action @@ -228665,10 +229968,10 @@ x-webhooks: type: string enum: - published - enterprise: *751 - installation: *752 - organization: *753 - release: &812 + enterprise: *755 + installation: *756 + organization: *757 + release: &816 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -228987,7 +230290,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *754 + repository: *758 sender: *4 required: - action @@ -229063,11 +230366,11 @@ x-webhooks: type: string enum: - released - enterprise: *751 - installation: *752 - organization: *753 - release: *811 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + release: *815 + repository: *758 sender: *4 required: - action @@ -229143,11 +230446,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *751 - installation: *752 - organization: *753 - release: *812 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + release: *816 + repository: *758 sender: *4 required: - action @@ -229223,11 +230526,11 @@ x-webhooks: type: string enum: - published - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 - repository_advisory: *673 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 + repository_advisory: *677 sender: *4 required: - action @@ -229303,11 +230606,11 @@ x-webhooks: type: string enum: - reported - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 - repository_advisory: *673 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 + repository_advisory: *677 sender: *4 required: - action @@ -229383,10 +230686,10 @@ x-webhooks: type: string enum: - archived - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -229463,10 +230766,10 @@ x-webhooks: type: string enum: - created - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -229544,10 +230847,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -229631,10 +230934,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -229746,10 +231049,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -229821,10 +231124,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 status: type: string @@ -229905,10 +231208,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -229985,10 +231288,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -230082,10 +231385,10 @@ x-webhooks: - name required: - repository - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -230165,11 +231468,11 @@ x-webhooks: type: string enum: - created - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 - repository_ruleset: *332 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 + repository_ruleset: *339 sender: *4 required: - action @@ -230247,11 +231550,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 - repository_ruleset: *332 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 + repository_ruleset: *339 sender: *4 required: - action @@ -230329,11 +231632,11 @@ x-webhooks: type: string enum: - edited - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 - repository_ruleset: *332 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 + repository_ruleset: *339 changes: type: object properties: @@ -230352,16 +231655,16 @@ x-webhooks: properties: added: type: array - items: *306 + items: *313 deleted: type: array - items: *306 + items: *313 updated: type: array items: type: object properties: - condition: *306 + condition: *313 changes: type: object properties: @@ -230394,16 +231697,16 @@ x-webhooks: properties: added: type: array - items: *625 + items: *629 deleted: type: array - items: *625 + items: *629 updated: type: array items: type: object properties: - rule: *625 + rule: *629 changes: type: object properties: @@ -230637,10 +231940,10 @@ x-webhooks: - from required: - owner - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -230718,10 +232021,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -230799,7 +232102,7 @@ x-webhooks: type: string enum: - create - alert: &813 + alert: &817 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -230921,10 +232224,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -231130,10 +232433,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -231211,11 +232514,11 @@ x-webhooks: type: string enum: - reopen - alert: *813 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + alert: *817 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -231414,10 +232717,10 @@ x-webhooks: enum: - fixed - open - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -231495,11 +232798,11 @@ x-webhooks: type: string enum: - assigned - alert: &814 + alert: &818 type: object properties: - number: *179 - created_at: *180 + number: *186 + created_at: *187 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -231507,8 +232810,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *182 - html_url: *183 + url: *189 + html_url: *190 locations_url: type: string format: uri @@ -231638,10 +232941,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -231719,11 +233022,11 @@ x-webhooks: type: string enum: - created - alert: *814 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + alert: *818 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -231804,11 +233107,11 @@ x-webhooks: type: string enum: - created - alert: *814 - installation: *752 - location: *815 - organization: *753 - repository: *754 + alert: *818 + installation: *756 + location: *819 + organization: *757 + repository: *758 sender: *4 required: - location @@ -232046,11 +233349,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *814 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + alert: *818 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -232128,11 +233431,11 @@ x-webhooks: type: string enum: - reopened - alert: *814 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + alert: *818 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -232210,11 +233513,11 @@ x-webhooks: type: string enum: - resolved - alert: *814 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + alert: *818 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -232292,12 +233595,12 @@ x-webhooks: type: string enum: - unassigned - alert: *814 + alert: *818 assignee: *4 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -232375,11 +233678,11 @@ x-webhooks: type: string enum: - validated - alert: *814 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + alert: *818 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -232505,10 +233808,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *754 - enterprise: *751 - installation: *752 - organization: *753 + repository: *758 + enterprise: *755 + installation: *756 + organization: *757 sender: *4 required: - action @@ -232586,11 +233889,11 @@ x-webhooks: type: string enum: - published - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 - security_advisory: &816 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 + security_advisory: &820 description: The details of the security advisory, including summary, description, and severity. type: object @@ -232791,11 +234094,11 @@ x-webhooks: type: string enum: - updated - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 - security_advisory: *816 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 + security_advisory: *820 sender: *4 required: - action @@ -232868,10 +234171,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -233063,11 +234366,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *305 - enterprise: *751 - installation: *752 - organization: *753 - repository: *353 + security_and_analysis: *312 + enterprise: *755 + installation: *756 + organization: *757 + repository: *360 sender: *4 required: - changes @@ -233145,12 +234448,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 - sponsorship: &817 + sponsorship: &821 type: object properties: created_at: @@ -233451,12 +234754,12 @@ x-webhooks: type: string enum: - created - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 - sponsorship: *817 + sponsorship: *821 required: - action - sponsorship @@ -233544,12 +234847,12 @@ x-webhooks: type: string required: - from - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 - sponsorship: *817 + sponsorship: *821 required: - action - changes @@ -233626,17 +234929,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &818 + effective_date: &822 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: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 - sponsorship: *817 + sponsorship: *821 required: - action - sponsorship @@ -233710,7 +235013,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &819 + changes: &823 type: object properties: tier: @@ -233754,13 +235057,13 @@ x-webhooks: - from required: - tier - effective_date: *818 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + effective_date: *822 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 - sponsorship: *817 + sponsorship: *821 required: - action - changes @@ -233837,13 +235140,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *819 - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + changes: *823 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 - sponsorship: *817 + sponsorship: *821 required: - action - changes @@ -233917,10 +235220,10 @@ x-webhooks: type: string enum: - created - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -234003,10 +235306,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -234426,15 +235729,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *751 + enterprise: *755 id: description: The unique identifier of the status. type: integer - installation: *752 + installation: *756 name: type: string - organization: *753 - repository: *754 + organization: *757 + repository: *758 sender: *4 sha: description: The Commit SHA. @@ -234549,17 +235852,16 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *88 - installation: *752 - organization: *753 - repository: *754 + installation: *756 + organization: *757 + repository: *758 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 @@ -234641,17 +235943,16 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *88 - installation: *752 - organization: *753 - repository: *754 + installation: *756 + organization: *757 + repository: *758 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 @@ -234733,17 +236034,16 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *88 - installation: *752 - organization: *753 - repository: *754 + installation: *756 + organization: *757 + repository: *758 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 @@ -234825,17 +236125,16 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *88 - installation: *752 - organization: *753 - repository: *754 + installation: *756 + organization: *757 + repository: *758 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 @@ -234904,12 +236203,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 - team: &820 + team: &824 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -235132,9 +236431,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 repository: title: Repository description: A git repository @@ -235592,7 +236891,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *820 + team: *824 required: - action - team @@ -235668,9 +236967,9 @@ x-webhooks: type: string enum: - created - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 repository: title: Repository description: A git repository @@ -236128,7 +237427,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *820 + team: *824 required: - action - team @@ -236205,9 +237504,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 repository: title: Repository description: A git repository @@ -236665,7 +237964,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *820 + team: *824 required: - action - team @@ -236809,9 +238108,9 @@ x-webhooks: - from required: - permissions - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 repository: title: Repository description: A git repository @@ -237269,7 +238568,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *820 + team: *824 required: - action - changes @@ -237347,9 +238646,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *751 - installation: *752 - organization: *753 + enterprise: *755 + installation: *756 + organization: *757 repository: title: Repository description: A git repository @@ -237807,7 +239106,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *820 + team: *824 required: - action - team @@ -237883,10 +239182,10 @@ x-webhooks: type: string enum: - started - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 required: - action @@ -237959,16 +239258,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *751 + enterprise: *755 inputs: type: object nullable: true additionalProperties: true - installation: *752 - organization: *753 + installation: *756 + organization: *757 ref: type: string - repository: *754 + repository: *758 sender: *4 workflow: type: string @@ -238050,10 +239349,10 @@ x-webhooks: type: string enum: - completed - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 workflow_job: allOf: @@ -238290,7 +239589,7 @@ x-webhooks: type: string required: - conclusion - deployment: *514 + deployment: *520 required: - action - repository @@ -238369,10 +239668,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 workflow_job: allOf: @@ -238632,7 +239931,7 @@ x-webhooks: required: - status - steps - deployment: *514 + deployment: *520 required: - action - repository @@ -238711,10 +240010,10 @@ x-webhooks: type: string enum: - queued - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 workflow_job: type: object @@ -238849,7 +240148,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *514 + deployment: *520 required: - action - repository @@ -238928,10 +240227,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 workflow_job: type: object @@ -239067,7 +240366,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *514 + deployment: *520 required: - action - repository @@ -239147,12 +240446,12 @@ x-webhooks: type: string enum: - completed - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 - workflow: *768 + workflow: *772 workflow_run: title: Workflow Run type: object @@ -240151,12 +241450,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 - workflow: *768 + workflow: *772 workflow_run: title: Workflow Run type: object @@ -241140,12 +242439,12 @@ x-webhooks: type: string enum: - requested - enterprise: *751 - installation: *752 - organization: *753 - repository: *754 + enterprise: *755 + installation: *756 + organization: *757 + repository: *758 sender: *4 - workflow: *768 + workflow: *772 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 69a8bd8e51..bb6ccd915a 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/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": [ @@ -44945,6 +44949,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -46697,7 +46710,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" ], @@ -46852,7 +46865,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" ], @@ -47163,7 +47176,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" ], @@ -53787,6 +53800,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -54143,6 +54165,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -55920,6 +55951,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -77675,6 +77715,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -77814,6 +77863,14 @@ "nullable": true, "type": "string", "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": [ @@ -77894,6 +77951,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -79982,229 +80048,255 @@ "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": { - "nullable": true, - "type": "string", - "description": "A new name for the team." - }, - "description": { - "nullable": true, - "type": "string", - "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": { - "nullable": true, - "type": "string", - "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.", - "example": "disabled | all" - }, - "organization_selection_type": { - "type": "string", - "example": "disabled | selected | all" - }, - "group_id": { - "nullable": true, - "type": "string", - "example": "62ab9291-fae2-468e-974b-7e45096d5021" - }, - "group_name": { - "nullable": true, - "type": "string", - "description": "Retired: this field will not be returned with GHEC enterprise teams.", - "example": "Justice League" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/enterprises/dc/teams/justice-league" - }, - "members_url": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { + "notification_setting": { "type": "string", - "format": "date-time" + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] + } + }, + "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": { + "nullable": true, + "type": "string", + "description": "A new name for the team." + }, + "description": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -138192,409 +138284,4215 @@ "tags_url", "teams_url", "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_downloads", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at" + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + } + }, + "single_file": { + "type": "string", + "example": "config.yaml", + "nullable": true + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved", + "type": "string", + "enum": [ + "all", + "selected" + ] + } + }, + "required": [ + "token", + "expires_at" + ] + }, + "examples": { + "default": { + "value": { + "token": "AABF3JGZDX3P5PMEXLND6TS6FCWO6", + "expires_at": "2020-01-29T12:13:35.123-08:00" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/{runner_id}": { + "get": { + "summary": "Get a self-hosted runner for an organization", + "description": "Gets a specific self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/get-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Self hosted runners", + "description": "A self hosted runner", + "type": "object", + "properties": { + "id": { + "description": "The ID of the runner.", + "type": "integer", + "example": 5 + }, + "runner_group_id": { + "description": "The ID of the runner group.", + "type": "integer", + "example": 1 + }, + "name": { + "description": "The name of the runner.", + "type": "string", + "example": "iMac" + }, + "os": { + "description": "The Operating System of the runner.", + "type": "string", + "example": "macos" + }, + "status": { + "description": "The status of the runner.", + "type": "string", + "example": "online" + }, + "busy": { + "type": "boolean" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + }, + "ephemeral": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "os", + "status", + "busy", + "labels" + ] + }, + "examples": { + "default": { + "value": { + "id": 23, + "name": "MBP", + "os": "macos", + "status": "online", + "busy": true, + "ephemeral": false, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "delete": { + "summary": "Delete a self-hosted runner from an organization", + "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/delete-self-hosted-runner-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "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": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/{runner_id}/labels": { + "get": { + "summary": "List labels for a self-hosted runner for an organization", + "description": "Lists all labels for a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/list-labels-for-self-hosted-runner-for-org", + "externalDocs": { + "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-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "post": { + "summary": "Add custom labels to a self-hosted runner for an organization", + "description": "Adds custom labels to a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/add-custom-labels-to-self-hosted-runner-for-org", + "externalDocs": { + "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-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "labels" + ], + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "maxItems": 100, + "description": "The names of the custom labels to add to the runner.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "labels": [ + "gpu", + "accelerated" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "put": { + "summary": "Set custom labels for a self-hosted runner for an organization", + "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/set-custom-labels-for-self-hosted-runner-for-org", + "externalDocs": { + "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-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "labels" + ], + "properties": { + "labels": { + "type": "array", + "minItems": 0, + "maxItems": 100, + "description": "The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "labels": [ + "gpu", + "accelerated" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "delete": { + "summary": "Remove all custom labels from a self-hosted runner for an organization", + "description": "Remove all custom labels from a self-hosted runner configured in an\norganization. Returns the remaining read-only labels from the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/remove-all-custom-labels-from-self-hosted-runner-for-org", + "externalDocs": { + "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-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 3, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/{runner_id}/labels/{name}": { + "delete": { + "summary": "Remove a custom label from a self-hosted runner for an organization", + "description": "Remove a custom label from a self-hosted runner configured\nin an organization. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/remove-custom-label-from-self-hosted-runner-for-org", + "externalDocs": { + "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-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "name", + "description": "The name of a self-hosted runner's custom label.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/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": [ + "actions" + ], + "operationId": "actions/list-org-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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", + "example": "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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/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\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": [ + "actions" + ], + "operationId": "actions/get-org-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/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", + "example": "1234567" + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "example": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + }, + "id": { + "type": "integer", + "example": 2 + }, + "url": { + "type": "string", + "example": "https://api.github.com/user/keys/2" + }, + "title": { + "type": "string", + "example": "ssh-rsa AAAAB3NzaC1yc2EAAA" + }, + "created_at": { + "type": "string", + "example": "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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/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": [ + "actions" + ], + "operationId": "actions/get-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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", + "example": "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": "actions", + "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": [ + "actions" + ], + "operationId": "actions/create-or-update-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/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/actions/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/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-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": [ + "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": "actions", + "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": [ + "actions" + ], + "operationId": "actions/delete-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/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": [ + "actions" + ], + "operationId": "actions/list-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "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", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# 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", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string", + "nullable": true + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "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": "actions", + "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/actions/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": [ + "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": [ + { + "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/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\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/actions/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": [ + "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": [ + { + "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": "actions", + "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/actions/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": [ + "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": [ + { + "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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/variables": { + "get": { + "summary": "List organization variables", + "description": "Lists all organization 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 `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": [ + { + "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "example": "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": "actions", + "subcategory": "variables" + } + }, + "post": { + "summary": "Create an organization variable", + "description": "Creates an organization 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": [ + "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": [ + { + "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": "actions", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/actions/variables/{name}": { + "get": { + "summary": "Get an organization variable", + "description": "Gets a specific 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": [ + "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": [ + { + "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "example": "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": "actions", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update an organization variable", + "description": "Updates an organization 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": [ + "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": [ + { + "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": "actions", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Delete an organization variable", + "description": "Deletes an organization 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": [ + "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": [ + { + "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": "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\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": [ + "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": [ + { + "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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "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", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# 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", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string", + "nullable": true + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "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" ] } - }, - "single_file": { - "type": "string", - "example": "config.yaml", - "nullable": true - }, - "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", - "type": "string", - "enum": [ - "all", - "selected" - ] - } - }, - "required": [ - "token", - "expires_at" - ] - }, - "examples": { - "default": { - "value": { - "token": "AABF3JGZDX3P5PMEXLND6TS6FCWO6", - "expires_at": "2020-01-29T12:13:35.123-08:00" } } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "self-hosted-runners" - } - } - }, - "/orgs/{org}/actions/runners/{runner_id}": { - "get": { - "summary": "Get a self-hosted runner for an organization", - "description": "Gets a specific self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/get-self-hosted-runner-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Self hosted runners", - "description": "A self hosted runner", - "type": "object", - "properties": { - "id": { - "description": "The ID of the runner.", - "type": "integer", - "example": 5 - }, - "runner_group_id": { - "description": "The ID of the runner group.", - "type": "integer", - "example": 1 - }, - "name": { - "description": "The name of the runner.", - "type": "string", - "example": "iMac" - }, - "os": { - "description": "The Operating System of the runner.", - "type": "string", - "example": "macos" - }, - "status": { - "description": "The status of the runner.", - "type": "string", - "example": "online" - }, - "busy": { - "type": "boolean" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - }, - "ephemeral": { - "type": "boolean" - } - }, - "required": [ - "id", - "name", - "os", - "status", - "busy", - "labels" - ] }, "examples": { "default": { "value": { - "id": 23, - "name": "MBP", - "os": "macos", - "status": "online", - "busy": true, - "ephemeral": false, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, + "total_count": 1, + "repositories": [ { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "self-hosted-runners" - } - }, - "delete": { - "summary": "Delete a self-hosted runner from an organization", - "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/delete-self-hosted-runner-from-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - }, - "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": "actions", - "subcategory": "self-hosted-runners" - } - } - }, - "/orgs/{org}/actions/runners/{runner_id}/labels": { - "get": { - "summary": "List labels for a self-hosted runner for an organization", - "description": "Lists all labels for a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/list-labels-for-self-hosted-runner-for-org", - "externalDocs": { - "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-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." + "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 }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" + "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" } ] } @@ -138603,50 +142501,27 @@ } } }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } }, - "post": { - "summary": "Add custom labels to a self-hosted runner for an organization", - "description": "Adds custom labels to a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "put": { + "summary": "Set selected repositories for an organization variable", + "description": "Replaces all repositories for an organization 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": [ "actions" ], - "operationId": "actions/add-custom-labels-to-self-hosted-runner-for-org", + "operationId": "actions/set-selected-repos-for-org-variable", "externalDocs": { "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-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable" }, "parameters": [ { @@ -138659,12 +142534,12 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", + "name": "name", + "description": "The name of the variable.", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" } } ], @@ -138674,27 +142549,24 @@ "application/json": { "schema": { "type": "object", - "required": [ - "labels" - ], "properties": { - "labels": { + "selected_repository_ids": { "type": "array", - "minItems": 1, - "maxItems": 100, - "description": "The names of the custom labels to add to the runner.", + "description": "The IDs of the repositories that can access the organization variable.", "items": { - "type": "string" + "type": "integer" } } - } + }, + "required": [ + "selected_repository_ids" + ] }, "examples": { "default": { "value": { - "labels": [ - "gpu", - "accelerated" + "selected_repository_ids": [ + 64780797 ] } } @@ -138703,157 +142575,32 @@ } }, "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Response" }, - "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" - } - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } - }, + } + }, + "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}": { "put": { - "summary": "Set custom labels for a self-hosted runner for an organization", - "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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.", + "summary": "Add selected repository to an organization variable", + "description": "Adds a repository to an organization 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 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": [ "actions" ], - "operationId": "actions/set-custom-labels-for-self-hosted-runner-for-org", + "operationId": "actions/add-selected-repo-to-org-variable", "externalDocs": { "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-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable" }, "parameters": [ { @@ -138866,206 +142613,8 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "labels" - ], - "properties": { - "labels": { - "type": "array", - "minItems": 0, - "maxItems": 100, - "description": "The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels.", - "items": { - "type": "string" - } - } - } - }, - "examples": { - "default": { - "value": { - "labels": [ - "gpu", - "accelerated" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "self-hosted-runners" - } - }, - "delete": { - "summary": "Remove all custom labels from a self-hosted runner for an organization", - "description": "Remove all custom labels from a self-hosted runner configured in an\norganization. Returns the remaining read-only labels from the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/remove-all-custom-labels-from-self-hosted-runner-for-org", - "externalDocs": { - "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-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", + "name": "name", + "description": "The name of the variable.", "in": "path", "required": true, "schema": { @@ -139073,8 +142622,7 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", + "name": "repository_id", "in": "path", "required": true, "schema": { @@ -139083,124 +142631,30 @@ } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 3, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - } - ] - } - } - } - } - } + "204": { + "description": "Response" }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } - } - }, - "/orgs/{org}/actions/runners/{runner_id}/labels/{name}": { + }, "delete": { - "summary": "Remove a custom label from a self-hosted runner for an organization", - "description": "Remove a custom label from a self-hosted runner configured\nin an organization. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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.", + "summary": "Remove selected repository from an organization variable", + "description": "Removes a repository from an organization 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": [ "actions" ], - "operationId": "actions/remove-custom-label-from-self-hosted-runner-for-org", + "operationId": "actions/remove-selected-repo-from-org-variable", "externalDocs": { "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-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable" }, "parameters": [ { @@ -139213,178 +142667,50 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", + "name": "name", + "description": "The name of the variable.", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" } }, { - "name": "name", - "description": "The name of a self-hosted runner's custom label.", + "name": "repository_id", "in": "path", "required": true, "schema": { - "type": "string" + "type": "integer" } } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Response" }, - "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" - } - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } } }, - "/orgs/{org}/actions/secrets": { + "/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": [ - "actions" + "agents" ], - "operationId": "actions/list-org-secrets", + "operationId": "agents/list-org-secrets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-organization-secrets" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-organization-secrets" }, "parameters": [ { @@ -139518,22 +142844,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "secrets" } } }, - "/orgs/{org}/actions/secrets/public-key": { + "/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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/get-org-public-key", + "operationId": "agents/get-org-public-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-public-key" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-public-key" }, "parameters": [ { @@ -139603,22 +142929,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "secrets" } } }, - "/orgs/{org}/actions/secrets/{secret_name}": { + "/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/get-org-secret", + "operationId": "agents/get-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret" }, "parameters": [ { @@ -139703,20 +143029,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/create-or-update-org-secret", + "operationId": "agents/create-or-update-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret" }, "parameters": [ { @@ -139747,7 +143073,7 @@ "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/actions/secrets#get-an-organization-public-key) endpoint.", + "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": { @@ -139765,7 +143091,7 @@ }, "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/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-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.", + "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" } @@ -139820,20 +143146,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/delete-org-secret", + "operationId": "agents/delete-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret" }, "parameters": [ { @@ -139863,22 +143189,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "secrets" } } }, - "/orgs/{org}/actions/secrets/{secret_name}/repositories": { + "/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": [ - "actions" + "agents" ], - "operationId": "actions/list-selected-repos-for-org-secret", + "operationId": "agents/list-selected-repos-for-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret" }, "parameters": [ { @@ -140790,20 +144116,20 @@ "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`\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/actions/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/set-selected-repos-for-org-secret", + "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": [ { @@ -140834,7 +144160,7 @@ "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.", + "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" } @@ -140864,22 +144190,22 @@ "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\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/actions/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/add-selected-repo-to-org-secret", + "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": [ { @@ -140920,20 +144246,20 @@ "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`\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/actions/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/remove-selected-repo-from-org-secret", + "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": [ { @@ -140974,22 +144300,22 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/list-org-variables", + "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": [ { @@ -141136,20 +144462,20 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/create-org-variable", + "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": [ { @@ -141240,22 +144566,22 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/get-org-variable", + "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": [ { @@ -141351,20 +144677,20 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/update-org-variable", + "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": [ { @@ -141443,20 +144769,20 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/delete-org-variable", + "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": [ { @@ -141486,22 +144812,22 @@ "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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/list-selected-repos-for-org-variable", + "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": [ { @@ -142416,20 +145742,20 @@ "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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/set-selected-repos-for-org-variable", + "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": [ { @@ -142493,22 +145819,22 @@ "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.\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 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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/add-selected-repo-to-org-variable", + "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": [ { @@ -142549,20 +145875,20 @@ "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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/remove-selected-repo-from-org-variable", + "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": [ { @@ -142603,7 +145929,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "variables" } } @@ -166745,6 +170071,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -209981,6 +213316,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -319169,106 +322513,1678 @@ } }, { - "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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "before": { + "type": "string", + "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "description": "The SHA of the commit before the activity." + }, + "after": { + "type": "string", + "example": "827efc6d56897b048c772eb4087f854f46256132", + "description": "The SHA of the commit after the activity." + }, + "ref": { + "type": "string", + "example": "refs/heads/main", + "description": "The full Git reference, formatted as `refs/heads/`." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "description": "The time when the activity occurred." + }, + "activity_type": { + "type": "string", + "example": "force_push", + "enum": [ + "push", + "force_push", + "branch_deletion", + "branch_creation", + "pr_merge", + "merge_queue_merge" + ], + "description": "The type of the activity that was performed." + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + } + }, + "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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "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", + "example": "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", + "example": "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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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", + "example": "1234567" + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "example": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + }, + "id": { + "type": "integer", + "example": 2 + }, + "url": { + "type": "string", + "example": "https://api.github.com/user/keys/2" + }, + "title": { + "type": "string", + "example": "ssh-rsa AAAAB3NzaC1yc2EAAA" + }, + "created_at": { + "type": "string", + "example": "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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "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", + "example": "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", + "example": "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "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", + "example": "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", + "example": "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": [ { @@ -319290,372 +324206,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", - "example": 1296269 - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - }, - "before": { - "type": "string", - "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "description": "The SHA of the commit before the activity." - }, - "after": { - "type": "string", - "example": "827efc6d56897b048c772eb4087f854f46256132", - "description": "The SHA of the commit after the activity." - }, - "ref": { - "type": "string", - "example": "refs/heads/main", - "description": "The full Git reference, formatted as `refs/heads/`." - }, - "timestamp": { - "type": "string", - "format": "date-time", - "example": "2011-01-26T19:06:43Z", - "description": "The time when the activity occurred." - }, - "activity_type": { - "type": "string", - "example": "force_push", - "enum": [ - "push", - "force_push", - "branch_deletion", - "branch_creation", - "pr_merge", - "merge_queue_merge" - ], - "description": "The type of the activity that was performed." - }, - "actor": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - } - }, - "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" } } }, @@ -1512248,11 +1516817,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1520471,11 +1525039,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1528694,11 +1533261,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } @@ -1536917,11 +1541483,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 94710b47da..031c89e8c2 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/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: @@ -870,7 +872,7 @@ paths: - subscriptions_url - type - url - type: &468 + type: &475 type: string description: The type of credit the user is receiving. enum: @@ -1036,7 +1038,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: - - &785 + - &789 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4111,7 +4113,7 @@ paths: schema: type: integer default: 30 - - &367 + - &374 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 @@ -4120,7 +4122,7 @@ paths: required: false schema: type: string - - &368 + - &375 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4140,7 +4142,7 @@ paths: application/json: schema: type: array - items: &369 + items: &376 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4220,7 +4222,7 @@ paths: - installation_id - repository_id examples: - default: &370 + default: &377 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4252,7 +4254,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &794 + schema: &798 title: Scim Error description: Scim Error type: object @@ -4348,7 +4350,7 @@ paths: description: Response content: application/json: - schema: &371 + schema: &378 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4462,7 +4464,7 @@ paths: - request - response examples: - default: &372 + default: &379 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -5458,7 +5460,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &441 + properties: &448 id: description: Unique identifier of the repository example: 42 @@ -5909,7 +5911,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &442 + required: &449 - archive_url - assignees_url - blobs_url @@ -11621,7 +11623,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &795 + '401': &799 description: Authorization failure '404': *6 x-github: @@ -13776,7 +13778,7 @@ paths: required: true content: application/json: - schema: &305 + schema: &312 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14417,7 +14419,7 @@ paths: required: false schema: type: string - - &308 + - &315 name: include description: |- The event types to include: @@ -14435,7 +14437,7 @@ paths: - web - git - all - - &309 + - &316 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. @@ -14443,7 +14445,7 @@ paths: required: false schema: type: string - - &310 + - &317 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. @@ -14451,7 +14453,7 @@ paths: required: false schema: type: string - - &311 + - &318 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -14473,7 +14475,7 @@ paths: application/json: schema: type: array - items: &312 + items: &319 type: object properties: "@timestamp": @@ -14595,7 +14597,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &313 + default: &320 value: - "@timestamp": 1606929874512 action: team.add_member @@ -15261,7 +15263,7 @@ paths: application/json: schema: type: array - items: &314 + items: &321 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -15422,7 +15424,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &315 + default: &322 value: - id: 21 number: 42 @@ -15527,7 +15529,7 @@ paths: application/json: schema: type: array - items: &317 + items: &324 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -15652,7 +15654,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &318 + default: &325 value: - id: 21 number: 42 @@ -15737,7 +15739,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &323 + - &330 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`, @@ -15747,7 +15749,7 @@ paths: schema: &113 type: string description: The name of the tool used to generate the code scanning analysis. - - &324 + - &331 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 @@ -15770,7 +15772,7 @@ paths: be returned. in: query required: false - schema: &325 + schema: &332 type: string description: State of a code scanning alert. enum: @@ -15803,7 +15805,7 @@ paths: application/json: schema: type: array - items: &326 + items: &333 type: object properties: number: &131 @@ -15832,7 +15834,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &559 + instances_url: &565 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -15867,7 +15869,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &560 + dismissed_reason: &566 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -15876,13 +15878,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &561 + dismissed_comment: &567 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &562 + rule: &568 type: object properties: id: @@ -15935,7 +15937,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &563 + tool: &569 type: object properties: name: *113 @@ -15945,26 +15947,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *114 - most_recent_instance: &564 + most_recent_instance: &570 type: object properties: - ref: &557 + ref: &563 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &574 + analysis_key: &580 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: &575 + environment: &581 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: &576 + category: &582 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -15984,7 +15986,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: &577 + location: &583 type: object description: Describe a region within a file for the alert. properties: @@ -16005,7 +16007,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: &578 + items: &584 type: string description: A classification of the file. For example to identify it as generated. @@ -16318,7 +16320,7 @@ paths: - most_recent_instance - repository examples: - default: &327 + default: &334 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -17201,7 +17203,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &336 type: array description: A list of default code security configurations items: @@ -17217,7 +17219,7 @@ paths: default configuration: *116 examples: - default: &330 + default: &337 value: - default_for_new_repos: public configuration: @@ -17675,7 +17677,7 @@ paths: default: value: default_for_new_repos: all - configuration: &328 + configuration: &335 value: id: 1325 target_type: organization @@ -17765,7 +17767,7 @@ paths: application/json: schema: type: array - items: &331 + items: &338 type: object description: Repositories associated with a code security configuration and attachment status @@ -17789,7 +17791,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &332 + repository: &339 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -18278,7 +18280,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &319 + - &326 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -18353,7 +18355,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &407 + properties: &414 id: description: Unique identifier of the team type: integer @@ -18425,7 +18427,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &408 + required: &415 - id - node_id - url @@ -18498,6 +18500,14 @@ paths: updated_at: type: string format: date-time + notification_setting: + type: string + description: Whether team members will receive notifications + when the team is mentioned. + example: notifications_enabled + enum: + - notifications_enabled + - notifications_disabled required: - id - url @@ -19098,7 +19108,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': &339 + '413': &346 description: Payload Too Large content: application/json: @@ -19197,11 +19207,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. @@ -19275,7 +19286,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 @@ -19430,8 +19441,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 @@ -20465,7 +20476,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &344 + - &351 name: classification in: query description: |- @@ -20474,7 +20485,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &345 + - &352 name: state in: query description: |- @@ -20483,7 +20494,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &346 + - &353 name: severity in: query description: |- @@ -20492,7 +20503,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &347 + - &354 name: ecosystem in: query description: |- @@ -20501,14 +20512,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &348 + - &355 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 - - &349 + - &356 name: epss_percentage in: query description: |- @@ -20520,7 +20531,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 - - &621 + - &627 name: has in: query description: |- @@ -20534,7 +20545,7 @@ paths: type: string enum: - patch - - &350 + - &357 name: assignee in: query description: |- @@ -20543,7 +20554,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &351 + - &358 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -20553,7 +20564,7 @@ paths: enum: - development - runtime - - &352 + - &359 name: sort in: query description: |- @@ -20579,7 +20590,7 @@ paths: application/json: schema: type: array - items: &353 + items: &360 type: object description: A Dependabot alert. properties: @@ -20643,7 +20654,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &622 + security_advisory: &628 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -20882,14 +20893,14 @@ paths: nullable: true maxLength: 280 fixed_at: *141 - auto_dismissed_at: &623 + auto_dismissed_at: &629 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &624 + dismissal_request: &630 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -20951,7 +20962,7 @@ paths: - repository additionalProperties: false examples: - default: &354 + default: &361 value: - number: 2 state: dismissed @@ -21336,7 +21347,7 @@ paths: description: Response content: application/json: - schema: &355 + schema: &362 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -21362,7 +21373,7 @@ paths: nullable: true additionalProperties: false examples: - default: &356 + default: &363 value: default_level: public accessible_repositories: @@ -21584,7 +21595,7 @@ paths: - *105 - *106 - *107 - - &358 + - &365 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -21610,7 +21621,7 @@ paths: application/json: schema: type: array - items: &360 + items: &367 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -21731,7 +21742,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &361 + default: &368 value: - id: 21 number: 42 @@ -22425,7 +22436,7 @@ paths: application/json: schema: *22 examples: - default: &384 + default: &391 value: id: 1 account: @@ -22679,7 +22690,7 @@ paths: - name - created_on examples: - default: &473 + default: &480 value: total_count: 2 network_configurations: @@ -22930,7 +22941,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: - *41 - - &474 + - &481 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -22942,7 +22953,7 @@ paths: description: Response content: application/json: - schema: &475 + schema: &482 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -22976,7 +22987,7 @@ paths: - subnet_id - region examples: - default: &476 + default: &483 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -23795,7 +23806,7 @@ paths: required: true content: application/json: - schema: &440 + schema: &447 title: Custom Property Set Payload description: Custom property set payload type: object @@ -24988,7 +24999,7 @@ paths: nullable: true anyOf: - *166 - - &446 + - &453 title: Organization ruleset conditions type: object description: |- @@ -25035,7 +25046,7 @@ paths: - *169 rules: type: array - items: &751 + items: &755 title: Repository Rule type: object description: A repository rule. @@ -25044,7 +25055,7 @@ paths: - *175 - *176 - *177 - - &749 + - &753 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -25372,7 +25383,7 @@ paths: type: string format: date-time examples: - default: &449 + default: &456 value: - version_id: 3 actor: @@ -25425,7 +25436,7 @@ paths: description: Response content: application/json: - schema: &450 + schema: &457 allOf: - *199 - type: object @@ -25480,7 +25491,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &451 + - &458 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -25491,7 +25502,7 @@ paths: enum: - open - resolved - - &452 + - &459 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -25501,7 +25512,7 @@ paths: required: false schema: type: string - - &453 + - &460 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -25512,7 +25523,7 @@ paths: required: false schema: type: string - - &454 + - &461 name: exclude_providers in: query description: |- @@ -25523,7 +25534,7 @@ paths: required: false schema: type: string - - &455 + - &462 name: providers in: query description: |- @@ -25534,7 +25545,7 @@ paths: required: false schema: type: string - - &456 + - &463 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -25543,7 +25554,7 @@ paths: required: false schema: type: string - - &457 + - &464 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -25562,7 +25573,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &458 + - &465 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. @@ -25578,7 +25589,7 @@ paths: - *17 - *110 - *111 - - &459 + - &466 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -25587,7 +25598,7 @@ paths: required: false schema: type: string - - &460 + - &467 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -25596,7 +25607,7 @@ paths: schema: type: boolean default: false - - &461 + - &468 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -25605,7 +25616,7 @@ paths: schema: type: boolean default: false - - &462 + - &469 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -25614,7 +25625,7 @@ paths: schema: type: boolean default: false - - &463 + - &470 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -25632,7 +25643,7 @@ paths: application/json: schema: type: array - items: &464 + items: &471 type: object properties: number: *131 @@ -25651,14 +25662,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &763 + state: &767 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: &764 + resolution: &768 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -25775,8 +25786,8 @@ paths: pull request. ' - oneOf: &765 - - &767 + oneOf: &769 + - &771 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -25834,7 +25845,7 @@ paths: - blob_url - commit_sha - commit_url - - &768 + - &772 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. @@ -25889,7 +25900,7 @@ paths: - page_url - commit_sha - commit_url - - &769 + - &773 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -25909,7 +25920,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &770 + - &774 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -25929,7 +25940,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &771 + - &775 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -25949,7 +25960,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &772 + - &776 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -25963,7 +25974,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &773 + - &777 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -25977,7 +25988,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &774 + - &778 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -25991,7 +26002,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &775 + - &779 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. @@ -26011,7 +26022,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &776 + - &780 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. @@ -26031,7 +26042,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &777 + - &781 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. @@ -26051,7 +26062,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &778 + - &782 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. @@ -26071,7 +26082,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &779 + - &783 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 request. @@ -26119,7 +26130,7 @@ paths: required: *21 nullable: true examples: - default: &465 + default: &472 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -26328,7 +26339,7 @@ paths: description: Response content: application/json: - schema: &466 + schema: &473 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -26411,7 +26422,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *201 examples: - default: &467 + default: &474 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -26547,7 +26558,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &470 + - &477 name: advanced_security_product in: query description: | @@ -26567,7 +26578,7 @@ paths: description: Success content: application/json: - schema: &471 + schema: &478 type: object properties: total_advanced_security_committers: @@ -26622,7 +26633,7 @@ paths: required: - repositories examples: - default: &472 + default: &479 value: total_advanced_security_committers: 2 total_count: 2 @@ -28906,6 +28917,18 @@ paths: type: string 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: @@ -29503,6 +29526,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: @@ -29734,7 +29767,7 @@ paths: properties: action: type: string - discussion: &903 + discussion: &907 title: Discussion description: A Discussion in a repository. type: object @@ -30101,7 +30134,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &683 + properties: &687 id: type: integer format: int64 @@ -30214,7 +30247,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &429 + properties: &436 url: type: string format: uri @@ -30284,7 +30317,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &430 + required: &437 - closed_issues - creator - description @@ -30363,7 +30396,7 @@ paths: timeline_url: type: string format: uri - type: &394 + type: &401 title: Issue Type description: The type of issue. type: object @@ -30477,7 +30510,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &822 + sub_issues_summary: &826 title: Sub-issues Summary type: object properties: @@ -30564,7 +30597,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &706 + properties: &710 pinned_at: type: string format: date-time @@ -30576,7 +30609,7 @@ paths: properties: *20 required: *21 nullable: true - required: &707 + required: &711 - pinned_at - pinned_by nullable: true @@ -30590,7 +30623,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &823 + issue_dependencies_summary: &827 title: Issue Dependencies Summary type: object properties: @@ -30609,7 +30642,7 @@ paths: - total_blocking issue_field_values: type: array - items: &690 + items: &694 title: Issue Field Value description: A value assigned to an issue field type: object @@ -30670,7 +30703,7 @@ paths: - node_id - data_type - value - required: &684 + required: &688 - assignee - closed_at - comments @@ -30708,7 +30741,7 @@ paths: action: type: string issue: *229 - comment: &679 + comment: &683 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -31372,7 +31405,7 @@ paths: type: string release: allOf: - - &742 + - &746 title: Release description: A release. type: object @@ -31443,7 +31476,7 @@ paths: author: *4 assets: type: array - items: &743 + items: &747 title: Release Asset description: Data related to a release. type: object @@ -32022,7 +32055,7 @@ paths: url: type: string format: uri - user: &829 + user: &833 title: Public User description: Public User type: object @@ -33887,7 +33920,7 @@ paths: - closed - all default: open - - &397 + - &404 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -33938,7 +33971,7 @@ paths: type: array items: *229 examples: - default: &398 + default: &405 value: - id: 1 node_id: MDU6SXNzdWUx @@ -35323,14 +35356,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: - - &485 + - &492 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &486 + - &493 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -35392,7 +35425,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &491 + '301': &498 description: Moved permanently content: application/json: @@ -35414,7 +35447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &716 + - &720 name: all description: If `true`, show notifications marked as read. in: query @@ -35422,7 +35455,7 @@ paths: schema: type: boolean default: false - - &717 + - &721 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -35432,7 +35465,7 @@ paths: type: boolean default: false - *236 - - &718 + - &722 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: @@ -35468,7 +35501,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &362 + properties: &369 id: type: integer format: int64 @@ -35754,7 +35787,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &443 + security_and_analysis: &450 nullable: true type: object properties: @@ -35882,7 +35915,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &363 + required: &370 - archive_url - assignees_url - blobs_url @@ -35970,7 +36003,7 @@ paths: - url - subscription_url examples: - default: &719 + default: &723 value: - id: '1' repository: @@ -36567,7 +36600,7 @@ paths: type: integer custom_roles: type: array - items: &340 + items: &347 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -36615,7 +36648,7 @@ paths: - created_at - updated_at examples: - default: &341 + default: &348 value: id: 8030 name: Security Engineer @@ -36822,7 +36855,7 @@ paths: type: array items: *160 examples: - default: &725 + default: &729 value: - property_name: environment value: production @@ -36872,7 +36905,7 @@ paths: required: - properties examples: - default: &726 + default: &730 value: properties: - property_name: environment @@ -37685,7 +37718,7 @@ paths: type: integer repository_cache_usages: type: array - items: &498 + items: &505 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -39949,7 +39982,7 @@ paths: type: array items: *290 examples: - default: &338 + default: &345 value: total_count: 1 repositories: @@ -40944,7 +40977,7 @@ paths: - updated_at - visibility examples: - default: + default: &305 value: total_count: 3 secrets: @@ -40991,7 +41024,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &306 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -41020,7 +41053,7 @@ paths: - key_id - key examples: - default: &519 + default: &307 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41060,7 +41093,7 @@ paths: application/json: schema: *299 examples: - default: + default: &308 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -41220,97 +41253,961 @@ paths: type: array items: *290 examples: - default: &304 - 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: &304 + 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: + - *89 + - *300 + 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: + - *89 + - *300 + - 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: + - *89 + - *300 + - 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: + - *89 + - &309 + 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: &302 + title: Actions Variable for an Organization + description: Organization variable for GitHub Actions. + type: object + properties: + name: + description: The name of the variable. + example: USERNAME + type: string + value: + description: The value of the variable. + example: octocat + type: string + created_at: + description: The date and time at which the variable was + created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + example: '2019-01-24T22:45:36.000Z' + type: string + format: date-time + updated_at: + description: The date and time at which the variable was + last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + example: '2019-01-24T22:45:36.000Z' + type: string + format: date-time + visibility: + description: Visibility of a variable + enum: + - all + - private + - selected + type: string + selected_repositories_url: + type: string + format: uri + example: https://api.github.com/organizations/org/variables/USERNAME/repositories + required: + - name + - value + - created_at + - updated_at + - visibility + examples: + default: &310 + 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: *47 + 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: + - *89 + 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: *301 + 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: + - *89 + - &303 + name: name + description: The name of the variable. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *302 + examples: + default: &311 + 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: + - *89 + - *303 + 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: + - *89 + - *303 + 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: + - *89 + - *303 + - *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: *290 + examples: + default: *304 + '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: + - *89 + - *303 + 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: + - *89 + - *303 + - 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: + - *89 + - *303 + - 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: + - *89 + - *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: *299 + examples: + default: *305 + headers: + Link: *47 + 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: + - *89 + responses: + '200': + description: Response + content: + application/json: + schema: *306 + examples: + default: *307 + 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: + - *89 + - *300 + responses: + '200': + description: Response + content: + application/json: + schema: *299 + examples: + default: *308 + 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: + - *89 + - *300 + 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: *301 + 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: + - *89 + - *300 + 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: + - *89 + - *300 + - *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: *290 + examples: + default: *304 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: - *89 - *300 @@ -41327,8 +42224,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 @@ -41345,25 +42242,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: - *89 - *300 @@ -41380,24 +42277,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: - *89 - *300 @@ -41414,33 +42311,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: - *89 - - &503 - 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 + - *309 - *19 responses: '200': @@ -41457,90 +42348,30 @@ paths: type: integer variables: type: array - items: &302 - title: Actions Variable for an Organization - description: Organization variable for GitHub Actions. - type: object - properties: - name: - description: The name of the variable. - example: USERNAME - type: string - value: - description: The value of the variable. - example: octocat - type: string - created_at: - description: The date and time at which the variable was - created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - example: '2019-01-24T22:45:36.000Z' - type: string - format: date-time - updated_at: - description: The date and time at which the variable was - last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - example: '2019-01-24T22:45:36.000Z' - type: string - format: date-time - visibility: - description: Visibility of a variable - enum: - - all - - private - - selected - type: string - selected_repositories_url: - type: string - format: uri - example: https://api.github.com/organizations/org/variables/USERNAME/repositories - required: - - name - - value - - created_at - - updated_at - - visibility + items: *302 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: *310 headers: Link: *47 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: - *89 requestBody: @@ -41597,32 +42428,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: - *89 - - &303 - name: name - description: The name of the variable. - in: path - required: true - schema: - type: string + - *303 responses: '200': description: Response @@ -41630,33 +42455,26 @@ paths: application/json: schema: *302 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: *311 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: - *89 - *303 @@ -41704,22 +42522,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: - *89 - *303 @@ -41729,24 +42547,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: - *89 - *303 @@ -41776,12 +42594,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`. @@ -41789,11 +42607,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: - *89 - *303 @@ -41826,24 +42644,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: - *89 - *303 @@ -41861,12 +42679,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`. @@ -41874,11 +42692,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: - *89 - *303 @@ -41896,7 +42714,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables "/orgs/{org}/announcement": get: @@ -41939,7 +42757,7 @@ paths: required: true content: application/json: - schema: *305 + schema: *312 examples: default: *87 parameters: @@ -42123,7 +42941,7 @@ paths: type: integer deployment_records: type: array - items: &306 + items: &313 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -42169,7 +42987,7 @@ paths: required: - total_count examples: - default: &307 + default: &314 value: total_count: 1 deployment_records: @@ -42347,11 +43165,11 @@ paths: type: integer deployment_records: type: array - items: *306 + items: *313 required: - total_count examples: - default: *307 + default: *314 '403': description: Forbidden content: @@ -42586,9 +43404,9 @@ paths: type: integer deployment_records: type: array - items: *306 + items: *313 examples: - default: *307 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42717,12 +43535,12 @@ paths: required: - subject_digests examples: - default: &861 + default: &865 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &862 + withPredicateType: &866 value: subject_digests: - sha256:abc123 @@ -42780,7 +43598,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &863 + default: &867 value: attestations_subject_digests: - sha256:abc: @@ -43130,7 +43948,7 @@ paths: initiator: type: string examples: - default: &532 + default: &538 value: attestations: - bundle: @@ -43256,10 +44074,10 @@ paths: required: false schema: type: string - - *308 - - *309 - - *310 - - *311 + - *315 + - *316 + - *317 + - *318 - *17 responses: '200': @@ -43268,9 +44086,9 @@ paths: application/json: schema: type: array - items: *312 + items: *319 examples: - default: *313 + default: *320 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -43393,7 +44211,7 @@ paths: subcategory: bypass-requests parameters: - *89 - - &316 + - &323 name: repository_name description: The name of the repository to filter on. in: query @@ -43412,9 +44230,9 @@ paths: application/json: schema: type: array - items: *314 + items: *321 examples: - default: *315 + default: *322 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -43438,7 +44256,7 @@ paths: subcategory: delegated-bypass parameters: - *89 - - *316 + - *323 - *105 - *106 - *107 @@ -43452,9 +44270,9 @@ paths: application/json: schema: type: array - items: *317 + items: *324 examples: - default: *318 + default: *325 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -43481,7 +44299,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &320 + schema: &327 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -43507,7 +44325,7 @@ paths: application/json: schema: type: array - items: &321 + items: &328 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -43538,7 +44356,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *319 + items: *326 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -43556,7 +44374,7 @@ paths: type: string format: date-time nullable: true - state: *320 + state: *327 contact_link: description: The contact link of the campaign. type: string @@ -43776,9 +44594,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: &322 + default: &329 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -43861,9 +44679,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: *322 + default: *329 '404': *6 '422': description: Unprocessable Entity @@ -43940,7 +44758,7 @@ paths: type: string format: uri nullable: true - state: *320 + state: *327 examples: default: value: @@ -43950,9 +44768,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: *322 + default: *329 '400': description: Bad Request content: @@ -44019,8 +44837,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *89 - - *323 - - *324 + - *330 + - *331 - *110 - *111 - *19 @@ -44031,7 +44849,7 @@ paths: be returned. in: query required: false - schema: *325 + schema: *332 - name: sort description: The property by which to sort the results. in: query @@ -44047,7 +44865,7 @@ paths: be returned. in: query required: false - schema: &558 + schema: &564 type: string description: Severity of a code scanning alert. enum: @@ -44073,9 +44891,9 @@ paths: application/json: schema: type: array - items: *326 + items: *333 examples: - default: *327 + default: *334 headers: Link: *47 '404': *6 @@ -44451,7 +45269,7 @@ paths: application/json: schema: *116 examples: - default: *328 + default: *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44479,9 +45297,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *336 examples: - default: *330 + default: *337 '304': *37 '403': *29 '404': *6 @@ -44570,7 +45388,7 @@ paths: application/json: schema: *116 examples: - default: *328 + default: *335 '304': *37 '403': *29 '404': *6 @@ -45015,7 +45833,7 @@ paths: default: value: default_for_new_repos: all - configuration: *328 + configuration: *335 '403': *29 '404': *6 x-github: @@ -45068,13 +45886,13 @@ paths: application/json: schema: type: array - items: *331 + items: *338 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *332 + repository: *339 '403': *29 '404': *6 x-github: @@ -45114,7 +45932,7 @@ paths: type: integer codespaces: type: array - items: &399 + items: &406 type: object title: Codespace description: A codespace. @@ -45144,7 +45962,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &590 + properties: &596 name: type: string description: The name of the machine. @@ -45186,7 +46004,7 @@ paths: - ready - in_progress nullable: true - required: &591 + required: &597 - name - display_name - operating_system @@ -45391,7 +46209,7 @@ paths: - pulls_url - recent_folders examples: - default: &400 + default: &407 value: total_count: 3 codespaces: @@ -46015,7 +46833,7 @@ paths: type: integer secrets: type: array - items: &333 + items: &340 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -46054,7 +46872,7 @@ paths: - updated_at - visibility examples: - default: &592 + default: &598 value: total_count: 2 secrets: @@ -46092,7 +46910,7 @@ paths: description: Response content: application/json: - schema: &593 + schema: &599 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -46121,7 +46939,7 @@ paths: - key_id - key examples: - default: &594 + default: &600 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -46151,9 +46969,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *340 examples: - default: &596 + default: &602 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -46485,7 +47303,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &334 + items: &341 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -46864,9 +47682,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: &335 + default: &342 summary: Example response for an organization copilot space value: id: 84 @@ -46969,9 +47787,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *335 + default: *342 '403': *29 '404': *6 x-github: @@ -47095,9 +47913,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *335 + default: *342 '403': *29 '404': *6 '422': *15 @@ -47176,7 +47994,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &336 + items: &343 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -47397,7 +48215,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *343 examples: user: value: @@ -47525,7 +48343,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *343 examples: user: value: @@ -47672,7 +48490,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &337 + items: &344 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -47813,7 +48631,7 @@ paths: description: Resource created content: application/json: - schema: *337 + schema: *344 examples: default: value: @@ -47829,7 +48647,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *337 + schema: *344 examples: default: value: @@ -47882,7 +48700,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *344 examples: default: value: @@ -47949,7 +48767,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *344 examples: default: value: @@ -48680,7 +49498,7 @@ paths: - total_count - repositories examples: - default: *338 + default: *345 '500': *40 '401': *25 '403': *29 @@ -48948,7 +49766,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': *339 + '413': *346 '422': *7 x-github: githubCloudOnly: @@ -49381,7 +50199,7 @@ paths: type: integer custom_roles: type: array - items: *340 + items: *347 examples: default: value: @@ -49473,7 +50291,7 @@ paths: required: true content: application/json: - schema: &342 + schema: &349 type: object properties: name: @@ -49514,9 +50332,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *347 examples: - default: *341 + default: *348 '422': *15 '404': *6 x-github: @@ -49547,9 +50365,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *347 examples: - default: *341 + default: *348 '404': *6 x-github: githubCloudOnly: true @@ -49577,7 +50395,7 @@ paths: required: true content: application/json: - schema: &343 + schema: &350 type: object properties: name: @@ -49615,9 +50433,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *347 examples: - default: *341 + default: *348 '422': *15 '404': *6 x-github: @@ -49675,7 +50493,7 @@ paths: required: true content: application/json: - schema: *342 + schema: *349 examples: default: value: @@ -49689,9 +50507,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *347 examples: - default: *341 + default: *348 '422': *15 '404': *6 x-github: @@ -49728,9 +50546,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *347 examples: - default: *341 + default: *348 '404': *6 x-github: githubCloudOnly: true @@ -49764,7 +50582,7 @@ paths: required: true content: application/json: - schema: *343 + schema: *350 examples: default: value: @@ -49779,9 +50597,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *347 examples: - default: *341 + default: *348 '422': *15 '404': *6 x-github: @@ -49841,12 +50659,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *89 - - *344 - - *345 - - *346 - - *347 - - *348 - - *349 + - *351 + - *352 + - *353 + - *354 + - *355 + - *356 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -49876,7 +50694,7 @@ paths: enum: - patch - deployment - - *350 + - *357 - name: runtime_risk in: query description: |- @@ -49885,8 +50703,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *351 - - *352 + - *358 + - *359 - *112 - *110 - *111 @@ -49898,9 +50716,9 @@ paths: application/json: schema: type: array - items: *353 + items: *360 examples: - default: *354 + default: *361 '304': *37 '400': *14 '403': *29 @@ -49949,9 +50767,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *362 examples: - default: *356 + default: *363 '403': *29 '404': *6 x-github: @@ -50114,7 +50932,7 @@ paths: type: integer secrets: type: array - items: &357 + items: &364 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -50191,7 +51009,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &633 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -50208,7 +51026,7 @@ paths: - key_id - key examples: - default: &628 + default: &634 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -50238,7 +51056,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *364 examples: default: value: @@ -50536,7 +51354,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - &637 + - &643 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -50544,7 +51362,7 @@ paths: required: false schema: type: string - - &638 + - &644 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -50552,7 +51370,7 @@ paths: required: false schema: type: string - - &639 + - &645 name: time_period description: |- The time period to filter by. @@ -50568,7 +51386,7 @@ paths: - week - month default: month - - &640 + - &646 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -50583,7 +51401,7 @@ paths: - denied - all default: all - - *316 + - *323 - *17 - *19 responses: @@ -50593,7 +51411,7 @@ paths: application/json: schema: type: array - items: &641 + items: &647 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -50699,7 +51517,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: &359 + items: &366 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -50749,7 +51567,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &642 + default: &648 value: - id: 21 number: 42 @@ -50837,11 +51655,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - *316 + - *323 - *105 - *106 - *107 - - *358 + - *365 - *17 - *19 responses: @@ -50851,7 +51669,7 @@ paths: application/json: schema: type: array - items: &643 + items: &649 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -50957,7 +51775,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *359 + items: *366 url: type: string format: uri @@ -50968,7 +51786,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &644 + default: &650 value: - id: 21 number: 42 @@ -51056,11 +51874,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - *316 + - *323 - *105 - *106 - *107 - - *358 + - *365 - *17 - *19 responses: @@ -51070,9 +51888,9 @@ paths: application/json: schema: type: array - items: *360 + items: *367 examples: - default: *361 + default: *368 '404': *6 '403': *29 '500': *40 @@ -51098,7 +51916,7 @@ paths: application/json: schema: type: array - items: &410 + items: &417 title: Package description: A software package type: object @@ -51148,8 +51966,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *362 - required: *363 + properties: *369 + required: *370 nullable: true created_at: type: string @@ -51168,7 +51986,7 @@ paths: - created_at - updated_at examples: - default: &411 + default: &418 value: - id: 197 name: hello_docker @@ -51355,7 +52173,7 @@ paths: description: Response content: application/json: - schema: &482 + schema: &489 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -51436,7 +52254,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &483 + default: &490 value: group_id: '123' group_name: Octocat admins @@ -51491,7 +52309,7 @@ paths: description: Response content: application/json: - schema: &479 + schema: &486 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -51528,7 +52346,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &480 + default: &487 value: groups: - group_id: '123' @@ -51573,7 +52391,7 @@ paths: application/json: schema: type: array - items: &388 + items: &395 title: Organization Invitation description: Organization Invitation type: object @@ -51620,7 +52438,7 @@ paths: - invitation_teams_url - node_id examples: - default: &389 + default: &396 value: - id: 1 login: monalisa @@ -51687,7 +52505,7 @@ paths: application/json: schema: type: array - items: &444 + items: &451 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -51701,7 +52519,7 @@ paths: - name - description examples: - default: &445 + default: &452 value: - name: add_assignee description: Assign or remove a user @@ -51742,7 +52560,7 @@ paths: application/json: schema: type: array - items: &364 + items: &371 title: Org Hook description: Org Hook type: object @@ -51911,9 +52729,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *371 examples: - default: &365 + default: &372 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -51958,7 +52776,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - *89 - - &366 + - &373 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. @@ -51971,9 +52789,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *371 examples: - default: *365 + default: *372 '404': *6 x-github: githubCloudOnly: false @@ -51995,7 +52813,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - *89 - - *366 + - *373 requestBody: required: false content: @@ -52040,7 +52858,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *371 examples: default: value: @@ -52080,7 +52898,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *89 - - *366 + - *373 responses: '204': description: Response @@ -52106,7 +52924,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *89 - - *366 + - *373 responses: '200': description: Response @@ -52135,7 +52953,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *89 - - *366 + - *373 requestBody: required: false content: @@ -52184,10 +53002,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *89 - - *366 + - *373 - *17 - - *367 - - *368 + - *374 + - *375 responses: '200': description: Response @@ -52195,9 +53013,9 @@ paths: application/json: schema: type: array - items: *369 + items: *376 examples: - default: *370 + default: *377 '400': *14 '422': *15 x-github: @@ -52221,16 +53039,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *89 - - *366 + - *373 - *16 responses: '200': description: Response content: application/json: - schema: *371 + schema: *378 examples: - default: *372 + default: *379 '400': *14 '422': *15 x-github: @@ -52254,7 +53072,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *89 - - *366 + - *373 - *16 responses: '202': *39 @@ -52281,7 +53099,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *89 - - *366 + - *373 responses: '204': description: Response @@ -52304,7 +53122,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *89 - - &377 + - &384 name: actor_type in: path description: The type of the actor @@ -52317,14 +53135,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &378 + - &385 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &373 + - &380 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`.' @@ -52332,7 +53150,7 @@ paths: required: true schema: type: string - - &374 + - &381 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) @@ -52426,12 +53244,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - *89 - - *373 - - *374 + - *380 + - *381 - *19 - *17 - *112 - - &383 + - &390 name: sort description: The property to sort the results by. in: query @@ -52509,14 +53327,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - *89 - - *373 - - *374 + - *380 + - *381 responses: '200': description: Response content: application/json: - schema: &375 + schema: &382 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -52532,7 +53350,7 @@ paths: type: integer format: int64 examples: - default: &376 + default: &383 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -52553,23 +53371,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *89 - - &379 + - &386 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *373 - - *374 + - *380 + - *381 responses: '200': description: Response content: application/json: - schema: *375 + schema: *382 examples: - default: *376 + default: *383 x-github: enabledForGitHubApps: true category: orgs @@ -52588,18 +53406,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *89 - - *373 - - *374 - - *377 - - *378 + - *380 + - *381 + - *384 + - *385 responses: '200': description: Response content: application/json: - schema: *375 + schema: *382 examples: - default: *376 + default: *383 x-github: enabledForGitHubApps: true category: orgs @@ -52617,9 +53435,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - *89 - - *373 - - *374 - - &380 + - *380 + - *381 + - &387 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -52632,7 +53450,7 @@ paths: description: Response content: application/json: - schema: &381 + schema: &388 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -52648,7 +53466,7 @@ paths: type: integer format: int64 examples: - default: &382 + default: &389 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -52685,18 +53503,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - *89 - - *379 - - *373 - - *374 + - *386 - *380 + - *381 + - *387 responses: '200': description: Response content: application/json: - schema: *381 + schema: *388 examples: - default: *382 + default: *389 x-github: enabledForGitHubApps: true category: orgs @@ -52714,19 +53532,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *89 - - *377 - - *378 - - *373 - - *374 + - *384 + - *385 - *380 + - *381 + - *387 responses: '200': description: Response content: application/json: - schema: *381 + schema: *388 examples: - default: *382 + default: *389 x-github: enabledForGitHubApps: true category: orgs @@ -52744,13 +53562,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - *89 - - *379 - - *373 - - *374 + - *386 + - *380 + - *381 - *19 - *17 - *112 - - *383 + - *390 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -52831,7 +53649,7 @@ paths: application/json: schema: *22 examples: - default: *384 + default: *391 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -52951,12 +53769,12 @@ paths: application/json: schema: anyOf: - - &386 + - &393 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &385 + limit: &392 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -52981,7 +53799,7 @@ paths: properties: {} additionalProperties: false examples: - default: &387 + default: &394 value: limit: collaborators_only origin: organization @@ -53010,13 +53828,13 @@ paths: required: true content: application/json: - schema: &675 + schema: &679 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *385 + limit: *392 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -53040,9 +53858,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *393 examples: - default: *387 + default: *394 '422': *15 x-github: githubCloudOnly: false @@ -53120,9 +53938,9 @@ paths: application/json: schema: type: array - items: *388 + items: *395 examples: - default: *389 + default: *396 headers: Link: *47 '404': *6 @@ -53200,7 +54018,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *395 examples: default: value: @@ -53257,7 +54075,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - *89 - - &390 + - &397 name: invitation_id description: The unique identifier of the invitation. in: path @@ -53291,7 +54109,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - *89 - - *390 + - *397 - *17 - *19 responses: @@ -53301,9 +54119,9 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: - default: &409 + default: &416 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -53346,7 +54164,7 @@ paths: application/json: schema: type: array - items: &391 + items: &398 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -53579,9 +54397,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *398 examples: - default: &392 + default: &399 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -53637,7 +54455,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *89 - - &393 + - &400 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -53745,9 +54563,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *398 examples: - default: *392 + default: *399 '404': *6 '422': *7 x-github: @@ -53772,7 +54590,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *89 - - *393 + - *400 responses: '204': *130 '404': *6 @@ -53802,7 +54620,7 @@ paths: application/json: schema: type: array - items: *394 + items: *401 examples: default: value: @@ -53887,9 +54705,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *401 examples: - default: &395 + default: &402 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -53922,7 +54740,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *89 - - &396 + - &403 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -53975,9 +54793,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *401 examples: - default: *395 + default: *402 '404': *6 '422': *7 x-github: @@ -54002,7 +54820,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *89 - - *396 + - *403 responses: '204': description: Response @@ -54065,7 +54883,7 @@ paths: - closed - all default: open - - *397 + - *404 - name: type description: Can be the name of an issue type. in: query @@ -54096,7 +54914,7 @@ paths: type: array items: *229 examples: - default: *398 + default: *405 headers: Link: *47 '404': *6 @@ -54255,9 +55073,9 @@ paths: type: integer codespaces: type: array - items: *399 + items: *406 examples: - default: *400 + default: *407 '304': *37 '500': *40 '401': *25 @@ -54284,7 +55102,7 @@ paths: parameters: - *89 - *148 - - &401 + - &408 name: codespace_name in: path required: true @@ -54319,15 +55137,15 @@ paths: parameters: - *89 - *148 - - *401 + - *408 responses: '200': description: Response content: application/json: - schema: *399 + schema: *406 examples: - default: &589 + default: &595 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -54583,7 +55401,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &409 title: Org Membership description: Org Membership type: object @@ -54650,7 +55468,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &403 + response-if-user-has-an-active-admin-membership-with-organization: &410 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -54751,9 +55569,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *409 examples: - response-if-user-already-had-membership-with-organization: *403 + response-if-user-already-had-membership-with-organization: *410 '422': *15 '403': *29 x-github: @@ -54824,7 +55642,7 @@ paths: application/json: schema: type: array - items: &404 + items: &411 title: Migration description: A migration. type: object @@ -55153,7 +55971,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *411 examples: default: value: @@ -55332,7 +56150,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - *89 - - &405 + - &412 name: migration_id description: The unique identifier of the migration. in: path @@ -55359,7 +56177,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *404 + schema: *411 examples: default: value: @@ -55529,7 +56347,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *89 - - *405 + - *412 responses: '302': description: Response @@ -55551,7 +56369,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *89 - - *405 + - *412 responses: '204': description: Response @@ -55575,8 +56393,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - *89 - - *405 - - &844 + - *412 + - &848 name: repo_name description: repo_name parameter in: path @@ -55604,7 +56422,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *89 - - *405 + - *412 - *17 - *19 responses: @@ -55616,7 +56434,7 @@ paths: type: array items: *290 examples: - default: &416 + default: &423 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -55827,7 +56645,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &406 + items: &413 title: Organization Role description: Organization roles type: object @@ -56034,7 +56852,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *413 examples: default: value: @@ -56264,7 +57082,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *413 examples: default: value: @@ -56361,7 +57179,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *413 examples: default: value: @@ -56519,8 +57337,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *407 - required: *408 + properties: *414 + required: *415 nullable: true type: description: The ownership type of the team @@ -56552,7 +57370,7 @@ paths: - type - parent examples: - default: *409 + default: *416 headers: Link: *47 '404': @@ -56610,13 +57428,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &469 + items: &476 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *407 - required: *408 + properties: *414 + required: *415 name: nullable: true type: string @@ -56904,7 +57722,7 @@ paths: - nuget - container - *89 - - &845 + - &849 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -56940,12 +57758,12 @@ paths: application/json: schema: type: array - items: *410 + items: *417 examples: - default: *411 + default: *418 '403': *29 '401': *25 - '400': &847 + '400': &851 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -56967,7 +57785,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &412 + - &419 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 @@ -56985,7 +57803,7 @@ paths: - docker - nuget - container - - &413 + - &420 name: package_name description: The name of the package. in: path @@ -56998,7 +57816,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *417 examples: default: value: @@ -57050,8 +57868,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *412 - - *413 + - *419 + - *420 - *89 responses: '204': @@ -57084,8 +57902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *412 - - *413 + - *419 + - *420 - *89 - name: token description: package token @@ -57118,8 +57936,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: - - *412 - - *413 + - *419 + - *420 - *89 - *19 - *17 @@ -57140,7 +57958,7 @@ paths: application/json: schema: type: array - items: &414 + items: &421 title: Package Version description: A version of a software package type: object @@ -57265,10 +58083,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: - - *412 - - *413 + - *419 + - *420 - *89 - - &415 + - &422 name: package_version_id description: Unique identifier of the package version. in: path @@ -57280,7 +58098,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *421 examples: default: value: @@ -57316,10 +58134,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *412 - - *413 + - *419 + - *420 - *89 - - *415 + - *422 responses: '204': description: Response @@ -57351,10 +58169,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *412 - - *413 + - *419 + - *420 - *89 - - *415 + - *422 responses: '204': description: Response @@ -57384,7 +58202,7 @@ paths: - *89 - *17 - *19 - - &417 + - &424 name: sort description: The property by which to sort the results. in: query @@ -57395,7 +58213,7 @@ paths: - created_at default: created_at - *112 - - &418 + - &425 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -57406,7 +58224,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &419 + - &426 name: repository description: The name of the repository to use to filter the results. in: query @@ -57414,7 +58232,7 @@ paths: schema: type: string example: Hello-World - - &420 + - &427 name: permission description: The permission to use to filter the results. in: query @@ -57422,7 +58240,7 @@ paths: schema: type: string example: issues_read - - &421 + - &428 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) @@ -57432,7 +58250,7 @@ paths: schema: type: string format: date-time - - &422 + - &429 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) @@ -57442,7 +58260,7 @@ paths: schema: type: string format: date-time - - &423 + - &430 name: token_id description: The ID of the token in: query @@ -57755,7 +58573,7 @@ paths: type: array items: *290 examples: - default: *416 + default: *423 headers: Link: *47 x-github: @@ -57781,14 +58599,14 @@ paths: - *89 - *17 - *19 - - *417 + - *424 - *112 - - *418 - - *419 - - *420 - - *421 - - *422 - - *423 + - *425 + - *426 + - *427 + - *428 + - *429 + - *430 responses: '500': *40 '422': *15 @@ -58070,7 +58888,7 @@ paths: type: array items: *290 examples: - default: *416 + default: *423 headers: Link: *47 x-github: @@ -58112,7 +58930,7 @@ paths: type: integer configurations: type: array - items: &424 + items: &431 title: Organization private registry description: Private registry configuration for an organization type: object @@ -58623,7 +59441,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &425 + org-private-registry-with-selected-visibility: &432 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -58719,9 +59537,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *424 + schema: *431 examples: - default: *425 + default: *432 '404': *6 x-github: githubCloudOnly: false @@ -58972,7 +59790,7 @@ paths: application/json: schema: type: array - items: &426 + items: &433 title: Projects v2 Project description: A projects v2 project type: object @@ -59042,7 +59860,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &939 + properties: &943 id: type: number description: The unique identifier of the status update. @@ -59090,7 +59908,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &940 + required: &944 - id - node_id - created_at @@ -59115,7 +59933,7 @@ paths: - deleted_at - deleted_by examples: - default: &427 + default: &434 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -59218,7 +60036,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &428 + - &435 name: project_number description: The project's number. in: path @@ -59231,9 +60049,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *433 examples: - default: *427 + default: *434 headers: Link: *47 '304': *37 @@ -59256,7 +60074,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *89 - - *428 + - *435 requestBody: required: true description: Details of the draft item to create in the project. @@ -59290,7 +60108,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &441 title: Projects v2 Item description: An item belonging to a project type: object @@ -59304,7 +60122,7 @@ paths: content: oneOf: - *229 - - &606 + - &612 title: Pull Request Simple description: Pull Request Simple type: object @@ -59410,8 +60228,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *429 - required: *430 + properties: *436 + required: *437 nullable: true active_lock_reason: type: string @@ -59454,7 +60272,7 @@ paths: items: *4 requested_teams: type: array - items: *319 + items: *326 head: type: object properties: @@ -59504,7 +60322,7 @@ paths: _links: type: object properties: - comments: &431 + comments: &438 title: Link description: Hypermedia Link type: object @@ -59513,13 +60331,13 @@ paths: type: string required: - href - commits: *431 - statuses: *431 - html: *431 - issue: *431 - review_comments: *431 - review_comment: *431 - self: *431 + commits: *438 + statuses: *438 + html: *438 + issue: *438 + review_comments: *438 + review_comment: *438 + self: *438 required: - comments - commits @@ -59530,7 +60348,7 @@ paths: - review_comment - self author_association: *226 - auto_merge: &728 + auto_merge: &732 title: Auto merge description: The status of auto merging a pull request. type: object @@ -59632,7 +60450,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &433 + content_type: &440 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -59672,7 +60490,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &435 + draft_issue: &442 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -59746,7 +60564,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *428 + - *435 - *89 - *17 - *110 @@ -59758,7 +60576,7 @@ paths: application/json: schema: type: array - items: &432 + items: &439 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -59908,7 +60726,7 @@ paths: - updated_at - project_url examples: - default: &867 + default: &871 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -60038,7 +60856,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: - - *428 + - *435 - *89 requestBody: required: true @@ -60085,7 +60903,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &868 + items: &872 type: object properties: name: @@ -60122,7 +60940,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &869 + iteration_configuration: &873 type: object description: The configuration for iteration fields. properties: @@ -60172,7 +60990,7 @@ paths: value: name: Due date data_type: date - single_select_field: &870 + single_select_field: &874 summary: Create a single select field value: name: Priority @@ -60199,7 +61017,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &871 + iteration_field: &875 summary: Create an iteration field value: name: Sprint @@ -60223,9 +61041,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *432 + schema: *439 examples: - text_field: &872 + text_field: &876 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -60234,7 +61052,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: &873 + number_field: &877 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -60243,7 +61061,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: &874 + date_field: &878 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -60252,7 +61070,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: &875 + single_select_field: &879 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -60286,7 +61104,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &876 + iteration_field: &880 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -60331,8 +61149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *428 - - &877 + - *435 + - &881 name: field_id description: The unique identifier of the field. in: path @@ -60345,9 +61163,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *439 examples: - default: &878 + default: &882 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -60403,7 +61221,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: - - *428 + - *435 - *89 - 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) @@ -60436,7 +61254,7 @@ paths: application/json: schema: type: array - items: &436 + items: &443 title: Projects v2 Item description: An item belonging to a project type: object @@ -60452,7 +61270,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *433 + content_type: *440 content: type: object additionalProperties: true @@ -60495,7 +61313,7 @@ paths: - updated_at - archived_at examples: - default: &437 + default: &444 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -61193,7 +62011,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - *89 - - *428 + - *435 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -61263,22 +62081,22 @@ paths: description: Response content: application/json: - schema: *434 + schema: *441 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *435 + value: *442 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *435 + value: *442 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *435 + value: *442 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *435 + value: *442 '304': *37 '403': *29 '401': *25 @@ -61298,9 +62116,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: - - *428 + - *435 - *89 - - &438 + - &445 name: item_id description: The unique identifier of the project item. in: path @@ -61326,9 +62144,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *443 examples: - default: *437 + default: *444 headers: Link: *47 '304': *37 @@ -61349,9 +62167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *428 + - *435 - *89 - - *438 + - *445 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -61421,13 +62239,13 @@ paths: description: Response content: application/json: - schema: *436 + schema: *443 examples: - text_field: *437 - number_field: *437 - date_field: *437 - single_select_field: *437 - iteration_field: *437 + text_field: *444 + number_field: *444 + date_field: *444 + single_select_field: *444 + iteration_field: *444 '401': *25 '403': *29 '404': *6 @@ -61447,9 +62265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *428 + - *435 - *89 - - *438 + - *445 responses: '204': description: Response @@ -61473,7 +62291,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *89 - - *428 + - *435 requestBody: required: true content: @@ -61544,7 +62362,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &858 + schema: &862 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -61642,7 +62460,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &439 + value: &446 value: id: 1 number: 1 @@ -61688,10 +62506,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *439 + value: *446 roadmap_view: summary: Response for creating a roadmap view - value: *439 + value: *446 '304': *37 '403': *29 '401': *25 @@ -61719,9 +62537,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: - - *428 + - *435 - *89 - - &879 + - &883 name: view_number description: The number that identifies the project view. in: path @@ -61753,9 +62571,9 @@ paths: application/json: schema: type: array - items: *436 + items: *443 examples: - default: *437 + default: *444 headers: Link: *47 '304': *37 @@ -61919,7 +62737,7 @@ paths: required: true content: application/json: - schema: *440 + schema: *447 examples: default: value: @@ -62284,7 +63102,7 @@ paths: type: array items: *290 examples: - default: *416 + default: *423 headers: Link: *47 x-github: @@ -62487,7 +63305,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &497 title: Full Repository description: Full Repository type: object @@ -62775,8 +63593,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *441 - required: *442 + properties: *448 + required: *449 nullable: true temp_clone_token: type: string @@ -62891,7 +63709,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &611 + properties: &617 url: type: string format: uri @@ -62907,12 +63725,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &612 + required: &618 - url - key - name - html_url - security_and_analysis: *443 + security_and_analysis: *450 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -62996,7 +63814,7 @@ paths: - network_count - subscribers_count examples: - default: &492 + default: &499 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -63522,9 +64340,9 @@ paths: application/json: schema: type: array - items: *444 + items: *451 examples: - default: *445 + default: *452 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -63549,7 +64367,7 @@ paths: - *89 - *17 - *19 - - &750 + - &754 name: targets description: | A comma-separated list of rule targets to filter by. @@ -63640,11 +64458,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *173 - conditions: *446 + conditions: *453 rules: type: array description: An array of rules within the ruleset. - items: &448 + items: &455 title: Repository Rule type: object description: A repository rule. @@ -63709,7 +64527,7 @@ paths: application/json: schema: *195 examples: - default: &447 + default: &454 value: id: 21 name: super cool ruleset @@ -63765,7 +64583,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &752 + - &756 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 @@ -63775,16 +64593,16 @@ paths: schema: type: string x-multi-segment: true - - *316 + - *323 - *107 - - &753 + - &757 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 - - &754 + - &758 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -63804,7 +64622,7 @@ paths: description: Response content: application/json: - schema: &755 + schema: &759 title: Rule Suites description: Response type: array @@ -63859,7 +64677,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &756 + default: &760 value: - id: 21 actor_id: 12 @@ -63903,7 +64721,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &757 + - &761 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -63919,7 +64737,7 @@ paths: description: Response content: application/json: - schema: &758 + schema: &762 title: Rule Suite description: Response type: object @@ -64018,7 +64836,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &759 + default: &763 value: id: 21 actor_id: 12 @@ -64093,7 +64911,7 @@ paths: application/json: schema: *195 examples: - default: *447 + default: *454 '404': *6 '500': *40 put: @@ -64142,11 +64960,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *173 - conditions: *446 + conditions: *453 rules: description: An array of rules within the ruleset. type: array - items: *448 + items: *455 examples: default: value: @@ -64183,7 +65001,7 @@ paths: application/json: schema: *195 examples: - default: *447 + default: *454 '404': *6 '422': *15 '500': *40 @@ -64243,7 +65061,7 @@ paths: type: array items: *199 examples: - default: *449 + default: *456 '404': *6 '500': *40 x-github: @@ -64280,7 +65098,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *457 examples: default: value: @@ -64343,18 +65161,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *89 - - *451 - - *452 - - *453 - - *454 - - *455 - - *456 - - *457 - *458 + - *459 + - *460 + - *461 + - *462 + - *463 + - *464 + - *465 - *112 - *19 - *17 - - &761 + - &765 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 @@ -64364,7 +65182,7 @@ paths: required: false schema: type: string - - &762 + - &766 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 @@ -64374,11 +65192,11 @@ paths: required: false schema: type: string - - *459 - - *460 - - *461 - - *462 - - *463 + - *466 + - *467 + - *468 + - *469 + - *470 responses: '200': description: Response @@ -64386,9 +65204,9 @@ paths: application/json: schema: type: array - items: *464 + items: *471 examples: - default: *465 + default: *472 headers: Link: *47 '404': *6 @@ -64423,9 +65241,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *473 examples: - default: *467 + default: *474 '403': *29 '404': *6 patch: @@ -64578,7 +65396,7 @@ paths: application/json: schema: type: array - items: &783 + items: &787 description: A repository security advisory. type: object properties: @@ -64798,7 +65616,7 @@ paths: login: type: string description: The username of the user credited. - type: *468 + type: *475 credits_detailed: type: array nullable: true @@ -64808,7 +65626,7 @@ paths: type: object properties: user: *4 - type: *468 + type: *475 state: type: string description: The state of the user's acceptance of the @@ -64832,7 +65650,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *319 + items: *326 private_fork: readOnly: true nullable: true @@ -64869,7 +65687,7 @@ paths: - private_fork additionalProperties: false examples: - default: &784 + default: &788 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -65256,7 +66074,7 @@ paths: application/json: schema: type: array - items: *469 + items: *476 examples: default: value: @@ -65355,7 +66173,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *89 - - *470 + - *477 - *17 - *19 responses: @@ -65363,9 +66181,9 @@ paths: description: Success content: application/json: - schema: *471 + schema: *478 examples: - default: *472 + default: *479 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -65646,7 +66464,7 @@ paths: type: array items: *153 examples: - default: *473 + default: *480 headers: Link: *47 x-github: @@ -65875,15 +66693,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: - *89 - - *474 + - *481 responses: '200': description: Response content: application/json: - schema: *475 + schema: *482 examples: - default: *476 + default: *483 headers: Link: *47 x-github: @@ -65921,7 +66739,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &494 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -65967,7 +66785,7 @@ paths: type: string nullable: true examples: - default: &488 + default: &495 value: groups: - group_id: '123' @@ -66091,9 +66909,9 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: - default: *409 + default: *416 headers: Link: *47 '403': *29 @@ -66187,7 +67005,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &484 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -66250,8 +67068,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *407 - required: *408 + properties: *414 + required: *415 nullable: true members_count: type: integer @@ -66514,7 +67332,7 @@ paths: - repos_count - organization examples: - default: &478 + default: &485 value: id: 1 node_id: MDQ6VGVhbTE= @@ -66591,9 +67409,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *484 examples: - default: *478 + default: *485 '404': *6 x-github: githubCloudOnly: false @@ -66677,16 +67495,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *477 + schema: *484 examples: - default: *478 + default: *485 '201': description: Response content: application/json: - schema: *477 + schema: *484 examples: - default: *478 + default: *485 '404': *6 '422': *15 '403': *29 @@ -66716,7 +67534,7 @@ paths: responses: '204': description: Response - '422': &481 + '422': &488 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -66745,10 +67563,10 @@ paths: description: Response content: application/json: - schema: *479 + schema: *486 examples: - default: *480 - '422': *481 + default: *487 + '422': *488 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -66791,10 +67609,10 @@ paths: description: Response content: application/json: - schema: *482 + schema: *489 examples: - default: *483 - '422': *481 + default: *490 + '422': *488 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -66818,7 +67636,7 @@ paths: responses: '204': description: Response - '422': *481 + '422': *488 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -66850,12 +67668,12 @@ paths: application/json: schema: type: array - items: *388 + items: *395 examples: - default: *389 + default: *396 headers: Link: *47 - '422': *481 + '422': *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66937,7 +67755,7 @@ paths: description: Response content: application/json: - schema: &484 + schema: &491 title: Team Membership description: Team Membership type: object @@ -66964,7 +67782,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &825 + response-if-user-is-a-team-maintainer: &829 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -67027,9 +67845,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *491 examples: - response-if-users-membership-with-team-is-now-pending: &826 + response-if-users-membership-with-team-is-now-pending: &830 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -67105,7 +67923,7 @@ paths: type: array items: *290 examples: - default: *416 + default: *423 headers: Link: *47 x-github: @@ -67136,14 +67954,14 @@ paths: parameters: - *89 - *222 - - *485 - - *486 + - *492 + - *493 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &827 + schema: &831 title: Team Repository description: A team's access to a repository. type: object @@ -67714,8 +68532,8 @@ paths: parameters: - *89 - *222 - - *485 - - *486 + - *492 + - *493 requestBody: required: false content: @@ -67762,8 +68580,8 @@ paths: parameters: - *89 - *222 - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -67796,10 +68614,10 @@ paths: description: Response content: application/json: - schema: *487 + schema: *494 examples: - default: *488 - '422': *481 + default: *495 + '422': *488 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -67865,7 +68683,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *494 examples: default: value: @@ -67877,7 +68695,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *481 + '422': *488 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -67909,9 +68727,9 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: - response-if-child-teams-exist: &828 + response-if-child-teams-exist: &832 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -68065,7 +68883,7 @@ paths: resources: type: object properties: - core: &489 + core: &496 title: Rate Limit type: object properties: @@ -68082,21 +68900,21 @@ paths: - remaining - reset - used - graphql: *489 - search: *489 - code_search: *489 - source_import: *489 - integration_manifest: *489 - code_scanning_upload: *489 - actions_runner_registration: *489 - scim: *489 - dependency_snapshots: *489 - dependency_sbom: *489 - code_scanning_autofix: *489 + graphql: *496 + search: *496 + code_search: *496 + source_import: *496 + integration_manifest: *496 + code_scanning_upload: *496 + actions_runner_registration: *496 + scim: *496 + dependency_snapshots: *496 + dependency_sbom: *496 + code_scanning_autofix: *496 required: - core - search - rate: *489 + rate: *496 required: - rate - resources @@ -68201,14 +69019,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: *490 + schema: *497 examples: default-response: summary: Default response @@ -68717,7 +69535,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *491 + '301': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68735,8 +69553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: false content: @@ -69044,10 +69862,10 @@ paths: description: Response content: application/json: - schema: *490 + schema: *497 examples: - default: *492 - '307': &493 + default: *499 + '307': &500 description: Temporary Redirect content: application/json: @@ -69076,8 +69894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -69099,7 +69917,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': *493 + '307': *500 '404': *6 '409': *121 x-github: @@ -69123,11 +69941,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 - - &510 + - &516 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -69150,7 +69968,7 @@ paths: type: integer artifacts: type: array - items: &494 + items: &501 title: Artifact description: An artifact type: object @@ -69228,7 +70046,7 @@ paths: - expires_at - updated_at examples: - default: &511 + default: &517 value: total_count: 2 artifacts: @@ -69289,9 +70107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *485 - - *486 - - &495 + - *492 + - *493 + - &502 name: artifact_id description: The unique identifier of the artifact. in: path @@ -69303,7 +70121,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *501 examples: default: value: @@ -69341,9 +70159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *485 - - *486 - - *495 + - *492 + - *493 + - *502 responses: '204': description: Response @@ -69367,9 +70185,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *485 - - *486 - - *495 + - *492 + - *493 + - *502 - name: archive_format in: path required: true @@ -69379,11 +70197,11 @@ paths: '302': description: Response headers: - Location: &630 + Location: &636 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': &678 + '410': &682 description: Gone content: application/json: @@ -69408,14 +70226,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: &496 + schema: &503 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -69448,13 +70266,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: application/json: - schema: *496 + schema: *503 examples: selected_actions: *44 responses: @@ -69483,14 +70301,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: &497 + schema: &504 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -69523,13 +70341,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: application/json: - schema: *497 + schema: *504 examples: selected_actions: *46 responses: @@ -69560,14 +70378,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: *498 + schema: *505 examples: default: value: @@ -69593,11 +70411,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: - - *485 - - *486 + - *492 + - *493 - *17 - *19 - - &499 + - &506 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 @@ -69631,7 +70449,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &507 title: Repository actions caches description: Repository actions caches type: object @@ -69673,7 +70491,7 @@ paths: - total_count - actions_caches examples: - default: &501 + default: &508 value: total_count: 1 actions_caches: @@ -69705,23 +70523,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: - - *485 - - *486 + - *492 + - *493 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *499 + - *506 responses: '200': description: Response content: application/json: - schema: *500 + schema: *507 examples: - default: *501 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69741,8 +70559,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: - - *485 - - *486 + - *492 + - *493 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -69771,8 +70589,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: - - *485 - - *486 + - *492 + - *493 - *17 - *111 responses: @@ -69854,8 +70672,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: - - *485 - - *486 + - *492 + - *493 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -70007,9 +70825,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: - - *485 - - *486 - - &502 + - *492 + - *493 + - &509 name: job_id description: The unique identifier of the job. in: path @@ -70021,7 +70839,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &520 title: Job description: Information of a job execution in a workflow run type: object @@ -70328,9 +71146,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: - - *485 - - *486 - - *502 + - *492 + - *493 + - *509 responses: '302': description: Response @@ -70358,9 +71176,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: - - *485 - - *486 - - *502 + - *492 + - *493 + - *509 requestBody: required: false content: @@ -70410,8 +71228,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Status response @@ -70470,8 +71288,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -70539,8 +71357,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -70558,7 +71376,7 @@ paths: type: integer secrets: type: array - items: &516 + items: &522 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -70578,7 +71396,7 @@ paths: - created_at - updated_at examples: - default: &517 + default: &523 value: total_count: 2 secrets: @@ -70611,9 +71429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *485 - - *486 - - *503 + - *492 + - *493 + - *309 - *19 responses: '200': @@ -70630,7 +71448,7 @@ paths: type: integer variables: type: array - items: &520 + items: &524 title: Actions Variable type: object properties: @@ -70660,7 +71478,7 @@ paths: - created_at - updated_at examples: - default: &521 + default: &525 value: total_count: 2 variables: @@ -70693,8 +71511,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -70703,7 +71521,7 @@ paths: schema: type: object properties: - enabled: &504 + enabled: &510 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *62 @@ -70738,8 +71556,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: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -70750,7 +71568,7 @@ paths: schema: type: object properties: - enabled: *504 + enabled: *510 allowed_actions: *62 sha_pinning_required: *63 required: @@ -70783,14 +71601,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: &505 + schema: &511 type: object properties: access_level: @@ -70808,7 +71626,7 @@ paths: required: - access_level examples: - default: &506 + default: &512 value: access_level: organization x-github: @@ -70833,15 +71651,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: application/json: - schema: *505 + schema: *511 examples: - default: *506 + default: *512 responses: '204': description: Response @@ -70865,8 +71683,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -70896,8 +71714,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: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Empty response for successful settings update @@ -70931,8 +71749,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -70959,8 +71777,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: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -70994,8 +71812,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -71023,8 +71841,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -71055,8 +71873,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -71087,8 +71905,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: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -71120,8 +71938,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -71150,8 +71968,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: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Success response @@ -71191,8 +72009,8 @@ paths: in: query schema: type: string - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -71236,8 +72054,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -71269,8 +72087,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -71344,8 +72162,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: - - *485 - - *486 + - *492 + - *493 responses: '201': description: Response @@ -71381,8 +72199,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: - - *485 - - *486 + - *492 + - *493 responses: '201': description: Response @@ -71412,8 +72230,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: - - *485 - - *486 + - *492 + - *493 - *77 responses: '200': @@ -71443,8 +72261,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: - - *485 - - *486 + - *492 + - *493 - *77 responses: '204': @@ -71471,8 +72289,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: - - *485 - - *486 + - *492 + - *493 - *77 responses: '200': *83 @@ -71497,8 +72315,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: - - *485 - - *486 + - *492 + - *493 - *77 requestBody: required: true @@ -71547,8 +72365,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: - - *485 - - *486 + - *492 + - *493 - *77 requestBody: required: true @@ -71598,8 +72416,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: - - *485 - - *486 + - *492 + - *493 - *77 responses: '200': *297 @@ -71629,8 +72447,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: - - *485 - - *486 + - *492 + - *493 - *77 - *298 responses: @@ -71660,9 +72478,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: - - *485 - - *486 - - &524 + - *492 + - *493 + - &528 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. @@ -71670,7 +72488,7 @@ paths: required: false schema: type: string - - &525 + - &529 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -71678,7 +72496,7 @@ paths: required: false schema: type: string - - &526 + - &530 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -71687,7 +72505,7 @@ paths: required: false schema: type: string - - &527 + - &531 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 @@ -71714,7 +72532,7 @@ paths: - pending - *17 - *19 - - &528 + - &532 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)." @@ -71723,7 +72541,7 @@ paths: schema: type: string format: date-time - - &507 + - &513 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -71732,13 +72550,13 @@ paths: schema: type: boolean default: false - - &529 + - &533 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &530 + - &534 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -71761,7 +72579,7 @@ paths: type: integer workflow_runs: type: array - items: &508 + items: &514 title: Workflow Run description: An invocation of a workflow type: object @@ -71909,7 +72727,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &552 + properties: &558 id: type: string description: SHA for the commit @@ -71960,7 +72778,7 @@ paths: - name - email nullable: true - required: &553 + required: &559 - id - tree_id - message @@ -72007,7 +72825,7 @@ paths: - workflow_url - pull_requests examples: - default: &531 + default: &535 value: total_count: 1 workflow_runs: @@ -72243,24 +73061,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *485 - - *486 - - &509 + - *492 + - *493 + - &515 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *507 + - *513 responses: '200': description: Response content: application/json: - schema: *508 + schema: *514 examples: - default: &512 + default: &518 value: id: 30433642 name: Build @@ -72501,9 +73319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 responses: '204': description: Response @@ -72526,9 +73344,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: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 responses: '200': description: Response @@ -72647,9 +73465,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: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 responses: '201': description: Response @@ -72682,12 +73500,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 - *17 - *19 - - *510 + - *516 - *112 responses: '200': @@ -72704,9 +73522,9 @@ paths: type: integer artifacts: type: array - items: *494 + items: *501 examples: - default: *511 + default: *517 headers: Link: *47 x-github: @@ -72730,25 +73548,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *485 - - *486 - - *509 - - &513 + - *492 + - *493 + - *515 + - &519 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *507 + - *513 responses: '200': description: Response content: application/json: - schema: *508 + schema: *514 examples: - default: *512 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72771,10 +73589,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: - - *485 - - *486 - - *509 - - *513 + - *492 + - *493 + - *515 + - *519 - *17 - *19 responses: @@ -72792,9 +73610,9 @@ paths: type: integer jobs: type: array - items: *514 + items: *520 examples: - default: &515 + default: &521 value: total_count: 1 jobs: @@ -72907,10 +73725,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *485 - - *486 - - *509 - - *513 + - *492 + - *493 + - *515 + - *519 responses: '302': description: Response @@ -72938,9 +73756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 responses: '202': description: Response @@ -72986,9 +73804,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: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 - *17 - *110 - *111 @@ -73159,9 +73977,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: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 requestBody: required: true content: @@ -73228,9 +74046,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 responses: '202': description: Response @@ -73263,9 +74081,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: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 - 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 @@ -73295,9 +74113,9 @@ paths: type: integer jobs: type: array - items: *514 + items: *520 examples: - default: *515 + default: *521 headers: Link: *47 x-github: @@ -73322,9 +74140,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 responses: '302': description: Response @@ -73351,9 +74169,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 responses: '204': description: Response @@ -73380,9 +74198,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: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 responses: '200': description: Response @@ -73442,7 +74260,7 @@ paths: items: type: object properties: - type: &645 + type: &651 type: string description: The type of reviewer. enum: @@ -73452,7 +74270,7 @@ paths: reviewer: anyOf: - *4 - - *319 + - *326 required: - environment - wait_timer @@ -73527,9 +74345,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: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 requestBody: required: true content: @@ -73576,12 +74394,12 @@ paths: application/json: schema: type: array - items: &632 + items: &638 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &897 + properties: &901 url: type: string format: uri @@ -73666,7 +74484,7 @@ paths: nullable: true properties: *224 required: *225 - required: &898 + required: &902 - id - node_id - sha @@ -73682,7 +74500,7 @@ paths: - created_at - updated_at examples: - default: &633 + default: &639 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -73738,9 +74556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 requestBody: required: false content: @@ -73784,9 +74602,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: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 requestBody: required: false content: @@ -73840,9 +74658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 responses: '200': description: Response @@ -73979,8 +74797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -73998,9 +74816,9 @@ paths: type: integer secrets: type: array - items: *516 + items: *522 examples: - default: *517 + default: *523 headers: Link: *47 x-github: @@ -74025,16 +74843,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: *518 + schema: *306 examples: - default: *519 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74056,17 +74874,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *485 - - *486 + - *492 + - *493 - *300 responses: '200': description: Response content: application/json: - schema: *516 + schema: *522 examples: - default: &658 + default: &536 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -74092,8 +74910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *485 - - *486 + - *492 + - *493 - *300 requestBody: required: true @@ -74151,8 +74969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *485 - - *486 + - *492 + - *493 - *300 responses: '204': @@ -74178,9 +74996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *485 - - *486 - - *503 + - *492 + - *493 + - *309 - *19 responses: '200': @@ -74197,9 +75015,9 @@ paths: type: integer variables: type: array - items: *520 + items: *524 examples: - default: *521 + default: *525 headers: Link: *47 x-github: @@ -74222,8 +75040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -74275,17 +75093,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *485 - - *486 + - *492 + - *493 - *303 responses: '200': description: Response content: application/json: - schema: *520 + schema: *524 examples: - default: &659 + default: &537 value: name: USERNAME value: octocat @@ -74311,8 +75129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *485 - - *486 + - *492 + - *493 - *303 requestBody: required: true @@ -74355,8 +75173,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *485 - - *486 + - *492 + - *493 - *303 responses: '204': @@ -74382,8 +75200,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -74401,7 +75219,7 @@ paths: type: integer workflows: type: array - items: &522 + items: &526 title: Workflow description: A GitHub Actions workflow type: object @@ -74508,9 +75326,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *485 - - *486 - - &523 + - *492 + - *493 + - &527 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -74525,7 +75343,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *526 examples: default: value: @@ -74558,9 +75376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *485 - - *486 - - *523 + - *492 + - *493 + - *527 responses: '204': description: Response @@ -74585,9 +75403,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *485 - - *486 - - *523 + - *492 + - *493 + - *527 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -74674,9 +75492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *485 - - *486 - - *523 + - *492 + - *493 + - *527 responses: '204': description: Response @@ -74703,19 +75521,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: - - *485 - - *486 - - *523 - - *524 - - *525 - - *526 + - *492 + - *493 - *527 - - *17 - - *19 - *528 - - *507 - *529 - *530 + - *531 + - *17 + - *19 + - *532 + - *513 + - *533 + - *534 responses: '200': description: Response @@ -74731,9 +75549,9 @@ paths: type: integer workflow_runs: type: array - items: *508 + items: *514 examples: - default: *531 + default: *535 headers: Link: *47 x-github: @@ -74766,9 +75584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *485 - - *486 - - *523 + - *492 + - *493 + - *527 responses: '200': description: Response @@ -74829,8 +75647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *485 - - *486 + - *492 + - *493 - *112 - *17 - *110 @@ -74982,6 +75800,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: + - *492 + - *493 + - *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: *522 + examples: + default: *523 + headers: + Link: *47 + 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: + - *492 + - *493 + - *309 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *524 + examples: + default: *525 + headers: + Link: *47 + 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: + - *492 + - *493 + - *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: *522 + examples: + default: *523 + headers: + Link: *47 + 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: + - *492 + - *493 + responses: + '200': + description: Response + content: + application/json: + schema: *306 + examples: + default: *307 + 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: + - *492 + - *493 + - *300 + responses: + '200': + description: Response + content: + application/json: + schema: *522 + examples: + default: *536 + 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: + - *492 + - *493 + - *300 + 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: *301 + 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: + - *492 + - *493 + - *300 + 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: + - *492 + - *493 + - *309 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *524 + examples: + default: *525 + headers: + Link: *47 + 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: + - *492 + - *493 + 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: *301 + 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: + - *492 + - *493 + - *303 + responses: + '200': + description: Response + content: + application/json: + schema: *524 + examples: + default: *537 + 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: + - *492 + - *493 + - *303 + 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: + - *492 + - *493 + - *303 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables "/repos/{owner}/{repo}/assignees": get: summary: List assignees @@ -74994,8 +76298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -75032,8 +76336,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: - - *485 - - *486 + - *492 + - *493 - name: assignee in: path required: true @@ -75069,8 +76373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -75180,8 +76484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *110 - *111 @@ -75238,7 +76542,7 @@ paths: initiator: type: string examples: - default: *532 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75258,8 +76562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -75267,7 +76571,7 @@ paths: application/json: schema: type: array - items: &533 + items: &539 title: Autolink reference description: An autolink reference. type: object @@ -75321,8 +76625,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -75361,9 +76665,9 @@ paths: description: response content: application/json: - schema: *533 + schema: *539 examples: - default: &534 + default: &540 value: id: 1 key_prefix: TICKET- @@ -75394,9 +76698,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: - - *485 - - *486 - - &535 + - *492 + - *493 + - &541 name: autolink_id description: The unique identifier of the autolink. in: path @@ -75408,9 +76712,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *539 examples: - default: *534 + default: *540 '404': *6 x-github: githubCloudOnly: false @@ -75430,9 +76734,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: - - *485 - - *486 - - *535 + - *492 + - *493 + - *541 responses: '204': description: Response @@ -75456,8 +76760,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response if Dependabot is enabled @@ -75505,8 +76809,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -75527,8 +76831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -75548,8 +76852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *485 - - *486 + - *492 + - *493 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -75587,7 +76891,7 @@ paths: - url protected: type: boolean - protection: &537 + protection: &543 title: Branch Protection description: Branch Protection type: object @@ -75629,7 +76933,7 @@ paths: required: - contexts - checks - enforce_admins: &540 + enforce_admins: &546 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -75644,7 +76948,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &542 + required_pull_request_reviews: &548 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -75665,7 +76969,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *319 + items: *326 apps: description: The list of apps with review dismissal access. @@ -75694,7 +76998,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *319 + items: *326 apps: description: The list of apps allowed to bypass pull request requirements. @@ -75720,7 +77024,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &539 + restrictions: &545 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -75783,7 +77087,7 @@ paths: type: string teams: type: array - items: *319 + items: *326 apps: type: array items: @@ -75997,9 +77301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *485 - - *486 - - &538 + - *492 + - *493 + - &544 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). @@ -76013,14 +77317,14 @@ paths: description: Response content: application/json: - schema: &548 + schema: &554 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &602 + commit: &608 title: Commit description: Commit type: object @@ -76054,7 +77358,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &536 + properties: &542 name: type: string example: '"Chris Wanstrath"' @@ -76070,7 +77374,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *536 + properties: *542 nullable: true message: type: string @@ -76091,7 +77395,7 @@ paths: required: - sha - url - verification: &665 + verification: &669 title: Verification type: object properties: @@ -76161,7 +77465,7 @@ paths: type: integer files: type: array - items: &615 + items: &621 title: Diff Entry description: Diff Entry type: object @@ -76245,7 +77549,7 @@ paths: - self protected: type: boolean - protection: *537 + protection: *543 protection_url: type: string format: uri @@ -76352,7 +77656,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *491 + '301': *498 '404': *6 x-github: githubCloudOnly: false @@ -76374,15 +77678,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response content: application/json: - schema: *537 + schema: *543 examples: default: value: @@ -76576,9 +77880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: true content: @@ -76833,7 +78137,7 @@ paths: url: type: string format: uri - required_status_checks: &545 + required_status_checks: &551 title: Status Check Policy description: Status Check Policy type: object @@ -76909,7 +78213,7 @@ paths: items: *4 teams: type: array - items: *319 + items: *326 apps: type: array items: *5 @@ -76927,7 +78231,7 @@ paths: items: *4 teams: type: array - items: *319 + items: *326 apps: type: array items: *5 @@ -76985,7 +78289,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *539 + restrictions: *545 required_conversation_resolution: type: object properties: @@ -77097,9 +78401,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '204': description: Response @@ -77124,17 +78428,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response content: application/json: - schema: *540 + schema: *546 examples: - default: &541 + default: &547 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -77156,17 +78460,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response content: application/json: - schema: *540 + schema: *546 examples: - default: *541 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77185,9 +78489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '204': description: Response @@ -77212,17 +78516,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response content: application/json: - schema: *542 + schema: *548 examples: - default: &543 + default: &549 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -77318,9 +78622,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: false content: @@ -77418,9 +78722,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *548 examples: - default: *543 + default: *549 '422': *15 x-github: githubCloudOnly: false @@ -77441,9 +78745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '204': description: Response @@ -77470,17 +78774,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response content: application/json: - schema: *540 + schema: *546 examples: - default: &544 + default: &550 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -77503,17 +78807,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response content: application/json: - schema: *540 + schema: *546 examples: - default: *544 + default: *550 '404': *6 x-github: githubCloudOnly: false @@ -77533,9 +78837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '204': description: Response @@ -77560,17 +78864,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response content: application/json: - schema: *545 + schema: *551 examples: - default: &546 + default: &552 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -77596,9 +78900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: false content: @@ -77650,9 +78954,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *551 examples: - default: *546 + default: *552 '404': *6 '422': *15 x-github: @@ -77674,9 +78978,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '204': description: Response @@ -77700,9 +79004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response @@ -77736,9 +79040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: false content: @@ -77805,9 +79109,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: false content: @@ -77871,9 +79175,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: content: application/json: @@ -77939,15 +79243,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response content: application/json: - schema: *539 + schema: *545 examples: default: value: @@ -78038,9 +79342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '204': description: Response @@ -78063,9 +79367,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: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response @@ -78075,7 +79379,7 @@ paths: type: array items: *5 examples: - default: &547 + default: &553 value: - id: 1 slug: octoapp @@ -78132,9 +79436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: true content: @@ -78168,7 +79472,7 @@ paths: type: array items: *5 examples: - default: *547 + default: *553 '422': *15 x-github: githubCloudOnly: false @@ -78189,9 +79493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: true content: @@ -78225,7 +79529,7 @@ paths: type: array items: *5 examples: - default: *547 + default: *553 '422': *15 x-github: githubCloudOnly: false @@ -78246,9 +79550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: true content: @@ -78282,7 +79586,7 @@ paths: type: array items: *5 examples: - default: *547 + default: *553 '422': *15 x-github: githubCloudOnly: false @@ -78304,9 +79608,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: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response @@ -78314,9 +79618,9 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: - default: *409 + default: *416 '404': *6 x-github: githubCloudOnly: false @@ -78336,9 +79640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: false content: @@ -78374,9 +79678,9 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: - default: *409 + default: *416 '422': *15 x-github: githubCloudOnly: false @@ -78397,9 +79701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: false content: @@ -78435,9 +79739,9 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: - default: *409 + default: *416 '422': *15 x-github: githubCloudOnly: false @@ -78458,9 +79762,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: content: application/json: @@ -78495,9 +79799,9 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: - default: *409 + default: *416 '422': *15 x-github: githubCloudOnly: false @@ -78519,9 +79823,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: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response @@ -78555,9 +79859,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: true content: @@ -78615,9 +79919,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: true content: @@ -78675,9 +79979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: true content: @@ -78737,9 +80041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: true content: @@ -78761,7 +80065,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *554 examples: default: value: @@ -78875,8 +80179,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *485 - - *486 + - *492 + - *493 - *105 - *106 - *107 @@ -78890,9 +80194,9 @@ paths: application/json: schema: type: array - items: *314 + items: *321 examples: - default: *315 + default: *322 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -78912,8 +80216,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: bypass_request_number in: path required: true @@ -78927,7 +80231,7 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: default: value: @@ -78986,8 +80290,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *485 - - *486 + - *492 + - *493 - *105 - *106 - *107 @@ -79001,9 +80305,9 @@ paths: application/json: schema: type: array - items: *317 + items: *324 examples: - default: *318 + default: *325 '404': *6 '403': *29 '500': *40 @@ -79027,8 +80331,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *485 - - *486 + - *492 + - *493 - name: bypass_request_number in: path required: true @@ -79040,7 +80344,7 @@ paths: description: A single bypass request. content: application/json: - schema: *317 + schema: *324 examples: default: value: @@ -79098,8 +80402,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *485 - - *486 + - *492 + - *493 - name: bypass_request_number in: path required: true @@ -79170,8 +80474,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *485 - - *486 + - *492 + - *493 - name: bypass_response_id in: path required: true @@ -79204,8 +80508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -79484,7 +80788,7 @@ paths: description: Response content: application/json: - schema: &549 + schema: &555 title: CheckRun description: A check performed on the code of a given code change type: object @@ -79604,7 +80908,7 @@ paths: check. type: array items: *234 - deployment: &890 + deployment: &894 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -79884,9 +81188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *485 - - *486 - - &550 + - *492 + - *493 + - &556 name: check_run_id description: The unique identifier of the check run. in: path @@ -79898,9 +81202,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *555 examples: - default: &551 + default: &557 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -80000,9 +81304,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *485 - - *486 - - *550 + - *492 + - *493 + - *556 requestBody: required: true content: @@ -80242,9 +81546,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *555 examples: - default: *551 + default: *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80264,9 +81568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *485 - - *486 - - *550 + - *492 + - *493 + - *556 - *17 - *19 responses: @@ -80361,9 +81665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *485 - - *486 - - *550 + - *492 + - *493 + - *556 responses: '201': description: Response @@ -80407,8 +81711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -80430,7 +81734,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &554 + schema: &560 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -80516,12 +81820,12 @@ paths: type: string format: date-time nullable: true - head_commit: &923 + head_commit: &927 title: Simple Commit description: A commit. type: object - properties: *552 - required: *553 + properties: *558 + required: *559 latest_check_runs_count: type: integer check_runs_url: @@ -80549,7 +81853,7 @@ paths: - check_runs_url - pull_requests examples: - default: &555 + default: &561 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -80840,9 +82144,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *554 + schema: *560 examples: - default: *555 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80861,8 +82165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -81171,9 +82475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *485 - - *486 - - &556 + - *492 + - *493 + - &562 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -81185,9 +82489,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *560 examples: - default: *555 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81210,17 +82514,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: - - *485 - - *486 - - *556 - - &608 + - *492 + - *493 + - *562 + - &614 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &609 + - &615 name: status description: Returns check runs with the specified `status`. in: query @@ -81259,9 +82563,9 @@ paths: type: integer check_runs: type: array - items: *549 + items: *555 examples: - default: &610 + default: &616 value: total_count: 1 check_runs: @@ -81363,9 +82667,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *485 - - *486 - - *556 + - *492 + - *493 + - *562 responses: '201': description: Response @@ -81398,21 +82702,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: - - *485 - - *486 - - *323 - - *324 + - *492 + - *493 + - *330 + - *331 - *19 - *17 - - &572 + - &578 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: *557 - - &573 + schema: *563 + - &579 name: pr description: The number of the pull request for the results you want to list. in: query @@ -81437,13 +82741,13 @@ paths: be returned. in: query required: false - schema: *325 + schema: *332 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *558 + schema: *564 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -81467,7 +82771,7 @@ paths: updated_at: *139 url: *136 html_url: *137 - instances_url: *559 + instances_url: *565 state: *115 fixed_at: *141 dismissed_by: @@ -81478,11 +82782,11 @@ paths: required: *21 nullable: true dismissed_at: *140 - dismissed_reason: *560 - dismissed_comment: *561 - rule: *562 - tool: *563 - most_recent_instance: *564 + dismissed_reason: *566 + dismissed_comment: *567 + rule: *568 + tool: *569 + most_recent_instance: *570 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -81608,7 +82912,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &565 + '403': &571 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -81635,9 +82939,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: - - *485 - - *486 - - &566 + - *492 + - *493 + - &572 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -81651,7 +82955,7 @@ paths: description: Response content: application/json: - schema: &567 + schema: &573 type: object properties: number: *131 @@ -81659,7 +82963,7 @@ paths: updated_at: *139 url: *136 html_url: *137 - instances_url: *559 + instances_url: *565 state: *115 fixed_at: *141 dismissed_by: @@ -81670,8 +82974,8 @@ paths: required: *21 nullable: true dismissed_at: *140 - dismissed_reason: *560 - dismissed_comment: *561 + dismissed_reason: *566 + dismissed_comment: *567 rule: type: object properties: @@ -81725,8 +83029,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *563 - most_recent_instance: *564 + tool: *569 + most_recent_instance: *570 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -81825,7 +83129,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *565 + '403': *571 '404': *6 '503': *200 x-github: @@ -81845,9 +83149,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: - - *485 - - *486 - - *566 + - *492 + - *493 + - *572 requestBody: required: true content: @@ -81862,8 +83166,8 @@ paths: enum: - open - dismissed - dismissed_reason: *560 - dismissed_comment: *561 + dismissed_reason: *566 + dismissed_comment: *567 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -81891,7 +83195,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *573 examples: default: value: @@ -81967,7 +83271,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &571 + '403': &577 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -81994,15 +83298,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: - - *485 - - *486 - - *566 + - *492 + - *493 + - *572 responses: '200': description: Response content: application/json: - schema: &568 + schema: &574 type: object properties: status: @@ -82028,13 +83332,13 @@ paths: - description - started_at examples: - default: &569 + default: &575 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &570 + '400': &576 description: Bad Request content: application/json: @@ -82045,7 +83349,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': *565 + '403': *571 '404': *6 '503': *200 x-github: @@ -82070,29 +83374,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: - - *485 - - *486 - - *566 + - *492 + - *493 + - *572 responses: '200': description: OK content: application/json: - schema: *568 + schema: *574 examples: - default: *569 + default: *575 '202': description: Accepted content: application/json: - schema: *568 + schema: *574 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *570 + '400': *576 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -82124,9 +83428,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: - - *485 - - *486 - - *566 + - *492 + - *493 + - *572 requestBody: required: false content: @@ -82171,8 +83475,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *570 - '403': *571 + '400': *576 + '403': *577 '404': *6 '422': description: Unprocessable Entity @@ -82196,13 +83500,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: - - *485 - - *486 - - *566 + - *492 + - *493 + - *572 - *19 - *17 - - *572 - - *573 + - *578 + - *579 responses: '200': description: Response @@ -82213,10 +83517,10 @@ paths: items: type: object properties: - ref: *557 - analysis_key: *574 - environment: *575 - category: *576 + ref: *563 + analysis_key: *580 + environment: *581 + category: *582 state: type: string description: State of a code scanning alert instance. @@ -82231,7 +83535,7 @@ paths: properties: text: type: string - location: *577 + location: *583 html_url: type: string classifications: @@ -82239,7 +83543,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: *578 + items: *584 examples: default: value: @@ -82276,7 +83580,7 @@ paths: end_column: 50 classifications: - source - '403': *565 + '403': *571 '404': *6 '503': *200 x-github: @@ -82310,25 +83614,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: - - *485 - - *486 - - *323 - - *324 + - *492 + - *493 + - *330 + - *331 - *19 - *17 - - *573 + - *579 - 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: *557 + schema: *563 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &579 + schema: &585 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -82349,23 +83653,23 @@ paths: application/json: schema: type: array - items: &580 + items: &586 type: object properties: - ref: *557 - commit_sha: &588 + ref: *563 + commit_sha: &594 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: *574 + analysis_key: *580 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *576 + category: *582 error: type: string example: error reading field xyz @@ -82389,8 +83693,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *579 - tool: *563 + sarif_id: *585 + tool: *569 deletable: type: boolean warning: @@ -82451,7 +83755,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *565 + '403': *571 '404': *6 '503': *200 x-github: @@ -82487,8 +83791,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: - - *485 - - *486 + - *492 + - *493 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -82501,7 +83805,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *586 examples: response: summary: application/json response @@ -82555,7 +83859,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *565 + '403': *571 '404': *6 '422': description: Response if analysis could not be processed @@ -82642,8 +83946,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: - - *485 - - *486 + - *492 + - *493 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -82696,7 +84000,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': *571 + '403': *577 '404': *6 '503': *200 x-github: @@ -82718,8 +84022,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -82727,7 +84031,7 @@ paths: application/json: schema: type: array - items: &581 + items: &587 title: CodeQL Database description: A CodeQL database. type: object @@ -82838,7 +84142,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': *565 + '403': *571 '404': *6 '503': *200 x-github: @@ -82867,8 +84171,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: - - *485 - - *486 + - *492 + - *493 - name: language in: path description: The language of the CodeQL database. @@ -82880,7 +84184,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *587 examples: default: value: @@ -82912,9 +84216,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': &619 + '302': &625 description: Found - '403': *565 + '403': *571 '404': *6 '503': *200 x-github: @@ -82936,8 +84240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *485 - - *486 + - *492 + - *493 - name: language in: path description: The language of the CodeQL database. @@ -82947,7 +84251,7 @@ paths: responses: '204': description: Response - '403': *571 + '403': *577 '404': *6 '503': *200 x-github: @@ -82975,8 +84279,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -82985,7 +84289,7 @@ paths: type: object additionalProperties: false properties: - language: &582 + language: &588 type: string description: The language targeted by the CodeQL query enum: @@ -83065,7 +84369,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &586 + schema: &592 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -83075,7 +84379,7 @@ paths: description: The ID of the variant analysis. controller_repo: *122 actor: *4 - query_language: *582 + query_language: *588 query_pack_url: type: string description: The download url for the query pack. @@ -83122,7 +84426,7 @@ paths: items: type: object properties: - repository: &583 + repository: &589 title: Repository Identifier description: Repository Identifier type: object @@ -83158,7 +84462,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &587 + analysis_status: &593 type: string description: The new status of the CodeQL variant analysis repository task. @@ -83190,7 +84494,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &584 + access_mismatch_repos: &590 type: object properties: repository_count: @@ -83204,7 +84508,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: *583 + items: *589 required: - repository_count - repositories @@ -83226,8 +84530,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *584 - over_limit_repos: *584 + no_codeql_db_repos: *590 + over_limit_repos: *590 required: - access_mismatch_repos - not_found_repos @@ -83243,7 +84547,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &585 + value: &591 summary: Default response value: id: 1 @@ -83389,10 +84693,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *585 + value: *591 repository_lists: summary: Response for a successful variant analysis submission - value: *585 + value: *591 '404': *6 '422': description: Unable to process variant analysis submission @@ -83420,8 +84724,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: - - *485 - - *486 + - *492 + - *493 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -83433,9 +84737,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *592 examples: - default: *585 + default: *591 '404': *6 '503': *200 x-github: @@ -83458,7 +84762,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: - - *485 + - *492 - name: repo in: path description: The name of the controller repository. @@ -83493,7 +84797,7 @@ paths: type: object properties: repository: *122 - analysis_status: *587 + analysis_status: *593 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -83618,8 +84922,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -83704,7 +85008,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *565 + '403': *571 '404': *6 '503': *200 x-github: @@ -83725,8 +85029,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -83818,7 +85122,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *571 + '403': *577 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -83889,8 +85193,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -83898,7 +85202,7 @@ paths: schema: type: object properties: - commit_sha: *588 + commit_sha: *594 ref: type: string description: |- @@ -83956,7 +85260,7 @@ paths: schema: type: object properties: - id: *579 + id: *585 url: type: string description: The REST API URL for checking the status of the upload. @@ -83970,7 +85274,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': *571 + '403': *577 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -83993,8 +85297,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: - - *485 - - *486 + - *492 + - *493 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -84040,7 +85344,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': *565 + '403': *571 '404': description: Not Found if the sarif id does not match any upload '503': *200 @@ -84065,8 +85369,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -84147,8 +85451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *485 - - *486 + - *492 + - *493 - 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 @@ -84268,8 +85572,8 @@ paths: parameters: - *17 - *19 - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -84285,7 +85589,7 @@ paths: type: integer codespaces: type: array - items: *399 + items: *406 examples: default: value: @@ -84583,8 +85887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -84647,17 +85951,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '400': *14 '401': *25 '403': *29 @@ -84686,8 +85990,8 @@ paths: parameters: - *17 - *19 - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -84751,8 +86055,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: - - *485 - - *486 + - *492 + - *493 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -84787,14 +86091,14 @@ paths: type: integer machines: type: array - items: &834 + items: &838 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *590 - required: *591 + properties: *596 + required: *597 examples: - default: &835 + default: &839 value: total_count: 2 machines: @@ -84834,8 +86138,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *485 - - *486 + - *492 + - *493 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -84919,8 +86223,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: - - *485 - - *486 + - *492 + - *493 - 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 @@ -84986,8 +86290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -85005,7 +86309,7 @@ paths: type: integer secrets: type: array - items: &595 + items: &601 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -85025,7 +86329,7 @@ paths: - created_at - updated_at examples: - default: *592 + default: *598 headers: Link: *47 x-github: @@ -85048,16 +86352,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: *593 + schema: *599 examples: - default: *594 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -85077,17 +86381,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *485 - - *486 + - *492 + - *493 - *300 responses: '200': description: Response content: application/json: - schema: *595 + schema: *601 examples: - default: *596 + default: *602 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85107,8 +86411,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: - - *485 - - *486 + - *492 + - *493 - *300 requestBody: required: true @@ -85161,8 +86465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *485 - - *486 + - *492 + - *493 - *300 responses: '204': @@ -85191,8 +86495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *485 - - *486 + - *492 + - *493 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -85234,7 +86538,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &597 + properties: &603 login: type: string example: octocat @@ -85327,7 +86631,7 @@ paths: user_view_type: type: string example: public - required: &598 + required: &604 - avatar_url - events_url - followers_url @@ -85401,8 +86705,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: - - *485 - - *486 + - *492 + - *493 - *148 responses: '204': @@ -85449,8 +86753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *485 - - *486 + - *492 + - *493 - *148 requestBody: required: false @@ -85477,7 +86781,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &677 + schema: &681 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -85706,8 +87010,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *485 - - *486 + - *492 + - *493 - *148 responses: '204': @@ -85739,8 +87043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *485 - - *486 + - *492 + - *493 - *148 responses: '200': @@ -85761,8 +87065,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *597 - required: *598 + properties: *603 + required: *604 nullable: true required: - permission @@ -85817,8 +87121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -85828,7 +87132,7 @@ paths: application/json: schema: type: array - items: &599 + items: &605 title: Commit Comment description: Commit Comment type: object @@ -85886,7 +87190,7 @@ paths: - created_at - updated_at examples: - default: &604 + default: &610 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -85945,17 +87249,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 responses: '200': description: Response content: application/json: - schema: *599 + schema: *605 examples: - default: &605 + default: &611 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -86012,8 +87316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 requestBody: required: true @@ -86036,7 +87340,7 @@ paths: description: Response content: application/json: - schema: *599 + schema: *605 examples: default: value: @@ -86087,8 +87391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 responses: '204': @@ -86110,8 +87414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -86138,7 +87442,7 @@ paths: application/json: schema: type: array - items: &600 + items: &606 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -86181,7 +87485,7 @@ paths: - content - created_at examples: - default: &681 + default: &685 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -86226,8 +87530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 requestBody: required: true @@ -86260,9 +87564,9 @@ paths: description: Reaction exists content: application/json: - schema: *600 + schema: *606 examples: - default: &601 + default: &607 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -86291,9 +87595,9 @@ paths: description: Reaction created content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -86315,10 +87619,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *485 - - *486 + - *492 + - *493 - *245 - - &682 + - &686 name: reaction_id description: The unique identifier of the reaction. in: path @@ -86373,8 +87677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *485 - - *486 + - *492 + - *493 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -86430,9 +87734,9 @@ paths: application/json: schema: type: array - items: *602 + items: *608 examples: - default: &735 + default: &739 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -86526,9 +87830,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *485 - - *486 - - &603 + - *492 + - *493 + - &609 name: commit_sha description: The SHA of the commit. in: path @@ -86600,9 +87904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *485 - - *486 - - *603 + - *492 + - *493 + - *609 - *17 - *19 responses: @@ -86612,9 +87916,9 @@ paths: application/json: schema: type: array - items: *599 + items: *605 examples: - default: *604 + default: *610 headers: Link: *47 x-github: @@ -86642,9 +87946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *485 - - *486 - - *603 + - *492 + - *493 + - *609 requestBody: required: true content: @@ -86679,9 +87983,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *605 examples: - default: *605 + default: *611 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -86709,9 +88013,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: - - *485 - - *486 - - *603 + - *492 + - *493 + - *609 - *17 - *19 responses: @@ -86721,9 +88025,9 @@ paths: application/json: schema: type: array - items: *606 + items: *612 examples: - default: &727 + default: &731 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -87260,11 +88564,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *485 - - *486 + - *492 + - *493 - *19 - *17 - - &607 + - &613 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)" @@ -87279,9 +88583,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *608 examples: - default: &712 + default: &716 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -87369,7 +88673,7 @@ paths: schema: type: string examples: - default: &616 + default: &622 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -87382,7 +88686,7 @@ paths: schema: type: string examples: - default: &617 + default: &623 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -87435,11 +88739,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: - - *485 - - *486 - - *607 - - *608 - - *609 + - *492 + - *493 + - *613 + - *614 + - *615 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -87473,9 +88777,9 @@ paths: type: integer check_runs: type: array - items: *549 + items: *555 examples: - default: *610 + default: *616 headers: Link: *47 x-github: @@ -87500,9 +88804,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: - - *485 - - *486 - - *607 + - *492 + - *493 + - *613 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -87510,7 +88814,7 @@ paths: schema: type: integer example: 1 - - *608 + - *614 - *17 - *19 responses: @@ -87528,7 +88832,7 @@ paths: type: integer check_suites: type: array - items: *554 + items: *560 examples: default: value: @@ -87728,9 +89032,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: - - *485 - - *486 - - *607 + - *492 + - *493 + - *613 - *17 - *19 responses: @@ -87928,9 +89232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *485 - - *486 - - *607 + - *492 + - *493 + - *613 - *17 - *19 responses: @@ -87940,7 +89244,7 @@ paths: application/json: schema: type: array - items: &788 + items: &792 title: Status description: The status of a commit. type: object @@ -88021,7 +89325,7 @@ paths: site_admin: false headers: Link: *47 - '301': *491 + '301': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88049,8 +89353,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -88079,20 +89383,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *611 - required: *612 + properties: *617 + required: *618 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &613 + properties: &619 url: type: string format: uri html_url: type: string format: uri - required: &614 + required: &620 - url - html_url nullable: true @@ -88106,26 +89410,26 @@ paths: contributing: title: Community Health File type: object - properties: *613 - required: *614 + properties: *619 + required: *620 nullable: true readme: title: Community Health File type: object - properties: *613 - required: *614 + properties: *619 + required: *620 nullable: true issue_template: title: Community Health File type: object - properties: *613 - required: *614 + properties: *619 + required: *620 nullable: true pull_request_template: title: Community Health File type: object - properties: *613 - required: *614 + properties: *619 + required: *620 nullable: true required: - code_of_conduct @@ -88252,8 +89556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *485 - - *486 + - *492 + - *493 - *19 - *17 - name: basehead @@ -88296,8 +89600,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *602 - merge_base_commit: *602 + base_commit: *608 + merge_base_commit: *608 status: type: string enum: @@ -88317,10 +89621,10 @@ paths: example: 6 commits: type: array - items: *602 + items: *608 files: type: array - items: *615 + items: *621 required: - url - html_url @@ -88566,12 +89870,12 @@ paths: schema: type: string examples: - default: *616 + default: *622 application/vnd.github.patch: schema: type: string examples: - default: *617 + default: *623 '404': *6 '500': *40 '503': *200 @@ -88616,8 +89920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *485 - - *486 + - *492 + - *493 - name: path description: path parameter in: path @@ -88777,7 +90081,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &618 + response-if-content-is-a-file-github-object: &624 summary: Response if content is a file value: type: file @@ -88909,7 +90213,7 @@ paths: - size - type - url - - &740 + - &744 title: Content File description: Content File type: object @@ -89110,7 +90414,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *618 + response-if-content-is-a-file: *624 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -89179,7 +90483,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *619 + '302': *625 '304': *37 x-github: githubCloudOnly: false @@ -89202,8 +90506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *485 - - *486 + - *492 + - *493 - name: path description: path parameter in: path @@ -89296,7 +90600,7 @@ paths: description: Response content: application/json: - schema: &620 + schema: &626 title: File Commit description: File Commit type: object @@ -89448,7 +90752,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *626 examples: example-for-creating-a-file: value: @@ -89502,7 +90806,7 @@ paths: schema: oneOf: - *3 - - &660 + - &664 description: Repository rule violation was detected type: object properties: @@ -89523,7 +90827,7 @@ paths: items: type: object properties: - placeholder_id: &780 + placeholder_id: &784 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -89555,8 +90859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *485 - - *486 + - *492 + - *493 - name: path description: path parameter in: path @@ -89617,7 +90921,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *626 examples: default: value: @@ -89672,8 +90976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *485 - - *486 + - *492 + - *493 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -89796,24 +91100,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *485 - - *486 - - *344 - - *345 - - *346 - - *347 - - *348 + - *492 + - *493 + - *351 + - *352 + - *353 + - *354 + - *355 - 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 - - *349 - - *621 - - *350 - - *351 - - *352 + - *356 + - *627 + - *357 + - *358 + - *359 - *112 - *110 - *111 @@ -89825,7 +91129,7 @@ paths: application/json: schema: type: array - items: &625 + items: &631 type: object description: A Dependabot alert. properties: @@ -89872,7 +91176,7 @@ paths: - direct - transitive - inconclusive - security_advisory: *622 + security_advisory: *628 security_vulnerability: *135 url: *136 html_url: *137 @@ -89903,8 +91207,8 @@ paths: nullable: true maxLength: 280 fixed_at: *141 - auto_dismissed_at: *623 - dismissal_request: *624 + auto_dismissed_at: *629 + dismissal_request: *630 assignees: type: array description: The users assigned to this alert. @@ -90159,9 +91463,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *485 - - *486 - - &626 + - *492 + - *493 + - &632 name: alert_number in: path description: |- @@ -90176,7 +91480,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *631 examples: default: value: @@ -90308,9 +91612,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *485 - - *486 - - *626 + - *492 + - *493 + - *632 requestBody: required: true content: @@ -90366,7 +91670,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *631 examples: default: value: @@ -90496,8 +91800,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -90515,7 +91819,7 @@ paths: type: integer secrets: type: array - items: &629 + items: &635 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -90568,16 +91872,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: *627 + schema: *633 examples: - default: *628 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90597,15 +91901,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *485 - - *486 + - *492 + - *493 - *300 responses: '200': description: Response content: application/json: - schema: *629 + schema: *635 examples: default: value: @@ -90631,8 +91935,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *485 - - *486 + - *492 + - *493 - *300 requestBody: required: true @@ -90685,8 +91989,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *485 - - *486 + - *492 + - *493 - *300 responses: '204': @@ -90709,8 +92013,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: - - *485 - - *486 + - *492 + - *493 - 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 @@ -90870,8 +92174,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -91109,8 +92413,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: - - *485 - - *486 + - *492 + - *493 - name: sbom_uuid in: path required: true @@ -91121,7 +92425,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *630 + Location: *636 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -91142,8 +92446,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: - - *485 - - *486 + - *492 + - *493 responses: '201': description: Response @@ -91181,8 +92485,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -91257,7 +92561,7 @@ paths: - version - url additionalProperties: false - metadata: &631 + metadata: &637 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -91290,7 +92594,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *631 + metadata: *637 resolved: type: object description: A collection of resolved package dependencies. @@ -91303,7 +92607,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *631 + metadata: *637 relationship: type: string description: A notation of whether a dependency is requested @@ -91432,8 +92736,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *485 - - *486 + - *492 + - *493 - name: sha description: The SHA recorded at creation time. in: query @@ -91473,9 +92777,9 @@ paths: application/json: schema: type: array - items: *632 + items: *638 examples: - default: *633 + default: *639 headers: Link: *47 x-github: @@ -91541,8 +92845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -91623,7 +92927,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *638 examples: simple-example: summary: Simple example @@ -91696,9 +93000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *485 - - *486 - - &634 + - *492 + - *493 + - &640 name: deployment_id description: deployment_id parameter in: path @@ -91710,7 +93014,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *638 examples: default: value: @@ -91775,9 +93079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *485 - - *486 - - *634 + - *492 + - *493 + - *640 responses: '204': description: Response @@ -91799,9 +93103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *485 - - *486 - - *634 + - *492 + - *493 + - *640 - *17 - *19 responses: @@ -91811,7 +93115,7 @@ paths: application/json: schema: type: array - items: &635 + items: &641 title: Deployment Status description: The status of a deployment. type: object @@ -91972,9 +93276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *485 - - *486 - - *634 + - *492 + - *493 + - *640 requestBody: required: true content: @@ -92049,9 +93353,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *641 examples: - default: &636 + default: &642 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -92107,9 +93411,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *485 - - *486 - - *634 + - *492 + - *493 + - *640 - name: status_id in: path required: true @@ -92120,9 +93424,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *641 examples: - default: *636 + default: *642 '404': *6 x-github: githubCloudOnly: false @@ -92149,12 +93453,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *485 - - *486 - - *637 - - *638 - - *639 - - *640 + - *492 + - *493 + - *643 + - *644 + - *645 + - *646 - *17 - *19 responses: @@ -92164,9 +93468,9 @@ paths: application/json: schema: type: array - items: *641 + items: *647 examples: - default: *642 + default: *648 '404': *6 '403': *29 '500': *40 @@ -92190,8 +93494,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: alert_number in: path required: true @@ -92203,7 +93507,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *641 + schema: *647 examples: default: value: @@ -92259,8 +93563,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: alert_number in: path required: true @@ -92319,12 +93623,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *485 - - *486 - - *637 - - *638 - - *639 - - *640 + - *492 + - *493 + - *643 + - *644 + - *645 + - *646 - *17 - *19 responses: @@ -92334,9 +93638,9 @@ paths: application/json: schema: type: array - items: *643 + items: *649 examples: - default: *644 + default: *650 '404': *6 '403': *29 '500': *40 @@ -92360,8 +93664,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: alert_number in: path required: true @@ -92373,7 +93677,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *643 + schema: *649 examples: default: value: @@ -92424,8 +93728,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: alert_number in: path required: true @@ -92463,7 +93767,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *643 + schema: *649 examples: default: value: @@ -92514,8 +93818,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: alert_number in: path required: true @@ -92586,8 +93890,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: alert_number in: path required: true @@ -92620,12 +93924,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *485 - - *486 + - *492 + - *493 - *105 - *106 - *107 - - *358 + - *365 - *17 - *19 responses: @@ -92635,9 +93939,9 @@ paths: application/json: schema: type: array - items: *360 + items: *367 examples: - default: *361 + default: *368 '404': *6 '403': *29 '500': *40 @@ -92662,8 +93966,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: alert_number in: path required: true @@ -92675,7 +93979,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *360 + schema: *367 examples: default: value: @@ -92733,8 +94037,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: alert_number in: path required: true @@ -92803,8 +94107,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -92861,8 +94165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -92879,7 +94183,7 @@ paths: type: integer environments: type: array - items: &646 + items: &652 title: Environment description: Details of a deployment environment type: object @@ -92931,7 +94235,7 @@ paths: type: type: string example: wait_timer - wait_timer: &648 + wait_timer: &654 type: integer example: 30 description: The amount of time to delay a job after @@ -92968,11 +94272,11 @@ paths: items: type: object properties: - type: *645 + type: *651 reviewer: anyOf: - *4 - - *319 + - *326 required: - id - node_id @@ -92992,7 +94296,7 @@ paths: - id - node_id - type - deployment_branch_policy: &649 + deployment_branch_policy: &655 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -93108,9 +94412,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *485 - - *486 - - &647 + - *492 + - *493 + - &653 name: environment_name in: path required: true @@ -93123,9 +94427,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *652 examples: - default: &650 + default: &656 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -93209,9 +94513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 requestBody: required: false content: @@ -93220,7 +94524,7 @@ paths: type: object nullable: true properties: - wait_timer: *648 + wait_timer: *654 prevent_self_review: type: boolean example: false @@ -93237,13 +94541,13 @@ paths: items: type: object properties: - type: *645 + type: *651 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *649 + deployment_branch_policy: *655 additionalProperties: false examples: default: @@ -93263,9 +94567,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *652 examples: - default: *650 + default: *656 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -93289,9 +94593,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 responses: '204': description: Default response @@ -93316,9 +94620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 - *17 - *19 responses: @@ -93336,7 +94640,7 @@ paths: example: 2 branch_policies: type: array - items: &651 + items: &657 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -93393,9 +94697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 requestBody: required: true content: @@ -93441,9 +94745,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *657 examples: - example-wildcard: &652 + example-wildcard: &658 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -93485,10 +94789,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *485 - - *486 - - *647 - - &653 + - *492 + - *493 + - *653 + - &659 name: branch_policy_id in: path required: true @@ -93500,9 +94804,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *657 examples: - default: *652 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93521,10 +94825,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *485 - - *486 - - *647 + - *492 + - *493 - *653 + - *659 requestBody: required: true content: @@ -93552,9 +94856,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *657 examples: - default: *652 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93573,10 +94877,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *485 - - *486 - - *647 + - *492 + - *493 - *653 + - *659 responses: '204': description: Response @@ -93601,9 +94905,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: - - *647 - - *486 - - *485 + - *653 + - *493 + - *492 responses: '200': description: List of deployment protection rules @@ -93619,7 +94923,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &654 + items: &660 title: Deployment protection rule description: Deployment protection rule type: object @@ -93638,7 +94942,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &655 + app: &661 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -93737,9 +95041,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: - - *647 - - *486 - - *485 + - *653 + - *493 + - *492 requestBody: content: application/json: @@ -93760,9 +95064,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *654 + schema: *660 examples: - default: &656 + default: &662 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -93797,9 +95101,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: - - *647 - - *486 - - *485 + - *653 + - *493 + - *492 - *19 - *17 responses: @@ -93818,7 +95122,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *655 + items: *661 examples: default: value: @@ -93853,10 +95157,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: - - *485 - - *486 - - *647 - - &657 + - *492 + - *493 + - *653 + - &663 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -93868,9 +95172,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *660 examples: - default: *656 + default: *662 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93891,10 +95195,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: - - *647 - - *486 - - *485 - - *657 + - *653 + - *493 + - *492 + - *663 responses: '204': description: Response @@ -93920,9 +95224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 - *17 - *19 responses: @@ -93940,9 +95244,9 @@ paths: type: integer secrets: type: array - items: *516 + items: *522 examples: - default: *517 + default: *523 headers: Link: *47 x-github: @@ -93967,17 +95271,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 responses: '200': description: Response content: application/json: - schema: *518 + schema: *306 examples: - default: *519 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93999,18 +95303,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 - *300 responses: '200': description: Response content: application/json: - schema: *516 + schema: *522 examples: - default: *658 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94032,9 +95336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 - *300 requestBody: required: true @@ -94092,9 +95396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 - *300 responses: '204': @@ -94120,10 +95424,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *485 - - *486 - - *647 - - *503 + - *492 + - *493 + - *653 + - *309 - *19 responses: '200': @@ -94140,9 +95444,9 @@ paths: type: integer variables: type: array - items: *520 + items: *524 examples: - default: *521 + default: *525 headers: Link: *47 x-github: @@ -94165,9 +95469,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 requestBody: required: true content: @@ -94219,18 +95523,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 - *303 responses: '200': description: Response content: application/json: - schema: *520 + schema: *524 examples: - default: *659 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94251,10 +95555,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *485 - - *486 + - *492 + - *493 - *303 - - *647 + - *653 requestBody: required: true content: @@ -94296,10 +95600,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *485 - - *486 + - *492 + - *493 - *303 - - *647 + - *653 responses: '204': description: Response @@ -94321,8 +95625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -94390,8 +95694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *485 - - *486 + - *492 + - *493 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -94550,8 +95854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: false content: @@ -94583,9 +95887,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *497 examples: - default: *492 + default: *499 '400': *14 '422': *15 '403': *29 @@ -94606,8 +95910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -94667,7 +95971,7 @@ paths: schema: oneOf: - *265 - - *660 + - *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94692,8 +95996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *485 - - *486 + - *492 + - *493 - name: file_sha in: path required: true @@ -94792,8 +96096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -94902,7 +96206,7 @@ paths: description: Response content: application/json: - schema: &661 + schema: &665 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -95116,15 +96420,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *485 - - *486 - - *603 + - *492 + - *493 + - *609 responses: '200': description: Response content: application/json: - schema: *661 + schema: *665 examples: default: value: @@ -95180,9 +96484,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *485 - - *486 - - &662 + - *492 + - *493 + - &666 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. @@ -95199,7 +96503,7 @@ paths: application/json: schema: type: array - items: &663 + items: &667 title: Git Reference description: Git references within a repository type: object @@ -95274,17 +96578,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *485 - - *486 - - *662 + - *492 + - *493 + - *666 responses: '200': description: Response content: application/json: - schema: *663 + schema: *667 examples: - default: &664 + default: &668 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -95313,8 +96617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -95343,9 +96647,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *667 examples: - default: *664 + default: *668 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -95371,9 +96675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *485 - - *486 - - *662 + - *492 + - *493 + - *666 requestBody: required: true content: @@ -95402,9 +96706,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *667 examples: - default: *664 + default: *668 '422': *15 '409': *121 x-github: @@ -95422,9 +96726,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *485 - - *486 - - *662 + - *492 + - *493 + - *666 responses: '204': description: Response @@ -95479,8 +96783,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -95547,7 +96851,7 @@ paths: description: Response content: application/json: - schema: &666 + schema: &670 title: Git Tag description: Metadata for a Git tag type: object @@ -95598,7 +96902,7 @@ paths: - sha - type - url - verification: *665 + verification: *669 required: - sha - url @@ -95608,7 +96912,7 @@ paths: - tag - message examples: - default: &667 + default: &671 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -95681,8 +96985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *485 - - *486 + - *492 + - *493 - name: tag_sha in: path required: true @@ -95693,9 +96997,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *670 examples: - default: *667 + default: *671 '404': *6 '409': *121 x-github: @@ -95719,8 +97023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -95793,7 +97097,7 @@ paths: description: Response content: application/json: - schema: &668 + schema: &672 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -95889,8 +97193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *485 - - *486 + - *492 + - *493 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -95913,7 +97217,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *672 examples: default-response: summary: Default response @@ -95972,8 +97276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -95983,7 +97287,7 @@ paths: application/json: schema: type: array - items: &669 + items: &673 title: Webhook description: Webhooks for repositories. type: object @@ -96037,7 +97341,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &931 + last_response: &935 title: Hook Response type: object properties: @@ -96111,8 +97415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: false content: @@ -96164,9 +97468,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *673 examples: - default: &670 + default: &674 value: type: Repository id: 12345678 @@ -96214,17 +97518,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 responses: '200': description: Response content: application/json: - schema: *669 + schema: *673 examples: - default: *670 + default: *674 '404': *6 x-github: githubCloudOnly: false @@ -96244,9 +97548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 requestBody: required: true content: @@ -96291,9 +97595,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *673 examples: - default: *670 + default: *674 '422': *15 '404': *6 x-github: @@ -96314,9 +97618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 responses: '204': description: Response @@ -96340,9 +97644,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: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 responses: '200': description: Response @@ -96369,9 +97673,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: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 requestBody: required: false content: @@ -96415,12 +97719,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 - *17 - - *367 - - *368 + - *374 + - *375 responses: '200': description: Response @@ -96428,9 +97732,9 @@ paths: application/json: schema: type: array - items: *369 + items: *376 examples: - default: *370 + default: *377 '400': *14 '422': *15 x-github: @@ -96449,18 +97753,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: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 - *16 responses: '200': description: Response content: application/json: - schema: *371 + schema: *378 examples: - default: *372 + default: *379 '400': *14 '422': *15 x-github: @@ -96479,9 +97783,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: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 - *16 responses: '202': *39 @@ -96504,9 +97808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 responses: '204': description: Response @@ -96531,9 +97835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 responses: '204': description: Response @@ -96556,8 +97860,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response if immutable releases are enabled @@ -96603,8 +97907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': *130 '409': *121 @@ -96624,8 +97928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': *130 '409': *121 @@ -96682,14 +97986,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: &671 + schema: &675 title: Import description: A repository import from an external source. type: object @@ -96788,7 +98092,7 @@ paths: - html_url - authors_url examples: - default: &674 + default: &678 value: vcs: subversion use_lfs: true @@ -96804,7 +98108,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': &672 + '503': &676 description: Unavailable due to service under maintenance. content: application/json: @@ -96833,8 +98137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -96882,7 +98186,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *675 examples: default: value: @@ -96907,7 +98211,7 @@ paths: type: string '422': *15 '404': *6 - '503': *672 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96935,8 +98239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: false content: @@ -96985,7 +98289,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *675 examples: example-1: summary: Example 1 @@ -97033,7 +98337,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': *672 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97056,12 +98360,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response - '503': *672 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97087,9 +98391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *485 - - *486 - - &856 + - *492 + - *493 + - &860 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -97103,7 +98407,7 @@ paths: application/json: schema: type: array - items: &673 + items: &677 title: Porter Author description: Porter Author type: object @@ -97157,7 +98461,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': *672 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97182,8 +98486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *485 - - *486 + - *492 + - *493 - name: author_id in: path required: true @@ -97213,7 +98517,7 @@ paths: description: Response content: application/json: - schema: *673 + schema: *677 examples: default: value: @@ -97226,7 +98530,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *672 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97250,8 +98554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -97292,7 +98596,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *672 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97320,8 +98624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -97348,11 +98652,11 @@ paths: description: Response content: application/json: - schema: *671 + schema: *675 examples: - default: *674 + default: *678 '422': *15 - '503': *672 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97375,8 +98679,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -97384,8 +98688,8 @@ paths: application/json: schema: *22 examples: - default: *384 - '301': *491 + default: *391 + '301': *498 '404': *6 x-github: githubCloudOnly: false @@ -97405,8 +98709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -97414,12 +98718,12 @@ paths: application/json: schema: anyOf: - - *386 + - *393 - type: object properties: {} additionalProperties: false examples: - default: &676 + default: &680 value: limit: collaborators_only origin: repository @@ -97444,13 +98748,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: application/json: - schema: *675 + schema: *679 examples: default: summary: Example request body @@ -97462,9 +98766,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *393 examples: - default: *676 + default: *680 '409': description: Response x-github: @@ -97486,8 +98790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -97510,8 +98814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -97521,9 +98825,9 @@ paths: application/json: schema: type: array - items: *677 + items: *681 examples: - default: &849 + default: &853 value: - id: 1 repository: @@ -97654,9 +98958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *485 - - *486 - - *390 + - *492 + - *493 + - *397 requestBody: required: false content: @@ -97685,7 +98989,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *681 examples: default: value: @@ -97816,9 +99120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *485 - - *486 - - *390 + - *492 + - *493 + - *397 responses: '204': description: Response @@ -97849,8 +99153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *485 - - *486 + - *492 + - *493 - 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 @@ -97898,7 +99202,7 @@ paths: required: false schema: type: string - - *397 + - *404 - name: sort description: What to sort results by. in: query @@ -97923,7 +99227,7 @@ paths: type: array items: *229 examples: - default: &689 + default: &693 value: - id: 1 node_id: MDU6SXNzdWUx @@ -98072,7 +99376,7 @@ paths: state_reason: completed headers: Link: *47 - '301': *491 + '301': *498 '422': *15 '404': *6 x-github: @@ -98101,8 +99405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -98207,7 +99511,7 @@ paths: application/json: schema: *229 examples: - default: &686 + default: &690 value: id: 1 node_id: MDU6SXNzdWUx @@ -98364,7 +99668,7 @@ paths: '422': *15 '503': *200 '404': *6 - '410': *678 + '410': *682 x-github: triggersNotification: true githubCloudOnly: false @@ -98392,8 +99696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 - *253 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -98414,9 +99718,9 @@ paths: application/json: schema: type: array - items: *679 + items: *683 examples: - default: &688 + default: &692 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -98474,17 +99778,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 responses: '200': description: Response content: application/json: - schema: *679 + schema: *683 examples: - default: &680 + default: &684 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -98539,8 +99843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 requestBody: required: true @@ -98563,9 +99867,9 @@ paths: description: Response content: application/json: - schema: *679 + schema: *683 examples: - default: *680 + default: *684 '422': *15 x-github: githubCloudOnly: false @@ -98583,8 +99887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 responses: '204': @@ -98613,15 +99917,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 responses: '200': description: Response content: application/json: - schema: *679 + schema: *683 examples: default: value: @@ -98677,7 +99981,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *678 + '410': *682 '422': *15 x-github: githubCloudOnly: false @@ -98694,8 +99998,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 responses: '204': @@ -98703,7 +100007,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *678 + '410': *682 '503': *200 x-github: githubCloudOnly: false @@ -98721,8 +100025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -98749,9 +100053,9 @@ paths: application/json: schema: type: array - items: *600 + items: *606 examples: - default: *681 + default: *685 headers: Link: *47 '404': *6 @@ -98772,8 +100076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 requestBody: required: true @@ -98806,16 +100110,16 @@ paths: description: Reaction exists content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '201': description: Reaction created content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -98837,10 +100141,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *485 - - *486 + - *492 + - *493 - *245 - - *682 + - *686 responses: '204': description: Response @@ -98860,8 +100164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -98871,7 +100175,7 @@ paths: application/json: schema: type: array - items: &685 + items: &689 title: Issue Event description: Issue Event type: object @@ -98914,8 +100218,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *683 - required: *684 + properties: *687 + required: *688 nullable: true label: title: Issue Event Label @@ -98959,7 +100263,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *319 + requested_team: *326 dismissed_review: title: Issue Event Dismissed Review type: object @@ -99223,8 +100527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *485 - - *486 + - *492 + - *493 - name: event_id in: path required: true @@ -99235,7 +100539,7 @@ paths: description: Response content: application/json: - schema: *685 + schema: *689 examples: default: value: @@ -99428,7 +100732,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *678 + '410': *682 '403': *29 x-github: githubCloudOnly: false @@ -99462,9 +100766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *485 - - *486 - - &687 + - *492 + - *493 + - &691 name: issue_number description: The number that identifies the issue. in: path @@ -99480,7 +100784,7 @@ paths: examples: default: summary: Issue - value: *686 + value: *690 pinned_comment: summary: Issue with pinned comment value: @@ -99679,9 +100983,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *491 + '301': *498 '404': *6 - '410': *678 + '410': *682 '304': *37 x-github: githubCloudOnly: false @@ -99706,9 +101010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: false content: @@ -99834,13 +101138,13 @@ paths: application/json: schema: *229 examples: - default: *686 + default: *690 '422': *15 '503': *200 '403': *29 - '301': *491 + '301': *498 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99858,9 +101162,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: false content: @@ -99888,7 +101192,7 @@ paths: application/json: schema: *229 examples: - default: *686 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99904,9 +101208,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: content: application/json: @@ -99933,7 +101237,7 @@ paths: application/json: schema: *229 examples: - default: *686 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99955,9 +101259,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: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - name: assignee in: path required: true @@ -99997,9 +101301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - *236 - *17 - *19 @@ -100010,13 +101314,13 @@ paths: application/json: schema: type: array - items: *679 + items: *683 examples: - default: *688 + default: *692 headers: Link: *47 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100045,9 +101349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: true content: @@ -100069,16 +101373,16 @@ paths: description: Response content: application/json: - schema: *679 + schema: *683 examples: - default: *680 + default: *684 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *678 + '410': *682 '422': *15 '404': *6 x-github: @@ -100106,9 +101410,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: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - *17 - *19 responses: @@ -100120,12 +101424,12 @@ paths: type: array items: *229 examples: - default: *689 + default: *693 headers: Link: *47 - '301': *491 + '301': *498 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100153,9 +101457,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: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: true content: @@ -100179,15 +101483,15 @@ paths: application/json: schema: *229 examples: - default: *686 + default: *690 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *491 + '301': *498 '403': *29 - '410': *678 + '410': *682 '422': *15 '404': *6 x-github: @@ -100218,9 +101522,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: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -100234,13 +101538,13 @@ paths: application/json: schema: *229 examples: - default: *686 - '301': *491 + default: *690 + '301': *498 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *678 + '410': *682 x-github: triggersNotification: true githubCloudOnly: false @@ -100266,9 +101570,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: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - *17 - *19 responses: @@ -100280,12 +101584,12 @@ paths: type: array items: *229 examples: - default: *689 + default: *693 headers: Link: *47 - '301': *491 + '301': *498 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100302,9 +101606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - *17 - *19 responses: @@ -100318,7 +101622,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &693 + - &697 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -100372,7 +101676,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &694 + - &698 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -100508,7 +101812,7 @@ paths: - performed_via_github_app - assignee - assigner - - &695 + - &699 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -100559,7 +101863,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &696 + - &700 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -100610,7 +101914,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &697 + - &701 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -100664,7 +101968,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &698 + - &702 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -100698,7 +102002,7 @@ paths: properties: *224 required: *225 review_requester: *4 - requested_team: *319 + requested_team: *326 requested_reviewer: *4 required: - review_requester @@ -100711,7 +102015,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &699 + - &703 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -100745,7 +102049,7 @@ paths: properties: *224 required: *225 review_requester: *4 - requested_team: *319 + requested_team: *326 requested_reviewer: *4 required: - review_requester @@ -100758,7 +102062,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &700 + - &704 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -100818,7 +102122,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &701 + - &705 title: Locked Issue Event description: Locked Issue Event type: object @@ -100866,7 +102170,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &702 + - &706 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -100932,7 +102236,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &703 + - &707 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -100998,7 +102302,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &704 + - &708 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -101064,7 +102368,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &705 + - &709 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -101155,7 +102459,7 @@ paths: color: red headers: Link: *47 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101172,9 +102476,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: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - *17 - *19 responses: @@ -101184,9 +102488,9 @@ paths: application/json: schema: type: array - items: *690 + items: *694 examples: - default: &691 + default: &695 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -101210,9 +102514,9 @@ paths: value: '2025-12-25' headers: Link: *47 - '301': *491 + '301': *498 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101241,9 +102545,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: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: true content: @@ -101307,9 +102611,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *690 + items: *694 examples: - default: *691 + default: *695 '400': *14 '403': *29 '404': *6 @@ -101345,9 +102649,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: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: true content: @@ -101412,9 +102716,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *690 + items: *694 examples: - default: *691 + default: *695 '400': *14 '403': *29 '404': *6 @@ -101445,10 +102749,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: - - *485 - - *486 - - *687 - - *393 + - *492 + - *493 + - *691 + - *400 responses: '204': description: Issue field value deleted successfully @@ -101473,9 +102777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - *17 - *19 responses: @@ -101487,7 +102791,7 @@ paths: type: array items: *228 examples: - default: &692 + default: &696 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -101505,9 +102809,9 @@ paths: default: false headers: Link: *47 - '301': *491 + '301': *498 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101523,9 +102827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: false content: @@ -101570,10 +102874,10 @@ paths: type: array items: *228 examples: - default: *692 - '301': *491 + default: *696 + '301': *498 '404': *6 - '410': *678 + '410': *682 '422': *15 x-github: githubCloudOnly: false @@ -101590,9 +102894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: false content: @@ -101654,10 +102958,10 @@ paths: type: array items: *228 examples: - default: *692 - '301': *491 + default: *696 + '301': *498 '404': *6 - '410': *678 + '410': *682 '422': *15 x-github: githubCloudOnly: false @@ -101674,15 +102978,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 responses: '204': description: Response - '301': *491 + '301': *498 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101701,9 +103005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - name: name in: path required: true @@ -101727,9 +103031,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *491 + '301': *498 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101749,9 +103053,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: false content: @@ -101779,7 +103083,7 @@ paths: '204': description: Response '403': *29 - '410': *678 + '410': *682 '404': *6 '422': *15 x-github: @@ -101797,9 +103101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 responses: '204': description: Response @@ -101829,9 +103133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 responses: '200': description: Response @@ -101839,10 +103143,10 @@ paths: application/json: schema: *229 examples: - default: *686 - '301': *491 + default: *690 + '301': *498 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101859,9 +103163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - 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. @@ -101887,13 +103191,13 @@ paths: application/json: schema: type: array - items: *600 + items: *606 examples: - default: *681 + default: *685 headers: Link: *47 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101911,9 +103215,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: true content: @@ -101945,16 +103249,16 @@ paths: description: Response content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '201': description: Response content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -101976,10 +103280,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *485 - - *486 - - *687 - - *682 + - *492 + - *493 + - *691 + - *686 responses: '204': description: Response @@ -102008,9 +103312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: true content: @@ -102034,7 +103338,7 @@ paths: application/json: schema: *229 examples: - default: *686 + default: *690 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -102067,9 +103371,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - *17 - *19 responses: @@ -102081,11 +103385,11 @@ paths: type: array items: *229 examples: - default: *689 + default: *693 headers: Link: *47 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102113,9 +103417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: true content: @@ -102144,14 +103448,14 @@ paths: application/json: schema: *229 examples: - default: *686 + default: *690 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *678 + '410': *682 '422': *15 '404': *6 x-github: @@ -102171,9 +103475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: true content: @@ -102206,7 +103510,7 @@ paths: application/json: schema: *229 examples: - default: *686 + default: *690 '403': *29 '404': *6 '422': *7 @@ -102228,9 +103532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - *17 - *19 responses: @@ -102245,10 +103549,6 @@ paths: description: Timeline Event type: object anyOf: - - *693 - - *694 - - *695 - - *696 - *697 - *698 - *699 @@ -102258,6 +103558,10 @@ paths: - *703 - *704 - *705 + - *706 + - *707 + - *708 + - *709 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -102318,8 +103622,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *706 - required: *707 + properties: *710 + required: *711 nullable: true required: - event @@ -102574,7 +103878,7 @@ paths: type: string comments: type: array - items: &729 + items: &733 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -102789,7 +104093,7 @@ paths: type: string comments: type: array - items: *599 + items: *605 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -103078,7 +104382,7 @@ paths: headers: Link: *47 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103095,8 +104399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -103106,7 +104410,7 @@ paths: application/json: schema: type: array - items: &708 + items: &712 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -103172,8 +104476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -103209,9 +104513,9 @@ paths: description: Response content: application/json: - schema: *708 + schema: *712 examples: - default: &709 + default: &713 value: id: 1 key: ssh-rsa AAA... @@ -103245,9 +104549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *485 - - *486 - - &710 + - *492 + - *493 + - &714 name: key_id description: The unique identifier of the key. in: path @@ -103259,9 +104563,9 @@ paths: description: Response content: application/json: - schema: *708 + schema: *712 examples: - default: *709 + default: *713 '404': *6 x-github: githubCloudOnly: false @@ -103279,9 +104583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *485 - - *486 - - *710 + - *492 + - *493 + - *714 responses: '204': description: Response @@ -103301,8 +104605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -103314,7 +104618,7 @@ paths: type: array items: *228 examples: - default: *692 + default: *696 headers: Link: *47 '404': *6 @@ -103335,8 +104639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -103374,7 +104678,7 @@ paths: application/json: schema: *228 examples: - default: &711 + default: &715 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -103406,8 +104710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *485 - - *486 + - *492 + - *493 - name: name in: path required: true @@ -103420,7 +104724,7 @@ paths: application/json: schema: *228 examples: - default: *711 + default: *715 '404': *6 x-github: githubCloudOnly: false @@ -103437,8 +104741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *485 - - *486 + - *492 + - *493 - name: name in: path required: true @@ -103503,8 +104807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *485 - - *486 + - *492 + - *493 - name: name in: path required: true @@ -103530,8 +104834,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -103567,8 +104871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 responses: '202': *39 '403': @@ -103596,8 +104900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -103623,9 +104927,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *485 - - *486 - - *572 + - *492 + - *493 + - *578 responses: '200': description: Response @@ -103770,8 +105074,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -103836,8 +105140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -103871,9 +105175,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *602 + schema: *608 examples: - default: *712 + default: *716 '204': description: Response when already merged '404': @@ -103898,8 +105202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *485 - - *486 + - *492 + - *493 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -103940,12 +105244,12 @@ paths: application/json: schema: type: array - items: &713 + items: &717 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *429 - required: *430 + properties: *436 + required: *437 examples: default: value: @@ -104001,8 +105305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -104042,9 +105346,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: &714 + default: &718 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -104103,9 +105407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *485 - - *486 - - &715 + - *492 + - *493 + - &719 name: milestone_number description: The number that identifies the milestone. in: path @@ -104117,9 +105421,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: *714 + default: *718 '404': *6 x-github: githubCloudOnly: false @@ -104136,9 +105440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *485 - - *486 - - *715 + - *492 + - *493 + - *719 requestBody: required: false content: @@ -104176,9 +105480,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: *714 + default: *718 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104194,9 +105498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *485 - - *486 - - *715 + - *492 + - *493 + - *719 responses: '204': description: Response @@ -104217,9 +105521,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: - - *485 - - *486 - - *715 + - *492 + - *493 + - *719 - *17 - *19 responses: @@ -104231,7 +105535,7 @@ paths: type: array items: *228 examples: - default: *692 + default: *696 headers: Link: *47 x-github: @@ -104250,12 +105554,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: - - *485 - - *486 - - *716 - - *717 + - *492 + - *493 + - *720 + - *721 - *236 - - *718 + - *722 - *17 - *19 responses: @@ -104267,7 +105571,7 @@ paths: type: array items: *256 examples: - default: *719 + default: *723 headers: Link: *47 x-github: @@ -104291,8 +105595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: false content: @@ -104350,14 +105654,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: &720 + schema: &724 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -104482,7 +105786,7 @@ paths: - custom_404 - public examples: - default: &721 + default: &725 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -104523,8 +105827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -104578,9 +105882,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *724 examples: - default: *721 + default: *725 '422': *15 '409': *121 x-github: @@ -104603,8 +105907,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -104711,8 +106015,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -104738,8 +106042,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -104749,7 +106053,7 @@ paths: application/json: schema: type: array - items: &722 + items: &726 title: Page Build description: Page Build type: object @@ -104843,8 +106147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *485 - - *486 + - *492 + - *493 responses: '201': description: Response @@ -104889,16 +106193,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: *722 + schema: *726 examples: - default: &723 + default: &727 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -104946,8 +106250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *485 - - *486 + - *492 + - *493 - name: build_id in: path required: true @@ -104958,9 +106262,9 @@ paths: description: Response content: application/json: - schema: *722 + schema: *726 examples: - default: *723 + default: *727 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104980,8 +106284,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -105086,9 +106390,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: - - *485 - - *486 - - &724 + - *492 + - *493 + - &728 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -105146,9 +106450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *485 - - *486 - - *724 + - *492 + - *493 + - *728 responses: '204': *130 '404': *6 @@ -105175,8 +106479,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -105434,8 +106738,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Private vulnerability reporting status @@ -105472,8 +106776,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: - - *485 - - *486 + - *492 + - *493 responses: '204': *130 '422': *14 @@ -105494,8 +106798,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: - - *485 - - *486 + - *492 + - *493 responses: '204': *130 '422': *14 @@ -105517,8 +106821,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -105528,7 +106832,7 @@ paths: type: array items: *160 examples: - default: *725 + default: *729 '403': *29 '404': *6 x-github: @@ -105550,8 +106854,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -105567,7 +106871,7 @@ paths: required: - properties examples: - default: *726 + default: *730 responses: '204': description: No Content when custom property values are successfully created @@ -105605,8 +106909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -105666,9 +106970,9 @@ paths: application/json: schema: type: array - items: *606 + items: *612 examples: - default: *727 + default: *731 headers: Link: *47 '304': *37 @@ -105700,8 +107004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -105766,7 +107070,7 @@ paths: description: Response content: application/json: - schema: &731 + schema: &735 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -105877,8 +107181,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *429 - required: *430 + properties: *436 + required: *437 nullable: true active_lock_reason: type: string @@ -105921,7 +107225,7 @@ paths: items: *4 requested_teams: type: array - items: *469 + items: *476 head: type: object properties: @@ -105959,14 +107263,14 @@ paths: _links: type: object properties: - comments: *431 - commits: *431 - statuses: *431 - html: *431 - issue: *431 - review_comments: *431 - review_comment: *431 - self: *431 + comments: *438 + commits: *438 + statuses: *438 + html: *438 + issue: *438 + review_comments: *438 + review_comment: *438 + self: *438 required: - comments - commits @@ -105977,7 +107281,7 @@ paths: - review_comment - self author_association: *226 - auto_merge: *728 + auto_merge: *732 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -106069,7 +107373,7 @@ paths: - merged_by - review_comments examples: - default: &732 + default: &736 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -106596,8 +107900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *485 - - *486 + - *492 + - *493 - name: sort in: query required: false @@ -106626,9 +107930,9 @@ paths: application/json: schema: type: array - items: *729 + items: *733 examples: - default: &734 + default: &738 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -106705,17 +108009,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: - - *485 - - *486 + - *492 + - *493 - *245 responses: '200': description: Response content: application/json: - schema: *729 + schema: *733 examples: - default: &730 + default: &734 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -106790,8 +108094,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: - - *485 - - *486 + - *492 + - *493 - *245 requestBody: required: true @@ -106814,9 +108118,9 @@ paths: description: Response content: application/json: - schema: *729 + schema: *733 examples: - default: *730 + default: *734 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106832,8 +108136,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: - - *485 - - *486 + - *492 + - *493 - *245 responses: '204': @@ -106855,8 +108159,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: - - *485 - - *486 + - *492 + - *493 - *245 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -106883,9 +108187,9 @@ paths: application/json: schema: type: array - items: *600 + items: *606 examples: - default: *681 + default: *685 headers: Link: *47 '404': *6 @@ -106906,8 +108210,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: - - *485 - - *486 + - *492 + - *493 - *245 requestBody: required: true @@ -106940,16 +108244,16 @@ paths: description: Reaction exists content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '201': description: Reaction created content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -106971,10 +108275,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *485 - - *486 + - *492 + - *493 - *245 - - *682 + - *686 responses: '204': description: Response @@ -107017,9 +108321,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *485 - - *486 - - &733 + - *492 + - *493 + - &737 name: pull_number description: The number that identifies the pull request. in: path @@ -107032,9 +108336,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *731 + schema: *735 examples: - default: *732 + default: *736 '304': *37 '404': *6 '406': @@ -107069,9 +108373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 requestBody: required: false content: @@ -107113,9 +108417,9 @@ paths: description: Response content: application/json: - schema: *731 + schema: *735 examples: - default: *732 + default: *736 '422': *15 '403': *29 x-github: @@ -107137,9 +108441,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#archive-a-pull-request parameters: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 responses: '204': description: Response @@ -107164,9 +108468,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#unarchive-a-pull-request parameters: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 responses: '204': description: Response @@ -107192,9 +108496,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: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 requestBody: required: true content: @@ -107254,17 +108558,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '401': *25 '403': *29 '404': *6 @@ -107294,9 +108598,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: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 - *253 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -107317,9 +108621,9 @@ paths: application/json: schema: type: array - items: *729 + items: *733 examples: - default: *734 + default: *738 headers: Link: *47 x-github: @@ -107352,9 +108656,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: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 requestBody: required: true content: @@ -107459,7 +108763,7 @@ paths: description: Response content: application/json: - schema: *729 + schema: *733 examples: example-for-a-multi-line-comment: value: @@ -107547,9 +108851,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: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 - *245 requestBody: required: true @@ -107572,7 +108876,7 @@ paths: description: Response content: application/json: - schema: *729 + schema: *733 examples: default: value: @@ -107658,9 +108962,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 - *17 - *19 responses: @@ -107670,9 +108974,9 @@ paths: application/json: schema: type: array - items: *602 + items: *608 examples: - default: *735 + default: *739 headers: Link: *47 x-github: @@ -107702,9 +109006,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 - *17 - *19 responses: @@ -107714,7 +109018,7 @@ paths: application/json: schema: type: array - items: *615 + items: *621 examples: default: value: @@ -107752,9 +109056,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: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 responses: '204': description: Response if pull request has been merged @@ -107777,9 +109081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 requestBody: required: false content: @@ -107890,9 +109194,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: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 responses: '200': description: Response @@ -107908,7 +109212,7 @@ paths: items: *4 teams: type: array - items: *319 + items: *326 required: - users - teams @@ -107967,9 +109271,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: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 requestBody: required: false content: @@ -108006,7 +109310,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *612 examples: default: value: @@ -108542,9 +109846,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: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 requestBody: required: true content: @@ -108578,7 +109882,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *612 examples: default: value: @@ -109083,9 +110387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 - *17 - *19 responses: @@ -109095,7 +110399,7 @@ paths: application/json: schema: type: array - items: &736 + items: &740 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -109246,9 +110550,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: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 requestBody: required: false content: @@ -109334,9 +110638,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *740 examples: - default: &738 + default: &742 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -109399,10 +110703,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: - - *485 - - *486 - - *733 - - &737 + - *492 + - *493 + - *737 + - &741 name: review_id description: The unique identifier of the review. in: path @@ -109414,9 +110718,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *740 examples: - default: &739 + default: &743 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -109475,10 +110779,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: - - *485 - - *486 - - *733 + - *492 + - *493 - *737 + - *741 requestBody: required: true content: @@ -109501,7 +110805,7 @@ paths: description: Response content: application/json: - schema: *736 + schema: *740 examples: default: value: @@ -109563,18 +110867,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: - - *485 - - *486 - - *733 + - *492 + - *493 - *737 + - *741 responses: '200': description: Response content: application/json: - schema: *736 + schema: *740 examples: - default: *738 + default: *742 '422': *7 '404': *6 x-github: @@ -109601,10 +110905,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: - - *485 - - *486 - - *733 + - *492 + - *493 - *737 + - *741 - *17 - *19 responses: @@ -109687,9 +110991,9 @@ paths: _links: type: object properties: - self: *431 - html: *431 - pull_request: *431 + self: *438 + html: *438 + pull_request: *438 required: - self - html @@ -109839,10 +111143,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: - - *485 - - *486 - - *733 + - *492 + - *493 - *737 + - *741 requestBody: required: true content: @@ -109870,7 +111174,7 @@ paths: description: Response content: application/json: - schema: *736 + schema: *740 examples: default: value: @@ -109933,10 +111237,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: - - *485 - - *486 - - *733 + - *492 + - *493 - *737 + - *741 requestBody: required: true content: @@ -109971,9 +111275,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *740 examples: - default: *739 + default: *743 '404': *6 '422': *7 '403': *29 @@ -109995,9 +111299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 requestBody: required: false content: @@ -110060,8 +111364,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *485 - - *486 + - *492 + - *493 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -110074,9 +111378,9 @@ paths: description: Response content: application/json: - schema: *740 + schema: *744 examples: - default: &741 + default: &745 value: type: file encoding: base64 @@ -110118,8 +111422,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: - - *485 - - *486 + - *492 + - *493 - name: dir description: The alternate path to look for a README file in: path @@ -110139,9 +111443,9 @@ paths: description: Response content: application/json: - schema: *740 + schema: *744 examples: - default: *741 + default: *745 '404': *6 '422': *15 x-github: @@ -110163,8 +111467,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -110174,7 +111478,7 @@ paths: application/json: schema: type: array - items: *742 + items: *746 examples: default: value: @@ -110268,8 +111572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -110345,9 +111649,9 @@ paths: description: Response content: application/json: - schema: *742 + schema: *746 examples: - default: &746 + default: &750 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -110452,9 +111756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *485 - - *486 - - &744 + - *492 + - *493 + - &748 name: asset_id description: The unique identifier of the asset. in: path @@ -110466,9 +111770,9 @@ paths: description: Response content: application/json: - schema: *743 + schema: *747 examples: - default: &745 + default: &749 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 @@ -110503,7 +111807,7 @@ paths: type: User site_admin: false '404': *6 - '302': *619 + '302': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110519,9 +111823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *485 - - *486 - - *744 + - *492 + - *493 + - *748 requestBody: required: false content: @@ -110549,9 +111853,9 @@ paths: description: Response content: application/json: - schema: *743 + schema: *747 examples: - default: *745 + default: *749 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110567,9 +111871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *485 - - *486 - - *744 + - *492 + - *493 + - *748 responses: '204': description: Response @@ -110594,8 +111898,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -110680,16 +111984,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: *742 + schema: *746 examples: - default: *746 + default: *750 '404': *6 x-github: githubCloudOnly: false @@ -110707,8 +112011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *485 - - *486 + - *492 + - *493 - name: tag description: tag parameter in: path @@ -110721,9 +112025,9 @@ paths: description: Response content: application/json: - schema: *742 + schema: *746 examples: - default: *746 + default: *750 '404': *6 x-github: githubCloudOnly: false @@ -110745,9 +112049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *485 - - *486 - - &747 + - *492 + - *493 + - &751 name: release_id description: The unique identifier of the release. in: path @@ -110761,9 +112065,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: *742 + schema: *746 examples: - default: *746 + default: *750 '401': description: Unauthorized x-github: @@ -110781,9 +112085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *485 - - *486 - - *747 + - *492 + - *493 + - *751 requestBody: required: false content: @@ -110847,9 +112151,9 @@ paths: description: Response content: application/json: - schema: *742 + schema: *746 examples: - default: *746 + default: *750 '404': description: Not Found if the discussion category name is invalid content: @@ -110870,9 +112174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *485 - - *486 - - *747 + - *492 + - *493 + - *751 responses: '204': description: Response @@ -110893,9 +112197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *485 - - *486 - - *747 + - *492 + - *493 + - *751 - *17 - *19 responses: @@ -110905,7 +112209,7 @@ paths: application/json: schema: type: array - items: *743 + items: *747 examples: default: value: @@ -110987,9 +112291,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: - - *485 - - *486 - - *747 + - *492 + - *493 + - *751 - name: name in: query required: true @@ -111015,7 +112319,7 @@ paths: description: Response for successful upload content: application/json: - schema: *743 + schema: *747 examples: response-for-successful-upload: value: @@ -111070,9 +112374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *485 - - *486 - - *747 + - *492 + - *493 + - *751 - 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. @@ -111096,9 +112400,9 @@ paths: application/json: schema: type: array - items: *600 + items: *606 examples: - default: *681 + default: *685 headers: Link: *47 '404': *6 @@ -111119,9 +112423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *485 - - *486 - - *747 + - *492 + - *493 + - *751 requestBody: required: true content: @@ -111151,16 +112455,16 @@ paths: description: Reaction exists content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '201': description: Reaction created content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -111182,10 +112486,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *485 - - *486 - - *747 - - *682 + - *492 + - *493 + - *751 + - *686 responses: '204': description: Response @@ -111209,9 +112513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 - *17 - *19 responses: @@ -111228,7 +112532,7 @@ paths: oneOf: - allOf: - *174 - - &748 + - &752 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -111249,67 +112553,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *175 - - *748 + - *752 - allOf: - *176 - - *748 + - *752 - allOf: - *177 - - *748 + - *752 - allOf: - - *749 - - *748 + - *753 + - *752 - allOf: - *178 - - *748 + - *752 - allOf: - *179 - - *748 + - *752 - allOf: - *180 - - *748 + - *752 - allOf: - *181 - - *748 + - *752 - allOf: - *182 - - *748 + - *752 - allOf: - *183 - - *748 + - *752 - allOf: - *184 - - *748 + - *752 - allOf: - *185 - - *748 + - *752 - allOf: - *186 - - *748 + - *752 - allOf: - *187 - - *748 + - *752 - allOf: - *188 - - *748 + - *752 - allOf: - *189 - - *748 + - *752 - allOf: - *190 - - *748 + - *752 - allOf: - *191 - - *748 + - *752 - allOf: - *192 - - *748 + - *752 - allOf: - *193 - - *748 + - *752 - allOf: - *194 - - *748 + - *752 examples: default: value: @@ -111348,8 +112652,8 @@ paths: category: repos subcategory: rules parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 - name: includes_parents @@ -111360,7 +112664,7 @@ paths: schema: type: boolean default: true - - *750 + - *754 responses: '200': description: Response @@ -111415,8 +112719,8 @@ paths: category: repos subcategory: rules parameters: - - *485 - - *486 + - *492 + - *493 requestBody: description: Request body required: true @@ -111445,7 +112749,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *751 + items: *755 required: - name - enforcement @@ -111478,7 +112782,7 @@ paths: application/json: schema: *195 examples: - default: &760 + default: &764 value: id: 42 name: super cool ruleset @@ -111526,12 +112830,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *485 - - *486 - - *752 + - *492 + - *493 + - *756 - *107 - - *753 - - *754 + - *757 + - *758 - *17 - *19 responses: @@ -111539,9 +112843,9 @@ paths: description: Response content: application/json: - schema: *755 + schema: *759 examples: - default: *756 + default: *760 '404': *6 '500': *40 x-github: @@ -111562,17 +112866,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *485 - - *486 - - *757 + - *492 + - *493 + - *761 responses: '200': description: Response content: application/json: - schema: *758 + schema: *762 examples: - default: *759 + default: *763 '404': *6 '500': *40 x-github: @@ -111600,8 +112904,8 @@ paths: category: repos subcategory: rules parameters: - - *485 - - *486 + - *492 + - *493 - name: ruleset_id description: The ID of the ruleset. in: path @@ -111623,7 +112927,7 @@ paths: application/json: schema: *195 examples: - default: *760 + default: *764 '404': *6 '500': *40 put: @@ -111641,8 +112945,8 @@ paths: category: repos subcategory: rules parameters: - - *485 - - *486 + - *492 + - *493 - name: ruleset_id description: The ID of the ruleset. in: path @@ -111676,7 +112980,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *751 + items: *755 examples: default: value: @@ -111706,7 +113010,7 @@ paths: application/json: schema: *195 examples: - default: *760 + default: *764 '404': *6 '422': *15 '500': *40 @@ -111725,8 +113029,8 @@ paths: category: repos subcategory: rules parameters: - - *485 - - *486 + - *492 + - *493 - name: ruleset_id description: The ID of the ruleset. in: path @@ -111749,8 +113053,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 - name: ruleset_id @@ -111768,7 +113072,7 @@ paths: type: array items: *199 examples: - default: *449 + default: *456 '404': *6 '500': *40 x-github: @@ -111787,8 +113091,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *485 - - *486 + - *492 + - *493 - name: ruleset_id description: The ID of the ruleset. in: path @@ -111806,7 +113110,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *457 examples: default: value: @@ -111861,26 +113165,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: - - *485 - - *486 - - *451 - - *452 - - *453 - - *454 - - *455 - - *456 - - *457 + - *492 + - *493 - *458 - - *112 - - *19 - - *17 - - *761 - - *762 - *459 - *460 - *461 - *462 - *463 + - *464 + - *465 + - *112 + - *19 + - *17 + - *765 + - *766 + - *466 + - *467 + - *468 + - *469 + - *470 responses: '200': description: Response @@ -111888,7 +113192,7 @@ paths: application/json: schema: type: array - items: &766 + items: &770 type: object properties: number: *131 @@ -111907,8 +113211,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *763 - resolution: *764 + state: *767 + resolution: *768 resolved_at: type: string format: date-time @@ -112014,7 +113318,7 @@ paths: pull request. ' - oneOf: *765 + oneOf: *769 nullable: true has_more_locations: type: boolean @@ -112178,16 +113482,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: - - *485 - - *486 - - *566 - - *462 + - *492 + - *493 + - *572 + - *469 responses: '200': description: Response content: application/json: - schema: *766 + schema: *770 examples: default: value: @@ -112241,9 +113545,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: - - *485 - - *486 - - *566 + - *492 + - *493 + - *572 requestBody: required: true content: @@ -112251,8 +113555,8 @@ paths: schema: type: object properties: - state: *763 - resolution: *764 + state: *767 + resolution: *768 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -112296,7 +113600,7 @@ paths: description: Response content: application/json: - schema: *766 + schema: *770 examples: default: value: @@ -112395,9 +113699,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: - - *485 - - *486 - - *566 + - *492 + - *493 + - *572 - *19 - *17 responses: @@ -112408,7 +113712,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &953 + items: &957 type: object properties: type: @@ -112434,10 +113738,6 @@ paths: example: commit details: oneOf: - - *767 - - *768 - - *769 - - *770 - *771 - *772 - *773 @@ -112447,6 +113747,10 @@ paths: - *777 - *778 - *779 + - *780 + - *781 + - *782 + - *783 examples: default: value: @@ -112532,8 +113836,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -112541,14 +113845,14 @@ paths: schema: type: object properties: - reason: &781 + reason: &785 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *780 + placeholder_id: *784 required: - reason - placeholder_id @@ -112565,7 +113869,7 @@ paths: schema: type: object properties: - reason: *781 + reason: *785 expire_at: type: string format: date-time @@ -112611,8 +113915,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: - - *485 - - *486 + - *492 + - *493 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -112627,7 +113931,7 @@ paths: properties: incremental_scans: type: array - items: &782 + items: &786 description: Information on a single scan performed by secret scanning on the repository type: object @@ -112653,15 +113957,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *782 + items: *786 backfill_scans: type: array - items: *782 + items: *786 custom_pattern_backfill_scans: type: array items: allOf: - - *782 + - *786 - type: object properties: pattern_name: @@ -112674,7 +113978,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *782 + items: *786 examples: default: value: @@ -112739,8 +114043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *485 - - *486 + - *492 + - *493 - *112 - name: sort description: The property to sort the results by. @@ -112784,9 +114088,9 @@ paths: application/json: schema: type: array - items: *783 + items: *787 examples: - default: *784 + default: *788 '400': *14 '404': *6 x-github: @@ -112809,8 +114113,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -112883,7 +114187,7 @@ paths: login: type: string description: The username of the user credited. - type: *468 + type: *475 required: - login - type @@ -112970,9 +114274,9 @@ paths: description: Response content: application/json: - schema: *783 + schema: *787 examples: - default: &786 + default: &790 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -113205,8 +114509,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -113310,7 +114614,7 @@ paths: description: Response content: application/json: - schema: *783 + schema: *787 examples: default: value: @@ -113457,17 +114761,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: - - *485 - - *486 - - *785 + - *492 + - *493 + - *789 responses: '200': description: Response content: application/json: - schema: *783 + schema: *787 examples: - default: *786 + default: *790 '403': *29 '404': *6 x-github: @@ -113491,9 +114795,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: - - *485 - - *486 - - *785 + - *492 + - *493 + - *789 requestBody: required: true content: @@ -113566,7 +114870,7 @@ paths: login: type: string description: The username of the user credited. - type: *468 + type: *475 required: - login - type @@ -113652,10 +114956,10 @@ paths: description: Response content: application/json: - schema: *783 + schema: *787 examples: - default: *786 - add_credit: *786 + default: *790 + add_credit: *790 '403': *29 '404': *6 '422': @@ -113693,9 +114997,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: - - *485 - - *486 - - *785 + - *492 + - *493 + - *789 responses: '202': *39 '400': *14 @@ -113722,17 +115026,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: - - *485 - - *486 - - *785 + - *492 + - *493 + - *789 responses: '202': description: Response content: application/json: - schema: *490 + schema: *497 examples: - default: *492 + default: *499 '400': *14 '422': *15 '403': *29 @@ -113758,8 +115062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -113858,8 +115162,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -113868,7 +115172,7 @@ paths: application/json: schema: type: array - items: &787 + items: &791 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -113901,8 +115205,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -113978,8 +115282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -114075,8 +115379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -114230,8 +115534,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -114241,7 +115545,7 @@ paths: application/json: schema: type: array - items: *787 + items: *791 examples: default: value: @@ -114274,8 +115578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *485 - - *486 + - *492 + - *493 - name: sha in: path required: true @@ -114329,7 +115633,7 @@ paths: description: Response content: application/json: - schema: *788 + schema: *792 examples: default: value: @@ -114383,8 +115687,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -114416,14 +115720,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &789 + schema: &793 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -114491,8 +115795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: false content: @@ -114518,7 +115822,7 @@ paths: description: Response content: application/json: - schema: *789 + schema: *793 examples: default: value: @@ -114545,8 +115849,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -114566,8 +115870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -114646,8 +115950,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *485 - - *486 + - *492 + - *493 - name: ref in: path required: true @@ -114683,8 +115987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -114694,9 +115998,9 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: - default: *409 + default: *416 headers: Link: *47 '404': *6 @@ -114716,8 +116020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *485 - - *486 + - *492 + - *493 - *19 - *17 responses: @@ -114725,7 +116029,7 @@ paths: description: Response content: application/json: - schema: &790 + schema: &794 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -114737,7 +116041,7 @@ paths: required: - names examples: - default: &791 + default: &795 value: names: - octocat @@ -114760,8 +116064,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -114792,9 +116096,9 @@ paths: description: Response content: application/json: - schema: *790 + schema: *794 examples: - default: *791 + default: *795 '404': *6 '422': *7 x-github: @@ -114815,9 +116119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *485 - - *486 - - &792 + - *492 + - *493 + - &796 name: per description: The time frame to display results for. in: query @@ -114846,7 +116150,7 @@ paths: example: 128 clones: type: array - items: &793 + items: &797 title: Traffic type: object properties: @@ -114933,8 +116237,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -115024,8 +116328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -115085,9 +116389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *485 - - *486 - - *792 + - *492 + - *493 + - *796 responses: '200': description: Response @@ -115106,7 +116410,7 @@ paths: example: 3782 views: type: array - items: *793 + items: *797 required: - uniques - count @@ -115183,8 +116487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -115458,8 +116762,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: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -115482,8 +116786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -115505,8 +116809,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -115532,8 +116836,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *485 - - *486 + - *492 + - *493 - name: ref in: path required: true @@ -115625,9 +116929,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *497 examples: - default: *492 + default: *499 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -115778,7 +117082,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &801 + - &805 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -115787,7 +117091,7 @@ paths: schema: type: string example: members - - &806 + - &810 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -115798,7 +117102,7 @@ paths: default: 1 format: int32 example: 1 - - &807 + - &811 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -115840,7 +117144,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &796 + items: &800 allOf: - type: object required: @@ -115915,7 +117219,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: &808 + meta: &812 type: object description: The metadata associated with the creation/updates to the user. @@ -115975,30 +117279,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &797 + '400': &801 description: Bad request content: application/json: - schema: *794 + schema: *798 application/scim+json: - schema: *794 - '401': *795 - '403': &798 + schema: *798 + '401': *799 + '403': &802 description: Permission denied - '429': &799 + '429': &803 description: Too many requests content: application/json: - schema: *794 + schema: *798 application/scim+json: - schema: *794 - '500': &800 + schema: *798 + '500': &804 description: Internal server error content: application/json: - schema: *794 + schema: *798 application/scim+json: - schema: *794 + schema: *798 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -116022,7 +117326,7 @@ paths: required: true content: application/json: - schema: &804 + schema: &808 type: object required: - schemas @@ -116082,9 +117386,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *796 + schema: *800 examples: - group: &802 + group: &806 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -116103,13 +117407,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': *797 - '401': *795 - '403': *798 - '409': &805 + '400': *801 + '401': *799 + '403': *802 + '409': &809 description: Duplicate record detected - '429': *799 - '500': *800 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -116126,7 +117430,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: - - &803 + - &807 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -116134,22 +117438,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *801 + - *805 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *796 + schema: *800 examples: - default: *802 - '400': *797 - '401': *795 - '403': *798 + default: *806 + '400': *801 + '401': *799 + '403': *802 '404': *6 - '429': *799 - '500': *800 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -116168,13 +117472,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: - - *803 + - *807 - *41 requestBody: required: true content: application/json: - schema: *804 + schema: *808 examples: group: summary: Group @@ -116200,17 +117504,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *796 + schema: *800 examples: - group: *802 - groupWithMembers: *802 - '400': *797 - '401': *795 - '403': *798 + group: *806 + groupWithMembers: *806 + '400': *801 + '401': *799 + '403': *802 '404': *6 - '409': *805 - '429': *799 - '500': *800 + '409': *809 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -116234,13 +117538,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: - - *803 + - *807 - *41 requestBody: required: true content: application/json: - schema: &815 + schema: &819 type: object required: - Operations @@ -116300,17 +117604,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *796 + schema: *800 examples: - updateGroup: *802 - addMembers: *802 - '400': *797 - '401': *795 - '403': *798 + updateGroup: *806 + addMembers: *806 + '400': *801 + '401': *799 + '403': *802 '404': *6 - '409': *805 - '429': *799 - '500': *800 + '409': *809 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -116326,17 +117630,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: - - *803 + - *807 - *41 responses: '204': description: Group was deleted, no content - '400': *797 - '401': *795 - '403': *798 + '400': *801 + '401': *799 + '403': *802 '404': *6 - '429': *799 - '500': *800 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -116370,8 +117674,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *806 - - *807 + - *810 + - *811 - *41 responses: '200': @@ -116404,7 +117708,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &810 + items: &814 allOf: - type: object required: @@ -116483,7 +117787,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &809 + roles: &813 type: array description: The roles assigned to the user. items: @@ -116539,7 +117843,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *808 + meta: *812 startIndex: type: integer description: A starting index for the returned page @@ -116576,11 +117880,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *797 - '401': *795 - '403': *798 - '429': *799 - '500': *800 + '400': *801 + '401': *799 + '403': *802 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -116604,7 +117908,7 @@ paths: required: true content: application/json: - schema: &813 + schema: &817 type: object required: - schemas @@ -116686,9 +117990,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *809 + roles: *813 examples: - user: &814 + user: &818 summary: User value: schemas: @@ -116735,9 +118039,9 @@ paths: description: User has been created content: application/scim+json: - schema: *810 + schema: *814 examples: - user: &811 + user: &815 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -116763,13 +118067,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: *811 - '400': *797 - '401': *795 - '403': *798 - '409': *805 - '429': *799 - '500': *800 + enterpriseOwner: *815 + '400': *801 + '401': *799 + '403': *802 + '409': *809 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -116786,7 +118090,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: - - &812 + - &816 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -116799,15 +118103,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *810 + schema: *814 examples: - default: *811 - '400': *797 - '401': *795 - '403': *798 + default: *815 + '400': *801 + '401': *799 + '403': *802 '404': *6 - '429': *799 - '500': *800 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -116858,30 +118162,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: - - *812 + - *816 - *41 requestBody: required: true content: application/json: - schema: *813 + schema: *817 examples: - user: *814 + user: *818 responses: '200': description: User was updated content: application/scim+json: - schema: *810 + schema: *814 examples: - user: *811 - '400': *797 - '401': *795 - '403': *798 + user: *815 + '400': *801 + '401': *799 + '403': *802 '404': *6 - '409': *805 - '429': *799 - '500': *800 + '409': *809 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -116922,13 +118226,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: - - *812 + - *816 - *41 requestBody: required: true content: application/json: - schema: *815 + schema: *819 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -116968,18 +118272,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *810 + schema: *814 examples: - userMultiValuedProperties: *811 - userSingleValuedProperties: *811 - disableUser: *811 - '400': *797 - '401': *795 - '403': *798 + userMultiValuedProperties: *815 + userSingleValuedProperties: *815 + disableUser: *815 + '400': *801 + '401': *799 + '403': *802 '404': *6 - '409': *805 - '429': *799 - '500': *800 + '409': *809 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -116999,17 +118303,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: - - *812 + - *816 - *41 responses: '204': description: User was deleted, no content - '400': *797 - '401': *795 - '403': *798 + '400': *801 + '401': *799 + '403': *802 '404': *6 - '429': *799 - '500': *800 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117096,7 +118400,7 @@ paths: example: 1 Resources: type: array - items: &816 + items: &820 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -117327,22 +118631,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': *37 - '404': &817 + '404': &821 description: Resource not found content: application/json: - schema: *794 + schema: *798 application/scim+json: - schema: *794 - '403': &818 + schema: *798 + '403': &822 description: Forbidden content: application/json: - schema: *794 + schema: *798 application/scim+json: - schema: *794 - '400': *797 - '429': *799 + schema: *798 + '400': *801 + '429': *803 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -117368,9 +118672,9 @@ paths: description: Response content: application/scim+json: - schema: *816 + schema: *820 examples: - default: &819 + default: &823 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -117393,17 +118697,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': *37 - '404': *817 - '403': *818 - '500': *800 + '404': *821 + '403': *822 + '500': *804 '409': description: Conflict content: application/json: - schema: *794 + schema: *798 application/scim+json: - schema: *794 - '400': *797 + schema: *798 + '400': *801 requestBody: required: true content: @@ -117501,17 +118805,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *89 - - *812 + - *816 responses: '200': description: Response content: application/scim+json: - schema: *816 + schema: *820 examples: - default: *819 - '404': *817 - '403': *818 + default: *823 + '404': *821 + '403': *822 '304': *37 x-github: githubCloudOnly: true @@ -117535,18 +118839,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *89 - - *812 + - *816 responses: '200': description: Response content: application/scim+json: - schema: *816 + schema: *820 examples: - default: *819 + default: *823 '304': *37 - '404': *817 - '403': *818 + '404': *821 + '403': *822 requestBody: required: true content: @@ -117659,19 +118963,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *89 - - *812 + - *816 responses: '200': description: Response content: application/scim+json: - schema: *816 + schema: *820 examples: - default: *819 + default: *823 '304': *37 - '404': *817 - '403': *818 - '400': *797 + '404': *821 + '403': *822 + '400': *801 '429': description: Response content: @@ -117762,12 +119066,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *89 - - *812 + - *816 responses: '204': description: Response - '404': *817 - '403': *818 + '404': *821 + '403': *822 '304': *37 x-github: githubCloudOnly: true @@ -117903,7 +119207,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &820 + text_matches: &824 title: Search Result Text Matches type: array items: @@ -118066,7 +119370,7 @@ paths: enum: - author-date - committer-date - - &821 + - &825 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 @@ -118137,7 +119441,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *536 + properties: *542 nullable: true comment_count: type: integer @@ -118157,7 +119461,7 @@ paths: url: type: string format: uri - verification: *665 + verification: *669 required: - author - committer @@ -118176,7 +119480,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *536 + properties: *542 nullable: true parents: type: array @@ -118194,7 +119498,7 @@ paths: type: number node_id: type: string - text_matches: *820 + text_matches: *824 required: - sha - node_id @@ -118387,7 +119691,7 @@ paths: - interactions - created - updated - - *821 + - *825 - *17 - *19 - name: advanced_search @@ -118501,11 +119805,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: type: string state_reason: @@ -118522,8 +119826,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *429 - required: *430 + properties: *436 + required: *437 nullable: true comments: type: integer @@ -118537,7 +119841,7 @@ paths: type: string format: date-time nullable: true - text_matches: *820 + text_matches: *824 pull_request: type: object properties: @@ -118581,7 +119885,7 @@ paths: timeline_url: type: string format: uri - type: *394 + type: *401 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -118809,7 +120113,7 @@ paths: enum: - created - updated - - *821 + - *825 - *17 - *19 responses: @@ -118853,7 +120157,7 @@ paths: nullable: true score: type: number - text_matches: *820 + text_matches: *824 required: - id - node_id @@ -118939,7 +120243,7 @@ paths: - forks - help-wanted-issues - updated - - *821 + - *825 - *17 - *19 responses: @@ -119187,7 +120491,7 @@ paths: - admin - pull - push - text_matches: *820 + text_matches: *824 temp_clone_token: type: string allow_merge_commit: @@ -119488,7 +120792,7 @@ paths: type: string format: uri nullable: true - text_matches: *820 + text_matches: *824 related: type: array nullable: true @@ -119681,7 +120985,7 @@ paths: - followers - repositories - joined - - *821 + - *825 - *17 - *19 responses: @@ -119785,7 +121089,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *820 + text_matches: *824 blog: type: string nullable: true @@ -119864,7 +121168,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &824 + - &828 name: team_id description: The unique identifier of the team. in: path @@ -119876,9 +121180,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *484 examples: - default: *478 + default: *485 '404': *6 x-github: githubCloudOnly: false @@ -119905,7 +121209,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *824 + - *828 requestBody: required: true content: @@ -119968,16 +121272,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *477 + schema: *484 examples: - default: *478 + default: *485 '201': description: Response content: application/json: - schema: *477 + schema: *484 examples: - default: *478 + default: *485 '404': *6 '422': *15 '403': *29 @@ -120005,7 +121309,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *824 + - *828 responses: '204': description: Response @@ -120034,7 +121338,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *824 + - *828 - *17 - *19 responses: @@ -120044,9 +121348,9 @@ paths: application/json: schema: type: array - items: *388 + items: *395 examples: - default: *389 + default: *396 headers: Link: *47 x-github: @@ -120072,7 +121376,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *824 + - *828 - name: role description: Filters members returned by their role in the team. in: query @@ -120123,7 +121427,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *824 + - *828 - *148 responses: '204': @@ -120160,7 +121464,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *824 + - *828 - *148 responses: '204': @@ -120200,7 +121504,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *824 + - *828 - *148 responses: '204': @@ -120237,16 +121541,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: - - *824 + - *828 - *148 responses: '200': description: Response content: application/json: - schema: *484 + schema: *491 examples: - response-if-user-is-a-team-maintainer: *825 + response-if-user-is-a-team-maintainer: *829 '404': *6 x-github: githubCloudOnly: false @@ -120279,7 +121583,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: - - *824 + - *828 - *148 requestBody: required: false @@ -120305,9 +121609,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *491 examples: - response-if-users-membership-with-team-is-now-pending: *826 + response-if-users-membership-with-team-is-now-pending: *830 '403': description: Forbidden if team synchronization is set up '422': @@ -120341,7 +121645,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: - - *824 + - *828 - *148 responses: '204': @@ -120369,7 +121673,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *824 + - *828 - *17 - *19 responses: @@ -120381,7 +121685,7 @@ paths: type: array items: *290 examples: - default: *416 + default: *423 headers: Link: *47 '404': *6 @@ -120411,15 +121715,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: - - *824 - - *485 - - *486 + - *828 + - *492 + - *493 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *827 + schema: *831 examples: alternative-response-with-extra-repository-information: value: @@ -120570,9 +121874,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: - - *824 - - *485 - - *486 + - *828 + - *492 + - *493 requestBody: required: false content: @@ -120622,9 +121926,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: - - *824 - - *485 - - *486 + - *828 + - *492 + - *493 responses: '204': description: Response @@ -120653,15 +121957,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: - - *824 + - *828 responses: '200': description: Response content: application/json: - schema: *487 + schema: *494 examples: - default: *488 + default: *495 '403': *29 '404': *6 x-github: @@ -120688,7 +121992,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: - - *824 + - *828 requestBody: required: true content: @@ -120745,7 +122049,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *494 examples: default: value: @@ -120776,7 +122080,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *824 + - *828 - *17 - *19 responses: @@ -120786,9 +122090,9 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: - response-if-child-teams-exist: *828 + response-if-child-teams-exist: *832 headers: Link: *47 '404': *6 @@ -120821,7 +122125,7 @@ paths: application/json: schema: oneOf: - - &830 + - &834 title: Private User description: Private User type: object @@ -121024,7 +122328,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *829 + - *833 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -121177,7 +122481,7 @@ paths: description: Response content: application/json: - schema: *830 + schema: *834 examples: default: value: @@ -121380,9 +122684,9 @@ paths: type: integer codespaces: type: array - items: *399 + items: *406 examples: - default: *400 + default: *407 '304': *37 '500': *40 '401': *25 @@ -121521,17 +122825,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '401': *25 '403': *29 '404': *6 @@ -121575,7 +122879,7 @@ paths: type: integer secrets: type: array - items: &831 + items: &835 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -121615,7 +122919,7 @@ paths: - visibility - selected_repositories_url examples: - default: *592 + default: *598 headers: Link: *47 x-github: @@ -121691,7 +122995,7 @@ paths: description: Response content: application/json: - schema: *831 + schema: *835 examples: default: value: @@ -121837,7 +123141,7 @@ paths: type: array items: *290 examples: - default: *338 + default: *345 '401': *25 '403': *29 '404': *6 @@ -121981,15 +123285,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: - - *401 + - *408 responses: '200': description: Response content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '304': *37 '500': *40 '401': *25 @@ -122015,7 +123319,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: - - *401 + - *408 requestBody: required: false content: @@ -122045,9 +123349,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '401': *25 '403': *29 '404': *6 @@ -122069,7 +123373,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: - - *401 + - *408 responses: '202': *39 '304': *37 @@ -122098,13 +123402,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: - - *401 + - *408 responses: '202': description: Response content: application/json: - schema: &832 + schema: &836 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -122145,7 +123449,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &833 + default: &837 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -122177,7 +123481,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *401 + - *408 - name: export_id in: path required: true @@ -122190,9 +123494,9 @@ paths: description: Response content: application/json: - schema: *832 + schema: *836 examples: - default: *833 + default: *837 '404': *6 x-github: githubCloudOnly: false @@ -122213,7 +123517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *401 + - *408 responses: '200': description: Response @@ -122229,9 +123533,9 @@ paths: type: integer machines: type: array - items: *834 + items: *838 examples: - default: *835 + default: *839 '304': *37 '500': *40 '401': *25 @@ -122260,7 +123564,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: - - *401 + - *408 requestBody: required: true content: @@ -122310,13 +123614,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *490 + repository: *497 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *590 - required: *591 + properties: *596 + required: *597 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -123090,15 +124394,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: - - *401 + - *408 responses: '200': description: Response content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '304': *37 '500': *40 '400': *14 @@ -123130,15 +124434,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: - - *401 + - *408 responses: '200': description: Response content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '500': *40 '401': *25 '403': *29 @@ -123168,9 +124472,9 @@ paths: application/json: schema: type: array - items: *410 + items: *417 examples: - default: &846 + default: &850 value: - id: 197 name: hello_docker @@ -123271,7 +124575,7 @@ paths: application/json: schema: type: array - items: &836 + items: &840 title: Email description: Email type: object @@ -123336,9 +124640,9 @@ paths: application/json: schema: type: array - items: *836 + items: *840 examples: - default: &848 + default: &852 value: - email: octocat@github.com verified: true @@ -123413,7 +124717,7 @@ paths: application/json: schema: type: array - items: *836 + items: *840 examples: default: value: @@ -123669,7 +124973,7 @@ paths: application/json: schema: type: array - items: &837 + items: &841 title: GPG Key description: A unique encryption key type: object @@ -123800,7 +125104,7 @@ paths: - subkeys - revoked examples: - default: &865 + default: &869 value: - id: 3 name: Octocat's GPG Key @@ -123885,9 +125189,9 @@ paths: description: Response content: application/json: - schema: *837 + schema: *841 examples: - default: &838 + default: &842 value: id: 3 name: Octocat's GPG Key @@ -123944,7 +125248,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: - - &839 + - &843 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -123956,9 +125260,9 @@ paths: description: Response content: application/json: - schema: *837 + schema: *841 examples: - default: *838 + default: *842 '404': *6 '304': *37 '403': *29 @@ -123981,7 +125285,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: - - *839 + - *843 responses: '204': description: Response @@ -124260,12 +125564,12 @@ paths: application/json: schema: anyOf: - - *386 + - *393 - type: object properties: {} additionalProperties: false examples: - default: *387 + default: *394 '204': description: Response when there are no restrictions x-github: @@ -124289,7 +125593,7 @@ paths: required: true content: application/json: - schema: *675 + schema: *679 examples: default: value: @@ -124300,7 +125604,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *393 examples: default: value: @@ -124381,7 +125685,7 @@ paths: - closed - all default: open - - *397 + - *404 - name: sort description: What to sort results by. in: query @@ -124406,7 +125710,7 @@ paths: type: array items: *229 examples: - default: *398 + default: *405 headers: Link: *47 '404': *6 @@ -124439,7 +125743,7 @@ paths: application/json: schema: type: array - items: &840 + items: &844 title: Key description: Key type: object @@ -124540,9 +125844,9 @@ paths: description: Response content: application/json: - schema: *840 + schema: *844 examples: - default: &841 + default: &845 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -124575,15 +125879,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: - - *710 + - *714 responses: '200': description: Response content: application/json: - schema: *840 + schema: *844 examples: - default: *841 + default: *845 '404': *6 '304': *37 '403': *29 @@ -124606,7 +125910,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: - - *710 + - *714 responses: '204': description: Response @@ -124639,7 +125943,7 @@ paths: application/json: schema: type: array - items: &842 + items: &846 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -124707,7 +126011,7 @@ paths: - account - plan examples: - default: &843 + default: &847 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -124769,9 +126073,9 @@ paths: application/json: schema: type: array - items: *842 + items: *846 examples: - default: *843 + default: *847 headers: Link: *47 '304': *37 @@ -124811,7 +126115,7 @@ paths: application/json: schema: type: array - items: *402 + items: *409 examples: default: value: @@ -124925,7 +126229,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *409 examples: default: value: @@ -125012,7 +126316,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *409 examples: default: value: @@ -125084,7 +126388,7 @@ paths: application/json: schema: type: array - items: *404 + items: *411 examples: default: value: @@ -125337,7 +126641,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *411 examples: default: value: @@ -125517,7 +126821,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *405 + - *412 - name: exclude in: query required: false @@ -125530,7 +126834,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *411 examples: default: value: @@ -125724,7 +127028,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *405 + - *412 responses: '302': description: Response @@ -125750,7 +127054,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *405 + - *412 responses: '204': description: Response @@ -125779,8 +127083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *405 - - *844 + - *412 + - *848 responses: '204': description: Response @@ -125804,7 +127108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *405 + - *412 - *17 - *19 responses: @@ -125816,7 +127120,7 @@ paths: type: array items: *290 examples: - default: *416 + default: *423 headers: Link: *47 '404': *6 @@ -125895,7 +127199,7 @@ paths: - docker - nuget - container - - *845 + - *849 - *19 - *17 responses: @@ -125905,10 +127209,10 @@ paths: application/json: schema: type: array - items: *410 + items: *417 examples: - default: *846 - '400': *847 + default: *850 + '400': *851 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -125928,16 +127232,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: - - *412 - - *413 + - *419 + - *420 responses: '200': description: Response content: application/json: - schema: *410 + schema: *417 examples: - default: &866 + default: &870 value: id: 40201 name: octo-name @@ -126050,8 +127354,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: - - *412 - - *413 + - *419 + - *420 responses: '204': description: Response @@ -126081,8 +127385,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: - - *412 - - *413 + - *419 + - *420 - name: token description: package token schema: @@ -126114,8 +127418,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: - - *412 - - *413 + - *419 + - *420 - *19 - *17 - name: state @@ -126135,7 +127439,7 @@ paths: application/json: schema: type: array - items: *414 + items: *421 examples: default: value: @@ -126184,15 +127488,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: - - *412 - - *413 - - *415 + - *419 + - *420 + - *422 responses: '200': description: Response content: application/json: - schema: *414 + schema: *421 examples: default: value: @@ -126228,9 +127532,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: - - *412 - - *413 - - *415 + - *419 + - *420 + - *422 responses: '204': description: Response @@ -126260,9 +127564,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: - - *412 - - *413 - - *415 + - *419 + - *420 + - *422 responses: '204': description: Response @@ -126299,9 +127603,9 @@ paths: application/json: schema: type: array - items: *836 + items: *840 examples: - default: *848 + default: *852 headers: Link: *47 '304': *37 @@ -126414,7 +127718,7 @@ paths: type: array items: *80 examples: - default: &855 + default: &859 summary: Default response value: - id: 1296269 @@ -126718,9 +128022,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *497 examples: - default: *492 + default: *499 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -126758,9 +128062,9 @@ paths: application/json: schema: type: array - items: *677 + items: *681 examples: - default: *849 + default: *853 headers: Link: *47 '304': *37 @@ -126783,7 +128087,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *390 + - *397 responses: '204': description: Response @@ -126806,7 +128110,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *390 + - *397 responses: '204': description: Response @@ -126839,7 +128143,7 @@ paths: application/json: schema: type: array - items: &850 + items: &854 title: Social account description: Social media account type: object @@ -126854,7 +128158,7 @@ paths: - provider - url examples: - default: &851 + default: &855 value: - provider: twitter url: https://twitter.com/github @@ -126916,9 +128220,9 @@ paths: application/json: schema: type: array - items: *850 + items: *854 examples: - default: *851 + default: *855 '422': *15 '304': *37 '404': *6 @@ -127005,7 +128309,7 @@ paths: application/json: schema: type: array - items: &852 + items: &856 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -127025,7 +128329,7 @@ paths: - title - created_at examples: - default: &880 + default: &884 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -127089,9 +128393,9 @@ paths: description: Response content: application/json: - schema: *852 + schema: *856 examples: - default: &853 + default: &857 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -127121,7 +128425,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: - - &854 + - &858 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -127133,9 +128437,9 @@ paths: description: Response content: application/json: - schema: *852 + schema: *856 examples: - default: *853 + default: *857 '404': *6 '304': *37 '403': *29 @@ -127158,7 +128462,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: - - *854 + - *858 responses: '204': description: Response @@ -127187,7 +128491,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: - - &881 + - &885 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 @@ -127212,11 +128516,11 @@ paths: type: array items: *80 examples: - default-response: *855 + default-response: *859 application/vnd.github.v3.star+json: schema: type: array - items: &882 + items: &886 title: Starred Repository description: Starred Repository type: object @@ -127372,8 +128676,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: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response if this repository is starred by you @@ -127401,8 +128705,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: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -127426,8 +128730,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: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -127462,7 +128766,7 @@ paths: type: array items: *290 examples: - default: *416 + default: *423 headers: Link: *47 '304': *37 @@ -127499,7 +128803,7 @@ paths: application/json: schema: type: array - items: *477 + items: *484 examples: default: value: @@ -127585,10 +128889,10 @@ paths: application/json: schema: oneOf: - - *830 - - *829 + - *834 + - *833 examples: - default-response: &859 + default-response: &863 summary: Default response value: login: octocat @@ -127623,7 +128927,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &860 + response-with-git-hub-plan-information: &864 summary: Response with GitHub plan information value: login: octocat @@ -127680,14 +128984,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: - - &857 + - &861 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *428 + - *435 requestBody: required: true description: Details of the draft item to create in the project. @@ -127721,9 +129025,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *441 examples: - draft_issue: *435 + draft_issue: *442 '304': *37 '403': *29 '401': *25 @@ -127746,7 +129050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *856 + - *860 - *17 responses: '200': @@ -127781,8 +129085,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: - - *857 - - *428 + - *861 + - *435 requestBody: required: true content: @@ -127853,17 +129157,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *858 + schema: *862 examples: table_view: summary: Response for creating a table view - value: *439 + value: *446 board_view: summary: Response for creating a board view with filter - value: *439 + value: *446 roadmap_view: summary: Response for creating a roadmap view - value: *439 + value: *446 '304': *37 '403': *29 '401': *25 @@ -127905,11 +129209,11 @@ paths: application/json: schema: oneOf: - - *830 - - *829 + - *834 + - *833 examples: - default-response: *859 - response-with-git-hub-plan-information: *860 + default-response: *863 + response-with-git-hub-plan-information: *864 '404': *6 x-github: githubCloudOnly: false @@ -127959,8 +129263,8 @@ paths: required: - subject_digests examples: - default: *861 - withPredicateType: *862 + default: *865 + withPredicateType: *866 responses: '200': description: Response @@ -128013,7 +129317,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *863 + default: *867 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -128218,7 +129522,7 @@ paths: initiator: type: string examples: - default: *532 + default: *538 '201': description: Response content: @@ -128285,7 +129589,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *334 + items: *341 examples: default: summary: Example response for listing user copilot spaces @@ -128497,9 +129801,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: &864 + default: &868 summary: Example response for a user copilot space value: id: 42 @@ -128598,9 +129902,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *864 + default: *868 '403': *29 '404': *6 x-github: @@ -128721,9 +130025,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *864 + default: *868 '403': *29 '404': *6 '422': *15 @@ -128800,7 +130104,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *336 + items: *343 examples: default: value: @@ -128943,7 +130247,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *343 examples: default: value: @@ -129054,7 +130358,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *343 examples: default: value: @@ -129184,7 +130488,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *337 + items: *344 examples: default: value: @@ -129276,7 +130580,7 @@ paths: description: Resource created content: application/json: - schema: *337 + schema: *344 examples: default: value: @@ -129292,7 +130596,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *337 + schema: *344 examples: default: value: @@ -129345,7 +130649,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *344 examples: default: value: @@ -129412,7 +130716,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *344 examples: default: value: @@ -129489,9 +130793,9 @@ paths: application/json: schema: type: array - items: *410 + items: *417 examples: - default: *846 + default: *850 '403': *29 '401': *25 x-github: @@ -129875,9 +131179,9 @@ paths: application/json: schema: type: array - items: *837 + items: *841 examples: - default: *865 + default: *869 headers: Link: *47 x-github: @@ -129981,7 +131285,7 @@ paths: application/json: schema: *22 examples: - default: *384 + default: *391 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -130105,7 +131409,7 @@ paths: - docker - nuget - container - - *845 + - *849 - *148 - *19 - *17 @@ -130116,12 +131420,12 @@ paths: application/json: schema: type: array - items: *410 + items: *417 examples: - default: *846 + default: *850 '403': *29 '401': *25 - '400': *847 + '400': *851 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -130141,17 +131445,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *412 - - *413 + - *419 + - *420 - *148 responses: '200': description: Response content: application/json: - schema: *410 + schema: *417 examples: - default: *866 + default: *870 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -130172,8 +131476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *412 - - *413 + - *419 + - *420 - *148 responses: '204': @@ -130206,8 +131510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *412 - - *413 + - *419 + - *420 - *148 - name: token description: package token @@ -130240,8 +131544,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: - - *412 - - *413 + - *419 + - *420 - *148 responses: '200': @@ -130250,7 +131554,7 @@ paths: application/json: schema: type: array - items: *414 + items: *421 examples: default: value: @@ -130308,16 +131612,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: - - *412 - - *413 - - *415 + - *419 + - *420 + - *422 - *148 responses: '200': description: Response content: application/json: - schema: *414 + schema: *421 examples: default: value: @@ -130352,10 +131656,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *412 - - *413 + - *419 + - *420 - *148 - - *415 + - *422 responses: '204': description: Response @@ -130387,10 +131691,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *412 - - *413 + - *419 + - *420 - *148 - - *415 + - *422 responses: '204': description: Response @@ -130431,9 +131735,9 @@ paths: application/json: schema: type: array - items: *426 + items: *433 examples: - default: *427 + default: *434 headers: Link: *47 '304': *37 @@ -130455,16 +131759,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *428 + - *435 - *148 responses: '200': description: Response content: application/json: - schema: *426 + schema: *433 examples: - default: *427 + default: *434 headers: Link: *47 '304': *37 @@ -130486,7 +131790,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *428 + - *435 - *148 - *17 - *110 @@ -130498,9 +131802,9 @@ paths: application/json: schema: type: array - items: *432 + items: *439 examples: - default: *867 + default: *871 headers: Link: *47 '304': *37 @@ -130522,7 +131826,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - *148 - - *428 + - *435 requestBody: required: true content: @@ -130560,7 +131864,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *868 + items: *872 required: - name - data_type @@ -130576,7 +131880,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *869 + iteration_configuration: *873 required: - name - data_type @@ -130598,20 +131902,20 @@ paths: value: name: Due date data_type: date - single_select_field: *870 - iteration_field: *871 + single_select_field: *874 + iteration_field: *875 responses: '201': description: Response content: application/json: - schema: *432 + schema: *439 examples: - text_field: *872 - number_field: *873 - date_field: *874 - single_select_field: *875 - iteration_field: *876 + text_field: *876 + number_field: *877 + date_field: *878 + single_select_field: *879 + iteration_field: *880 '304': *37 '403': *29 '401': *25 @@ -130632,17 +131936,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *428 - - *877 + - *435 + - *881 - *148 responses: '200': description: Response content: application/json: - schema: *432 + schema: *439 examples: - default: *878 + default: *882 headers: Link: *47 '304': *37 @@ -130665,7 +131969,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: - - *428 + - *435 - *148 - *110 - *111 @@ -130698,9 +132002,9 @@ paths: application/json: schema: type: array - items: *436 + items: *443 examples: - default: *437 + default: *444 headers: Link: *47 '304': *37 @@ -130722,7 +132026,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - *148 - - *428 + - *435 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -130792,22 +132096,22 @@ paths: description: Response content: application/json: - schema: *434 + schema: *441 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *435 + value: *442 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *435 + value: *442 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *435 + value: *442 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *435 + value: *442 '304': *37 '403': *29 '401': *25 @@ -130827,9 +132131,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: - - *428 + - *435 - *148 - - *438 + - *445 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -130849,9 +132153,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *443 examples: - default: *437 + default: *444 headers: Link: *47 '304': *37 @@ -130872,9 +132176,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *428 + - *435 - *148 - - *438 + - *445 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -130944,13 +132248,13 @@ paths: description: Response content: application/json: - schema: *436 + schema: *443 examples: - text_field: *437 - number_field: *437 - date_field: *437 - single_select_field: *437 - iteration_field: *437 + text_field: *444 + number_field: *444 + date_field: *444 + single_select_field: *444 + iteration_field: *444 '401': *25 '403': *29 '404': *6 @@ -130970,9 +132274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *428 + - *435 - *148 - - *438 + - *445 responses: '204': description: Response @@ -130994,9 +132298,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: - - *428 + - *435 - *148 - - *879 + - *883 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -131022,9 +132326,9 @@ paths: application/json: schema: type: array - items: *436 + items: *443 examples: - default: *437 + default: *444 headers: Link: *47 '304': *37 @@ -131245,7 +132549,7 @@ paths: type: array items: *290 examples: - default: *416 + default: *423 headers: Link: *47 x-github: @@ -131275,9 +132579,9 @@ paths: application/json: schema: type: array - items: *850 + items: *854 examples: - default: *851 + default: *855 headers: Link: *47 x-github: @@ -131307,9 +132611,9 @@ paths: application/json: schema: type: array - items: *852 + items: *856 examples: - default: *880 + default: *884 headers: Link: *47 x-github: @@ -131334,7 +132638,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *148 - - *881 + - *885 - *112 - *17 - *19 @@ -131346,11 +132650,11 @@ paths: schema: anyOf: - type: array - items: *882 + items: *886 - type: array items: *80 examples: - default-response: *855 + default-response: *859 headers: Link: *47 x-github: @@ -131381,7 +132685,7 @@ paths: type: array items: *290 examples: - default: *416 + default: *423 headers: Link: *47 x-github: @@ -131509,7 +132813,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &883 + enterprise: &887 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -131567,7 +132871,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &884 + installation: &888 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -131586,7 +132890,7 @@ x-webhooks: required: - id - node_id - organization: &885 + organization: &889 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -131646,13 +132950,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &886 + repository: &890 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &925 + properties: &929 id: description: Unique identifier of the repository example: 42 @@ -132347,7 +133651,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &926 + required: &930 - archive_url - assignees_url - blobs_url @@ -132498,10 +133802,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -132577,11 +133881,11 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - rule: &887 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + rule: &891 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) @@ -132804,11 +134108,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - rule: *887 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + rule: *891 sender: *4 required: - action @@ -132991,11 +134295,11 @@ x-webhooks: - everyone required: - from - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - rule: *887 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + rule: *891 sender: *4 required: - action @@ -133068,7 +134372,7 @@ x-webhooks: required: true content: application/json: - schema: &909 + schema: &913 title: Exemption request cancellation event type: object properties: @@ -133076,11 +134380,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - exemption_request: &888 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + exemption_request: &892 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -133384,7 +134688,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &889 + items: &893 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -133494,7 +134798,7 @@ x-webhooks: required: true content: application/json: - schema: &910 + schema: &914 title: Exemption request completed event type: object properties: @@ -133502,11 +134806,11 @@ x-webhooks: type: string enum: - completed - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - exemption_request: *888 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + exemption_request: *892 sender: *4 required: - action @@ -133578,7 +134882,7 @@ x-webhooks: required: true content: application/json: - schema: &907 + schema: &911 title: Exemption request created event type: object properties: @@ -133586,11 +134890,11 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - exemption_request: *888 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + exemption_request: *892 sender: *4 required: - action @@ -133662,7 +134966,7 @@ x-webhooks: required: true content: application/json: - schema: &911 + schema: &915 title: Exemption response dismissed event type: object properties: @@ -133670,12 +134974,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - exemption_request: *888 - exemption_response: *889 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + exemption_request: *892 + exemption_response: *893 sender: *4 required: - action @@ -133749,7 +135053,7 @@ x-webhooks: required: true content: application/json: - schema: &908 + schema: &912 title: Exemption response submitted event type: object properties: @@ -133757,12 +135061,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - exemption_request: *888 - exemption_response: *889 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + exemption_request: *892 + exemption_response: *893 sender: *4 required: - action @@ -133846,7 +135150,7 @@ x-webhooks: type: string enum: - completed - check_run: &891 + check_run: &895 title: CheckRun description: A check performed on the code of a given code change type: object @@ -133937,7 +135241,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *890 + deployment: *894 details_url: example: https://example.com type: string @@ -134022,10 +135326,10 @@ x-webhooks: - output - app - pull_requests - installation: *884 - enterprise: *883 - organization: *885 - repository: *886 + installation: *888 + enterprise: *887 + organization: *889 + repository: *890 sender: *4 required: - check_run @@ -134416,11 +135720,11 @@ x-webhooks: type: string enum: - created - check_run: *891 - installation: *884 - enterprise: *883 - organization: *885 - repository: *886 + check_run: *895 + installation: *888 + enterprise: *887 + organization: *889 + repository: *890 sender: *4 required: - check_run @@ -134814,11 +136118,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *891 - installation: *884 - enterprise: *883 - organization: *885 - repository: *886 + check_run: *895 + installation: *888 + enterprise: *887 + organization: *889 + repository: *890 requested_action: description: The action requested by the user. type: object @@ -135221,11 +136525,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *891 - installation: *884 - enterprise: *883 - organization: *885 - repository: *886 + check_run: *895 + installation: *888 + enterprise: *887 + organization: *889 + repository: *890 sender: *4 required: - check_run @@ -136195,10 +137499,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -136887,10 +138191,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -137573,10 +138877,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -137742,7 +139046,7 @@ x-webhooks: required: - login - id - dismissed_comment: *561 + dismissed_comment: *567 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -137887,20 +139191,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &892 + commit_oid: &896 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: *883 - installation: *884 - organization: *885 - ref: &893 + enterprise: *887 + installation: *888 + organization: *889 + ref: &897 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: *886 + repository: *890 sender: *4 required: - action @@ -138065,7 +139369,7 @@ x-webhooks: required: - login - id - dismissed_comment: *561 + dismissed_comment: *567 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -138295,12 +139599,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *892 - enterprise: *883 - installation: *884 - organization: *885 - ref: *893 - repository: *886 + commit_oid: *896 + enterprise: *887 + installation: *888 + organization: *889 + ref: *897 + repository: *890 sender: *4 required: - action @@ -138395,7 +139699,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *561 + dismissed_comment: *567 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -138566,12 +139870,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *892 - enterprise: *883 - installation: *884 - organization: *885 - ref: *893 - repository: *886 + commit_oid: *896 + enterprise: *887 + installation: *888 + organization: *889 + ref: *897 + repository: *890 sender: *4 required: - action @@ -138737,7 +140041,7 @@ x-webhooks: required: - login - id - dismissed_comment: *561 + dismissed_comment: *567 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -138903,12 +140207,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *892 - enterprise: *883 - installation: *884 - organization: *885 - ref: *893 - repository: *886 + commit_oid: *896 + enterprise: *887 + installation: *888 + organization: *889 + ref: *897 + repository: *890 sender: *4 required: - action @@ -139007,7 +140311,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *561 + dismissed_comment: *567 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -139182,16 +140486,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 ref: 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 nullable: true - repository: *886 + repository: *890 sender: *4 required: - action @@ -139288,7 +140592,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *561 + dismissed_comment: *567 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -139428,12 +140732,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *892 - enterprise: *883 - installation: *884 - organization: *885 - ref: *893 - repository: *886 + commit_oid: *896 + enterprise: *887 + installation: *888 + organization: *889 + ref: *897 + repository: *890 sender: *4 required: - action @@ -139599,7 +140903,7 @@ x-webhooks: required: - login - id - dismissed_comment: *561 + dismissed_comment: *567 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -139744,10 +141048,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -140002,10 +141306,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -140085,18 +141389,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *885 - pusher_type: &894 + organization: *889 + pusher_type: &898 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &895 + ref: &899 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -140106,7 +141410,7 @@ x-webhooks: enum: - tag - branch - repository: *886 + repository: *890 sender: *4 required: - ref @@ -140189,9 +141493,9 @@ x-webhooks: enum: - created definition: *161 - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 sender: *4 required: - action @@ -140276,9 +141580,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 sender: *4 required: - action @@ -140356,9 +141660,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *161 - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 sender: *4 required: - action @@ -140436,9 +141740,9 @@ x-webhooks: enum: - updated definition: *161 - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 sender: *4 required: - action @@ -140515,10 +141819,10 @@ x-webhooks: type: string enum: - updated - enterprise: *883 - installation: *884 - repository: *886 - organization: *885 + enterprise: *887 + installation: *888 + repository: *890 + organization: *889 sender: *4 new_property_values: type: array @@ -140603,18 +141907,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *883 - installation: *884 - organization: *885 - pusher_type: *894 - ref: *895 + enterprise: *887 + installation: *888 + organization: *889 + pusher_type: *898 + ref: *899 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *886 + repository: *890 sender: *4 required: - ref @@ -140694,11 +141998,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *625 - installation: *884 - organization: *885 - enterprise: *883 - repository: *886 + alert: *631 + installation: *888 + organization: *889 + enterprise: *887 + repository: *890 sender: *4 required: - action @@ -140778,11 +142082,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *625 - installation: *884 - organization: *885 - enterprise: *883 - repository: *886 + alert: *631 + installation: *888 + organization: *889 + enterprise: *887 + repository: *890 sender: *4 required: - action @@ -140863,11 +142167,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *625 - installation: *884 - organization: *885 - enterprise: *883 - repository: *886 + alert: *631 + installation: *888 + organization: *889 + enterprise: *887 + repository: *890 sender: *4 required: - action @@ -140948,11 +142252,11 @@ x-webhooks: type: string enum: - created - alert: *625 - installation: *884 - organization: *885 - enterprise: *883 - repository: *886 + alert: *631 + installation: *888 + organization: *889 + enterprise: *887 + repository: *890 sender: *4 required: - action @@ -141031,11 +142335,11 @@ x-webhooks: type: string enum: - dismissed - alert: *625 - installation: *884 - organization: *885 - enterprise: *883 - repository: *886 + alert: *631 + installation: *888 + organization: *889 + enterprise: *887 + repository: *890 sender: *4 required: - action @@ -141114,11 +142418,11 @@ x-webhooks: type: string enum: - fixed - alert: *625 - installation: *884 - organization: *885 - enterprise: *883 - repository: *886 + alert: *631 + installation: *888 + organization: *889 + enterprise: *887 + repository: *890 sender: *4 required: - action @@ -141198,11 +142502,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *625 - installation: *884 - organization: *885 - enterprise: *883 - repository: *886 + alert: *631 + installation: *888 + organization: *889 + enterprise: *887 + repository: *890 sender: *4 required: - action @@ -141281,11 +142585,11 @@ x-webhooks: type: string enum: - reopened - alert: *625 - installation: *884 - organization: *885 - enterprise: *883 - repository: *886 + alert: *631 + installation: *888 + organization: *889 + enterprise: *887 + repository: *890 sender: *4 required: - action @@ -141362,9 +142666,9 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - key: &896 + enterprise: *887 + installation: *888 + key: &900 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -141400,8 +142704,8 @@ x-webhooks: - verified - created_at - read_only - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -141478,11 +142782,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - key: *896 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + key: *900 + organization: *889 + repository: *890 sender: *4 required: - action @@ -142038,12 +143342,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - workflow: &902 + workflow: &906 title: Workflow type: object nullable: true @@ -142784,15 +144088,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *897 - required: *898 + properties: *901 + required: *902 nullable: true pull_requests: type: array - items: *731 - repository: *886 - organization: *885 - installation: *884 + items: *735 + repository: *890 + organization: *889 + installation: *888 sender: *4 responses: '200': @@ -142863,7 +144167,7 @@ x-webhooks: type: string enum: - approved - approver: &899 + approver: &903 type: object properties: avatar_url: @@ -142906,11 +144210,11 @@ x-webhooks: type: string comment: type: string - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - reviewers: &900 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + reviewers: &904 type: array items: type: object @@ -142989,7 +144293,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &901 + workflow_job_run: &905 type: object properties: conclusion: @@ -143720,18 +145024,18 @@ x-webhooks: type: string enum: - rejected - approver: *899 + approver: *903 comment: type: string - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - reviewers: *900 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + reviewers: *904 sender: *4 since: type: string - workflow_job_run: *901 + workflow_job_run: *905 workflow_job_runs: type: array items: @@ -144435,13 +145739,13 @@ x-webhooks: type: string enum: - requested - enterprise: *883 + enterprise: *887 environment: type: string - installation: *884 - organization: *885 - repository: *886 - requestor: &912 + installation: *888 + organization: *889 + repository: *890 + requestor: &916 title: User type: object nullable: true @@ -146330,12 +147634,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - workflow: *902 + workflow: *906 workflow_run: title: Deployment Workflow Run type: object @@ -147015,7 +148319,7 @@ x-webhooks: type: string enum: - answered - answer: &905 + answer: &909 type: object properties: author_association: @@ -147172,11 +148476,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -147303,11 +148607,11 @@ x-webhooks: - from required: - category - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -147390,11 +148694,11 @@ x-webhooks: type: string enum: - closed - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -147476,7 +148780,7 @@ x-webhooks: type: string enum: - created - comment: &904 + comment: &908 type: object properties: author_association: @@ -147633,11 +148937,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -147720,12 +149024,12 @@ x-webhooks: type: string enum: - deleted - comment: *904 - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + comment: *908 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -147820,12 +149124,12 @@ x-webhooks: - from required: - body - comment: *904 - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + comment: *908 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -147909,11 +149213,11 @@ x-webhooks: type: string enum: - created - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -147995,11 +149299,11 @@ x-webhooks: type: string enum: - deleted - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -148099,11 +149403,11 @@ x-webhooks: type: string required: - from - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -148185,10 +149489,10 @@ x-webhooks: type: string enum: - labeled - discussion: *903 - enterprise: *883 - installation: *884 - label: &906 + discussion: *907 + enterprise: *887 + installation: *888 + label: &910 title: Label type: object properties: @@ -148220,8 +149524,8 @@ x-webhooks: - color - default - description - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -148304,11 +149608,11 @@ x-webhooks: type: string enum: - locked - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -148390,11 +149694,11 @@ x-webhooks: type: string enum: - pinned - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -148476,11 +149780,11 @@ x-webhooks: type: string enum: - reopened - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -148565,16 +149869,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *903 - new_repository: *886 + new_discussion: *907 + new_repository: *890 required: - new_discussion - new_repository - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -148657,10 +149961,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *903 - old_answer: *905 - organization: *885 - repository: *886 + discussion: *907 + old_answer: *909 + organization: *889 + repository: *890 sender: *4 required: - action @@ -148742,12 +150046,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *903 - enterprise: *883 - installation: *884 - label: *906 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + label: *910 + organization: *889 + repository: *890 sender: *4 required: - action @@ -148830,11 +150134,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -148916,11 +150220,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -148989,7 +150293,7 @@ x-webhooks: required: true content: application/json: - schema: *907 + schema: *911 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149052,7 +150356,7 @@ x-webhooks: required: true content: application/json: - schema: *908 + schema: *912 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149115,7 +150419,7 @@ x-webhooks: required: true content: application/json: - schema: *909 + schema: *913 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149178,7 +150482,7 @@ x-webhooks: required: true content: application/json: - schema: *907 + schema: *911 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149241,7 +150545,7 @@ x-webhooks: required: true content: application/json: - schema: *908 + schema: *912 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149307,7 +150611,7 @@ x-webhooks: required: true content: application/json: - schema: *909 + schema: *913 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149373,7 +150677,7 @@ x-webhooks: required: true content: application/json: - schema: *910 + schema: *914 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149439,7 +150743,7 @@ x-webhooks: required: true content: application/json: - schema: *907 + schema: *911 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149505,7 +150809,7 @@ x-webhooks: required: true content: application/json: - schema: *911 + schema: *915 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149571,7 +150875,7 @@ x-webhooks: required: true content: application/json: - schema: *908 + schema: *912 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149636,7 +150940,7 @@ x-webhooks: required: true content: application/json: - schema: *909 + schema: *913 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149701,7 +151005,7 @@ x-webhooks: required: true content: application/json: - schema: *910 + schema: *914 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149766,7 +151070,7 @@ x-webhooks: required: true content: application/json: - schema: *907 + schema: *911 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149831,7 +151135,7 @@ x-webhooks: required: true content: application/json: - schema: *911 + schema: *915 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149897,7 +151201,7 @@ x-webhooks: required: true content: application/json: - schema: *908 + schema: *912 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149964,7 +151268,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *883 + enterprise: *887 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -150624,9 +151928,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - forkee @@ -150772,9 +152076,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 pages: description: The pages that were updated. type: array @@ -150811,7 +152115,7 @@ x-webhooks: - action - sha - html_url - repository: *886 + repository: *890 sender: *4 required: - pages @@ -150887,10 +152191,10 @@ x-webhooks: type: string enum: - created - enterprise: *883 + enterprise: *887 installation: *22 - organization: *885 - repositories: &913 + organization: *889 + repositories: &917 description: An array of repository objects that the installation can access. type: array @@ -150916,8 +152220,8 @@ x-webhooks: - name - full_name - private - repository: *886 - requester: *912 + repository: *890 + requester: *916 sender: *4 required: - action @@ -150992,11 +152296,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 + enterprise: *887 installation: *22 - organization: *885 - repositories: *913 - repository: *886 + organization: *889 + repositories: *917 + repository: *890 requester: nullable: true sender: *4 @@ -151072,11 +152376,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *883 + enterprise: *887 installation: *22 - organization: *885 - repositories: *913 - repository: *886 + organization: *889 + repositories: *917 + repository: *890 requester: nullable: true sender: *4 @@ -151152,10 +152456,10 @@ x-webhooks: type: string enum: - added - enterprise: *883 + enterprise: *887 installation: *22 - organization: *885 - repositories_added: &914 + organization: *889 + repositories_added: &918 description: An array of repository objects, which were added to the installation. type: array @@ -151201,15 +152505,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *886 - repository_selection: &915 + repository: *890 + repository_selection: &919 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *912 + requester: *916 sender: *4 required: - action @@ -151288,10 +152592,10 @@ x-webhooks: type: string enum: - removed - enterprise: *883 + enterprise: *887 installation: *22 - organization: *885 - repositories_added: *914 + organization: *889 + repositories_added: *918 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -151318,9 +152622,9 @@ x-webhooks: - name - full_name - private - repository: *886 - repository_selection: *915 - requester: *912 + repository: *890 + repository_selection: *919 + requester: *916 sender: *4 required: - action @@ -151399,11 +152703,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *883 + enterprise: *887 installation: *22 - organization: *885 - repositories: *913 - repository: *886 + organization: *889 + repositories: *917 + repository: *890 requester: nullable: true sender: *4 @@ -151582,10 +152886,10 @@ x-webhooks: type: string required: - from - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 target_type: type: string @@ -151664,11 +152968,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *883 + enterprise: *887 installation: *22 - organization: *885 - repositories: *913 - repository: *886 + organization: *889 + repositories: *917 + repository: *890 requester: nullable: true sender: *4 @@ -151842,8 +153146,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *706 - required: *707 + properties: *710 + required: *711 nullable: true user: title: User @@ -151928,8 +153232,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -152718,8 +154022,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152735,7 +154039,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -153068,8 +154372,8 @@ x-webhooks: - state - locked - assignee - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -153149,7 +154453,7 @@ x-webhooks: type: string enum: - deleted - comment: &916 + comment: &920 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -153306,8 +154610,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *706 - required: *707 + properties: *710 + required: *711 nullable: true required: - url @@ -153322,8 +154626,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -154108,8 +155412,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154125,7 +155429,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -154460,8 +155764,8 @@ x-webhooks: - state - locked - assignee - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -154541,7 +155845,7 @@ x-webhooks: type: string enum: - edited - changes: &945 + changes: &949 description: The changes to the comment. type: object properties: @@ -154553,9 +155857,9 @@ x-webhooks: type: string required: - from - comment: *916 - enterprise: *883 - installation: *884 + comment: *920 + enterprise: *887 + installation: *888 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -155343,8 +156647,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155360,7 +156664,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -155693,8 +156997,8 @@ x-webhooks: - state - locked - assignee - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -155775,9 +157079,9 @@ x-webhooks: type: string enum: - pinned - comment: *916 - enterprise: *883 - installation: *884 + comment: *920 + enterprise: *887 + installation: *888 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -156567,8 +157871,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156584,7 +157888,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -156919,8 +158223,8 @@ x-webhooks: - state - locked - assignee - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -157000,9 +158304,9 @@ x-webhooks: type: string enum: - unpinned - comment: *916 - enterprise: *883 - installation: *884 + comment: *920 + enterprise: *887 + installation: *888 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -157792,8 +159096,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157809,7 +159113,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -158144,8 +159448,8 @@ x-webhooks: - state - locked - assignee - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -158234,9 +159538,9 @@ x-webhooks: type: number blocking_issue: *229 blocking_issue_repo: *80 - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -158325,9 +159629,9 @@ x-webhooks: type: number blocking_issue: *229 blocking_issue_repo: *80 - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -158415,9 +159719,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *229 - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -158506,9 +159810,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *229 - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -158588,10 +159892,10 @@ x-webhooks: type: string enum: - assigned - assignee: *912 - enterprise: *883 - installation: *884 - issue: &917 + assignee: *916 + enterprise: *887 + installation: *888 + issue: &921 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -159383,11 +160687,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159403,7 +160707,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -159504,8 +160808,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -159585,8 +160889,8 @@ x-webhooks: type: string enum: - closed - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -160383,11 +161687,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160403,7 +161707,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -160639,8 +161943,8 @@ x-webhooks: required: - state - closed_at - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -160719,8 +162023,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -161508,11 +162812,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161528,7 +162832,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -161628,8 +162932,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -161708,8 +163012,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -162519,11 +163823,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162539,7 +163843,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -162618,7 +163922,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &918 + milestone: &922 title: Milestone description: A collection of related issues and pull requests. type: object @@ -162756,8 +164060,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -162856,8 +164160,8 @@ x-webhooks: type: string required: - from - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -163649,11 +164953,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163666,7 +164970,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *394 + type: *401 title: description: Title of the issue type: string @@ -163770,9 +165074,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *906 - organization: *885 - repository: *886 + label: *910 + organization: *889 + repository: *890 sender: *4 required: - action @@ -163852,9 +165156,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *883 - installation: *884 - issue: *917 + enterprise: *887 + installation: *888 + issue: *921 issue_field: type: object description: The issue field whose value was set or updated on the @@ -163963,8 +165267,8 @@ x-webhooks: - id required: - from - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -164044,9 +165348,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *883 - installation: *884 - issue: *917 + enterprise: *887 + installation: *888 + issue: *921 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -164104,8 +165408,8 @@ x-webhooks: nullable: true required: - id - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -164185,8 +165489,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -164977,11 +166281,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164994,7 +166298,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *394 + type: *401 title: description: Title of the issue type: string @@ -165098,9 +166402,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *906 - organization: *885 - repository: *886 + label: *910 + organization: *889 + repository: *890 sender: *4 required: - action @@ -165180,8 +166484,8 @@ x-webhooks: type: string enum: - locked - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -165996,11 +167300,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166013,7 +167317,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *394 + type: *401 title: description: Title of the issue type: string @@ -166094,8 +167398,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -166174,8 +167478,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -166984,11 +168288,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167004,7 +168308,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -167082,9 +168386,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *918 - organization: *885 - repository: *886 + milestone: *922 + organization: *889 + repository: *890 sender: *4 required: - action @@ -167947,11 +169251,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168052,7 +169356,7 @@ x-webhooks: required: - login - id - type: *394 + type: *401 required: - id - number @@ -168532,8 +169836,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -169317,11 +170621,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169337,7 +170641,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -169445,8 +170749,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -169526,9 +170830,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *883 - installation: *884 - issue: &919 + enterprise: *887 + installation: *888 + issue: &923 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -170314,11 +171618,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -170334,7 +171638,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -170434,8 +171738,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -170514,8 +171818,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -171328,11 +172632,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171426,9 +172730,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *394 - organization: *885 - repository: *886 + type: *401 + organization: *889 + repository: *890 sender: *4 required: - action @@ -172297,11 +173601,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172317,7 +173621,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -172896,11 +174200,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *883 - installation: *884 - issue: *919 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + issue: *923 + organization: *889 + repository: *890 sender: *4 required: - action @@ -172980,12 +174284,12 @@ x-webhooks: type: string enum: - typed - enterprise: *883 - installation: *884 - issue: *917 - type: *394 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + issue: *921 + type: *401 + organization: *889 + repository: *890 sender: *4 required: - action @@ -173066,7 +174370,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &948 + assignee: &952 title: User type: object nullable: true @@ -173136,11 +174440,11 @@ x-webhooks: required: - login - id - enterprise: *883 - installation: *884 - issue: *917 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + issue: *921 + organization: *889 + repository: *890 sender: *4 required: - action @@ -173219,12 +174523,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *883 - installation: *884 - issue: *917 - label: *906 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + issue: *921 + label: *910 + organization: *889 + repository: *890 sender: *4 required: - action @@ -173304,8 +174608,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -174118,11 +175422,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174138,7 +175442,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -174216,8 +175520,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -174297,11 +175601,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *883 - installation: *884 - issue: *919 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + issue: *923 + organization: *889 + repository: *890 sender: *4 required: - action @@ -174380,12 +175684,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *883 - installation: *884 - issue: *917 - type: *394 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + issue: *921 + type: *401 + organization: *889 + repository: *890 sender: *4 required: - action @@ -174465,11 +175769,11 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - label: *906 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + label: *910 + organization: *889 + repository: *890 sender: *4 required: - action @@ -174547,11 +175851,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - label: *906 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + label: *910 + organization: *889 + repository: *890 sender: *4 required: - action @@ -174661,11 +175965,11 @@ x-webhooks: type: string required: - from - enterprise: *883 - installation: *884 - label: *906 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + label: *910 + organization: *889 + repository: *890 sender: *4 required: - action @@ -174747,9 +176051,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *883 - installation: *884 - marketplace_purchase: &920 + enterprise: *887 + installation: *888 + marketplace_purchase: &924 title: Marketplace Purchase type: object required: @@ -174832,8 +176136,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *885 - previous_marketplace_purchase: &921 + organization: *889 + previous_marketplace_purchase: &925 title: Marketplace Purchase type: object properties: @@ -174913,7 +176217,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *886 + repository: *890 sender: *4 required: - action @@ -174993,10 +176297,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *883 - installation: *884 - marketplace_purchase: *920 - organization: *885 + enterprise: *887 + installation: *888 + marketplace_purchase: *924 + organization: *889 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -175079,7 +176383,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *886 + repository: *890 sender: *4 required: - action @@ -175161,10 +176465,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *883 - installation: *884 - marketplace_purchase: *920 - organization: *885 + enterprise: *887 + installation: *888 + marketplace_purchase: *924 + organization: *889 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -175246,7 +176550,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *886 + repository: *890 sender: *4 required: - action @@ -175327,8 +176631,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 marketplace_purchase: title: Marketplace Purchase type: object @@ -175410,9 +176714,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *885 - previous_marketplace_purchase: *921 - repository: *886 + organization: *889 + previous_marketplace_purchase: *925 + repository: *890 sender: *4 required: - action @@ -175492,12 +176796,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *883 - installation: *884 - marketplace_purchase: *920 - organization: *885 - previous_marketplace_purchase: *921 - repository: *886 + enterprise: *887 + installation: *888 + marketplace_purchase: *924 + organization: *889 + previous_marketplace_purchase: *925 + repository: *890 sender: *4 required: - action @@ -175599,11 +176903,11 @@ x-webhooks: type: string required: - to - enterprise: *883 - installation: *884 - member: *912 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + member: *916 + organization: *889 + repository: *890 sender: *4 required: - action @@ -175703,11 +177007,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *883 - installation: *884 - member: *912 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + member: *916 + organization: *889 + repository: *890 sender: *4 required: - action @@ -175786,11 +177090,11 @@ x-webhooks: type: string enum: - removed - enterprise: *883 - installation: *884 - member: *912 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + member: *916 + organization: *889 + repository: *890 sender: *4 required: - action @@ -175868,11 +177172,11 @@ x-webhooks: type: string enum: - added - enterprise: *883 - installation: *884 - member: *912 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + member: *916 + organization: *889 + repository: *890 scope: description: The scope of the membership. Currently, can only be `team`. @@ -175948,7 +177252,7 @@ x-webhooks: required: - login - id - team: &922 + team: &926 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -176171,11 +177475,11 @@ x-webhooks: type: string enum: - removed - enterprise: *883 - installation: *884 - member: *912 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + member: *916 + organization: *889 + repository: *890 scope: description: The scope of the membership. Currently, can only be `team`. @@ -176252,7 +177556,7 @@ x-webhooks: required: - login - id - team: *922 + team: *926 required: - action - scope @@ -176334,8 +177638,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *884 - merge_group: &924 + installation: *888 + merge_group: &928 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -176354,15 +177658,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *923 + head_commit: *927 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -176448,10 +177752,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *884 - merge_group: *924 - organization: *885 - repository: *886 + installation: *888 + merge_group: *928 + organization: *889 + repository: *890 sender: *4 required: - action @@ -176524,7 +177828,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 + enterprise: *887 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -176633,16 +177937,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *884 - organization: *885 + installation: *888 + organization: *889 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *925 - required: *926 + properties: *929 + required: *930 nullable: true sender: *4 required: @@ -176723,11 +178027,11 @@ x-webhooks: type: string enum: - closed - enterprise: *883 - installation: *884 - milestone: *918 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + milestone: *922 + organization: *889 + repository: *890 sender: *4 required: - action @@ -176806,9 +178110,9 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - milestone: &927 + enterprise: *887 + installation: *888 + milestone: &931 title: Milestone description: A collection of related issues and pull requests. type: object @@ -176945,8 +178249,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -177025,11 +178329,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - milestone: *918 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + milestone: *922 + organization: *889 + repository: *890 sender: *4 required: - action @@ -177139,11 +178443,11 @@ x-webhooks: type: string required: - from - enterprise: *883 - installation: *884 - milestone: *918 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + milestone: *922 + organization: *889 + repository: *890 sender: *4 required: - action @@ -177223,11 +178527,11 @@ x-webhooks: type: string enum: - opened - enterprise: *883 - installation: *884 - milestone: *927 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + milestone: *931 + organization: *889 + repository: *890 sender: *4 required: - action @@ -177306,11 +178610,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *912 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + blocked_user: *916 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -177389,11 +178693,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *912 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + blocked_user: *916 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -177469,7 +178773,7 @@ x-webhooks: enum: - created definition: *156 - enterprise: *883 + enterprise: *887 sender: *4 required: - action @@ -177549,8 +178853,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 sender: *4 required: - action @@ -177623,8 +178927,8 @@ x-webhooks: enum: - updated definition: *156 - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 sender: *4 required: - action @@ -177696,9 +179000,9 @@ x-webhooks: type: string enum: - updated - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 sender: *4 new_property_values: type: array @@ -177786,9 +179090,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - membership: &928 + enterprise: *887 + installation: *888 + membership: &932 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -177895,8 +179199,8 @@ x-webhooks: - role - organization_url - user - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -177974,11 +179278,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *883 - installation: *884 - membership: *928 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + membership: *932 + organization: *889 + repository: *890 sender: *4 required: - action @@ -178057,8 +179361,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -178174,10 +179478,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 - user: *912 + user: *916 required: - action - invitation @@ -178255,11 +179559,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *883 - installation: *884 - membership: *928 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + membership: *932 + organization: *889 + repository: *890 sender: *4 required: - action @@ -178346,11 +179650,11 @@ x-webhooks: properties: from: type: string - enterprise: *883 - installation: *884 - membership: *928 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + membership: *932 + organization: *889 + repository: *890 sender: *4 required: - action @@ -178428,9 +179732,9 @@ x-webhooks: type: string enum: - published - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 package: description: Information about the package. type: object @@ -178929,7 +180233,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &929 + items: &933 title: Ruby Gems metadata type: object properties: @@ -179024,7 +180328,7 @@ x-webhooks: - owner - package_version - registry - repository: *886 + repository: *890 sender: *4 required: - action @@ -179101,9 +180405,9 @@ x-webhooks: type: string enum: - updated - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 package: description: Information about the package. type: object @@ -179456,7 +180760,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *929 + items: *933 source_url: type: string format: uri @@ -179526,7 +180830,7 @@ x-webhooks: - owner - package_version - registry - repository: *886 + repository: *890 sender: *4 required: - action @@ -179702,12 +181006,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *883 + enterprise: *887 id: type: integer - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - id @@ -179784,7 +181088,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &930 + personal_access_token_request: &934 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -179930,10 +181234,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *883 - organization: *885 + enterprise: *887 + organization: *889 sender: *4 - installation: *884 + installation: *888 required: - action - personal_access_token_request @@ -180010,11 +181314,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *930 - enterprise: *883 - organization: *885 + personal_access_token_request: *934 + enterprise: *887 + organization: *889 sender: *4 - installation: *884 + installation: *888 required: - action - personal_access_token_request @@ -180090,11 +181394,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *930 - enterprise: *883 - organization: *885 + personal_access_token_request: *934 + enterprise: *887 + organization: *889 sender: *4 - installation: *884 + installation: *888 required: - action - personal_access_token_request @@ -180169,11 +181473,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *930 - organization: *885 - enterprise: *883 + personal_access_token_request: *934 + organization: *889 + enterprise: *887 sender: *4 - installation: *884 + installation: *888 required: - action - personal_access_token_request @@ -180278,7 +181582,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *931 + last_response: *935 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -180310,8 +181614,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 zen: description: Random string of GitHub zen. @@ -180556,10 +181860,10 @@ x-webhooks: - from required: - note - enterprise: *883 - installation: *884 - organization: *885 - project_card: &932 + enterprise: *887 + installation: *888 + organization: *889 + project_card: &936 title: Project Card type: object properties: @@ -180678,7 +181982,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *886 + repository: *890 sender: *4 required: - action @@ -180759,11 +182063,11 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - project_card: *932 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + project_card: *936 + repository: *890 sender: *4 required: - action @@ -180843,9 +182147,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 project_card: title: Project Card type: object @@ -180973,8 +182277,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *925 - required: *926 + properties: *929 + required: *930 nullable: true sender: *4 required: @@ -181068,11 +182372,11 @@ x-webhooks: - from required: - note - enterprise: *883 - installation: *884 - organization: *885 - project_card: *932 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + project_card: *936 + repository: *890 sender: *4 required: - action @@ -181166,9 +182470,9 @@ x-webhooks: - from required: - column_id - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 project_card: allOf: - title: Project Card @@ -181358,7 +182662,7 @@ x-webhooks: type: string required: - after_id - repository: *886 + repository: *890 sender: *4 required: - action @@ -181438,10 +182742,10 @@ x-webhooks: type: string enum: - closed - enterprise: *883 - installation: *884 - organization: *885 - project: &934 + enterprise: *887 + installation: *888 + organization: *889 + project: &938 title: Project type: object properties: @@ -181565,7 +182869,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *886 + repository: *890 sender: *4 required: - action @@ -181645,10 +182949,10 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - project_column: &933 + enterprise: *887 + installation: *888 + organization: *889 + project_column: &937 title: Project Column type: object properties: @@ -181687,7 +182991,7 @@ x-webhooks: - name - created_at - updated_at - repository: *886 + repository: *890 sender: *4 required: - action @@ -181766,18 +183070,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - organization: *885 - project_column: *933 + enterprise: *887 + installation: *888 + organization: *889 + project_column: *937 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *925 - required: *926 + properties: *929 + required: *930 nullable: true sender: *4 required: @@ -181867,11 +183171,11 @@ x-webhooks: type: string required: - from - enterprise: *883 - installation: *884 - organization: *885 - project_column: *933 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + project_column: *937 + repository: *890 sender: *4 required: - action @@ -181951,11 +183255,11 @@ x-webhooks: type: string enum: - moved - enterprise: *883 - installation: *884 - organization: *885 - project_column: *933 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + project_column: *937 + repository: *890 sender: *4 required: - action @@ -182035,11 +183339,11 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - project: *934 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + project: *938 + repository: *890 sender: *4 required: - action @@ -182119,18 +183423,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - organization: *885 - project: *934 + enterprise: *887 + installation: *888 + organization: *889 + project: *938 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *925 - required: *926 + properties: *929 + required: *930 nullable: true sender: *4 required: @@ -182232,11 +183536,11 @@ x-webhooks: type: string required: - from - enterprise: *883 - installation: *884 - organization: *885 - project: *934 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + project: *938 + repository: *890 sender: *4 required: - action @@ -182315,11 +183619,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *883 - installation: *884 - organization: *885 - project: *934 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + project: *938 + repository: *890 sender: *4 required: - action @@ -182400,9 +183704,9 @@ x-webhooks: type: string enum: - closed - installation: *884 - organization: *885 - projects_v2: *426 + installation: *888 + organization: *889 + projects_v2: *433 sender: *4 required: - action @@ -182483,9 +183787,9 @@ x-webhooks: type: string enum: - created - installation: *884 - organization: *885 - projects_v2: *426 + installation: *888 + organization: *889 + projects_v2: *433 sender: *4 required: - action @@ -182566,9 +183870,9 @@ x-webhooks: type: string enum: - deleted - installation: *884 - organization: *885 - projects_v2: *426 + installation: *888 + organization: *889 + projects_v2: *433 sender: *4 required: - action @@ -182685,9 +183989,9 @@ x-webhooks: type: string to: type: string - installation: *884 - organization: *885 - projects_v2: *426 + installation: *888 + organization: *889 + projects_v2: *433 sender: *4 required: - action @@ -182770,7 +184074,7 @@ x-webhooks: type: string enum: - archived - changes: &938 + changes: &942 type: object properties: archived_at: @@ -182784,9 +184088,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *884 - organization: *885 - projects_v2_item: &935 + installation: *888 + organization: *889 + projects_v2_item: &939 title: Projects v2 Item description: An item belonging to a project type: object @@ -182804,7 +184108,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *433 + content_type: *440 creator: *4 created_at: type: string @@ -182921,9 +184225,9 @@ x-webhooks: nullable: true to: type: string - installation: *884 - organization: *885 - projects_v2_item: *935 + installation: *888 + organization: *889 + projects_v2_item: *939 sender: *4 required: - action @@ -183005,9 +184309,9 @@ x-webhooks: type: string enum: - created - installation: *884 - organization: *885 - projects_v2_item: *935 + installation: *888 + organization: *889 + projects_v2_item: *939 sender: *4 required: - action @@ -183088,9 +184392,9 @@ x-webhooks: type: string enum: - deleted - installation: *884 - organization: *885 - projects_v2_item: *935 + installation: *888 + organization: *889 + projects_v2_item: *939 sender: *4 required: - action @@ -183196,7 +184500,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &936 + - &940 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -183218,7 +184522,7 @@ x-webhooks: required: - id - name - - &937 + - &941 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -183252,8 +184556,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *936 - - *937 + - *940 + - *941 required: - field_value - type: object @@ -183269,9 +184573,9 @@ x-webhooks: nullable: true required: - body - installation: *884 - organization: *885 - projects_v2_item: *935 + installation: *888 + organization: *889 + projects_v2_item: *939 sender: *4 required: - action @@ -183366,9 +184670,9 @@ x-webhooks: to: type: string nullable: true - installation: *884 - organization: *885 - projects_v2_item: *935 + installation: *888 + organization: *889 + projects_v2_item: *939 sender: *4 required: - action @@ -183451,10 +184755,10 @@ x-webhooks: type: string enum: - restored - changes: *938 - installation: *884 - organization: *885 - projects_v2_item: *935 + changes: *942 + installation: *888 + organization: *889 + projects_v2_item: *939 sender: *4 required: - action @@ -183536,9 +184840,9 @@ x-webhooks: type: string enum: - reopened - installation: *884 - organization: *885 - projects_v2: *426 + installation: *888 + organization: *889 + projects_v2: *433 sender: *4 required: - action @@ -183619,14 +184923,14 @@ x-webhooks: type: string enum: - created - installation: *884 - organization: *885 - projects_v2_status_update: &941 + installation: *888 + organization: *889 + projects_v2_status_update: &945 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *939 - required: *940 + properties: *943 + required: *944 sender: *4 required: - action @@ -183707,9 +185011,9 @@ x-webhooks: type: string enum: - deleted - installation: *884 - organization: *885 - projects_v2_status_update: *941 + installation: *888 + organization: *889 + projects_v2_status_update: *945 sender: *4 required: - action @@ -183845,9 +185149,9 @@ x-webhooks: type: string format: date nullable: true - installation: *884 - organization: *885 - projects_v2_status_update: *941 + installation: *888 + organization: *889 + projects_v2_status_update: *945 sender: *4 required: - action @@ -183918,10 +185222,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - repository @@ -183998,13 +185302,13 @@ x-webhooks: type: string enum: - assigned - assignee: *912 - enterprise: *883 - installation: *884 - number: &942 + assignee: *916 + enterprise: *887 + installation: *888 + number: &946 description: The pull request number. type: integer - organization: *885 + organization: *889 pull_request: title: Pull Request type: object @@ -186309,7 +187613,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 sender: *4 required: - action @@ -186391,11 +187695,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 number: type: integer - organization: *885 + organization: *889 pull_request: title: Pull Request type: object @@ -188695,7 +189999,7 @@ x-webhooks: - draft reason: type: string - repository: *886 + repository: *890 sender: *4 required: - action @@ -188777,11 +190081,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 number: type: integer - organization: *885 + organization: *889 pull_request: title: Pull Request type: object @@ -191081,7 +192385,7 @@ x-webhooks: - draft reason: type: string - repository: *886 + repository: *890 sender: *4 required: - action @@ -191163,13 +192467,13 @@ x-webhooks: type: string enum: - closed - enterprise: *883 - installation: *884 - number: *942 - organization: *885 - pull_request: &943 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 + pull_request: &947 allOf: - - *731 + - *735 - type: object properties: allow_auto_merge: @@ -191231,7 +192535,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *886 + repository: *890 sender: *4 required: - action @@ -191312,12 +192616,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *883 - installation: *884 - number: *942 - organization: *885 - pull_request: *943 - repository: *886 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 + pull_request: *947 + repository: *890 sender: *4 required: - action @@ -191397,11 +192701,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *883 - milestone: *713 - number: *942 - organization: *885 - pull_request: &944 + enterprise: *887 + milestone: *717 + number: *946 + organization: *889 + pull_request: &948 title: Pull Request type: object properties: @@ -193686,7 +194990,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 sender: *4 required: - action @@ -193765,11 +195069,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 number: type: integer - organization: *885 + organization: *889 pull_request: title: Pull Request type: object @@ -196073,7 +197377,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *886 + repository: *890 sender: *4 required: - action @@ -196197,12 +197501,12 @@ x-webhooks: type: string required: - from - enterprise: *883 - installation: *884 - number: *942 - organization: *885 - pull_request: *943 - repository: *886 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 + pull_request: *947 + repository: *890 sender: *4 required: - action @@ -196282,11 +197586,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 number: type: integer - organization: *885 + organization: *889 pull_request: title: Pull Request type: object @@ -198575,7 +199879,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 sender: *4 required: - action @@ -198655,11 +199959,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *883 - installation: *884 - label: *906 - number: *942 - organization: *885 + enterprise: *887 + installation: *888 + label: *910 + number: *946 + organization: *889 pull_request: title: Pull Request type: object @@ -200963,7 +202267,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 sender: *4 required: - action @@ -201044,10 +202348,10 @@ x-webhooks: type: string enum: - locked - enterprise: *883 - installation: *884 - number: *942 - organization: *885 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 pull_request: title: Pull Request type: object @@ -203349,7 +204653,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 sender: *4 required: - action @@ -203429,12 +204733,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *883 - milestone: *713 - number: *942 - organization: *885 - pull_request: *944 - repository: *886 + enterprise: *887 + milestone: *717 + number: *946 + organization: *889 + pull_request: *948 + repository: *890 sender: *4 required: - action @@ -203513,12 +204817,12 @@ x-webhooks: type: string enum: - opened - enterprise: *883 - installation: *884 - number: *942 - organization: *885 - pull_request: *943 - repository: *886 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 + pull_request: *947 + repository: *890 sender: *4 required: - action @@ -203599,12 +204903,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *883 - installation: *884 - number: *942 - organization: *885 - pull_request: *943 - repository: *886 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 + pull_request: *947 + repository: *890 sender: *4 required: - action @@ -203684,12 +204988,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *883 - installation: *884 - number: *942 - organization: *885 - pull_request: *943 - repository: *886 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 + pull_request: *947 + repository: *890 sender: *4 required: - action @@ -204055,9 +205359,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 pull_request: type: object properties: @@ -206249,7 +207553,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *886 + repository: *890 sender: *4 required: - action @@ -206329,7 +207633,7 @@ x-webhooks: type: string enum: - deleted - comment: &946 + comment: &950 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. @@ -206614,9 +207918,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 pull_request: type: object properties: @@ -208796,7 +210100,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *886 + repository: *890 sender: *4 required: - action @@ -208876,11 +210180,11 @@ x-webhooks: type: string enum: - edited - changes: *945 - comment: *946 - enterprise: *883 - installation: *884 - organization: *885 + changes: *949 + comment: *950 + enterprise: *887 + installation: *888 + organization: *889 pull_request: type: object properties: @@ -211063,7 +212367,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *886 + repository: *890 sender: *4 required: - action @@ -211144,9 +212448,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 pull_request: title: Simple Pull Request type: object @@ -213341,7 +214645,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *886 + repository: *890 review: description: The review that was affected. type: object @@ -213588,9 +214892,9 @@ x-webhooks: type: string required: - from - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 pull_request: title: Simple Pull Request type: object @@ -215644,8 +216948,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *886 - review: &947 + repository: *890 + review: &951 description: The review that was affected. type: object properties: @@ -215878,12 +217182,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 number: description: The pull request number. type: integer - organization: *885 + organization: *889 pull_request: title: Pull Request type: object @@ -218188,7 +219492,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 requested_reviewer: title: User type: object @@ -218272,12 +219576,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 number: description: The pull request number. type: integer - organization: *885 + organization: *889 pull_request: title: Pull Request type: object @@ -220589,7 +221893,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 requested_team: title: Team description: Groups of organization members that gives permissions @@ -220781,12 +222085,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 number: description: The pull request number. type: integer - organization: *885 + organization: *889 pull_request: title: Pull Request type: object @@ -223093,7 +224397,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 requested_reviewer: title: User type: object @@ -223178,12 +224482,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 number: description: The pull request number. type: integer - organization: *885 + organization: *889 pull_request: title: Pull Request type: object @@ -225481,7 +226785,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 requested_team: title: Team description: Groups of organization members that gives permissions @@ -225662,9 +226966,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 pull_request: title: Simple Pull Request type: object @@ -227861,8 +229165,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *886 - review: *947 + repository: *890 + review: *951 sender: *4 required: - action @@ -227942,9 +229246,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 pull_request: title: Simple Pull Request type: object @@ -230036,7 +231340,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *886 + repository: *890 sender: *4 thread: type: object @@ -230423,9 +231727,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 pull_request: title: Simple Pull Request type: object @@ -232503,7 +233807,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *886 + repository: *890 sender: *4 thread: type: object @@ -232893,10 +234197,10 @@ x-webhooks: type: string before: type: string - enterprise: *883 - installation: *884 - number: *942 - organization: *885 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 pull_request: title: Pull Request type: object @@ -235189,7 +236493,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 sender: *4 required: - action @@ -235271,11 +236575,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *948 - enterprise: *883 - installation: *884 - number: *942 - organization: *885 + assignee: *952 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 pull_request: title: Pull Request type: object @@ -237580,7 +238884,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 sender: *4 required: - action @@ -237659,11 +238963,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *883 - installation: *884 - label: *906 - number: *942 - organization: *885 + enterprise: *887 + installation: *888 + label: *910 + number: *946 + organization: *889 pull_request: title: Pull Request type: object @@ -239958,7 +241262,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 sender: *4 required: - action @@ -240039,10 +241343,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *883 - installation: *884 - number: *942 - organization: *885 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 pull_request: title: Pull Request type: object @@ -242329,7 +243633,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 sender: *4 required: - action @@ -242529,7 +243833,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *883 + enterprise: *887 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -242621,8 +243925,8 @@ x-webhooks: - url - author - committer - installation: *884 - organization: *885 + installation: *888 + organization: *889 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -243208,9 +244512,9 @@ x-webhooks: type: string enum: - published - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 registry_package: type: object properties: @@ -243656,7 +244960,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *929 + items: *933 summary: type: string tag_name: @@ -243710,7 +245014,7 @@ x-webhooks: - owner - package_version - registry - repository: *886 + repository: *890 sender: *4 required: - action @@ -243788,9 +245092,9 @@ x-webhooks: type: string enum: - updated - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 registry_package: type: object properties: @@ -244098,7 +245402,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *929 + items: *933 summary: type: string tag_name: @@ -244147,7 +245451,7 @@ x-webhooks: - owner - package_version - registry - repository: *886 + repository: *890 sender: *4 required: - action @@ -244224,10 +245528,10 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - release: &949 + enterprise: *887 + installation: *888 + organization: *889 + release: &953 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -244545,7 +245849,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *886 + repository: *890 sender: *4 required: - action @@ -244622,11 +245926,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - organization: *885 - release: *949 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + release: *953 + repository: *890 sender: *4 required: - action @@ -244743,11 +246047,11 @@ x-webhooks: type: boolean required: - to - enterprise: *883 - installation: *884 - organization: *885 - release: *949 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + release: *953 + repository: *890 sender: *4 required: - action @@ -244825,9 +246129,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -245149,7 +246453,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *886 + repository: *890 sender: *4 required: - action @@ -245225,10 +246529,10 @@ x-webhooks: type: string enum: - published - enterprise: *883 - installation: *884 - organization: *885 - release: &950 + enterprise: *887 + installation: *888 + organization: *889 + release: &954 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -245547,7 +246851,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *886 + repository: *890 sender: *4 required: - action @@ -245623,11 +246927,11 @@ x-webhooks: type: string enum: - released - enterprise: *883 - installation: *884 - organization: *885 - release: *949 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + release: *953 + repository: *890 sender: *4 required: - action @@ -245703,11 +247007,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *883 - installation: *884 - organization: *885 - release: *950 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + release: *954 + repository: *890 sender: *4 required: - action @@ -245783,11 +247087,11 @@ x-webhooks: type: string enum: - published - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - repository_advisory: *783 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + repository_advisory: *787 sender: *4 required: - action @@ -245863,11 +247167,11 @@ x-webhooks: type: string enum: - reported - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - repository_advisory: *783 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + repository_advisory: *787 sender: *4 required: - action @@ -245943,10 +247247,10 @@ x-webhooks: type: string enum: - archived - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -246023,10 +247327,10 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -246104,10 +247408,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -246191,10 +247495,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -246306,10 +247610,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -246381,10 +247685,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 status: type: string @@ -246465,10 +247769,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -246545,10 +247849,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -246642,10 +247946,10 @@ x-webhooks: - name required: - repository - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -246725,10 +248029,10 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 repository_ruleset: *195 sender: *4 required: @@ -246807,10 +248111,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 repository_ruleset: *195 sender: *4 required: @@ -246889,10 +248193,10 @@ x-webhooks: type: string enum: - edited - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 repository_ruleset: *195 changes: type: object @@ -246954,16 +248258,16 @@ x-webhooks: properties: added: type: array - items: *751 + items: *755 deleted: type: array - items: *751 + items: *755 updated: type: array items: type: object properties: - rule: *751 + rule: *755 changes: type: object properties: @@ -247197,10 +248501,10 @@ x-webhooks: - from required: - owner - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -247278,10 +248582,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -247359,7 +248663,7 @@ x-webhooks: type: string enum: - create - alert: &951 + alert: &955 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -247481,10 +248785,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -247690,10 +248994,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -247771,11 +249075,11 @@ x-webhooks: type: string enum: - reopen - alert: *951 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + alert: *955 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -247974,10 +249278,10 @@ x-webhooks: enum: - fixed - open - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -248055,7 +249359,7 @@ x-webhooks: type: string enum: - assigned - alert: &952 + alert: &956 type: object properties: number: *131 @@ -248198,10 +249502,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -248279,11 +249583,11 @@ x-webhooks: type: string enum: - created - alert: *952 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + alert: *956 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -248364,11 +249668,11 @@ x-webhooks: type: string enum: - created - alert: *952 - installation: *884 - location: *953 - organization: *885 - repository: *886 + alert: *956 + installation: *888 + location: *957 + organization: *889 + repository: *890 sender: *4 required: - location @@ -248606,11 +249910,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *952 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + alert: *956 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -248688,11 +249992,11 @@ x-webhooks: type: string enum: - reopened - alert: *952 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + alert: *956 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -248770,11 +250074,11 @@ x-webhooks: type: string enum: - resolved - alert: *952 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + alert: *956 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -248852,12 +250156,12 @@ x-webhooks: type: string enum: - unassigned - alert: *952 + alert: *956 assignee: *4 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -248935,11 +250239,11 @@ x-webhooks: type: string enum: - validated - alert: *952 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + alert: *956 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -249065,10 +250369,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *886 - enterprise: *883 - installation: *884 - organization: *885 + repository: *890 + enterprise: *887 + installation: *888 + organization: *889 sender: *4 required: - action @@ -249146,11 +250450,11 @@ x-webhooks: type: string enum: - published - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - security_advisory: &954 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + security_advisory: &958 description: The details of the security advisory, including summary, description, and severity. type: object @@ -249333,11 +250637,11 @@ x-webhooks: type: string enum: - updated - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - security_advisory: *954 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + security_advisory: *958 sender: *4 required: - action @@ -249410,10 +250714,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -249597,11 +250901,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *443 - enterprise: *883 - installation: *884 - organization: *885 - repository: *490 + security_and_analysis: *450 + enterprise: *887 + installation: *888 + organization: *889 + repository: *497 sender: *4 required: - changes @@ -249679,12 +250983,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - sponsorship: &955 + sponsorship: &959 type: object properties: created_at: @@ -249985,12 +251289,12 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - sponsorship: *955 + sponsorship: *959 required: - action - sponsorship @@ -250078,12 +251382,12 @@ x-webhooks: type: string required: - from - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - sponsorship: *955 + sponsorship: *959 required: - action - changes @@ -250160,17 +251464,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &956 + effective_date: &960 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: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - sponsorship: *955 + sponsorship: *959 required: - action - sponsorship @@ -250244,7 +251548,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &957 + changes: &961 type: object properties: tier: @@ -250288,13 +251592,13 @@ x-webhooks: - from required: - tier - effective_date: *956 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + effective_date: *960 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - sponsorship: *955 + sponsorship: *959 required: - action - changes @@ -250371,13 +251675,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *957 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + changes: *961 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - sponsorship: *955 + sponsorship: *959 required: - action - changes @@ -250451,10 +251755,10 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -250537,10 +251841,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -250960,15 +252264,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *883 + enterprise: *887 id: description: The unique identifier of the status. type: integer - installation: *884 + installation: *888 name: type: string - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 sha: description: The Commit SHA. @@ -251083,17 +252387,16 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *229 - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 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 @@ -251175,17 +252478,16 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *229 - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 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 @@ -251267,17 +252569,16 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *229 - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 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 @@ -251359,17 +252660,16 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *229 - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 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 @@ -251438,12 +252738,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - team: &958 + team: &962 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -251666,9 +252966,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 repository: title: Repository description: A git repository @@ -252126,7 +253426,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *958 + team: *962 required: - action - team @@ -252202,9 +253502,9 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 repository: title: Repository description: A git repository @@ -252662,7 +253962,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *958 + team: *962 required: - action - team @@ -252739,9 +254039,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 repository: title: Repository description: A git repository @@ -253199,7 +254499,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *958 + team: *962 required: - action - team @@ -253343,9 +254643,9 @@ x-webhooks: - from required: - permissions - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 repository: title: Repository description: A git repository @@ -253803,7 +255103,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *958 + team: *962 required: - action - changes @@ -253881,9 +255181,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 repository: title: Repository description: A git repository @@ -254341,7 +255641,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *958 + team: *962 required: - action - team @@ -254417,10 +255717,10 @@ x-webhooks: type: string enum: - started - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -254493,16 +255793,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *883 + enterprise: *887 inputs: type: object nullable: true additionalProperties: true - installation: *884 - organization: *885 + installation: *888 + organization: *889 ref: type: string - repository: *886 + repository: *890 sender: *4 workflow: type: string @@ -254584,10 +255884,10 @@ x-webhooks: type: string enum: - completed - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 workflow_job: allOf: @@ -254824,7 +256124,7 @@ x-webhooks: type: string required: - conclusion - deployment: *632 + deployment: *638 required: - action - repository @@ -254903,10 +256203,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 workflow_job: allOf: @@ -255166,7 +256466,7 @@ x-webhooks: required: - status - steps - deployment: *632 + deployment: *638 required: - action - repository @@ -255245,10 +256545,10 @@ x-webhooks: type: string enum: - queued - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 workflow_job: type: object @@ -255383,7 +256683,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *632 + deployment: *638 required: - action - repository @@ -255462,10 +256762,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 workflow_job: type: object @@ -255601,7 +256901,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *632 + deployment: *638 required: - action - repository @@ -255681,12 +256981,12 @@ x-webhooks: type: string enum: - completed - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - workflow: *902 + workflow: *906 workflow_run: title: Workflow Run type: object @@ -256685,12 +257985,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - workflow: *902 + workflow: *906 workflow_run: title: Workflow Run type: object @@ -257674,12 +258974,12 @@ x-webhooks: type: string enum: - requested - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - workflow: *902 + workflow: *906 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json index 5b3af3b9de..5d4d31e64f 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions/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": [ @@ -44830,6 +44834,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -46582,7 +46595,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" ], @@ -46737,7 +46750,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" ], @@ -47048,7 +47061,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" ], @@ -53646,6 +53659,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -54002,6 +54024,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -55779,6 +55810,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -77534,6 +77574,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -77673,6 +77722,14 @@ "nullable": true, "type": "string", "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": [ @@ -77753,6 +77810,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -79841,229 +79907,255 @@ "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": { - "nullable": true, - "type": "string", - "description": "A new name for the team." - }, - "description": { - "nullable": true, - "type": "string", - "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": { - "nullable": true, - "type": "string", - "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.", - "example": "disabled | all" - }, - "organization_selection_type": { - "type": "string", - "example": "disabled | selected | all" - }, - "group_id": { - "nullable": true, - "type": "string", - "example": "62ab9291-fae2-468e-974b-7e45096d5021" - }, - "group_name": { - "nullable": true, - "type": "string", - "description": "Retired: this field will not be returned with GHEC enterprise teams.", - "example": "Justice League" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/enterprises/dc/teams/justice-league" - }, - "members_url": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { + "notification_setting": { "type": "string", - "format": "date-time" + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] + } + }, + "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": { + "nullable": true, + "type": "string", + "description": "A new name for the team." + }, + "description": { + "nullable": true, + "type": "string", + "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": { + "nullable": true, + "type": "string", + "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.", + "example": "disabled | all" + }, + "organization_selection_type": { + "type": "string", + "example": "disabled | selected | all" + }, + "group_id": { + "nullable": true, + "type": "string", + "example": "62ab9291-fae2-468e-974b-7e45096d5021" + }, + "group_name": { + "nullable": true, + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "example": "Justice League" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "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.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -134578,408 +134670,4208 @@ "tags_url", "teams_url", "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at" + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + } + }, + "single_file": { + "type": "string", + "example": "config.yaml", + "nullable": true + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved", + "type": "string", + "enum": [ + "all", + "selected" + ] + } + }, + "required": [ + "token", + "expires_at" + ] + }, + "examples": { + "default": { + "value": { + "token": "AABF3JGZDX3P5PMEXLND6TS6FCWO6", + "expires_at": "2020-01-29T12:13:35.123-08:00" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/{runner_id}": { + "get": { + "summary": "Get a self-hosted runner for an organization", + "description": "Gets a specific self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/get-self-hosted-runner-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Self hosted runners", + "description": "A self hosted runner", + "type": "object", + "properties": { + "id": { + "description": "The ID of the runner.", + "type": "integer", + "example": 5 + }, + "runner_group_id": { + "description": "The ID of the runner group.", + "type": "integer", + "example": 1 + }, + "name": { + "description": "The name of the runner.", + "type": "string", + "example": "iMac" + }, + "os": { + "description": "The Operating System of the runner.", + "type": "string", + "example": "macos" + }, + "status": { + "description": "The status of the runner.", + "type": "string", + "example": "online" + }, + "busy": { + "type": "boolean" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + }, + "ephemeral": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "os", + "status", + "busy", + "labels" + ] + }, + "examples": { + "default": { + "value": { + "id": 23, + "name": "MBP", + "os": "macos", + "status": "online", + "busy": true, + "ephemeral": false, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "delete": { + "summary": "Delete a self-hosted runner from an organization", + "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/delete-self-hosted-runner-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "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": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/{runner_id}/labels": { + "get": { + "summary": "List labels for a self-hosted runner for an organization", + "description": "Lists all labels for a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/list-labels-for-self-hosted-runner-for-org", + "externalDocs": { + "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-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "post": { + "summary": "Add custom labels to a self-hosted runner for an organization", + "description": "Adds custom labels to a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/add-custom-labels-to-self-hosted-runner-for-org", + "externalDocs": { + "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-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "labels" + ], + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "maxItems": 100, + "description": "The names of the custom labels to add to the runner.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "labels": [ + "gpu", + "accelerated" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "put": { + "summary": "Set custom labels for a self-hosted runner for an organization", + "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/set-custom-labels-for-self-hosted-runner-for-org", + "externalDocs": { + "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-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "labels" + ], + "properties": { + "labels": { + "type": "array", + "minItems": 0, + "maxItems": 100, + "description": "The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "labels": [ + "gpu", + "accelerated" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + }, + "delete": { + "summary": "Remove all custom labels from a self-hosted runner for an organization", + "description": "Remove all custom labels from a self-hosted runner configured in an\norganization. Returns the remaining read-only labels from the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/remove-all-custom-labels-from-self-hosted-runner-for-org", + "externalDocs": { + "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-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 3, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/runners/{runner_id}/labels/{name}": { + "delete": { + "summary": "Remove a custom label from a self-hosted runner for an organization", + "description": "Remove a custom label from a self-hosted runner configured\nin an organization. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ + "actions" + ], + "operationId": "actions/remove-custom-label-from-self-hosted-runner-for-org", + "externalDocs": { + "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-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_id", + "description": "Unique identifier of the self-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "name", + "description": "The name of a self-hosted runner's custom label.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "labels" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "labels": { + "type": "array", + "items": { + "title": "Self hosted runner label", + "description": "A label for a self hosted runner", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the label." + }, + "name": { + "type": "string", + "description": "Name of the label." + }, + "type": { + "type": "string", + "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", + "enum": [ + "read-only", + "custom" + ] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 4, + "labels": [ + { + "id": 5, + "name": "self-hosted", + "type": "read-only" + }, + { + "id": 7, + "name": "X64", + "type": "read-only" + }, + { + "id": 20, + "name": "macOS", + "type": "read-only" + }, + { + "id": 21, + "name": "no-gpu", + "type": "custom" + } + ] + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/orgs/{org}/actions/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": [ + "actions" + ], + "operationId": "actions/list-org-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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", + "example": "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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/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\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": [ + "actions" + ], + "operationId": "actions/get-org-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/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", + "example": "1234567" + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "example": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + }, + "id": { + "type": "integer", + "example": 2 + }, + "url": { + "type": "string", + "example": "https://api.github.com/user/keys/2" + }, + "title": { + "type": "string", + "example": "ssh-rsa AAAAB3NzaC1yc2EAAA" + }, + "created_at": { + "type": "string", + "example": "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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/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": [ + "actions" + ], + "operationId": "actions/get-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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", + "example": "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": "actions", + "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": [ + "actions" + ], + "operationId": "actions/create-or-update-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/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/actions/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/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-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": [ + "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": "actions", + "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": [ + "actions" + ], + "operationId": "actions/delete-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/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": [ + "actions" + ], + "operationId": "actions/list-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "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", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# 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", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string", + "nullable": true + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "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": "actions", + "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/actions/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": [ + "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": [ + { + "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/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\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/actions/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": [ + "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": [ + { + "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": "actions", + "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/actions/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": [ + "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": [ + { + "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": "actions", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/actions/variables": { + "get": { + "summary": "List organization variables", + "description": "Lists all organization 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 `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": [ + { + "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "example": "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": "actions", + "subcategory": "variables" + } + }, + "post": { + "summary": "Create an organization variable", + "description": "Creates an organization 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": [ + "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": [ + { + "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": "actions", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/actions/variables/{name}": { + "get": { + "summary": "Get an organization variable", + "description": "Gets a specific 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": [ + "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": [ + { + "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "example": "2019-01-24T22:45:36.000Z", + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "example": "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": "actions", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update an organization variable", + "description": "Updates an organization 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": [ + "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": [ + { + "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": "actions", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Delete an organization variable", + "description": "Deletes an organization 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": [ + "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": [ + { + "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": "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\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": [ + "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": [ + { + "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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "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", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# 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", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string", + "nullable": true + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "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" ] } - }, - "single_file": { - "type": "string", - "example": "config.yaml", - "nullable": true - }, - "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", - "type": "string", - "enum": [ - "all", - "selected" - ] - } - }, - "required": [ - "token", - "expires_at" - ] - }, - "examples": { - "default": { - "value": { - "token": "AABF3JGZDX3P5PMEXLND6TS6FCWO6", - "expires_at": "2020-01-29T12:13:35.123-08:00" } } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "self-hosted-runners" - } - } - }, - "/orgs/{org}/actions/runners/{runner_id}": { - "get": { - "summary": "Get a self-hosted runner for an organization", - "description": "Gets a specific self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/get-self-hosted-runner-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Self hosted runners", - "description": "A self hosted runner", - "type": "object", - "properties": { - "id": { - "description": "The ID of the runner.", - "type": "integer", - "example": 5 - }, - "runner_group_id": { - "description": "The ID of the runner group.", - "type": "integer", - "example": 1 - }, - "name": { - "description": "The name of the runner.", - "type": "string", - "example": "iMac" - }, - "os": { - "description": "The Operating System of the runner.", - "type": "string", - "example": "macos" - }, - "status": { - "description": "The status of the runner.", - "type": "string", - "example": "online" - }, - "busy": { - "type": "boolean" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - }, - "ephemeral": { - "type": "boolean" - } - }, - "required": [ - "id", - "name", - "os", - "status", - "busy", - "labels" - ] }, "examples": { "default": { "value": { - "id": 23, - "name": "MBP", - "os": "macos", - "status": "online", - "busy": true, - "ephemeral": false, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, + "total_count": 1, + "repositories": [ { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "self-hosted-runners" - } - }, - "delete": { - "summary": "Delete a self-hosted runner from an organization", - "description": "Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/delete-self-hosted-runner-from-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - }, - "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": "actions", - "subcategory": "self-hosted-runners" - } - } - }, - "/orgs/{org}/actions/runners/{runner_id}/labels": { - "get": { - "summary": "List labels for a self-hosted runner for an organization", - "description": "Lists all labels for a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/list-labels-for-self-hosted-runner-for-org", - "externalDocs": { - "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-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." + "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 }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" + "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" } ] } @@ -134988,50 +138880,27 @@ } } }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } }, - "post": { - "summary": "Add custom labels to a self-hosted runner for an organization", - "description": "Adds custom labels to a self-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "put": { + "summary": "Set selected repositories for an organization variable", + "description": "Replaces all repositories for an organization 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": [ "actions" ], - "operationId": "actions/add-custom-labels-to-self-hosted-runner-for-org", + "operationId": "actions/set-selected-repos-for-org-variable", "externalDocs": { "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-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable" }, "parameters": [ { @@ -135044,12 +138913,12 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", + "name": "name", + "description": "The name of the variable.", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" } } ], @@ -135059,27 +138928,24 @@ "application/json": { "schema": { "type": "object", - "required": [ - "labels" - ], "properties": { - "labels": { + "selected_repository_ids": { "type": "array", - "minItems": 1, - "maxItems": 100, - "description": "The names of the custom labels to add to the runner.", + "description": "The IDs of the repositories that can access the organization variable.", "items": { - "type": "string" + "type": "integer" } } - } + }, + "required": [ + "selected_repository_ids" + ] }, "examples": { "default": { "value": { - "labels": [ - "gpu", - "accelerated" + "selected_repository_ids": [ + 64780797 ] } } @@ -135088,157 +138954,32 @@ } }, "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Response" }, - "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" - } - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } - }, + } + }, + "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}": { "put": { - "summary": "Set custom labels for a self-hosted runner for an organization", - "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in an organization.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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.", + "summary": "Add selected repository to an organization variable", + "description": "Adds a repository to an organization 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 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": [ "actions" ], - "operationId": "actions/set-custom-labels-for-self-hosted-runner-for-org", + "operationId": "actions/add-selected-repo-to-org-variable", "externalDocs": { "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-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable" }, "parameters": [ { @@ -135251,206 +138992,8 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "labels" - ], - "properties": { - "labels": { - "type": "array", - "minItems": 0, - "maxItems": 100, - "description": "The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels.", - "items": { - "type": "string" - } - } - } - }, - "examples": { - "default": { - "value": { - "labels": [ - "gpu", - "accelerated" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "self-hosted-runners" - } - }, - "delete": { - "summary": "Remove all custom labels from a self-hosted runner for an organization", - "description": "Remove all custom labels from a self-hosted runner configured in an\norganization. Returns the remaining read-only labels from the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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": [ - "actions" - ], - "operationId": "actions/remove-all-custom-labels-from-self-hosted-runner-for-org", - "externalDocs": { - "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-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", + "name": "name", + "description": "The name of the variable.", "in": "path", "required": true, "schema": { @@ -135458,8 +139001,7 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", + "name": "repository_id", "in": "path", "required": true, "schema": { @@ -135468,124 +139010,30 @@ } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 3, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - } - ] - } - } - } - } - } + "204": { + "description": "Response" }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } - } - }, - "/orgs/{org}/actions/runners/{runner_id}/labels/{name}": { + }, "delete": { - "summary": "Remove a custom label from a self-hosted runner for an organization", - "description": "Remove a custom label from a self-hosted runner configured\nin an organization. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\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.", + "summary": "Remove selected repository from an organization variable", + "description": "Removes a repository from an organization 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": [ "actions" ], - "operationId": "actions/remove-custom-label-from-self-hosted-runner-for-org", + "operationId": "actions/remove-selected-repo-from-org-variable", "externalDocs": { "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-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable" }, "parameters": [ { @@ -135598,178 +139046,50 @@ } }, { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", + "name": "name", + "description": "The name of the variable.", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" } }, { - "name": "name", - "description": "The name of a self-hosted runner's custom label.", + "name": "repository_id", "in": "path", "required": true, "schema": { - "type": "string" + "type": "integer" } } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "labels" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "labels": { - "type": "array", - "items": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - }, - "required": [ - "name" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "total_count": 4, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Response" }, - "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" - } - } - } - } - } - } + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "actions", - "subcategory": "self-hosted-runners" + "subcategory": "variables" } } }, - "/orgs/{org}/actions/secrets": { + "/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": [ - "actions" + "agents" ], - "operationId": "actions/list-org-secrets", + "operationId": "agents/list-org-secrets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-organization-secrets" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-organization-secrets" }, "parameters": [ { @@ -135903,22 +139223,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "secrets" } } }, - "/orgs/{org}/actions/secrets/public-key": { + "/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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/get-org-public-key", + "operationId": "agents/get-org-public-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-public-key" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-public-key" }, "parameters": [ { @@ -135988,22 +139308,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "secrets" } } }, - "/orgs/{org}/actions/secrets/{secret_name}": { + "/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/get-org-secret", + "operationId": "agents/get-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret" }, "parameters": [ { @@ -136088,20 +139408,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/create-or-update-org-secret", + "operationId": "agents/create-or-update-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret" }, "parameters": [ { @@ -136132,7 +139452,7 @@ "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/actions/secrets#get-an-organization-public-key) endpoint.", + "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": { @@ -136150,7 +139470,7 @@ }, "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/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-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.", + "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" } @@ -136205,20 +139525,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/delete-org-secret", + "operationId": "agents/delete-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret" }, "parameters": [ { @@ -136248,22 +139568,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "secrets" } } }, - "/orgs/{org}/actions/secrets/{secret_name}/repositories": { + "/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": [ - "actions" + "agents" ], - "operationId": "actions/list-selected-repos-for-org-secret", + "operationId": "agents/list-selected-repos-for-org-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-selected-repositories-for-an-organization-secret" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret" }, "parameters": [ { @@ -137172,20 +140492,20 @@ "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`\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/actions/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/set-selected-repos-for-org-secret", + "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": [ { @@ -137216,7 +140536,7 @@ "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.", + "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" } @@ -137246,22 +140566,22 @@ "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\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/actions/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/add-selected-repo-to-org-secret", + "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": [ { @@ -137302,20 +140622,20 @@ "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`\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/actions/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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/remove-selected-repo-from-org-secret", + "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": [ { @@ -137356,22 +140676,22 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/list-org-variables", + "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": [ { @@ -137518,20 +140838,20 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/create-org-variable", + "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": [ { @@ -137622,22 +140942,22 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/get-org-variable", + "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": [ { @@ -137733,20 +141053,20 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/update-org-variable", + "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": [ { @@ -137825,20 +141145,20 @@ "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.\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/delete-org-variable", + "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": [ { @@ -137868,22 +141188,22 @@ "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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/list-selected-repos-for-org-variable", + "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": [ { @@ -138795,20 +142115,20 @@ "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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/set-selected-repos-for-org-variable", + "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": [ { @@ -138872,22 +142192,22 @@ "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.\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 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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/add-selected-repo-to-org-variable", + "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": [ { @@ -138928,20 +142248,20 @@ "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\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.", + "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": [ - "actions" + "agents" ], - "operationId": "actions/remove-selected-repo-from-org-variable", + "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": [ { @@ -138982,7 +142302,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", + "category": "agents", "subcategory": "variables" } } @@ -163079,6 +166399,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -205907,6 +209236,15 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "example": "notifications_enabled", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -312827,106 +316165,1678 @@ } }, { - "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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "before": { + "type": "string", + "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "description": "The SHA of the commit before the activity." + }, + "after": { + "type": "string", + "example": "827efc6d56897b048c772eb4087f854f46256132", + "description": "The SHA of the commit after the activity." + }, + "ref": { + "type": "string", + "example": "refs/heads/main", + "description": "The full Git reference, formatted as `refs/heads/`." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "description": "The time when the activity occurred." + }, + "activity_type": { + "type": "string", + "example": "force_push", + "enum": [ + "push", + "force_push", + "branch_deletion", + "branch_creation", + "pr_merge", + "merge_queue_merge" + ], + "description": "The type of the activity that was performed." + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + } + }, + "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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "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", + "example": "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", + "example": "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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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", + "example": "1234567" + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "example": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + }, + "id": { + "type": "integer", + "example": 2 + }, + "url": { + "type": "string", + "example": "https://api.github.com/user/keys/2" + }, + "title": { + "type": "string", + "example": "ssh-rsa AAAAB3NzaC1yc2EAAA" + }, + "created_at": { + "type": "string", + "example": "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.", + "example": "SECRET_TOKEN", + "type": "string" + }, + "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "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", + "example": "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", + "example": "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.", + "example": "USERNAME", + "type": "string" + }, + "value": { + "description": "The value of the variable.", + "example": "octocat", + "type": "string" + }, + "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", + "example": "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", + "example": "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": [ { @@ -312948,372 +317858,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", - "example": 1296269 - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - }, - "before": { - "type": "string", - "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "description": "The SHA of the commit before the activity." - }, - "after": { - "type": "string", - "example": "827efc6d56897b048c772eb4087f854f46256132", - "description": "The SHA of the commit after the activity." - }, - "ref": { - "type": "string", - "example": "refs/heads/main", - "description": "The full Git reference, formatted as `refs/heads/`." - }, - "timestamp": { - "type": "string", - "format": "date-time", - "example": "2011-01-26T19:06:43Z", - "description": "The time when the activity occurred." - }, - "activity_type": { - "type": "string", - "example": "force_push", - "enum": [ - "push", - "force_push", - "branch_deletion", - "branch_creation", - "pr_merge", - "merge_queue_merge" - ], - "description": "The type of the activity that was performed." - }, - "actor": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - } - }, - "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" } } }, @@ -1490656,11 +1495219,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1498564,11 +1503126,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1506472,11 +1511033,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } @@ -1514380,11 +1518940,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } diff --git a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml index 60bd8454c5..988817e0c2 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions/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: @@ -842,7 +844,7 @@ paths: - subscriptions_url - type - url - type: &468 + type: &475 type: string description: The type of credit the user is receiving. enum: @@ -1007,7 +1009,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: - - &785 + - &789 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4079,7 +4081,7 @@ paths: schema: type: integer default: 30 - - &367 + - &374 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 @@ -4088,7 +4090,7 @@ paths: required: false schema: type: string - - &368 + - &375 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4108,7 +4110,7 @@ paths: application/json: schema: type: array - items: &369 + items: &376 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4188,7 +4190,7 @@ paths: - installation_id - repository_id examples: - default: &370 + default: &377 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4220,7 +4222,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &794 + schema: &798 title: Scim Error description: Scim Error type: object @@ -4316,7 +4318,7 @@ paths: description: Response content: application/json: - schema: &371 + schema: &378 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4430,7 +4432,7 @@ paths: - request - response examples: - default: &372 + default: &379 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -5426,7 +5428,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &441 + properties: &448 id: description: Unique identifier of the repository example: 42 @@ -5862,7 +5864,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &442 + required: &449 - archive_url - assignees_url - blobs_url @@ -11573,7 +11575,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &795 + '401': &799 description: Authorization failure '404': *6 x-github: @@ -13728,7 +13730,7 @@ paths: required: true content: application/json: - schema: &305 + schema: &312 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14369,7 +14371,7 @@ paths: required: false schema: type: string - - &308 + - &315 name: include description: |- The event types to include: @@ -14387,7 +14389,7 @@ paths: - web - git - all - - &309 + - &316 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. @@ -14395,7 +14397,7 @@ paths: required: false schema: type: string - - &310 + - &317 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. @@ -14403,7 +14405,7 @@ paths: required: false schema: type: string - - &311 + - &318 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -14425,7 +14427,7 @@ paths: application/json: schema: type: array - items: &312 + items: &319 type: object properties: "@timestamp": @@ -14547,7 +14549,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &313 + default: &320 value: - "@timestamp": 1606929874512 action: team.add_member @@ -15213,7 +15215,7 @@ paths: application/json: schema: type: array - items: &314 + items: &321 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -15374,7 +15376,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &315 + default: &322 value: - id: 21 number: 42 @@ -15479,7 +15481,7 @@ paths: application/json: schema: type: array - items: &317 + items: &324 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -15604,7 +15606,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &318 + default: &325 value: - id: 21 number: 42 @@ -15689,7 +15691,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &323 + - &330 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`, @@ -15699,7 +15701,7 @@ paths: schema: &113 type: string description: The name of the tool used to generate the code scanning analysis. - - &324 + - &331 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 @@ -15722,7 +15724,7 @@ paths: be returned. in: query required: false - schema: &325 + schema: &332 type: string description: State of a code scanning alert. enum: @@ -15755,7 +15757,7 @@ paths: application/json: schema: type: array - items: &326 + items: &333 type: object properties: number: &131 @@ -15784,7 +15786,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &559 + instances_url: &565 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -15819,7 +15821,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &560 + dismissed_reason: &566 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -15828,13 +15830,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &561 + dismissed_comment: &567 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &562 + rule: &568 type: object properties: id: @@ -15887,7 +15889,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &563 + tool: &569 type: object properties: name: *113 @@ -15897,26 +15899,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *114 - most_recent_instance: &564 + most_recent_instance: &570 type: object properties: - ref: &557 + ref: &563 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &574 + analysis_key: &580 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: &575 + environment: &581 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: &576 + category: &582 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -15936,7 +15938,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: &577 + location: &583 type: object description: Describe a region within a file for the alert. properties: @@ -15957,7 +15959,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: &578 + items: &584 type: string description: A classification of the file. For example to identify it as generated. @@ -16270,7 +16272,7 @@ paths: - most_recent_instance - repository examples: - default: &327 + default: &334 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -17153,7 +17155,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &336 type: array description: A list of default code security configurations items: @@ -17169,7 +17171,7 @@ paths: default configuration: *116 examples: - default: &330 + default: &337 value: - default_for_new_repos: public configuration: @@ -17627,7 +17629,7 @@ paths: default: value: default_for_new_repos: all - configuration: &328 + configuration: &335 value: id: 1325 target_type: organization @@ -17717,7 +17719,7 @@ paths: application/json: schema: type: array - items: &331 + items: &338 type: object description: Repositories associated with a code security configuration and attachment status @@ -17741,7 +17743,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &332 + repository: &339 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -18230,7 +18232,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &319 + - &326 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -18305,7 +18307,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &407 + properties: &414 id: description: Unique identifier of the team type: integer @@ -18377,7 +18379,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &408 + required: &415 - id - node_id - url @@ -18450,6 +18452,14 @@ paths: updated_at: type: string format: date-time + notification_setting: + type: string + description: Whether team members will receive notifications + when the team is mentioned. + example: notifications_enabled + enum: + - notifications_enabled + - notifications_disabled required: - id - url @@ -19050,7 +19060,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': &339 + '413': &346 description: Payload Too Large content: application/json: @@ -19149,11 +19159,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. @@ -19227,7 +19238,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 @@ -19382,8 +19393,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 @@ -20417,7 +20428,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &344 + - &351 name: classification in: query description: |- @@ -20426,7 +20437,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &345 + - &352 name: state in: query description: |- @@ -20435,7 +20446,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &346 + - &353 name: severity in: query description: |- @@ -20444,7 +20455,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &347 + - &354 name: ecosystem in: query description: |- @@ -20453,14 +20464,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &348 + - &355 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 - - &349 + - &356 name: epss_percentage in: query description: |- @@ -20472,7 +20483,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 - - &621 + - &627 name: has in: query description: |- @@ -20486,7 +20497,7 @@ paths: type: string enum: - patch - - &350 + - &357 name: assignee in: query description: |- @@ -20495,7 +20506,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &351 + - &358 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -20505,7 +20516,7 @@ paths: enum: - development - runtime - - &352 + - &359 name: sort in: query description: |- @@ -20531,7 +20542,7 @@ paths: application/json: schema: type: array - items: &353 + items: &360 type: object description: A Dependabot alert. properties: @@ -20595,7 +20606,7 @@ paths: - direct - transitive - inconclusive - security_advisory: &622 + security_advisory: &628 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -20812,14 +20823,14 @@ paths: nullable: true maxLength: 280 fixed_at: *141 - auto_dismissed_at: &623 + auto_dismissed_at: &629 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &624 + dismissal_request: &630 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -20881,7 +20892,7 @@ paths: - repository additionalProperties: false examples: - default: &354 + default: &361 value: - number: 2 state: dismissed @@ -21266,7 +21277,7 @@ paths: description: Response content: application/json: - schema: &355 + schema: &362 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -21292,7 +21303,7 @@ paths: nullable: true additionalProperties: false examples: - default: &356 + default: &363 value: default_level: public accessible_repositories: @@ -21514,7 +21525,7 @@ paths: - *105 - *106 - *107 - - &358 + - &365 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -21540,7 +21551,7 @@ paths: application/json: schema: type: array - items: &360 + items: &367 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -21661,7 +21672,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &361 + default: &368 value: - id: 21 number: 42 @@ -22355,7 +22366,7 @@ paths: application/json: schema: *22 examples: - default: &384 + default: &391 value: id: 1 account: @@ -22609,7 +22620,7 @@ paths: - name - created_on examples: - default: &473 + default: &480 value: total_count: 2 network_configurations: @@ -22860,7 +22871,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: - *41 - - &474 + - &481 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -22872,7 +22883,7 @@ paths: description: Response content: application/json: - schema: &475 + schema: &482 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -22906,7 +22917,7 @@ paths: - subnet_id - region examples: - default: &476 + default: &483 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -23725,7 +23736,7 @@ paths: required: true content: application/json: - schema: &440 + schema: &447 title: Custom Property Set Payload description: Custom property set payload type: object @@ -24918,7 +24929,7 @@ paths: nullable: true anyOf: - *166 - - &446 + - &453 title: Organization ruleset conditions type: object description: |- @@ -24965,7 +24976,7 @@ paths: - *169 rules: type: array - items: &751 + items: &755 title: Repository Rule type: object description: A repository rule. @@ -24974,7 +24985,7 @@ paths: - *175 - *176 - *177 - - &749 + - &753 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -25302,7 +25313,7 @@ paths: type: string format: date-time examples: - default: &449 + default: &456 value: - version_id: 3 actor: @@ -25355,7 +25366,7 @@ paths: description: Response content: application/json: - schema: &450 + schema: &457 allOf: - *199 - type: object @@ -25410,7 +25421,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &451 + - &458 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -25421,7 +25432,7 @@ paths: enum: - open - resolved - - &452 + - &459 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -25431,7 +25442,7 @@ paths: required: false schema: type: string - - &453 + - &460 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -25442,7 +25453,7 @@ paths: required: false schema: type: string - - &454 + - &461 name: exclude_providers in: query description: |- @@ -25453,7 +25464,7 @@ paths: required: false schema: type: string - - &455 + - &462 name: providers in: query description: |- @@ -25464,7 +25475,7 @@ paths: required: false schema: type: string - - &456 + - &463 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -25473,7 +25484,7 @@ paths: required: false schema: type: string - - &457 + - &464 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -25492,7 +25503,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &458 + - &465 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. @@ -25508,7 +25519,7 @@ paths: - *17 - *110 - *111 - - &459 + - &466 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -25517,7 +25528,7 @@ paths: required: false schema: type: string - - &460 + - &467 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -25526,7 +25537,7 @@ paths: schema: type: boolean default: false - - &461 + - &468 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -25535,7 +25546,7 @@ paths: schema: type: boolean default: false - - &462 + - &469 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -25544,7 +25555,7 @@ paths: schema: type: boolean default: false - - &463 + - &470 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -25562,7 +25573,7 @@ paths: application/json: schema: type: array - items: &464 + items: &471 type: object properties: number: *131 @@ -25581,14 +25592,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &763 + state: &767 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: &764 + resolution: &768 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -25705,8 +25716,8 @@ paths: pull request. ' - oneOf: &765 - - &767 + oneOf: &769 + - &771 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -25764,7 +25775,7 @@ paths: - blob_url - commit_sha - commit_url - - &768 + - &772 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. @@ -25819,7 +25830,7 @@ paths: - page_url - commit_sha - commit_url - - &769 + - &773 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -25839,7 +25850,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &770 + - &774 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -25859,7 +25870,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &771 + - &775 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -25879,7 +25890,7 @@ paths: example: https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &772 + - &776 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -25893,7 +25904,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &773 + - &777 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -25907,7 +25918,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &774 + - &778 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -25921,7 +25932,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &775 + - &779 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. @@ -25941,7 +25952,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &776 + - &780 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. @@ -25961,7 +25972,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &777 + - &781 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. @@ -25981,7 +25992,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &778 + - &782 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. @@ -26001,7 +26012,7 @@ paths: example: https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &779 + - &783 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 request. @@ -26049,7 +26060,7 @@ paths: required: *21 nullable: true examples: - default: &465 + default: &472 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -26258,7 +26269,7 @@ paths: description: Response content: application/json: - schema: &466 + schema: &473 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -26341,7 +26352,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *201 examples: - default: &467 + default: &474 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -26477,7 +26488,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &470 + - &477 name: advanced_security_product in: query description: | @@ -26497,7 +26508,7 @@ paths: description: Success content: application/json: - schema: &471 + schema: &478 type: object properties: total_advanced_security_committers: @@ -26552,7 +26563,7 @@ paths: required: - repositories examples: - default: &472 + default: &479 value: total_advanced_security_committers: 2 total_count: 2 @@ -28836,6 +28847,18 @@ paths: type: string 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: @@ -29433,6 +29456,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: @@ -29664,7 +29697,7 @@ paths: properties: action: type: string - discussion: &903 + discussion: &907 title: Discussion description: A Discussion in a repository. type: object @@ -30031,7 +30064,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &683 + properties: &687 id: type: integer format: int64 @@ -30137,7 +30170,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &429 + properties: &436 url: type: string format: uri @@ -30207,7 +30240,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &430 + required: &437 - closed_issues - creator - description @@ -30286,7 +30319,7 @@ paths: timeline_url: type: string format: uri - type: &394 + type: &401 title: Issue Type description: The type of issue. type: object @@ -30400,7 +30433,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &822 + sub_issues_summary: &826 title: Sub-issues Summary type: object properties: @@ -30487,7 +30520,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &706 + properties: &710 pinned_at: type: string format: date-time @@ -30499,7 +30532,7 @@ paths: properties: *20 required: *21 nullable: true - required: &707 + required: &711 - pinned_at - pinned_by nullable: true @@ -30513,7 +30546,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &823 + issue_dependencies_summary: &827 title: Issue Dependencies Summary type: object properties: @@ -30532,7 +30565,7 @@ paths: - total_blocking issue_field_values: type: array - items: &690 + items: &694 title: Issue Field Value description: A value assigned to an issue field type: object @@ -30593,7 +30626,7 @@ paths: - node_id - data_type - value - required: &684 + required: &688 - closed_at - comments - comments_url @@ -30630,7 +30663,7 @@ paths: action: type: string issue: *229 - comment: &679 + comment: &683 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -31294,7 +31327,7 @@ paths: type: string release: allOf: - - &742 + - &746 title: Release description: A release. type: object @@ -31365,7 +31398,7 @@ paths: author: *4 assets: type: array - items: &743 + items: &747 title: Release Asset description: Data related to a release. type: object @@ -33583,7 +33616,7 @@ paths: - closed - all default: open - - &397 + - &404 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -33634,7 +33667,7 @@ paths: type: array items: *229 examples: - default: &398 + default: &405 value: - id: 1 node_id: MDU6SXNzdWUx @@ -35019,14 +35052,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: - - &485 + - &492 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &486 + - &493 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -35088,7 +35121,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &491 + '301': &498 description: Moved permanently content: application/json: @@ -35110,7 +35143,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &716 + - &720 name: all description: If `true`, show notifications marked as read. in: query @@ -35118,7 +35151,7 @@ paths: schema: type: boolean default: false - - &717 + - &721 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -35128,7 +35161,7 @@ paths: type: boolean default: false - *236 - - &718 + - &722 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: @@ -35164,7 +35197,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &362 + properties: &369 id: type: integer format: int64 @@ -35448,7 +35481,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &443 + security_and_analysis: &450 nullable: true type: object properties: @@ -35576,7 +35609,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &363 + required: &370 - archive_url - assignees_url - blobs_url @@ -35664,7 +35697,7 @@ paths: - url - subscription_url examples: - default: &719 + default: &723 value: - id: '1' repository: @@ -36436,7 +36469,7 @@ paths: type: array items: *160 examples: - default: &725 + default: &729 value: - property_name: environment value: production @@ -36486,7 +36519,7 @@ paths: required: - properties examples: - default: &726 + default: &730 value: properties: - property_name: environment @@ -37290,7 +37323,7 @@ paths: type: integer repository_cache_usages: type: array - items: &498 + items: &505 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -39554,7 +39587,7 @@ paths: type: array items: *290 examples: - default: &338 + default: &345 value: total_count: 1 repositories: @@ -40549,7 +40582,7 @@ paths: - updated_at - visibility examples: - default: + default: &305 value: total_count: 3 secrets: @@ -40596,7 +40629,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &306 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -40625,7 +40658,7 @@ paths: - key_id - key examples: - default: &519 + default: &307 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40665,7 +40698,7 @@ paths: application/json: schema: *299 examples: - default: + default: &308 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -40825,97 +40858,961 @@ paths: type: array items: *290 examples: - default: &304 - 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: &304 + 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: + - *89 + - *300 + 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: + - *89 + - *300 + - 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: + - *89 + - *300 + - 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: + - *89 + - &309 + 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: &302 + title: Actions Variable for an Organization + description: Organization variable for GitHub Actions. + type: object + properties: + name: + description: The name of the variable. + example: USERNAME + type: string + value: + description: The value of the variable. + example: octocat + type: string + created_at: + description: The date and time at which the variable was + created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + example: '2019-01-24T22:45:36.000Z' + type: string + format: date-time + updated_at: + description: The date and time at which the variable was + last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + example: '2019-01-24T22:45:36.000Z' + type: string + format: date-time + visibility: + description: Visibility of a variable + enum: + - all + - private + - selected + type: string + selected_repositories_url: + type: string + format: uri + example: https://api.github.com/organizations/org/variables/USERNAME/repositories + required: + - name + - value + - created_at + - updated_at + - visibility + examples: + default: &310 + 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: *47 + 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: + - *89 + 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: *301 + 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: + - *89 + - &303 + name: name + description: The name of the variable. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *302 + examples: + default: &311 + 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: + - *89 + - *303 + 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: + - *89 + - *303 + 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: + - *89 + - *303 + - *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: *290 + examples: + default: *304 + '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: + - *89 + - *303 + 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: + - *89 + - *303 + - 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: + - *89 + - *303 + - 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: + - *89 + - *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: *299 + examples: + default: *305 + headers: + Link: *47 + 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: + - *89 + responses: + '200': + description: Response + content: + application/json: + schema: *306 + examples: + default: *307 + 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: + - *89 + - *300 + responses: + '200': + description: Response + content: + application/json: + schema: *299 + examples: + default: *308 + 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: + - *89 + - *300 + 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: *301 + 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: + - *89 + - *300 + 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: + - *89 + - *300 + - *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: *290 + examples: + default: *304 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: - *89 - *300 @@ -40932,8 +41829,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 @@ -40950,25 +41847,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: - *89 - *300 @@ -40985,24 +41882,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: - *89 - *300 @@ -41019,33 +41916,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: - *89 - - &503 - 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 + - *309 - *19 responses: '200': @@ -41062,90 +41953,30 @@ paths: type: integer variables: type: array - items: &302 - title: Actions Variable for an Organization - description: Organization variable for GitHub Actions. - type: object - properties: - name: - description: The name of the variable. - example: USERNAME - type: string - value: - description: The value of the variable. - example: octocat - type: string - created_at: - description: The date and time at which the variable was - created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - example: '2019-01-24T22:45:36.000Z' - type: string - format: date-time - updated_at: - description: The date and time at which the variable was - last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - example: '2019-01-24T22:45:36.000Z' - type: string - format: date-time - visibility: - description: Visibility of a variable - enum: - - all - - private - - selected - type: string - selected_repositories_url: - type: string - format: uri - example: https://api.github.com/organizations/org/variables/USERNAME/repositories - required: - - name - - value - - created_at - - updated_at - - visibility + items: *302 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: *310 headers: Link: *47 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: - *89 requestBody: @@ -41202,32 +42033,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: - *89 - - &303 - name: name - description: The name of the variable. - in: path - required: true - schema: - type: string + - *303 responses: '200': description: Response @@ -41235,33 +42060,26 @@ paths: application/json: schema: *302 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: *311 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: - *89 - *303 @@ -41309,22 +42127,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: - *89 - *303 @@ -41334,24 +42152,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: - *89 - *303 @@ -41381,12 +42199,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`. @@ -41394,11 +42212,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: - *89 - *303 @@ -41431,24 +42249,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: - *89 - *303 @@ -41466,12 +42284,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`. @@ -41479,11 +42297,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: - *89 - *303 @@ -41501,7 +42319,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables "/orgs/{org}/announcement": get: @@ -41544,7 +42362,7 @@ paths: required: true content: application/json: - schema: *305 + schema: *312 examples: default: *87 parameters: @@ -41728,7 +42546,7 @@ paths: type: integer deployment_records: type: array - items: &306 + items: &313 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -41774,7 +42592,7 @@ paths: required: - total_count examples: - default: &307 + default: &314 value: total_count: 1 deployment_records: @@ -41952,11 +42770,11 @@ paths: type: integer deployment_records: type: array - items: *306 + items: *313 required: - total_count examples: - default: *307 + default: *314 '403': description: Forbidden content: @@ -42191,9 +43009,9 @@ paths: type: integer deployment_records: type: array - items: *306 + items: *313 examples: - default: *307 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42322,12 +43140,12 @@ paths: required: - subject_digests examples: - default: &861 + default: &865 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &862 + withPredicateType: &866 value: subject_digests: - sha256:abc123 @@ -42371,7 +43189,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &863 + default: &867 value: attestations_subject_digests: - sha256:abc: @@ -42704,7 +43522,7 @@ paths: initiator: type: string examples: - default: &532 + default: &538 value: attestations: - bundle: @@ -42830,10 +43648,10 @@ paths: required: false schema: type: string - - *308 - - *309 - - *310 - - *311 + - *315 + - *316 + - *317 + - *318 - *17 responses: '200': @@ -42842,9 +43660,9 @@ paths: application/json: schema: type: array - items: *312 + items: *319 examples: - default: *313 + default: *320 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42967,7 +43785,7 @@ paths: subcategory: bypass-requests parameters: - *89 - - &316 + - &323 name: repository_name description: The name of the repository to filter on. in: query @@ -42986,9 +43804,9 @@ paths: application/json: schema: type: array - items: *314 + items: *321 examples: - default: *315 + default: *322 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -43012,7 +43830,7 @@ paths: subcategory: delegated-bypass parameters: - *89 - - *316 + - *323 - *105 - *106 - *107 @@ -43026,9 +43844,9 @@ paths: application/json: schema: type: array - items: *317 + items: *324 examples: - default: *318 + default: *325 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -43055,7 +43873,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &320 + schema: &327 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -43081,7 +43899,7 @@ paths: application/json: schema: type: array - items: &321 + items: &328 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -43112,7 +43930,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *319 + items: *326 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -43130,7 +43948,7 @@ paths: type: string format: date-time nullable: true - state: *320 + state: *327 contact_link: description: The contact link of the campaign. type: string @@ -43350,9 +44168,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: &322 + default: &329 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -43435,9 +44253,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: *322 + default: *329 '404': *6 '422': description: Unprocessable Entity @@ -43514,7 +44332,7 @@ paths: type: string format: uri nullable: true - state: *320 + state: *327 examples: default: value: @@ -43524,9 +44342,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: *322 + default: *329 '400': description: Bad Request content: @@ -43593,8 +44411,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *89 - - *323 - - *324 + - *330 + - *331 - *110 - *111 - *19 @@ -43605,7 +44423,7 @@ paths: be returned. in: query required: false - schema: *325 + schema: *332 - name: sort description: The property by which to sort the results. in: query @@ -43621,7 +44439,7 @@ paths: be returned. in: query required: false - schema: &558 + schema: &564 type: string description: Severity of a code scanning alert. enum: @@ -43647,9 +44465,9 @@ paths: application/json: schema: type: array - items: *326 + items: *333 examples: - default: *327 + default: *334 headers: Link: *47 '404': *6 @@ -44025,7 +44843,7 @@ paths: application/json: schema: *116 examples: - default: *328 + default: *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44053,9 +44871,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *336 examples: - default: *330 + default: *337 '304': *37 '403': *29 '404': *6 @@ -44144,7 +44962,7 @@ paths: application/json: schema: *116 examples: - default: *328 + default: *335 '304': *37 '403': *29 '404': *6 @@ -44589,7 +45407,7 @@ paths: default: value: default_for_new_repos: all - configuration: *328 + configuration: *335 '403': *29 '404': *6 x-github: @@ -44642,13 +45460,13 @@ paths: application/json: schema: type: array - items: *331 + items: *338 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *332 + repository: *339 '403': *29 '404': *6 x-github: @@ -44688,7 +45506,7 @@ paths: type: integer codespaces: type: array - items: &399 + items: &406 type: object title: Codespace description: A codespace. @@ -44718,7 +45536,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &590 + properties: &596 name: type: string description: The name of the machine. @@ -44760,7 +45578,7 @@ paths: - ready - in_progress nullable: true - required: &591 + required: &597 - name - display_name - operating_system @@ -44965,7 +45783,7 @@ paths: - pulls_url - recent_folders examples: - default: &400 + default: &407 value: total_count: 3 codespaces: @@ -45589,7 +46407,7 @@ paths: type: integer secrets: type: array - items: &333 + items: &340 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -45628,7 +46446,7 @@ paths: - updated_at - visibility examples: - default: &592 + default: &598 value: total_count: 2 secrets: @@ -45666,7 +46484,7 @@ paths: description: Response content: application/json: - schema: &593 + schema: &599 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -45695,7 +46513,7 @@ paths: - key_id - key examples: - default: &594 + default: &600 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -45725,9 +46543,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *340 examples: - default: &596 + default: &602 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -46059,7 +46877,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &334 + items: &341 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -46438,9 +47256,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: &335 + default: &342 summary: Example response for an organization copilot space value: id: 84 @@ -46543,9 +47361,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *335 + default: *342 '403': *29 '404': *6 x-github: @@ -46669,9 +47487,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *335 + default: *342 '403': *29 '404': *6 '422': *15 @@ -46750,7 +47568,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &336 + items: &343 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -46971,7 +47789,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *343 examples: user: value: @@ -47099,7 +47917,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *343 examples: user: value: @@ -47246,7 +48064,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &337 + items: &344 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -47387,7 +48205,7 @@ paths: description: Resource created content: application/json: - schema: *337 + schema: *344 examples: default: value: @@ -47403,7 +48221,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *337 + schema: *344 examples: default: value: @@ -47456,7 +48274,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *344 examples: default: value: @@ -47523,7 +48341,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *344 examples: default: value: @@ -48254,7 +49072,7 @@ paths: - total_count - repositories examples: - default: *338 + default: *345 '500': *40 '401': *25 '403': *29 @@ -48522,7 +49340,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': *339 + '413': *346 '422': *7 x-github: githubCloudOnly: @@ -48955,7 +49773,7 @@ paths: type: integer custom_roles: type: array - items: &340 + items: &347 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -49093,7 +49911,7 @@ paths: required: true content: application/json: - schema: &342 + schema: &349 type: object properties: name: @@ -49134,9 +49952,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *347 examples: - default: &341 + default: &348 value: id: 8030 name: Security Engineer @@ -49190,9 +50008,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *347 examples: - default: *341 + default: *348 '404': *6 x-github: githubCloudOnly: true @@ -49220,7 +50038,7 @@ paths: required: true content: application/json: - schema: &343 + schema: &350 type: object properties: name: @@ -49258,9 +50076,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *347 examples: - default: *341 + default: *348 '422': *15 '404': *6 x-github: @@ -49318,7 +50136,7 @@ paths: required: true content: application/json: - schema: *342 + schema: *349 examples: default: value: @@ -49332,9 +50150,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *347 examples: - default: *341 + default: *348 '422': *15 '404': *6 x-github: @@ -49371,9 +50189,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *347 examples: - default: *341 + default: *348 '404': *6 x-github: githubCloudOnly: true @@ -49407,7 +50225,7 @@ paths: required: true content: application/json: - schema: *343 + schema: *350 examples: default: value: @@ -49422,9 +50240,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *347 examples: - default: *341 + default: *348 '422': *15 '404': *6 x-github: @@ -49484,12 +50302,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *89 - - *344 - - *345 - - *346 - - *347 - - *348 - - *349 + - *351 + - *352 + - *353 + - *354 + - *355 + - *356 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -49519,7 +50337,7 @@ paths: enum: - patch - deployment - - *350 + - *357 - name: runtime_risk in: query description: |- @@ -49528,8 +50346,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *351 - - *352 + - *358 + - *359 - *112 - *110 - *111 @@ -49541,9 +50359,9 @@ paths: application/json: schema: type: array - items: *353 + items: *360 examples: - default: *354 + default: *361 '304': *37 '400': *14 '403': *29 @@ -49592,9 +50410,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *362 examples: - default: *356 + default: *363 '403': *29 '404': *6 x-github: @@ -49757,7 +50575,7 @@ paths: type: integer secrets: type: array - items: &357 + items: &364 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -49834,7 +50652,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &633 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -49851,7 +50669,7 @@ paths: - key_id - key examples: - default: &628 + default: &634 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -49881,7 +50699,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *364 examples: default: value: @@ -50177,7 +50995,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - &637 + - &643 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -50185,7 +51003,7 @@ paths: required: false schema: type: string - - &638 + - &644 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -50193,7 +51011,7 @@ paths: required: false schema: type: string - - &639 + - &645 name: time_period description: |- The time period to filter by. @@ -50209,7 +51027,7 @@ paths: - week - month default: month - - &640 + - &646 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -50224,7 +51042,7 @@ paths: - denied - all default: all - - *316 + - *323 - *17 - *19 responses: @@ -50234,7 +51052,7 @@ paths: application/json: schema: type: array - items: &641 + items: &647 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -50340,7 +51158,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: &359 + items: &366 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -50390,7 +51208,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &642 + default: &648 value: - id: 21 number: 42 @@ -50478,11 +51296,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - *316 + - *323 - *105 - *106 - *107 - - *358 + - *365 - *17 - *19 responses: @@ -50492,7 +51310,7 @@ paths: application/json: schema: type: array - items: &643 + items: &649 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -50598,7 +51416,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *359 + items: *366 url: type: string format: uri @@ -50609,7 +51427,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &644 + default: &650 value: - id: 21 number: 42 @@ -50697,11 +51515,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - *316 + - *323 - *105 - *106 - *107 - - *358 + - *365 - *17 - *19 responses: @@ -50711,9 +51529,9 @@ paths: application/json: schema: type: array - items: *360 + items: *367 examples: - default: *361 + default: *368 '404': *6 '403': *29 '500': *40 @@ -50739,7 +51557,7 @@ paths: application/json: schema: type: array - items: &410 + items: &417 title: Package description: A software package type: object @@ -50789,8 +51607,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *362 - required: *363 + properties: *369 + required: *370 nullable: true created_at: type: string @@ -50809,7 +51627,7 @@ paths: - created_at - updated_at examples: - default: &411 + default: &418 value: - id: 197 name: hello_docker @@ -50996,7 +51814,7 @@ paths: description: Response content: application/json: - schema: &482 + schema: &489 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -51077,7 +51895,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &483 + default: &490 value: group_id: '123' group_name: Octocat admins @@ -51132,7 +51950,7 @@ paths: description: Response content: application/json: - schema: &479 + schema: &486 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -51169,7 +51987,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &480 + default: &487 value: groups: - group_id: '123' @@ -51214,7 +52032,7 @@ paths: application/json: schema: type: array - items: &388 + items: &395 title: Organization Invitation description: Organization Invitation type: object @@ -51261,7 +52079,7 @@ paths: - invitation_teams_url - node_id examples: - default: &389 + default: &396 value: - id: 1 login: monalisa @@ -51328,7 +52146,7 @@ paths: application/json: schema: type: array - items: &444 + items: &451 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -51342,7 +52160,7 @@ paths: - name - description examples: - default: &445 + default: &452 value: - name: add_assignee description: Assign or remove a user @@ -51383,7 +52201,7 @@ paths: application/json: schema: type: array - items: &364 + items: &371 title: Org Hook description: Org Hook type: object @@ -51552,9 +52370,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *371 examples: - default: &365 + default: &372 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -51599,7 +52417,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - *89 - - &366 + - &373 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. @@ -51612,9 +52430,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *371 examples: - default: *365 + default: *372 '404': *6 x-github: githubCloudOnly: false @@ -51636,7 +52454,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - *89 - - *366 + - *373 requestBody: required: false content: @@ -51681,7 +52499,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *371 examples: default: value: @@ -51721,7 +52539,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *89 - - *366 + - *373 responses: '204': description: Response @@ -51747,7 +52565,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *89 - - *366 + - *373 responses: '200': description: Response @@ -51776,7 +52594,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *89 - - *366 + - *373 requestBody: required: false content: @@ -51825,10 +52643,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *89 - - *366 + - *373 - *17 - - *367 - - *368 + - *374 + - *375 responses: '200': description: Response @@ -51836,9 +52654,9 @@ paths: application/json: schema: type: array - items: *369 + items: *376 examples: - default: *370 + default: *377 '400': *14 '422': *15 x-github: @@ -51862,16 +52680,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *89 - - *366 + - *373 - *16 responses: '200': description: Response content: application/json: - schema: *371 + schema: *378 examples: - default: *372 + default: *379 '400': *14 '422': *15 x-github: @@ -51895,7 +52713,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *89 - - *366 + - *373 - *16 responses: '202': *39 @@ -51922,7 +52740,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *89 - - *366 + - *373 responses: '204': description: Response @@ -51945,7 +52763,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *89 - - &377 + - &384 name: actor_type in: path description: The type of the actor @@ -51958,14 +52776,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &378 + - &385 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &373 + - &380 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`.' @@ -51973,7 +52791,7 @@ paths: required: true schema: type: string - - &374 + - &381 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) @@ -52067,12 +52885,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - *89 - - *373 - - *374 + - *380 + - *381 - *19 - *17 - *112 - - &383 + - &390 name: sort description: The property to sort the results by. in: query @@ -52150,14 +52968,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - *89 - - *373 - - *374 + - *380 + - *381 responses: '200': description: Response content: application/json: - schema: &375 + schema: &382 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -52173,7 +52991,7 @@ paths: type: integer format: int64 examples: - default: &376 + default: &383 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -52194,23 +53012,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *89 - - &379 + - &386 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *373 - - *374 + - *380 + - *381 responses: '200': description: Response content: application/json: - schema: *375 + schema: *382 examples: - default: *376 + default: *383 x-github: enabledForGitHubApps: true category: orgs @@ -52229,18 +53047,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *89 - - *373 - - *374 - - *377 - - *378 + - *380 + - *381 + - *384 + - *385 responses: '200': description: Response content: application/json: - schema: *375 + schema: *382 examples: - default: *376 + default: *383 x-github: enabledForGitHubApps: true category: orgs @@ -52258,9 +53076,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - *89 - - *373 - - *374 - - &380 + - *380 + - *381 + - &387 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -52273,7 +53091,7 @@ paths: description: Response content: application/json: - schema: &381 + schema: &388 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -52289,7 +53107,7 @@ paths: type: integer format: int64 examples: - default: &382 + default: &389 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -52326,18 +53144,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - *89 - - *379 - - *373 - - *374 + - *386 - *380 + - *381 + - *387 responses: '200': description: Response content: application/json: - schema: *381 + schema: *388 examples: - default: *382 + default: *389 x-github: enabledForGitHubApps: true category: orgs @@ -52355,19 +53173,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *89 - - *377 - - *378 - - *373 - - *374 + - *384 + - *385 - *380 + - *381 + - *387 responses: '200': description: Response content: application/json: - schema: *381 + schema: *388 examples: - default: *382 + default: *389 x-github: enabledForGitHubApps: true category: orgs @@ -52385,13 +53203,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - *89 - - *379 - - *373 - - *374 + - *386 + - *380 + - *381 - *19 - *17 - *112 - - *383 + - *390 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -52472,7 +53290,7 @@ paths: application/json: schema: *22 examples: - default: *384 + default: *391 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -52592,12 +53410,12 @@ paths: application/json: schema: anyOf: - - &386 + - &393 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &385 + limit: &392 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -52622,7 +53440,7 @@ paths: properties: {} additionalProperties: false examples: - default: &387 + default: &394 value: limit: collaborators_only origin: organization @@ -52651,13 +53469,13 @@ paths: required: true content: application/json: - schema: &675 + schema: &679 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *385 + limit: *392 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -52681,9 +53499,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *393 examples: - default: *387 + default: *394 '422': *15 x-github: githubCloudOnly: false @@ -52761,9 +53579,9 @@ paths: application/json: schema: type: array - items: *388 + items: *395 examples: - default: *389 + default: *396 headers: Link: *47 '404': *6 @@ -52841,7 +53659,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *395 examples: default: value: @@ -52898,7 +53716,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - *89 - - &390 + - &397 name: invitation_id description: The unique identifier of the invitation. in: path @@ -52932,7 +53750,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - *89 - - *390 + - *397 - *17 - *19 responses: @@ -52942,9 +53760,9 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: - default: &409 + default: &416 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -52987,7 +53805,7 @@ paths: application/json: schema: type: array - items: &391 + items: &398 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -53220,9 +54038,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *398 examples: - default: &392 + default: &399 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -53278,7 +54096,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *89 - - &393 + - &400 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -53386,9 +54204,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *398 examples: - default: *392 + default: *399 '404': *6 '422': *7 x-github: @@ -53413,7 +54231,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *89 - - *393 + - *400 responses: '204': *130 '404': *6 @@ -53443,7 +54261,7 @@ paths: application/json: schema: type: array - items: *394 + items: *401 examples: default: value: @@ -53528,9 +54346,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *401 examples: - default: &395 + default: &402 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -53563,7 +54381,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *89 - - &396 + - &403 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -53616,9 +54434,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *401 examples: - default: *395 + default: *402 '404': *6 '422': *7 x-github: @@ -53643,7 +54461,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *89 - - *396 + - *403 responses: '204': description: Response @@ -53706,7 +54524,7 @@ paths: - closed - all default: open - - *397 + - *404 - name: type description: Can be the name of an issue type. in: query @@ -53737,7 +54555,7 @@ paths: type: array items: *229 examples: - default: *398 + default: *405 headers: Link: *47 '404': *6 @@ -53897,9 +54715,9 @@ paths: type: integer codespaces: type: array - items: *399 + items: *406 examples: - default: *400 + default: *407 '304': *37 '500': *40 '401': *25 @@ -53926,7 +54744,7 @@ paths: parameters: - *89 - *148 - - &401 + - &408 name: codespace_name in: path required: true @@ -53961,15 +54779,15 @@ paths: parameters: - *89 - *148 - - *401 + - *408 responses: '200': description: Response content: application/json: - schema: *399 + schema: *406 examples: - default: &589 + default: &595 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -54225,7 +55043,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &409 title: Org Membership description: Org Membership type: object @@ -54292,7 +55110,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &403 + response-if-user-has-an-active-admin-membership-with-organization: &410 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -54393,9 +55211,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *409 examples: - response-if-user-already-had-membership-with-organization: *403 + response-if-user-already-had-membership-with-organization: *410 '422': *15 '403': *29 '451': *15 @@ -54467,7 +55285,7 @@ paths: application/json: schema: type: array - items: &404 + items: &411 title: Migration description: A migration. type: object @@ -54796,7 +55614,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *411 examples: default: value: @@ -54975,7 +55793,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - *89 - - &405 + - &412 name: migration_id description: The unique identifier of the migration. in: path @@ -55002,7 +55820,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *404 + schema: *411 examples: default: value: @@ -55172,7 +55990,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *89 - - *405 + - *412 responses: '302': description: Response @@ -55194,7 +56012,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *89 - - *405 + - *412 responses: '204': description: Response @@ -55218,8 +56036,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - *89 - - *405 - - &843 + - *412 + - &847 name: repo_name description: repo_name parameter in: path @@ -55247,7 +56065,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *89 - - *405 + - *412 - *17 - *19 responses: @@ -55357,7 +56175,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &406 + items: &413 title: Organization Role description: Organization roles type: object @@ -55564,7 +56382,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *413 examples: default: value: @@ -55794,7 +56612,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *413 examples: default: value: @@ -55891,7 +56709,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *413 examples: default: value: @@ -56049,8 +56867,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *407 - required: *408 + properties: *414 + required: *415 nullable: true type: description: The ownership type of the team @@ -56082,7 +56900,7 @@ paths: - type - parent examples: - default: *409 + default: *416 headers: Link: *47 '404': @@ -56140,13 +56958,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &469 + items: &476 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *407 - required: *408 + properties: *414 + required: *415 name: nullable: true type: string @@ -56434,7 +57252,7 @@ paths: - nuget - container - *89 - - &844 + - &848 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -56470,12 +57288,12 @@ paths: application/json: schema: type: array - items: *410 + items: *417 examples: - default: *411 + default: *418 '403': *29 '401': *25 - '400': &846 + '400': &850 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -56497,7 +57315,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &412 + - &419 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 @@ -56515,7 +57333,7 @@ paths: - docker - nuget - container - - &413 + - &420 name: package_name description: The name of the package. in: path @@ -56528,7 +57346,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *417 examples: default: value: @@ -56580,8 +57398,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *412 - - *413 + - *419 + - *420 - *89 responses: '204': @@ -56614,8 +57432,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *412 - - *413 + - *419 + - *420 - *89 - name: token description: package token @@ -56648,8 +57466,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: - - *412 - - *413 + - *419 + - *420 - *89 - *19 - *17 @@ -56670,7 +57488,7 @@ paths: application/json: schema: type: array - items: &414 + items: &421 title: Package Version description: A version of a software package type: object @@ -56795,10 +57613,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: - - *412 - - *413 + - *419 + - *420 - *89 - - &415 + - &422 name: package_version_id description: Unique identifier of the package version. in: path @@ -56810,7 +57628,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *421 examples: default: value: @@ -56846,10 +57664,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *412 - - *413 + - *419 + - *420 - *89 - - *415 + - *422 responses: '204': description: Response @@ -56881,10 +57699,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *412 - - *413 + - *419 + - *420 - *89 - - *415 + - *422 responses: '204': description: Response @@ -56914,7 +57732,7 @@ paths: - *89 - *17 - *19 - - &416 + - &423 name: sort description: The property by which to sort the results. in: query @@ -56925,7 +57743,7 @@ paths: - created_at default: created_at - *112 - - &417 + - &424 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -56936,7 +57754,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &418 + - &425 name: repository description: The name of the repository to use to filter the results. in: query @@ -56944,7 +57762,7 @@ paths: schema: type: string example: Hello-World - - &419 + - &426 name: permission description: The permission to use to filter the results. in: query @@ -56952,7 +57770,7 @@ paths: schema: type: string example: issues_read - - &420 + - &427 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) @@ -56962,7 +57780,7 @@ paths: schema: type: string format: date-time - - &421 + - &428 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) @@ -56972,7 +57790,7 @@ paths: schema: type: string format: date-time - - &422 + - &429 name: token_id description: The ID of the token in: query @@ -57285,7 +58103,7 @@ paths: type: array items: *290 examples: - default: &423 + default: &430 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -57422,14 +58240,14 @@ paths: - *89 - *17 - *19 - - *416 + - *423 - *112 - - *417 - - *418 - - *419 - - *420 - - *421 - - *422 + - *424 + - *425 + - *426 + - *427 + - *428 + - *429 responses: '500': *40 '422': *15 @@ -57711,7 +58529,7 @@ paths: type: array items: *290 examples: - default: *423 + default: *430 headers: Link: *47 x-github: @@ -57753,7 +58571,7 @@ paths: type: integer configurations: type: array - items: &424 + items: &431 title: Organization private registry description: Private registry configuration for an organization type: object @@ -58264,7 +59082,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &425 + org-private-registry-with-selected-visibility: &432 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -58360,9 +59178,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *424 + schema: *431 examples: - default: *425 + default: *432 '404': *6 x-github: githubCloudOnly: false @@ -58613,7 +59431,7 @@ paths: application/json: schema: type: array - items: &426 + items: &433 title: Projects v2 Project description: A projects v2 project type: object @@ -58683,7 +59501,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &939 + properties: &943 id: type: number description: The unique identifier of the status update. @@ -58731,7 +59549,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &940 + required: &944 - id - node_id - created_at @@ -58756,7 +59574,7 @@ paths: - deleted_at - deleted_by examples: - default: &427 + default: &434 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -58859,7 +59677,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &428 + - &435 name: project_number description: The project's number. in: path @@ -58872,9 +59690,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *433 examples: - default: *427 + default: *434 headers: Link: *47 '304': *37 @@ -58897,7 +59715,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *89 - - *428 + - *435 requestBody: required: true description: Details of the draft item to create in the project. @@ -58931,7 +59749,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &441 title: Projects v2 Item description: An item belonging to a project type: object @@ -58945,7 +59763,7 @@ paths: content: oneOf: - *229 - - &606 + - &612 title: Pull Request Simple description: Pull Request Simple type: object @@ -59051,8 +59869,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *429 - required: *430 + properties: *436 + required: *437 nullable: true active_lock_reason: type: string @@ -59084,7 +59902,7 @@ paths: items: *4 requested_teams: type: array - items: *319 + items: *326 head: type: object properties: @@ -59134,7 +59952,7 @@ paths: _links: type: object properties: - comments: &431 + comments: &438 title: Link description: Hypermedia Link type: object @@ -59143,13 +59961,13 @@ paths: type: string required: - href - commits: *431 - statuses: *431 - html: *431 - issue: *431 - review_comments: *431 - review_comment: *431 - self: *431 + commits: *438 + statuses: *438 + html: *438 + issue: *438 + review_comments: *438 + review_comment: *438 + self: *438 required: - comments - commits @@ -59160,7 +59978,7 @@ paths: - review_comment - self author_association: *226 - auto_merge: &728 + auto_merge: &732 title: Auto merge description: The status of auto merging a pull request. type: object @@ -59260,7 +60078,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &433 + content_type: &440 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -59300,7 +60118,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &435 + draft_issue: &442 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -59374,7 +60192,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *428 + - *435 - *89 - *17 - *110 @@ -59386,7 +60204,7 @@ paths: application/json: schema: type: array - items: &432 + items: &439 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -59536,7 +60354,7 @@ paths: - updated_at - project_url examples: - default: &867 + default: &871 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -59666,7 +60484,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: - - *428 + - *435 - *89 requestBody: required: true @@ -59713,7 +60531,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &868 + items: &872 type: object properties: name: @@ -59750,7 +60568,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &869 + iteration_configuration: &873 type: object description: The configuration for iteration fields. properties: @@ -59800,7 +60618,7 @@ paths: value: name: Due date data_type: date - single_select_field: &870 + single_select_field: &874 summary: Create a single select field value: name: Priority @@ -59827,7 +60645,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &871 + iteration_field: &875 summary: Create an iteration field value: name: Sprint @@ -59851,9 +60669,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *432 + schema: *439 examples: - text_field: &872 + text_field: &876 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -59862,7 +60680,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: &873 + number_field: &877 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -59871,7 +60689,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: &874 + date_field: &878 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -59880,7 +60698,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: &875 + single_select_field: &879 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -59914,7 +60732,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &876 + iteration_field: &880 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -59959,8 +60777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *428 - - &877 + - *435 + - &881 name: field_id description: The unique identifier of the field. in: path @@ -59973,9 +60791,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *439 examples: - default: &878 + default: &882 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -60031,7 +60849,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: - - *428 + - *435 - *89 - 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) @@ -60064,7 +60882,7 @@ paths: application/json: schema: type: array - items: &436 + items: &443 title: Projects v2 Item description: An item belonging to a project type: object @@ -60080,7 +60898,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *433 + content_type: *440 content: type: object additionalProperties: true @@ -60123,7 +60941,7 @@ paths: - updated_at - archived_at examples: - default: &437 + default: &444 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -60821,7 +61639,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - *89 - - *428 + - *435 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -60891,22 +61709,22 @@ paths: description: Response content: application/json: - schema: *434 + schema: *441 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *435 + value: *442 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *435 + value: *442 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *435 + value: *442 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *435 + value: *442 '304': *37 '403': *29 '401': *25 @@ -60926,9 +61744,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: - - *428 + - *435 - *89 - - &438 + - &445 name: item_id description: The unique identifier of the project item. in: path @@ -60954,9 +61772,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *443 examples: - default: *437 + default: *444 headers: Link: *47 '304': *37 @@ -60977,9 +61795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *428 + - *435 - *89 - - *438 + - *445 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -61049,13 +61867,13 @@ paths: description: Response content: application/json: - schema: *436 + schema: *443 examples: - text_field: *437 - number_field: *437 - date_field: *437 - single_select_field: *437 - iteration_field: *437 + text_field: *444 + number_field: *444 + date_field: *444 + single_select_field: *444 + iteration_field: *444 '401': *25 '403': *29 '404': *6 @@ -61075,9 +61893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *428 + - *435 - *89 - - *438 + - *445 responses: '204': description: Response @@ -61101,7 +61919,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *89 - - *428 + - *435 requestBody: required: true content: @@ -61172,7 +61990,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &858 + schema: &862 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -61270,7 +62088,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &439 + value: &446 value: id: 1 number: 1 @@ -61316,10 +62134,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *439 + value: *446 roadmap_view: summary: Response for creating a roadmap view - value: *439 + value: *446 '304': *37 '403': *29 '401': *25 @@ -61347,9 +62165,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: - - *428 + - *435 - *89 - - &879 + - &883 name: view_number description: The number that identifies the project view. in: path @@ -61381,9 +62199,9 @@ paths: application/json: schema: type: array - items: *436 + items: *443 examples: - default: *437 + default: *444 headers: Link: *47 '304': *37 @@ -61547,7 +62365,7 @@ paths: required: true content: application/json: - schema: *440 + schema: *447 examples: default: value: @@ -61912,7 +62730,7 @@ paths: type: array items: *290 examples: - default: *423 + default: *430 headers: Link: *47 x-github: @@ -62115,7 +62933,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &497 title: Full Repository description: Full Repository type: object @@ -62400,8 +63218,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *441 - required: *442 + properties: *448 + required: *449 nullable: true temp_clone_token: type: string @@ -62513,7 +63331,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &611 + properties: &617 url: type: string format: uri @@ -62529,12 +63347,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &612 + required: &618 - url - key - name - html_url - security_and_analysis: *443 + security_and_analysis: *450 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -62618,7 +63436,7 @@ paths: - network_count - subscribers_count examples: - default: &492 + default: &499 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -63144,9 +63962,9 @@ paths: application/json: schema: type: array - items: *444 + items: *451 examples: - default: *445 + default: *452 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -63171,7 +63989,7 @@ paths: - *89 - *17 - *19 - - &750 + - &754 name: targets description: | A comma-separated list of rule targets to filter by. @@ -63262,11 +64080,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *173 - conditions: *446 + conditions: *453 rules: type: array description: An array of rules within the ruleset. - items: &448 + items: &455 title: Repository Rule type: object description: A repository rule. @@ -63331,7 +64149,7 @@ paths: application/json: schema: *195 examples: - default: &447 + default: &454 value: id: 21 name: super cool ruleset @@ -63387,7 +64205,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &752 + - &756 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 @@ -63397,16 +64215,16 @@ paths: schema: type: string x-multi-segment: true - - *316 + - *323 - *107 - - &753 + - &757 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 - - &754 + - &758 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -63426,7 +64244,7 @@ paths: description: Response content: application/json: - schema: &755 + schema: &759 title: Rule Suites description: Response type: array @@ -63481,7 +64299,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &756 + default: &760 value: - id: 21 actor_id: 12 @@ -63525,7 +64343,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &757 + - &761 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -63541,7 +64359,7 @@ paths: description: Response content: application/json: - schema: &758 + schema: &762 title: Rule Suite description: Response type: object @@ -63640,7 +64458,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &759 + default: &763 value: id: 21 actor_id: 12 @@ -63715,7 +64533,7 @@ paths: application/json: schema: *195 examples: - default: *447 + default: *454 '404': *6 '500': *40 put: @@ -63764,11 +64582,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *173 - conditions: *446 + conditions: *453 rules: description: An array of rules within the ruleset. type: array - items: *448 + items: *455 examples: default: value: @@ -63805,7 +64623,7 @@ paths: application/json: schema: *195 examples: - default: *447 + default: *454 '404': *6 '422': *15 '500': *40 @@ -63865,7 +64683,7 @@ paths: type: array items: *199 examples: - default: *449 + default: *456 '404': *6 '500': *40 x-github: @@ -63902,7 +64720,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *457 examples: default: value: @@ -63965,18 +64783,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *89 - - *451 - - *452 - - *453 - - *454 - - *455 - - *456 - - *457 - *458 + - *459 + - *460 + - *461 + - *462 + - *463 + - *464 + - *465 - *112 - *19 - *17 - - &761 + - &765 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 @@ -63986,7 +64804,7 @@ paths: required: false schema: type: string - - &762 + - &766 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 @@ -63996,11 +64814,11 @@ paths: required: false schema: type: string - - *459 - - *460 - - *461 - - *462 - - *463 + - *466 + - *467 + - *468 + - *469 + - *470 responses: '200': description: Response @@ -64008,9 +64826,9 @@ paths: application/json: schema: type: array - items: *464 + items: *471 examples: - default: *465 + default: *472 headers: Link: *47 '404': *6 @@ -64045,9 +64863,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *473 examples: - default: *467 + default: *474 '403': *29 '404': *6 patch: @@ -64200,7 +65018,7 @@ paths: application/json: schema: type: array - items: &783 + items: &787 description: A repository security advisory. type: object properties: @@ -64402,7 +65220,7 @@ paths: login: type: string description: The username of the user credited. - type: *468 + type: *475 credits_detailed: type: array nullable: true @@ -64412,7 +65230,7 @@ paths: type: object properties: user: *4 - type: *468 + type: *475 state: type: string description: The state of the user's acceptance of the @@ -64436,7 +65254,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *319 + items: *326 private_fork: readOnly: true nullable: true @@ -64472,7 +65290,7 @@ paths: - private_fork additionalProperties: false examples: - default: &784 + default: &788 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -64859,7 +65677,7 @@ paths: application/json: schema: type: array - items: *469 + items: *476 examples: default: value: @@ -64958,7 +65776,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *89 - - *470 + - *477 - *17 - *19 responses: @@ -64966,9 +65784,9 @@ paths: description: Success content: application/json: - schema: *471 + schema: *478 examples: - default: *472 + default: *479 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -65249,7 +66067,7 @@ paths: type: array items: *153 examples: - default: *473 + default: *480 headers: Link: *47 x-github: @@ -65478,15 +66296,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: - *89 - - *474 + - *481 responses: '200': description: Response content: application/json: - schema: *475 + schema: *482 examples: - default: *476 + default: *483 headers: Link: *47 x-github: @@ -65524,7 +66342,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &494 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -65570,7 +66388,7 @@ paths: type: string nullable: true examples: - default: &488 + default: &495 value: groups: - group_id: '123' @@ -65694,9 +66512,9 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: - default: *409 + default: *416 headers: Link: *47 '403': *29 @@ -65782,7 +66600,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &484 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -65845,8 +66663,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *407 - required: *408 + properties: *414 + required: *415 nullable: true members_count: type: integer @@ -66109,7 +66927,7 @@ paths: - repos_count - organization examples: - default: &478 + default: &485 value: id: 1 node_id: MDQ6VGVhbTE= @@ -66186,9 +67004,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *484 examples: - default: *478 + default: *485 '404': *6 x-github: githubCloudOnly: false @@ -66272,16 +67090,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *477 + schema: *484 examples: - default: *478 + default: *485 '201': description: Response content: application/json: - schema: *477 + schema: *484 examples: - default: *478 + default: *485 '404': *6 '422': *15 '403': *29 @@ -66311,7 +67129,7 @@ paths: responses: '204': description: Response - '422': &481 + '422': &488 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -66340,10 +67158,10 @@ paths: description: Response content: application/json: - schema: *479 + schema: *486 examples: - default: *480 - '422': *481 + default: *487 + '422': *488 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -66386,10 +67204,10 @@ paths: description: Response content: application/json: - schema: *482 + schema: *489 examples: - default: *483 - '422': *481 + default: *490 + '422': *488 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -66413,7 +67231,7 @@ paths: responses: '204': description: Response - '422': *481 + '422': *488 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -66445,12 +67263,12 @@ paths: application/json: schema: type: array - items: *388 + items: *395 examples: - default: *389 + default: *396 headers: Link: *47 - '422': *481 + '422': *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66532,7 +67350,7 @@ paths: description: Response content: application/json: - schema: &484 + schema: &491 title: Team Membership description: Team Membership type: object @@ -66559,7 +67377,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &825 + response-if-user-is-a-team-maintainer: &829 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -66622,9 +67440,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *491 examples: - response-if-users-membership-with-team-is-now-pending: &826 + response-if-users-membership-with-team-is-now-pending: &830 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -66700,7 +67518,7 @@ paths: type: array items: *290 examples: - default: *423 + default: *430 headers: Link: *47 x-github: @@ -66731,14 +67549,14 @@ paths: parameters: - *89 - *222 - - *485 - - *486 + - *492 + - *493 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &827 + schema: &831 title: Team Repository description: A team's access to a repository. type: object @@ -67302,8 +68120,8 @@ paths: parameters: - *89 - *222 - - *485 - - *486 + - *492 + - *493 requestBody: required: false content: @@ -67350,8 +68168,8 @@ paths: parameters: - *89 - *222 - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -67384,10 +68202,10 @@ paths: description: Response content: application/json: - schema: *487 + schema: *494 examples: - default: *488 - '422': *481 + default: *495 + '422': *488 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -67453,7 +68271,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *494 examples: default: value: @@ -67465,7 +68283,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *481 + '422': *488 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -67497,9 +68315,9 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: - response-if-child-teams-exist: &828 + response-if-child-teams-exist: &832 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -67653,7 +68471,7 @@ paths: resources: type: object properties: - core: &489 + core: &496 title: Rate Limit type: object properties: @@ -67670,17 +68488,17 @@ paths: - remaining - reset - used - graphql: *489 - search: *489 - code_search: *489 - source_import: *489 - integration_manifest: *489 - code_scanning_upload: *489 - actions_runner_registration: *489 - scim: *489 - dependency_snapshots: *489 - dependency_sbom: *489 - code_scanning_autofix: *489 + graphql: *496 + search: *496 + code_search: *496 + source_import: *496 + integration_manifest: *496 + code_scanning_upload: *496 + actions_runner_registration: *496 + scim: *496 + dependency_snapshots: *496 + dependency_sbom: *496 + code_scanning_autofix: *496 required: - core - search @@ -67782,14 +68600,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: *490 + schema: *497 examples: default-response: summary: Default response @@ -68297,7 +69115,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *491 + '301': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68315,8 +69133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: false content: @@ -68624,10 +69442,10 @@ paths: description: Response content: application/json: - schema: *490 + schema: *497 examples: - default: *492 - '307': &493 + default: *499 + '307': &500 description: Temporary Redirect content: application/json: @@ -68656,8 +69474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -68679,7 +69497,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': *493 + '307': *500 '404': *6 '409': *121 x-github: @@ -68703,11 +69521,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 - - &510 + - &516 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -68730,7 +69548,7 @@ paths: type: integer artifacts: type: array - items: &494 + items: &501 title: Artifact description: An artifact type: object @@ -68808,7 +69626,7 @@ paths: - expires_at - updated_at examples: - default: &511 + default: &517 value: total_count: 2 artifacts: @@ -68869,9 +69687,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *485 - - *486 - - &495 + - *492 + - *493 + - &502 name: artifact_id description: The unique identifier of the artifact. in: path @@ -68883,7 +69701,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *501 examples: default: value: @@ -68921,9 +69739,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *485 - - *486 - - *495 + - *492 + - *493 + - *502 responses: '204': description: Response @@ -68947,9 +69765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *485 - - *486 - - *495 + - *492 + - *493 + - *502 - name: archive_format in: path required: true @@ -68959,11 +69777,11 @@ paths: '302': description: Response headers: - Location: &630 + Location: &636 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': &678 + '410': &682 description: Gone content: application/json: @@ -68988,14 +69806,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: &496 + schema: &503 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -69028,13 +69846,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: application/json: - schema: *496 + schema: *503 examples: selected_actions: *44 responses: @@ -69063,14 +69881,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: &497 + schema: &504 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -69103,13 +69921,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: application/json: - schema: *497 + schema: *504 examples: selected_actions: *46 responses: @@ -69140,14 +69958,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: *498 + schema: *505 examples: default: value: @@ -69173,11 +69991,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: - - *485 - - *486 + - *492 + - *493 - *17 - *19 - - &499 + - &506 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 @@ -69211,7 +70029,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &507 title: Repository actions caches description: Repository actions caches type: object @@ -69253,7 +70071,7 @@ paths: - total_count - actions_caches examples: - default: &501 + default: &508 value: total_count: 1 actions_caches: @@ -69285,23 +70103,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: - - *485 - - *486 + - *492 + - *493 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *499 + - *506 responses: '200': description: Response content: application/json: - schema: *500 + schema: *507 examples: - default: *501 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69321,8 +70139,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: - - *485 - - *486 + - *492 + - *493 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -69351,8 +70169,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: - - *485 - - *486 + - *492 + - *493 - *17 - *111 responses: @@ -69434,8 +70252,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: - - *485 - - *486 + - *492 + - *493 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -69587,9 +70405,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: - - *485 - - *486 - - &502 + - *492 + - *493 + - &509 name: job_id description: The unique identifier of the job. in: path @@ -69601,7 +70419,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &520 title: Job description: Information of a job execution in a workflow run type: object @@ -69908,9 +70726,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: - - *485 - - *486 - - *502 + - *492 + - *493 + - *509 responses: '302': description: Response @@ -69938,9 +70756,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: - - *485 - - *486 - - *502 + - *492 + - *493 + - *509 requestBody: required: false content: @@ -69990,8 +70808,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Status response @@ -70050,8 +70868,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -70119,8 +70937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -70138,7 +70956,7 @@ paths: type: integer secrets: type: array - items: &516 + items: &522 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -70158,7 +70976,7 @@ paths: - created_at - updated_at examples: - default: &517 + default: &523 value: total_count: 2 secrets: @@ -70191,9 +71009,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *485 - - *486 - - *503 + - *492 + - *493 + - *309 - *19 responses: '200': @@ -70210,7 +71028,7 @@ paths: type: integer variables: type: array - items: &520 + items: &524 title: Actions Variable type: object properties: @@ -70240,7 +71058,7 @@ paths: - created_at - updated_at examples: - default: &521 + default: &525 value: total_count: 2 variables: @@ -70273,8 +71091,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -70283,7 +71101,7 @@ paths: schema: type: object properties: - enabled: &504 + enabled: &510 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *62 @@ -70318,8 +71136,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: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -70330,7 +71148,7 @@ paths: schema: type: object properties: - enabled: *504 + enabled: *510 allowed_actions: *62 sha_pinning_required: *63 required: @@ -70363,14 +71181,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: &505 + schema: &511 type: object properties: access_level: @@ -70388,7 +71206,7 @@ paths: required: - access_level examples: - default: &506 + default: &512 value: access_level: organization x-github: @@ -70413,15 +71231,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: application/json: - schema: *505 + schema: *511 examples: - default: *506 + default: *512 responses: '204': description: Response @@ -70445,8 +71263,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -70476,8 +71294,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: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Empty response for successful settings update @@ -70511,8 +71329,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -70539,8 +71357,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: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -70574,8 +71392,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -70603,8 +71421,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -70635,8 +71453,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -70667,8 +71485,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: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -70700,8 +71518,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -70730,8 +71548,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: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Success response @@ -70771,8 +71589,8 @@ paths: in: query schema: type: string - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -70816,8 +71634,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -70849,8 +71667,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -70924,8 +71742,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: - - *485 - - *486 + - *492 + - *493 responses: '201': description: Response @@ -70961,8 +71779,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: - - *485 - - *486 + - *492 + - *493 responses: '201': description: Response @@ -70992,8 +71810,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: - - *485 - - *486 + - *492 + - *493 - *77 responses: '200': @@ -71023,8 +71841,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: - - *485 - - *486 + - *492 + - *493 - *77 responses: '204': @@ -71051,8 +71869,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: - - *485 - - *486 + - *492 + - *493 - *77 responses: '200': *83 @@ -71077,8 +71895,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: - - *485 - - *486 + - *492 + - *493 - *77 requestBody: required: true @@ -71127,8 +71945,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: - - *485 - - *486 + - *492 + - *493 - *77 requestBody: required: true @@ -71178,8 +71996,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: - - *485 - - *486 + - *492 + - *493 - *77 responses: '200': *297 @@ -71209,8 +72027,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: - - *485 - - *486 + - *492 + - *493 - *77 - *298 responses: @@ -71240,9 +72058,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: - - *485 - - *486 - - &524 + - *492 + - *493 + - &528 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. @@ -71250,7 +72068,7 @@ paths: required: false schema: type: string - - &525 + - &529 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -71258,7 +72076,7 @@ paths: required: false schema: type: string - - &526 + - &530 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -71267,7 +72085,7 @@ paths: required: false schema: type: string - - &527 + - &531 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 @@ -71294,7 +72112,7 @@ paths: - pending - *17 - *19 - - &528 + - &532 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)." @@ -71303,7 +72121,7 @@ paths: schema: type: string format: date-time - - &507 + - &513 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -71312,13 +72130,13 @@ paths: schema: type: boolean default: false - - &529 + - &533 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &530 + - &534 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -71341,7 +72159,7 @@ paths: type: integer workflow_runs: type: array - items: &508 + items: &514 title: Workflow Run description: An invocation of a workflow type: object @@ -71489,7 +72307,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &552 + properties: &558 id: type: string description: SHA for the commit @@ -71540,7 +72358,7 @@ paths: - name - email nullable: true - required: &553 + required: &559 - id - tree_id - message @@ -71587,7 +72405,7 @@ paths: - workflow_url - pull_requests examples: - default: &531 + default: &535 value: total_count: 1 workflow_runs: @@ -71823,24 +72641,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *485 - - *486 - - &509 + - *492 + - *493 + - &515 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *507 + - *513 responses: '200': description: Response content: application/json: - schema: *508 + schema: *514 examples: - default: &512 + default: &518 value: id: 30433642 name: Build @@ -72081,9 +72899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 responses: '204': description: Response @@ -72106,9 +72924,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: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 responses: '200': description: Response @@ -72227,9 +73045,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: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 responses: '201': description: Response @@ -72262,12 +73080,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 - *17 - *19 - - *510 + - *516 - *112 responses: '200': @@ -72284,9 +73102,9 @@ paths: type: integer artifacts: type: array - items: *494 + items: *501 examples: - default: *511 + default: *517 headers: Link: *47 x-github: @@ -72310,25 +73128,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *485 - - *486 - - *509 - - &513 + - *492 + - *493 + - *515 + - &519 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *507 + - *513 responses: '200': description: Response content: application/json: - schema: *508 + schema: *514 examples: - default: *512 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72351,10 +73169,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: - - *485 - - *486 - - *509 - - *513 + - *492 + - *493 + - *515 + - *519 - *17 - *19 responses: @@ -72372,9 +73190,9 @@ paths: type: integer jobs: type: array - items: *514 + items: *520 examples: - default: &515 + default: &521 value: total_count: 1 jobs: @@ -72487,10 +73305,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *485 - - *486 - - *509 - - *513 + - *492 + - *493 + - *515 + - *519 responses: '302': description: Response @@ -72518,9 +73336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 responses: '202': description: Response @@ -72566,9 +73384,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: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 - *17 - *110 - *111 @@ -72739,9 +73557,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: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 requestBody: required: true content: @@ -72808,9 +73626,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 responses: '202': description: Response @@ -72843,9 +73661,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: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 - 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 @@ -72875,9 +73693,9 @@ paths: type: integer jobs: type: array - items: *514 + items: *520 examples: - default: *515 + default: *521 headers: Link: *47 x-github: @@ -72902,9 +73720,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 responses: '302': description: Response @@ -72931,9 +73749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 responses: '204': description: Response @@ -72960,9 +73778,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: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 responses: '200': description: Response @@ -73022,7 +73840,7 @@ paths: items: type: object properties: - type: &645 + type: &651 type: string description: The type of reviewer. enum: @@ -73032,7 +73850,7 @@ paths: reviewer: anyOf: - *4 - - *319 + - *326 required: - environment - wait_timer @@ -73107,9 +73925,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: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 requestBody: required: true content: @@ -73156,12 +73974,12 @@ paths: application/json: schema: type: array - items: &632 + items: &638 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &897 + properties: &901 url: type: string format: uri @@ -73246,7 +74064,7 @@ paths: nullable: true properties: *224 required: *225 - required: &898 + required: &902 - id - node_id - sha @@ -73262,7 +74080,7 @@ paths: - created_at - updated_at examples: - default: &633 + default: &639 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -73318,9 +74136,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 requestBody: required: false content: @@ -73364,9 +74182,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: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 requestBody: required: false content: @@ -73420,9 +74238,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *485 - - *486 - - *509 + - *492 + - *493 + - *515 responses: '200': description: Response @@ -73559,8 +74377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -73578,9 +74396,9 @@ paths: type: integer secrets: type: array - items: *516 + items: *522 examples: - default: *517 + default: *523 headers: Link: *47 x-github: @@ -73605,16 +74423,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: *518 + schema: *306 examples: - default: *519 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73636,17 +74454,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *485 - - *486 + - *492 + - *493 - *300 responses: '200': description: Response content: application/json: - schema: *516 + schema: *522 examples: - default: &658 + default: &536 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -73672,8 +74490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *485 - - *486 + - *492 + - *493 - *300 requestBody: required: true @@ -73731,8 +74549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *485 - - *486 + - *492 + - *493 - *300 responses: '204': @@ -73758,9 +74576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *485 - - *486 - - *503 + - *492 + - *493 + - *309 - *19 responses: '200': @@ -73777,9 +74595,9 @@ paths: type: integer variables: type: array - items: *520 + items: *524 examples: - default: *521 + default: *525 headers: Link: *47 x-github: @@ -73802,8 +74620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -73855,17 +74673,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *485 - - *486 + - *492 + - *493 - *303 responses: '200': description: Response content: application/json: - schema: *520 + schema: *524 examples: - default: &659 + default: &537 value: name: USERNAME value: octocat @@ -73891,8 +74709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *485 - - *486 + - *492 + - *493 - *303 requestBody: required: true @@ -73935,8 +74753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *485 - - *486 + - *492 + - *493 - *303 responses: '204': @@ -73962,8 +74780,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -73981,7 +74799,7 @@ paths: type: integer workflows: type: array - items: &522 + items: &526 title: Workflow description: A GitHub Actions workflow type: object @@ -74088,9 +74906,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *485 - - *486 - - &523 + - *492 + - *493 + - &527 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -74105,7 +74923,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *526 examples: default: value: @@ -74138,9 +74956,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *485 - - *486 - - *523 + - *492 + - *493 + - *527 responses: '204': description: Response @@ -74165,9 +74983,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *485 - - *486 - - *523 + - *492 + - *493 + - *527 responses: '200': description: Response including the workflow run ID and URLs. @@ -74247,9 +75065,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *485 - - *486 - - *523 + - *492 + - *493 + - *527 responses: '204': description: Response @@ -74276,19 +75094,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: - - *485 - - *486 - - *523 - - *524 - - *525 - - *526 + - *492 + - *493 - *527 - - *17 - - *19 - *528 - - *507 - *529 - *530 + - *531 + - *17 + - *19 + - *532 + - *513 + - *533 + - *534 responses: '200': description: Response @@ -74304,9 +75122,9 @@ paths: type: integer workflow_runs: type: array - items: *508 + items: *514 examples: - default: *531 + default: *535 headers: Link: *47 x-github: @@ -74339,9 +75157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *485 - - *486 - - *523 + - *492 + - *493 + - *527 responses: '200': description: Response @@ -74402,8 +75220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *485 - - *486 + - *492 + - *493 - *112 - *17 - *110 @@ -74555,6 +75373,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: + - *492 + - *493 + - *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: *522 + examples: + default: *523 + headers: + Link: *47 + 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: + - *492 + - *493 + - *309 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *524 + examples: + default: *525 + headers: + Link: *47 + 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: + - *492 + - *493 + - *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: *522 + examples: + default: *523 + headers: + Link: *47 + 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: + - *492 + - *493 + responses: + '200': + description: Response + content: + application/json: + schema: *306 + examples: + default: *307 + 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: + - *492 + - *493 + - *300 + responses: + '200': + description: Response + content: + application/json: + schema: *522 + examples: + default: *536 + 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: + - *492 + - *493 + - *300 + 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: *301 + 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: + - *492 + - *493 + - *300 + 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: + - *492 + - *493 + - *309 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *524 + examples: + default: *525 + headers: + Link: *47 + 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: + - *492 + - *493 + 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: *301 + 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: + - *492 + - *493 + - *303 + responses: + '200': + description: Response + content: + application/json: + schema: *524 + examples: + default: *537 + 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: + - *492 + - *493 + - *303 + 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: + - *492 + - *493 + - *303 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables "/repos/{owner}/{repo}/assignees": get: summary: List assignees @@ -74567,8 +75871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -74605,8 +75909,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: - - *485 - - *486 + - *492 + - *493 - name: assignee in: path required: true @@ -74642,8 +75946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -74753,8 +76057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *110 - *111 @@ -74795,7 +76099,7 @@ paths: initiator: type: string examples: - default: *532 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74815,8 +76119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -74824,7 +76128,7 @@ paths: application/json: schema: type: array - items: &533 + items: &539 title: Autolink reference description: An autolink reference. type: object @@ -74878,8 +76182,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -74918,9 +76222,9 @@ paths: description: response content: application/json: - schema: *533 + schema: *539 examples: - default: &534 + default: &540 value: id: 1 key_prefix: TICKET- @@ -74951,9 +76255,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: - - *485 - - *486 - - &535 + - *492 + - *493 + - &541 name: autolink_id description: The unique identifier of the autolink. in: path @@ -74965,9 +76269,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *539 examples: - default: *534 + default: *540 '404': *6 x-github: githubCloudOnly: false @@ -74987,9 +76291,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: - - *485 - - *486 - - *535 + - *492 + - *493 + - *541 responses: '204': description: Response @@ -75013,8 +76317,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response if Dependabot is enabled @@ -75062,8 +76366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -75084,8 +76388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -75105,8 +76409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *485 - - *486 + - *492 + - *493 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -75144,7 +76448,7 @@ paths: - url protected: type: boolean - protection: &537 + protection: &543 title: Branch Protection description: Branch Protection type: object @@ -75186,7 +76490,7 @@ paths: required: - contexts - checks - enforce_admins: &540 + enforce_admins: &546 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -75201,7 +76505,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &542 + required_pull_request_reviews: &548 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -75222,7 +76526,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *319 + items: *326 apps: description: The list of apps with review dismissal access. @@ -75251,7 +76555,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *319 + items: *326 apps: description: The list of apps allowed to bypass pull request requirements. @@ -75277,7 +76581,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &539 + restrictions: &545 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -75340,7 +76644,7 @@ paths: type: string teams: type: array - items: *319 + items: *326 apps: type: array items: @@ -75554,9 +76858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *485 - - *486 - - &538 + - *492 + - *493 + - &544 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). @@ -75570,14 +76874,14 @@ paths: description: Response content: application/json: - schema: &548 + schema: &554 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &602 + commit: &608 title: Commit description: Commit type: object @@ -75611,7 +76915,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &536 + properties: &542 name: type: string example: '"Chris Wanstrath"' @@ -75627,7 +76931,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *536 + properties: *542 nullable: true message: type: string @@ -75648,7 +76952,7 @@ paths: required: - sha - url - verification: &665 + verification: &669 title: Verification type: object properties: @@ -75718,7 +77022,7 @@ paths: type: integer files: type: array - items: &615 + items: &621 title: Diff Entry description: Diff Entry type: object @@ -75802,7 +77106,7 @@ paths: - self protected: type: boolean - protection: *537 + protection: *543 protection_url: type: string format: uri @@ -75909,7 +77213,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *491 + '301': *498 '404': *6 x-github: githubCloudOnly: false @@ -75931,15 +77235,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response content: application/json: - schema: *537 + schema: *543 examples: default: value: @@ -76133,9 +77437,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: true content: @@ -76390,7 +77694,7 @@ paths: url: type: string format: uri - required_status_checks: &545 + required_status_checks: &551 title: Status Check Policy description: Status Check Policy type: object @@ -76466,7 +77770,7 @@ paths: items: *4 teams: type: array - items: *319 + items: *326 apps: type: array items: *5 @@ -76484,7 +77788,7 @@ paths: items: *4 teams: type: array - items: *319 + items: *326 apps: type: array items: *5 @@ -76542,7 +77846,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *539 + restrictions: *545 required_conversation_resolution: type: object properties: @@ -76654,9 +77958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '204': description: Response @@ -76681,17 +77985,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response content: application/json: - schema: *540 + schema: *546 examples: - default: &541 + default: &547 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -76713,17 +78017,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response content: application/json: - schema: *540 + schema: *546 examples: - default: *541 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76742,9 +78046,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '204': description: Response @@ -76769,17 +78073,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response content: application/json: - schema: *542 + schema: *548 examples: - default: &543 + default: &549 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -76875,9 +78179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: false content: @@ -76975,9 +78279,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *548 examples: - default: *543 + default: *549 '422': *15 x-github: githubCloudOnly: false @@ -76998,9 +78302,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '204': description: Response @@ -77027,17 +78331,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response content: application/json: - schema: *540 + schema: *546 examples: - default: &544 + default: &550 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -77060,17 +78364,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response content: application/json: - schema: *540 + schema: *546 examples: - default: *544 + default: *550 '404': *6 x-github: githubCloudOnly: false @@ -77090,9 +78394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '204': description: Response @@ -77117,17 +78421,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response content: application/json: - schema: *545 + schema: *551 examples: - default: &546 + default: &552 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -77153,9 +78457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: false content: @@ -77207,9 +78511,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *551 examples: - default: *546 + default: *552 '404': *6 '422': *15 x-github: @@ -77231,9 +78535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '204': description: Response @@ -77257,9 +78561,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response @@ -77293,9 +78597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: false content: @@ -77362,9 +78666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: false content: @@ -77428,9 +78732,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: content: application/json: @@ -77496,15 +78800,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response content: application/json: - schema: *539 + schema: *545 examples: default: value: @@ -77595,9 +78899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '204': description: Response @@ -77620,9 +78924,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: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response @@ -77632,7 +78936,7 @@ paths: type: array items: *5 examples: - default: &547 + default: &553 value: - id: 1 slug: octoapp @@ -77689,9 +78993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: true content: @@ -77725,7 +79029,7 @@ paths: type: array items: *5 examples: - default: *547 + default: *553 '422': *15 x-github: githubCloudOnly: false @@ -77746,9 +79050,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: true content: @@ -77782,7 +79086,7 @@ paths: type: array items: *5 examples: - default: *547 + default: *553 '422': *15 x-github: githubCloudOnly: false @@ -77803,9 +79107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: true content: @@ -77839,7 +79143,7 @@ paths: type: array items: *5 examples: - default: *547 + default: *553 '422': *15 x-github: githubCloudOnly: false @@ -77861,9 +79165,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: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response @@ -77871,9 +79175,9 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: - default: *409 + default: *416 '404': *6 x-github: githubCloudOnly: false @@ -77893,9 +79197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: false content: @@ -77931,9 +79235,9 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: - default: *409 + default: *416 '422': *15 x-github: githubCloudOnly: false @@ -77954,9 +79258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: false content: @@ -77992,9 +79296,9 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: - default: *409 + default: *416 '422': *15 x-github: githubCloudOnly: false @@ -78015,9 +79319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: content: application/json: @@ -78052,9 +79356,9 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: - default: *409 + default: *416 '422': *15 x-github: githubCloudOnly: false @@ -78076,9 +79380,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: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 responses: '200': description: Response @@ -78112,9 +79416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: true content: @@ -78172,9 +79476,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: true content: @@ -78232,9 +79536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: true content: @@ -78294,9 +79598,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 requestBody: required: true content: @@ -78318,7 +79622,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *554 examples: default: value: @@ -78432,8 +79736,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *485 - - *486 + - *492 + - *493 - *105 - *106 - *107 @@ -78447,9 +79751,9 @@ paths: application/json: schema: type: array - items: *314 + items: *321 examples: - default: *315 + default: *322 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -78469,8 +79773,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: bypass_request_number in: path required: true @@ -78484,7 +79788,7 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: default: value: @@ -78543,8 +79847,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *485 - - *486 + - *492 + - *493 - *105 - *106 - *107 @@ -78558,9 +79862,9 @@ paths: application/json: schema: type: array - items: *317 + items: *324 examples: - default: *318 + default: *325 '404': *6 '403': *29 '500': *40 @@ -78584,8 +79888,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *485 - - *486 + - *492 + - *493 - name: bypass_request_number in: path required: true @@ -78597,7 +79901,7 @@ paths: description: A single bypass request. content: application/json: - schema: *317 + schema: *324 examples: default: value: @@ -78655,8 +79959,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *485 - - *486 + - *492 + - *493 - name: bypass_request_number in: path required: true @@ -78727,8 +80031,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *485 - - *486 + - *492 + - *493 - name: bypass_response_id in: path required: true @@ -78761,8 +80065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -79041,7 +80345,7 @@ paths: description: Response content: application/json: - schema: &549 + schema: &555 title: CheckRun description: A check performed on the code of a given code change type: object @@ -79161,7 +80465,7 @@ paths: check. type: array items: *234 - deployment: &890 + deployment: &894 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -79441,9 +80745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *485 - - *486 - - &550 + - *492 + - *493 + - &556 name: check_run_id description: The unique identifier of the check run. in: path @@ -79455,9 +80759,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *555 examples: - default: &551 + default: &557 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -79557,9 +80861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *485 - - *486 - - *550 + - *492 + - *493 + - *556 requestBody: required: true content: @@ -79799,9 +81103,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *555 examples: - default: *551 + default: *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79821,9 +81125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *485 - - *486 - - *550 + - *492 + - *493 + - *556 - *17 - *19 responses: @@ -79918,9 +81222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *485 - - *486 - - *550 + - *492 + - *493 + - *556 responses: '201': description: Response @@ -79964,8 +81268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -79987,7 +81291,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &554 + schema: &560 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -80073,12 +81377,12 @@ paths: type: string format: date-time nullable: true - head_commit: &923 + head_commit: &927 title: Simple Commit description: A commit. type: object - properties: *552 - required: *553 + properties: *558 + required: *559 latest_check_runs_count: type: integer check_runs_url: @@ -80106,7 +81410,7 @@ paths: - check_runs_url - pull_requests examples: - default: &555 + default: &561 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -80397,9 +81701,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *554 + schema: *560 examples: - default: *555 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80418,8 +81722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -80728,9 +82032,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *485 - - *486 - - &556 + - *492 + - *493 + - &562 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -80742,9 +82046,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *560 examples: - default: *555 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80767,17 +82071,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: - - *485 - - *486 - - *556 - - &608 + - *492 + - *493 + - *562 + - &614 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &609 + - &615 name: status description: Returns check runs with the specified `status`. in: query @@ -80816,9 +82120,9 @@ paths: type: integer check_runs: type: array - items: *549 + items: *555 examples: - default: &610 + default: &616 value: total_count: 1 check_runs: @@ -80920,9 +82224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *485 - - *486 - - *556 + - *492 + - *493 + - *562 responses: '201': description: Response @@ -80955,21 +82259,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: - - *485 - - *486 - - *323 - - *324 + - *492 + - *493 + - *330 + - *331 - *19 - *17 - - &572 + - &578 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: *557 - - &573 + schema: *563 + - &579 name: pr description: The number of the pull request for the results you want to list. in: query @@ -80994,13 +82298,13 @@ paths: be returned. in: query required: false - schema: *325 + schema: *332 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *558 + schema: *564 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -81024,7 +82328,7 @@ paths: updated_at: *139 url: *136 html_url: *137 - instances_url: *559 + instances_url: *565 state: *115 fixed_at: *141 dismissed_by: @@ -81035,11 +82339,11 @@ paths: required: *21 nullable: true dismissed_at: *140 - dismissed_reason: *560 - dismissed_comment: *561 - rule: *562 - tool: *563 - most_recent_instance: *564 + dismissed_reason: *566 + dismissed_comment: *567 + rule: *568 + tool: *569 + most_recent_instance: *570 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -81165,7 +82469,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &565 + '403': &571 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -81192,9 +82496,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: - - *485 - - *486 - - &566 + - *492 + - *493 + - &572 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -81208,7 +82512,7 @@ paths: description: Response content: application/json: - schema: &567 + schema: &573 type: object properties: number: *131 @@ -81216,7 +82520,7 @@ paths: updated_at: *139 url: *136 html_url: *137 - instances_url: *559 + instances_url: *565 state: *115 fixed_at: *141 dismissed_by: @@ -81227,8 +82531,8 @@ paths: required: *21 nullable: true dismissed_at: *140 - dismissed_reason: *560 - dismissed_comment: *561 + dismissed_reason: *566 + dismissed_comment: *567 rule: type: object properties: @@ -81282,8 +82586,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *563 - most_recent_instance: *564 + tool: *569 + most_recent_instance: *570 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -81382,7 +82686,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *565 + '403': *571 '404': *6 '503': *200 x-github: @@ -81402,9 +82706,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: - - *485 - - *486 - - *566 + - *492 + - *493 + - *572 requestBody: required: true content: @@ -81419,8 +82723,8 @@ paths: enum: - open - dismissed - dismissed_reason: *560 - dismissed_comment: *561 + dismissed_reason: *566 + dismissed_comment: *567 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -81448,7 +82752,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *573 examples: default: value: @@ -81524,7 +82828,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &571 + '403': &577 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -81551,15 +82855,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: - - *485 - - *486 - - *566 + - *492 + - *493 + - *572 responses: '200': description: Response content: application/json: - schema: &568 + schema: &574 type: object properties: status: @@ -81585,13 +82889,13 @@ paths: - description - started_at examples: - default: &569 + default: &575 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &570 + '400': &576 description: Bad Request content: application/json: @@ -81602,7 +82906,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': *565 + '403': *571 '404': *6 '503': *200 x-github: @@ -81627,29 +82931,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: - - *485 - - *486 - - *566 + - *492 + - *493 + - *572 responses: '200': description: OK content: application/json: - schema: *568 + schema: *574 examples: - default: *569 + default: *575 '202': description: Accepted content: application/json: - schema: *568 + schema: *574 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *570 + '400': *576 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -81681,9 +82985,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: - - *485 - - *486 - - *566 + - *492 + - *493 + - *572 requestBody: required: false content: @@ -81728,8 +83032,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *570 - '403': *571 + '400': *576 + '403': *577 '404': *6 '422': description: Unprocessable Entity @@ -81753,13 +83057,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: - - *485 - - *486 - - *566 + - *492 + - *493 + - *572 - *19 - *17 - - *572 - - *573 + - *578 + - *579 responses: '200': description: Response @@ -81770,10 +83074,10 @@ paths: items: type: object properties: - ref: *557 - analysis_key: *574 - environment: *575 - category: *576 + ref: *563 + analysis_key: *580 + environment: *581 + category: *582 state: type: string description: State of a code scanning alert instance. @@ -81788,7 +83092,7 @@ paths: properties: text: type: string - location: *577 + location: *583 html_url: type: string classifications: @@ -81796,7 +83100,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: *578 + items: *584 examples: default: value: @@ -81833,7 +83137,7 @@ paths: end_column: 50 classifications: - source - '403': *565 + '403': *571 '404': *6 '503': *200 x-github: @@ -81867,25 +83171,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: - - *485 - - *486 - - *323 - - *324 + - *492 + - *493 + - *330 + - *331 - *19 - *17 - - *573 + - *579 - 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: *557 + schema: *563 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &579 + schema: &585 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -81906,23 +83210,23 @@ paths: application/json: schema: type: array - items: &580 + items: &586 type: object properties: - ref: *557 - commit_sha: &588 + ref: *563 + commit_sha: &594 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: *574 + analysis_key: *580 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *576 + category: *582 error: type: string example: error reading field xyz @@ -81946,8 +83250,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *579 - tool: *563 + sarif_id: *585 + tool: *569 deletable: type: boolean warning: @@ -82008,7 +83312,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *565 + '403': *571 '404': *6 '503': *200 x-github: @@ -82044,8 +83348,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: - - *485 - - *486 + - *492 + - *493 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -82058,7 +83362,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *586 examples: response: summary: application/json response @@ -82112,7 +83416,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *565 + '403': *571 '404': *6 '422': description: Response if analysis could not be processed @@ -82199,8 +83503,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: - - *485 - - *486 + - *492 + - *493 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -82253,7 +83557,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': *571 + '403': *577 '404': *6 '503': *200 x-github: @@ -82275,8 +83579,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -82284,7 +83588,7 @@ paths: application/json: schema: type: array - items: &581 + items: &587 title: CodeQL Database description: A CodeQL database. type: object @@ -82395,7 +83699,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': *565 + '403': *571 '404': *6 '503': *200 x-github: @@ -82424,8 +83728,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: - - *485 - - *486 + - *492 + - *493 - name: language in: path description: The language of the CodeQL database. @@ -82437,7 +83741,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *587 examples: default: value: @@ -82469,9 +83773,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': &619 + '302': &625 description: Found - '403': *565 + '403': *571 '404': *6 '503': *200 x-github: @@ -82493,8 +83797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *485 - - *486 + - *492 + - *493 - name: language in: path description: The language of the CodeQL database. @@ -82504,7 +83808,7 @@ paths: responses: '204': description: Response - '403': *571 + '403': *577 '404': *6 '503': *200 x-github: @@ -82532,8 +83836,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -82542,7 +83846,7 @@ paths: type: object additionalProperties: false properties: - language: &582 + language: &588 type: string description: The language targeted by the CodeQL query enum: @@ -82622,7 +83926,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &586 + schema: &592 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -82632,7 +83936,7 @@ paths: description: The ID of the variant analysis. controller_repo: *122 actor: *4 - query_language: *582 + query_language: *588 query_pack_url: type: string description: The download url for the query pack. @@ -82679,7 +83983,7 @@ paths: items: type: object properties: - repository: &583 + repository: &589 title: Repository Identifier description: Repository Identifier type: object @@ -82715,7 +84019,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &587 + analysis_status: &593 type: string description: The new status of the CodeQL variant analysis repository task. @@ -82747,7 +84051,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &584 + access_mismatch_repos: &590 type: object properties: repository_count: @@ -82761,7 +84065,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: *583 + items: *589 required: - repository_count - repositories @@ -82783,8 +84087,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *584 - over_limit_repos: *584 + no_codeql_db_repos: *590 + over_limit_repos: *590 required: - access_mismatch_repos - not_found_repos @@ -82800,7 +84104,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &585 + value: &591 summary: Default response value: id: 1 @@ -82946,10 +84250,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *585 + value: *591 repository_lists: summary: Response for a successful variant analysis submission - value: *585 + value: *591 '404': *6 '422': description: Unable to process variant analysis submission @@ -82977,8 +84281,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: - - *485 - - *486 + - *492 + - *493 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -82990,9 +84294,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *592 examples: - default: *585 + default: *591 '404': *6 '503': *200 x-github: @@ -83015,7 +84319,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: - - *485 + - *492 - name: repo in: path description: The name of the controller repository. @@ -83050,7 +84354,7 @@ paths: type: object properties: repository: *122 - analysis_status: *587 + analysis_status: *593 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -83175,8 +84479,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -83259,7 +84563,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *565 + '403': *571 '404': *6 '503': *200 x-github: @@ -83280,8 +84584,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -83373,7 +84677,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *571 + '403': *577 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -83444,8 +84748,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -83453,7 +84757,7 @@ paths: schema: type: object properties: - commit_sha: *588 + commit_sha: *594 ref: type: string description: |- @@ -83511,7 +84815,7 @@ paths: schema: type: object properties: - id: *579 + id: *585 url: type: string description: The REST API URL for checking the status of the upload. @@ -83525,7 +84829,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': *571 + '403': *577 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -83548,8 +84852,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: - - *485 - - *486 + - *492 + - *493 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -83595,7 +84899,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': *565 + '403': *571 '404': description: Not Found if the sarif id does not match any upload '503': *200 @@ -83620,8 +84924,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -83702,8 +85006,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *485 - - *486 + - *492 + - *493 - 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 @@ -83823,8 +85127,8 @@ paths: parameters: - *17 - *19 - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -83840,7 +85144,7 @@ paths: type: integer codespaces: type: array - items: *399 + items: *406 examples: default: value: @@ -84138,8 +85442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -84202,17 +85506,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '400': *14 '401': *25 '403': *29 @@ -84241,8 +85545,8 @@ paths: parameters: - *17 - *19 - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -84306,8 +85610,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: - - *485 - - *486 + - *492 + - *493 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -84342,14 +85646,14 @@ paths: type: integer machines: type: array - items: &833 + items: &837 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *590 - required: *591 + properties: *596 + required: *597 examples: - default: &834 + default: &838 value: total_count: 2 machines: @@ -84389,8 +85693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *485 - - *486 + - *492 + - *493 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -84474,8 +85778,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: - - *485 - - *486 + - *492 + - *493 - 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 @@ -84541,8 +85845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -84560,7 +85864,7 @@ paths: type: integer secrets: type: array - items: &595 + items: &601 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -84580,7 +85884,7 @@ paths: - created_at - updated_at examples: - default: *592 + default: *598 headers: Link: *47 x-github: @@ -84603,16 +85907,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: *593 + schema: *599 examples: - default: *594 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -84632,17 +85936,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *485 - - *486 + - *492 + - *493 - *300 responses: '200': description: Response content: application/json: - schema: *595 + schema: *601 examples: - default: *596 + default: *602 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84662,8 +85966,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: - - *485 - - *486 + - *492 + - *493 - *300 requestBody: required: true @@ -84716,8 +86020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *485 - - *486 + - *492 + - *493 - *300 responses: '204': @@ -84746,8 +86050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *485 - - *486 + - *492 + - *493 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -84789,7 +86093,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &597 + properties: &603 login: type: string example: octocat @@ -84882,7 +86186,7 @@ paths: user_view_type: type: string example: public - required: &598 + required: &604 - avatar_url - events_url - followers_url @@ -84956,8 +86260,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: - - *485 - - *486 + - *492 + - *493 - *148 responses: '204': @@ -85004,8 +86308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *485 - - *486 + - *492 + - *493 - *148 requestBody: required: false @@ -85032,7 +86336,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &677 + schema: &681 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -85261,8 +86565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *485 - - *486 + - *492 + - *493 - *148 responses: '204': @@ -85294,8 +86598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *485 - - *486 + - *492 + - *493 - *148 responses: '200': @@ -85316,8 +86620,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *597 - required: *598 + properties: *603 + required: *604 nullable: true required: - permission @@ -85372,8 +86676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -85383,7 +86687,7 @@ paths: application/json: schema: type: array - items: &599 + items: &605 title: Commit Comment description: Commit Comment type: object @@ -85441,7 +86745,7 @@ paths: - created_at - updated_at examples: - default: &604 + default: &610 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -85500,17 +86804,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 responses: '200': description: Response content: application/json: - schema: *599 + schema: *605 examples: - default: &605 + default: &611 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -85567,8 +86871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 requestBody: required: true @@ -85591,7 +86895,7 @@ paths: description: Response content: application/json: - schema: *599 + schema: *605 examples: default: value: @@ -85642,8 +86946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 responses: '204': @@ -85665,8 +86969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -85693,7 +86997,7 @@ paths: application/json: schema: type: array - items: &600 + items: &606 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -85736,7 +87040,7 @@ paths: - content - created_at examples: - default: &681 + default: &685 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -85781,8 +87085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 requestBody: required: true @@ -85815,9 +87119,9 @@ paths: description: Reaction exists content: application/json: - schema: *600 + schema: *606 examples: - default: &601 + default: &607 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -85846,9 +87150,9 @@ paths: description: Reaction created content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -85870,10 +87174,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *485 - - *486 + - *492 + - *493 - *245 - - &682 + - &686 name: reaction_id description: The unique identifier of the reaction. in: path @@ -85928,8 +87232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *485 - - *486 + - *492 + - *493 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -85985,9 +87289,9 @@ paths: application/json: schema: type: array - items: *602 + items: *608 examples: - default: &735 + default: &739 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -86081,9 +87385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *485 - - *486 - - &603 + - *492 + - *493 + - &609 name: commit_sha description: The SHA of the commit. in: path @@ -86155,9 +87459,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *485 - - *486 - - *603 + - *492 + - *493 + - *609 - *17 - *19 responses: @@ -86167,9 +87471,9 @@ paths: application/json: schema: type: array - items: *599 + items: *605 examples: - default: *604 + default: *610 headers: Link: *47 x-github: @@ -86197,9 +87501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *485 - - *486 - - *603 + - *492 + - *493 + - *609 requestBody: required: true content: @@ -86234,9 +87538,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *605 examples: - default: *605 + default: *611 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -86264,9 +87568,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: - - *485 - - *486 - - *603 + - *492 + - *493 + - *609 - *17 - *19 responses: @@ -86276,9 +87580,9 @@ paths: application/json: schema: type: array - items: *606 + items: *612 examples: - default: &727 + default: &731 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86815,11 +88119,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *485 - - *486 + - *492 + - *493 - *19 - *17 - - &607 + - &613 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)" @@ -86834,9 +88138,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *608 examples: - default: &712 + default: &716 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -86924,7 +88228,7 @@ paths: schema: type: string examples: - default: &616 + default: &622 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -86937,7 +88241,7 @@ paths: schema: type: string examples: - default: &617 + default: &623 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -86990,11 +88294,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: - - *485 - - *486 - - *607 - - *608 - - *609 + - *492 + - *493 + - *613 + - *614 + - *615 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -87028,9 +88332,9 @@ paths: type: integer check_runs: type: array - items: *549 + items: *555 examples: - default: *610 + default: *616 headers: Link: *47 x-github: @@ -87055,9 +88359,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: - - *485 - - *486 - - *607 + - *492 + - *493 + - *613 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -87065,7 +88369,7 @@ paths: schema: type: integer example: 1 - - *608 + - *614 - *17 - *19 responses: @@ -87083,7 +88387,7 @@ paths: type: integer check_suites: type: array - items: *554 + items: *560 examples: default: value: @@ -87283,9 +88587,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: - - *485 - - *486 - - *607 + - *492 + - *493 + - *613 - *17 - *19 responses: @@ -87483,9 +88787,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *485 - - *486 - - *607 + - *492 + - *493 + - *613 - *17 - *19 responses: @@ -87495,7 +88799,7 @@ paths: application/json: schema: type: array - items: &788 + items: &792 title: Status description: The status of a commit. type: object @@ -87576,7 +88880,7 @@ paths: site_admin: false headers: Link: *47 - '301': *491 + '301': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87604,8 +88908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -87634,20 +88938,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *611 - required: *612 + properties: *617 + required: *618 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &613 + properties: &619 url: type: string format: uri html_url: type: string format: uri - required: &614 + required: &620 - url - html_url nullable: true @@ -87661,26 +88965,26 @@ paths: contributing: title: Community Health File type: object - properties: *613 - required: *614 + properties: *619 + required: *620 nullable: true readme: title: Community Health File type: object - properties: *613 - required: *614 + properties: *619 + required: *620 nullable: true issue_template: title: Community Health File type: object - properties: *613 - required: *614 + properties: *619 + required: *620 nullable: true pull_request_template: title: Community Health File type: object - properties: *613 - required: *614 + properties: *619 + required: *620 nullable: true required: - code_of_conduct @@ -87807,8 +89111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *485 - - *486 + - *492 + - *493 - *19 - *17 - name: basehead @@ -87851,8 +89155,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *602 - merge_base_commit: *602 + base_commit: *608 + merge_base_commit: *608 status: type: string enum: @@ -87872,10 +89176,10 @@ paths: example: 6 commits: type: array - items: *602 + items: *608 files: type: array - items: *615 + items: *621 required: - url - html_url @@ -88121,12 +89425,12 @@ paths: schema: type: string examples: - default: *616 + default: *622 application/vnd.github.patch: schema: type: string examples: - default: *617 + default: *623 '404': *6 '500': *40 '503': *200 @@ -88171,8 +89475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *485 - - *486 + - *492 + - *493 - name: path description: path parameter in: path @@ -88332,7 +89636,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &618 + response-if-content-is-a-file-github-object: &624 summary: Response if content is a file value: type: file @@ -88464,7 +89768,7 @@ paths: - size - type - url - - &740 + - &744 title: Content File description: Content File type: object @@ -88665,7 +89969,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *618 + response-if-content-is-a-file: *624 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -88734,7 +90038,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *619 + '302': *625 '304': *37 x-github: githubCloudOnly: false @@ -88757,8 +90061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *485 - - *486 + - *492 + - *493 - name: path description: path parameter in: path @@ -88851,7 +90155,7 @@ paths: description: Response content: application/json: - schema: &620 + schema: &626 title: File Commit description: File Commit type: object @@ -89003,7 +90307,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *626 examples: example-for-creating-a-file: value: @@ -89057,7 +90361,7 @@ paths: schema: oneOf: - *3 - - &660 + - &664 description: Repository rule violation was detected type: object properties: @@ -89078,7 +90382,7 @@ paths: items: type: object properties: - placeholder_id: &780 + placeholder_id: &784 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -89110,8 +90414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *485 - - *486 + - *492 + - *493 - name: path description: path parameter in: path @@ -89172,7 +90476,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *626 examples: default: value: @@ -89227,8 +90531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *485 - - *486 + - *492 + - *493 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -89351,24 +90655,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *485 - - *486 - - *344 - - *345 - - *346 - - *347 - - *348 + - *492 + - *493 + - *351 + - *352 + - *353 + - *354 + - *355 - 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 - - *349 - - *621 - - *350 - - *351 - - *352 + - *356 + - *627 + - *357 + - *358 + - *359 - *112 - *110 - *111 @@ -89380,7 +90684,7 @@ paths: application/json: schema: type: array - items: &625 + items: &631 type: object description: A Dependabot alert. properties: @@ -89427,7 +90731,7 @@ paths: - direct - transitive - inconclusive - security_advisory: *622 + security_advisory: *628 security_vulnerability: *135 url: *136 html_url: *137 @@ -89458,8 +90762,8 @@ paths: nullable: true maxLength: 280 fixed_at: *141 - auto_dismissed_at: *623 - dismissal_request: *624 + auto_dismissed_at: *629 + dismissal_request: *630 assignees: type: array description: The users assigned to this alert. @@ -89714,9 +91018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *485 - - *486 - - &626 + - *492 + - *493 + - &632 name: alert_number in: path description: |- @@ -89731,7 +91035,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *631 examples: default: value: @@ -89863,9 +91167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *485 - - *486 - - *626 + - *492 + - *493 + - *632 requestBody: required: true content: @@ -89921,7 +91225,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *631 examples: default: value: @@ -90051,8 +91355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -90070,7 +91374,7 @@ paths: type: integer secrets: type: array - items: &629 + items: &635 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -90123,16 +91427,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: *627 + schema: *633 examples: - default: *628 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90152,15 +91456,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *485 - - *486 + - *492 + - *493 - *300 responses: '200': description: Response content: application/json: - schema: *629 + schema: *635 examples: default: value: @@ -90186,8 +91490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *485 - - *486 + - *492 + - *493 - *300 requestBody: required: true @@ -90240,8 +91544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *485 - - *486 + - *492 + - *493 - *300 responses: '204': @@ -90264,8 +91568,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: - - *485 - - *486 + - *492 + - *493 - 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 @@ -90425,8 +91729,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -90664,8 +91968,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: - - *485 - - *486 + - *492 + - *493 - name: sbom_uuid in: path required: true @@ -90676,7 +91980,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *630 + Location: *636 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -90697,8 +92001,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: - - *485 - - *486 + - *492 + - *493 responses: '201': description: Response @@ -90736,8 +92040,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -90812,7 +92116,7 @@ paths: - version - url additionalProperties: false - metadata: &631 + metadata: &637 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90845,7 +92149,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *631 + metadata: *637 resolved: type: object description: A collection of resolved package dependencies. @@ -90858,7 +92162,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *631 + metadata: *637 relationship: type: string description: A notation of whether a dependency is requested @@ -90987,8 +92291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *485 - - *486 + - *492 + - *493 - name: sha description: The SHA recorded at creation time. in: query @@ -91028,9 +92332,9 @@ paths: application/json: schema: type: array - items: *632 + items: *638 examples: - default: *633 + default: *639 headers: Link: *47 x-github: @@ -91096,8 +92400,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -91178,7 +92482,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *638 examples: simple-example: summary: Simple example @@ -91251,9 +92555,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *485 - - *486 - - &634 + - *492 + - *493 + - &640 name: deployment_id description: deployment_id parameter in: path @@ -91265,7 +92569,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *638 examples: default: value: @@ -91330,9 +92634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *485 - - *486 - - *634 + - *492 + - *493 + - *640 responses: '204': description: Response @@ -91354,9 +92658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *485 - - *486 - - *634 + - *492 + - *493 + - *640 - *17 - *19 responses: @@ -91366,7 +92670,7 @@ paths: application/json: schema: type: array - items: &635 + items: &641 title: Deployment Status description: The status of a deployment. type: object @@ -91527,9 +92831,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *485 - - *486 - - *634 + - *492 + - *493 + - *640 requestBody: required: true content: @@ -91604,9 +92908,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *641 examples: - default: &636 + default: &642 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -91662,9 +92966,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *485 - - *486 - - *634 + - *492 + - *493 + - *640 - name: status_id in: path required: true @@ -91675,9 +92979,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *641 examples: - default: *636 + default: *642 '404': *6 x-github: githubCloudOnly: false @@ -91704,12 +93008,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *485 - - *486 - - *637 - - *638 - - *639 - - *640 + - *492 + - *493 + - *643 + - *644 + - *645 + - *646 - *17 - *19 responses: @@ -91719,9 +93023,9 @@ paths: application/json: schema: type: array - items: *641 + items: *647 examples: - default: *642 + default: *648 '404': *6 '403': *29 '500': *40 @@ -91745,8 +93049,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: alert_number in: path required: true @@ -91758,7 +93062,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *641 + schema: *647 examples: default: value: @@ -91814,8 +93118,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: alert_number in: path required: true @@ -91874,12 +93178,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *485 - - *486 - - *637 - - *638 - - *639 - - *640 + - *492 + - *493 + - *643 + - *644 + - *645 + - *646 - *17 - *19 responses: @@ -91889,9 +93193,9 @@ paths: application/json: schema: type: array - items: *643 + items: *649 examples: - default: *644 + default: *650 '404': *6 '403': *29 '500': *40 @@ -91915,8 +93219,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: alert_number in: path required: true @@ -91928,7 +93232,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *643 + schema: *649 examples: default: value: @@ -91979,8 +93283,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: alert_number in: path required: true @@ -92018,7 +93322,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *643 + schema: *649 examples: default: value: @@ -92069,8 +93373,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: alert_number in: path required: true @@ -92141,8 +93445,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: alert_number in: path required: true @@ -92175,12 +93479,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *485 - - *486 + - *492 + - *493 - *105 - *106 - *107 - - *358 + - *365 - *17 - *19 responses: @@ -92190,9 +93494,9 @@ paths: application/json: schema: type: array - items: *360 + items: *367 examples: - default: *361 + default: *368 '404': *6 '403': *29 '500': *40 @@ -92217,8 +93521,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: alert_number in: path required: true @@ -92230,7 +93534,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *360 + schema: *367 examples: default: value: @@ -92288,8 +93592,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: alert_number in: path required: true @@ -92358,8 +93662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -92416,8 +93720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -92434,7 +93738,7 @@ paths: type: integer environments: type: array - items: &646 + items: &652 title: Environment description: Details of a deployment environment type: object @@ -92486,7 +93790,7 @@ paths: type: type: string example: wait_timer - wait_timer: &648 + wait_timer: &654 type: integer example: 30 description: The amount of time to delay a job after @@ -92523,11 +93827,11 @@ paths: items: type: object properties: - type: *645 + type: *651 reviewer: anyOf: - *4 - - *319 + - *326 required: - id - node_id @@ -92547,7 +93851,7 @@ paths: - id - node_id - type - deployment_branch_policy: &649 + deployment_branch_policy: &655 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -92663,9 +93967,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *485 - - *486 - - &647 + - *492 + - *493 + - &653 name: environment_name in: path required: true @@ -92678,9 +93982,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *652 examples: - default: &650 + default: &656 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -92764,9 +94068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 requestBody: required: false content: @@ -92775,7 +94079,7 @@ paths: type: object nullable: true properties: - wait_timer: *648 + wait_timer: *654 prevent_self_review: type: boolean example: false @@ -92792,13 +94096,13 @@ paths: items: type: object properties: - type: *645 + type: *651 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *649 + deployment_branch_policy: *655 additionalProperties: false examples: default: @@ -92818,9 +94122,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *652 examples: - default: *650 + default: *656 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -92844,9 +94148,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 responses: '204': description: Default response @@ -92871,9 +94175,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 - *17 - *19 responses: @@ -92891,7 +94195,7 @@ paths: example: 2 branch_policies: type: array - items: &651 + items: &657 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -92948,9 +94252,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 requestBody: required: true content: @@ -92996,9 +94300,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *657 examples: - example-wildcard: &652 + example-wildcard: &658 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -93040,10 +94344,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *485 - - *486 - - *647 - - &653 + - *492 + - *493 + - *653 + - &659 name: branch_policy_id in: path required: true @@ -93055,9 +94359,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *657 examples: - default: *652 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93076,10 +94380,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *485 - - *486 - - *647 + - *492 + - *493 - *653 + - *659 requestBody: required: true content: @@ -93107,9 +94411,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *657 examples: - default: *652 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93128,10 +94432,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *485 - - *486 - - *647 + - *492 + - *493 - *653 + - *659 responses: '204': description: Response @@ -93156,9 +94460,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: - - *647 - - *486 - - *485 + - *653 + - *493 + - *492 responses: '200': description: List of deployment protection rules @@ -93174,7 +94478,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &654 + items: &660 title: Deployment protection rule description: Deployment protection rule type: object @@ -93193,7 +94497,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &655 + app: &661 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -93292,9 +94596,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: - - *647 - - *486 - - *485 + - *653 + - *493 + - *492 requestBody: content: application/json: @@ -93315,9 +94619,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *654 + schema: *660 examples: - default: &656 + default: &662 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -93352,9 +94656,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: - - *647 - - *486 - - *485 + - *653 + - *493 + - *492 - *19 - *17 responses: @@ -93373,7 +94677,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *655 + items: *661 examples: default: value: @@ -93408,10 +94712,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: - - *485 - - *486 - - *647 - - &657 + - *492 + - *493 + - *653 + - &663 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -93423,9 +94727,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *660 examples: - default: *656 + default: *662 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93446,10 +94750,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: - - *647 - - *486 - - *485 - - *657 + - *653 + - *493 + - *492 + - *663 responses: '204': description: Response @@ -93475,9 +94779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 - *17 - *19 responses: @@ -93495,9 +94799,9 @@ paths: type: integer secrets: type: array - items: *516 + items: *522 examples: - default: *517 + default: *523 headers: Link: *47 x-github: @@ -93522,17 +94826,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 responses: '200': description: Response content: application/json: - schema: *518 + schema: *306 examples: - default: *519 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93554,18 +94858,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 - *300 responses: '200': description: Response content: application/json: - schema: *516 + schema: *522 examples: - default: *658 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93587,9 +94891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 - *300 requestBody: required: true @@ -93647,9 +94951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 - *300 responses: '204': @@ -93675,10 +94979,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *485 - - *486 - - *647 - - *503 + - *492 + - *493 + - *653 + - *309 - *19 responses: '200': @@ -93695,9 +94999,9 @@ paths: type: integer variables: type: array - items: *520 + items: *524 examples: - default: *521 + default: *525 headers: Link: *47 x-github: @@ -93720,9 +95024,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 requestBody: required: true content: @@ -93774,18 +95078,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *485 - - *486 - - *647 + - *492 + - *493 + - *653 - *303 responses: '200': description: Response content: application/json: - schema: *520 + schema: *524 examples: - default: *659 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93806,10 +95110,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *485 - - *486 + - *492 + - *493 - *303 - - *647 + - *653 requestBody: required: true content: @@ -93851,10 +95155,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *485 - - *486 + - *492 + - *493 - *303 - - *647 + - *653 responses: '204': description: Response @@ -93876,8 +95180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -93945,8 +95249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *485 - - *486 + - *492 + - *493 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -94105,8 +95409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: false content: @@ -94138,9 +95442,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *497 examples: - default: *492 + default: *499 '400': *14 '422': *15 '403': *29 @@ -94161,8 +95465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -94222,7 +95526,7 @@ paths: schema: oneOf: - *265 - - *660 + - *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94247,8 +95551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *485 - - *486 + - *492 + - *493 - name: file_sha in: path required: true @@ -94347,8 +95651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -94457,7 +95761,7 @@ paths: description: Response content: application/json: - schema: &661 + schema: &665 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -94671,15 +95975,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *485 - - *486 - - *603 + - *492 + - *493 + - *609 responses: '200': description: Response content: application/json: - schema: *661 + schema: *665 examples: default: value: @@ -94735,9 +96039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *485 - - *486 - - &662 + - *492 + - *493 + - &666 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. @@ -94754,7 +96058,7 @@ paths: application/json: schema: type: array - items: &663 + items: &667 title: Git Reference description: Git references within a repository type: object @@ -94829,17 +96133,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *485 - - *486 - - *662 + - *492 + - *493 + - *666 responses: '200': description: Response content: application/json: - schema: *663 + schema: *667 examples: - default: &664 + default: &668 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -94868,8 +96172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -94898,9 +96202,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *667 examples: - default: *664 + default: *668 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -94926,9 +96230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *485 - - *486 - - *662 + - *492 + - *493 + - *666 requestBody: required: true content: @@ -94957,9 +96261,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *667 examples: - default: *664 + default: *668 '422': *15 '409': *121 x-github: @@ -94977,9 +96281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *485 - - *486 - - *662 + - *492 + - *493 + - *666 responses: '204': description: Response @@ -95034,8 +96338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -95102,7 +96406,7 @@ paths: description: Response content: application/json: - schema: &666 + schema: &670 title: Git Tag description: Metadata for a Git tag type: object @@ -95153,7 +96457,7 @@ paths: - sha - type - url - verification: *665 + verification: *669 required: - sha - url @@ -95163,7 +96467,7 @@ paths: - tag - message examples: - default: &667 + default: &671 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -95236,8 +96540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *485 - - *486 + - *492 + - *493 - name: tag_sha in: path required: true @@ -95248,9 +96552,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *670 examples: - default: *667 + default: *671 '404': *6 '409': *121 x-github: @@ -95274,8 +96578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -95348,7 +96652,7 @@ paths: description: Response content: application/json: - schema: &668 + schema: &672 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -95444,8 +96748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *485 - - *486 + - *492 + - *493 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -95468,7 +96772,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *672 examples: default-response: summary: Default response @@ -95527,8 +96831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -95538,7 +96842,7 @@ paths: application/json: schema: type: array - items: &669 + items: &673 title: Webhook description: Webhooks for repositories. type: object @@ -95592,7 +96896,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &931 + last_response: &935 title: Hook Response type: object properties: @@ -95666,8 +96970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: false content: @@ -95719,9 +97023,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *673 examples: - default: &670 + default: &674 value: type: Repository id: 12345678 @@ -95769,17 +97073,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 responses: '200': description: Response content: application/json: - schema: *669 + schema: *673 examples: - default: *670 + default: *674 '404': *6 x-github: githubCloudOnly: false @@ -95799,9 +97103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 requestBody: required: true content: @@ -95846,9 +97150,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *673 examples: - default: *670 + default: *674 '422': *15 '404': *6 x-github: @@ -95869,9 +97173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 responses: '204': description: Response @@ -95895,9 +97199,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: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 responses: '200': description: Response @@ -95924,9 +97228,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: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 requestBody: required: false content: @@ -95970,12 +97274,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 - *17 - - *367 - - *368 + - *374 + - *375 responses: '200': description: Response @@ -95983,9 +97287,9 @@ paths: application/json: schema: type: array - items: *369 + items: *376 examples: - default: *370 + default: *377 '400': *14 '422': *15 x-github: @@ -96004,18 +97308,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: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 - *16 responses: '200': description: Response content: application/json: - schema: *371 + schema: *378 examples: - default: *372 + default: *379 '400': *14 '422': *15 x-github: @@ -96034,9 +97338,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: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 - *16 responses: '202': *39 @@ -96059,9 +97363,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 responses: '204': description: Response @@ -96086,9 +97390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *485 - - *486 - - *366 + - *492 + - *493 + - *373 responses: '204': description: Response @@ -96111,8 +97415,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response if immutable releases are enabled @@ -96158,8 +97462,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': *130 '409': *121 @@ -96179,8 +97483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': *130 '409': *121 @@ -96237,14 +97541,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: &671 + schema: &675 title: Import description: A repository import from an external source. type: object @@ -96343,7 +97647,7 @@ paths: - html_url - authors_url examples: - default: &674 + default: &678 value: vcs: subversion use_lfs: true @@ -96359,7 +97663,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': &672 + '503': &676 description: Unavailable due to service under maintenance. content: application/json: @@ -96388,8 +97692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -96437,7 +97741,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *675 examples: default: value: @@ -96462,7 +97766,7 @@ paths: type: string '422': *15 '404': *6 - '503': *672 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96490,8 +97794,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: false content: @@ -96540,7 +97844,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *675 examples: example-1: summary: Example 1 @@ -96588,7 +97892,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': *672 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96611,12 +97915,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response - '503': *672 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96642,9 +97946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *485 - - *486 - - &856 + - *492 + - *493 + - &860 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -96658,7 +97962,7 @@ paths: application/json: schema: type: array - items: &673 + items: &677 title: Porter Author description: Porter Author type: object @@ -96712,7 +98016,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': *672 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96737,8 +98041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *485 - - *486 + - *492 + - *493 - name: author_id in: path required: true @@ -96768,7 +98072,7 @@ paths: description: Response content: application/json: - schema: *673 + schema: *677 examples: default: value: @@ -96781,7 +98085,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *672 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96805,8 +98109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -96847,7 +98151,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *672 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96875,8 +98179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -96903,11 +98207,11 @@ paths: description: Response content: application/json: - schema: *671 + schema: *675 examples: - default: *674 + default: *678 '422': *15 - '503': *672 + '503': *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96930,8 +98234,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -96939,8 +98243,8 @@ paths: application/json: schema: *22 examples: - default: *384 - '301': *491 + default: *391 + '301': *498 '404': *6 x-github: githubCloudOnly: false @@ -96960,8 +98264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -96969,12 +98273,12 @@ paths: application/json: schema: anyOf: - - *386 + - *393 - type: object properties: {} additionalProperties: false examples: - default: &676 + default: &680 value: limit: collaborators_only origin: repository @@ -96999,13 +98303,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: application/json: - schema: *675 + schema: *679 examples: default: summary: Example request body @@ -97017,9 +98321,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *393 examples: - default: *676 + default: *680 '409': description: Response x-github: @@ -97041,8 +98345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -97065,8 +98369,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -97076,9 +98380,9 @@ paths: application/json: schema: type: array - items: *677 + items: *681 examples: - default: &848 + default: &852 value: - id: 1 repository: @@ -97209,9 +98513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *485 - - *486 - - *390 + - *492 + - *493 + - *397 requestBody: required: false content: @@ -97240,7 +98544,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *681 examples: default: value: @@ -97371,9 +98675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *485 - - *486 - - *390 + - *492 + - *493 + - *397 responses: '204': description: Response @@ -97404,8 +98708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *485 - - *486 + - *492 + - *493 - 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 @@ -97453,7 +98757,7 @@ paths: required: false schema: type: string - - *397 + - *404 - name: sort description: What to sort results by. in: query @@ -97478,7 +98782,7 @@ paths: type: array items: *229 examples: - default: &689 + default: &693 value: - id: 1 node_id: MDU6SXNzdWUx @@ -97627,7 +98931,7 @@ paths: state_reason: completed headers: Link: *47 - '301': *491 + '301': *498 '422': *15 '404': *6 x-github: @@ -97656,8 +98960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -97755,7 +99059,7 @@ paths: application/json: schema: *229 examples: - default: &686 + default: &690 value: id: 1 node_id: MDU6SXNzdWUx @@ -97893,7 +99197,7 @@ paths: '422': *15 '503': *200 '404': *6 - '410': *678 + '410': *682 x-github: triggersNotification: true githubCloudOnly: false @@ -97921,8 +99225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 - *253 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -97943,9 +99247,9 @@ paths: application/json: schema: type: array - items: *679 + items: *683 examples: - default: &688 + default: &692 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -98003,17 +99307,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 responses: '200': description: Response content: application/json: - schema: *679 + schema: *683 examples: - default: &680 + default: &684 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -98068,8 +99372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 requestBody: required: true @@ -98092,9 +99396,9 @@ paths: description: Response content: application/json: - schema: *679 + schema: *683 examples: - default: *680 + default: *684 '422': *15 x-github: githubCloudOnly: false @@ -98112,8 +99416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 responses: '204': @@ -98142,15 +99446,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 responses: '200': description: Response content: application/json: - schema: *679 + schema: *683 examples: default: value: @@ -98206,7 +99510,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *678 + '410': *682 '422': *15 x-github: githubCloudOnly: false @@ -98223,8 +99527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 responses: '204': @@ -98232,7 +99536,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *678 + '410': *682 '503': *200 x-github: githubCloudOnly: false @@ -98250,8 +99554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -98278,9 +99582,9 @@ paths: application/json: schema: type: array - items: *600 + items: *606 examples: - default: *681 + default: *685 headers: Link: *47 '404': *6 @@ -98301,8 +99605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *485 - - *486 + - *492 + - *493 - *245 requestBody: required: true @@ -98335,16 +99639,16 @@ paths: description: Reaction exists content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '201': description: Reaction created content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -98366,10 +99670,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *485 - - *486 + - *492 + - *493 - *245 - - *682 + - *686 responses: '204': description: Response @@ -98389,8 +99693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -98400,7 +99704,7 @@ paths: application/json: schema: type: array - items: &685 + items: &689 title: Issue Event description: Issue Event type: object @@ -98443,8 +99747,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *683 - required: *684 + properties: *687 + required: *688 nullable: true label: title: Issue Event Label @@ -98488,7 +99792,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *319 + requested_team: *326 dismissed_review: title: Issue Event Dismissed Review type: object @@ -98752,8 +100056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *485 - - *486 + - *492 + - *493 - name: event_id in: path required: true @@ -98764,7 +100068,7 @@ paths: description: Response content: application/json: - schema: *685 + schema: *689 examples: default: value: @@ -98957,7 +100261,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *678 + '410': *682 '403': *29 x-github: githubCloudOnly: false @@ -98991,9 +100295,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *485 - - *486 - - &687 + - *492 + - *493 + - &691 name: issue_number description: The number that identifies the issue. in: path @@ -99009,7 +100313,7 @@ paths: examples: default: summary: Issue - value: *686 + value: *690 pinned_comment: summary: Issue with pinned comment value: @@ -99189,9 +100493,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *491 + '301': *498 '404': *6 - '410': *678 + '410': *682 '304': *37 x-github: githubCloudOnly: false @@ -99216,9 +100520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: false content: @@ -99339,13 +100643,13 @@ paths: application/json: schema: *229 examples: - default: *686 + default: *690 '422': *15 '503': *200 '403': *29 - '301': *491 + '301': *498 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99363,9 +100667,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: false content: @@ -99393,7 +100697,7 @@ paths: application/json: schema: *229 examples: - default: *686 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99409,9 +100713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: content: application/json: @@ -99438,7 +100742,7 @@ paths: application/json: schema: *229 examples: - default: *686 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99460,9 +100764,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: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - name: assignee in: path required: true @@ -99502,9 +100806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - *236 - *17 - *19 @@ -99515,13 +100819,13 @@ paths: application/json: schema: type: array - items: *679 + items: *683 examples: - default: *688 + default: *692 headers: Link: *47 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99550,9 +100854,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: true content: @@ -99574,16 +100878,16 @@ paths: description: Response content: application/json: - schema: *679 + schema: *683 examples: - default: *680 + default: *684 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *678 + '410': *682 '422': *15 '404': *6 x-github: @@ -99611,9 +100915,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: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - *17 - *19 responses: @@ -99625,12 +100929,12 @@ paths: type: array items: *229 examples: - default: *689 + default: *693 headers: Link: *47 - '301': *491 + '301': *498 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99658,9 +100962,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: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: true content: @@ -99684,15 +100988,15 @@ paths: application/json: schema: *229 examples: - default: *686 + default: *690 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *491 + '301': *498 '403': *29 - '410': *678 + '410': *682 '422': *15 '404': *6 x-github: @@ -99723,9 +101027,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: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -99739,13 +101043,13 @@ paths: application/json: schema: *229 examples: - default: *686 - '301': *491 + default: *690 + '301': *498 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *678 + '410': *682 x-github: triggersNotification: true githubCloudOnly: false @@ -99771,9 +101075,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: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - *17 - *19 responses: @@ -99785,12 +101089,12 @@ paths: type: array items: *229 examples: - default: *689 + default: *693 headers: Link: *47 - '301': *491 + '301': *498 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99807,9 +101111,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - *17 - *19 responses: @@ -99823,7 +101127,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &693 + - &697 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -99877,7 +101181,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &694 + - &698 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -100013,7 +101317,7 @@ paths: - performed_via_github_app - assignee - assigner - - &695 + - &699 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -100064,7 +101368,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &696 + - &700 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -100115,7 +101419,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &697 + - &701 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -100169,7 +101473,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &698 + - &702 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -100203,7 +101507,7 @@ paths: properties: *224 required: *225 review_requester: *4 - requested_team: *319 + requested_team: *326 requested_reviewer: *4 required: - review_requester @@ -100216,7 +101520,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &699 + - &703 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -100250,7 +101554,7 @@ paths: properties: *224 required: *225 review_requester: *4 - requested_team: *319 + requested_team: *326 requested_reviewer: *4 required: - review_requester @@ -100263,7 +101567,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &700 + - &704 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -100323,7 +101627,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &701 + - &705 title: Locked Issue Event description: Locked Issue Event type: object @@ -100371,7 +101675,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &702 + - &706 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -100437,7 +101741,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &703 + - &707 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -100503,7 +101807,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &704 + - &708 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -100569,7 +101873,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &705 + - &709 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -100660,7 +101964,7 @@ paths: color: red headers: Link: *47 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100677,9 +101981,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: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - *17 - *19 responses: @@ -100689,9 +101993,9 @@ paths: application/json: schema: type: array - items: *690 + items: *694 examples: - default: &691 + default: &695 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -100715,9 +102019,9 @@ paths: value: '2025-12-25' headers: Link: *47 - '301': *491 + '301': *498 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100746,9 +102050,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: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: true content: @@ -100812,9 +102116,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *690 + items: *694 examples: - default: *691 + default: *695 '400': *14 '403': *29 '404': *6 @@ -100850,9 +102154,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: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: true content: @@ -100917,9 +102221,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *690 + items: *694 examples: - default: *691 + default: *695 '400': *14 '403': *29 '404': *6 @@ -100950,10 +102254,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: - - *485 - - *486 - - *687 - - *393 + - *492 + - *493 + - *691 + - *400 responses: '204': description: Issue field value deleted successfully @@ -100978,9 +102282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - *17 - *19 responses: @@ -100992,7 +102296,7 @@ paths: type: array items: *228 examples: - default: &692 + default: &696 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -101010,9 +102314,9 @@ paths: default: false headers: Link: *47 - '301': *491 + '301': *498 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101028,9 +102332,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: false content: @@ -101075,10 +102379,10 @@ paths: type: array items: *228 examples: - default: *692 - '301': *491 + default: *696 + '301': *498 '404': *6 - '410': *678 + '410': *682 '422': *15 x-github: githubCloudOnly: false @@ -101095,9 +102399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: false content: @@ -101159,10 +102463,10 @@ paths: type: array items: *228 examples: - default: *692 - '301': *491 + default: *696 + '301': *498 '404': *6 - '410': *678 + '410': *682 '422': *15 x-github: githubCloudOnly: false @@ -101179,15 +102483,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 responses: '204': description: Response - '301': *491 + '301': *498 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101206,9 +102510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - name: name in: path required: true @@ -101232,9 +102536,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *491 + '301': *498 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101254,9 +102558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: false content: @@ -101284,7 +102588,7 @@ paths: '204': description: Response '403': *29 - '410': *678 + '410': *682 '404': *6 '422': *15 x-github: @@ -101302,9 +102606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 responses: '204': description: Response @@ -101334,9 +102638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 responses: '200': description: Response @@ -101344,10 +102648,10 @@ paths: application/json: schema: *229 examples: - default: *686 - '301': *491 + default: *690 + '301': *498 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101364,9 +102668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - 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. @@ -101392,13 +102696,13 @@ paths: application/json: schema: type: array - items: *600 + items: *606 examples: - default: *681 + default: *685 headers: Link: *47 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101416,9 +102720,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: true content: @@ -101450,16 +102754,16 @@ paths: description: Response content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '201': description: Response content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -101481,10 +102785,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *485 - - *486 - - *687 - - *682 + - *492 + - *493 + - *691 + - *686 responses: '204': description: Response @@ -101513,9 +102817,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: true content: @@ -101539,7 +102843,7 @@ paths: application/json: schema: *229 examples: - default: *686 + default: *690 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -101572,9 +102876,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - *17 - *19 responses: @@ -101586,11 +102890,11 @@ paths: type: array items: *229 examples: - default: *689 + default: *693 headers: Link: *47 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101618,9 +102922,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: true content: @@ -101649,14 +102953,14 @@ paths: application/json: schema: *229 examples: - default: *686 + default: *690 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *678 + '410': *682 '422': *15 '404': *6 x-github: @@ -101676,9 +102980,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 requestBody: required: true content: @@ -101711,7 +103015,7 @@ paths: application/json: schema: *229 examples: - default: *686 + default: *690 '403': *29 '404': *6 '422': *7 @@ -101733,9 +103037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *485 - - *486 - - *687 + - *492 + - *493 + - *691 - *17 - *19 responses: @@ -101750,10 +103054,6 @@ paths: description: Timeline Event type: object anyOf: - - *693 - - *694 - - *695 - - *696 - *697 - *698 - *699 @@ -101763,6 +103063,10 @@ paths: - *703 - *704 - *705 + - *706 + - *707 + - *708 + - *709 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -101823,8 +103127,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *706 - required: *707 + properties: *710 + required: *711 nullable: true required: - event @@ -102079,7 +103383,7 @@ paths: type: string comments: type: array - items: &729 + items: &733 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -102294,7 +103598,7 @@ paths: type: string comments: type: array - items: *599 + items: *605 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -102583,7 +103887,7 @@ paths: headers: Link: *47 '404': *6 - '410': *678 + '410': *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102600,8 +103904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -102611,7 +103915,7 @@ paths: application/json: schema: type: array - items: &708 + items: &712 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -102677,8 +103981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -102714,9 +104018,9 @@ paths: description: Response content: application/json: - schema: *708 + schema: *712 examples: - default: &709 + default: &713 value: id: 1 key: ssh-rsa AAA... @@ -102750,9 +104054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *485 - - *486 - - &710 + - *492 + - *493 + - &714 name: key_id description: The unique identifier of the key. in: path @@ -102764,9 +104068,9 @@ paths: description: Response content: application/json: - schema: *708 + schema: *712 examples: - default: *709 + default: *713 '404': *6 x-github: githubCloudOnly: false @@ -102784,9 +104088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *485 - - *486 - - *710 + - *492 + - *493 + - *714 responses: '204': description: Response @@ -102806,8 +104110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -102819,7 +104123,7 @@ paths: type: array items: *228 examples: - default: *692 + default: *696 headers: Link: *47 '404': *6 @@ -102840,8 +104144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -102879,7 +104183,7 @@ paths: application/json: schema: *228 examples: - default: &711 + default: &715 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -102911,8 +104215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *485 - - *486 + - *492 + - *493 - name: name in: path required: true @@ -102925,7 +104229,7 @@ paths: application/json: schema: *228 examples: - default: *711 + default: *715 '404': *6 x-github: githubCloudOnly: false @@ -102942,8 +104246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *485 - - *486 + - *492 + - *493 - name: name in: path required: true @@ -103008,8 +104312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *485 - - *486 + - *492 + - *493 - name: name in: path required: true @@ -103035,8 +104339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -103072,8 +104376,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 responses: '202': *39 '403': @@ -103101,8 +104405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -103128,9 +104432,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *485 - - *486 - - *572 + - *492 + - *493 + - *578 responses: '200': description: Response @@ -103275,8 +104579,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -103341,8 +104645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -103376,9 +104680,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *602 + schema: *608 examples: - default: *712 + default: *716 '204': description: Response when already merged '404': @@ -103403,8 +104707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *485 - - *486 + - *492 + - *493 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -103445,12 +104749,12 @@ paths: application/json: schema: type: array - items: &713 + items: &717 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *429 - required: *430 + properties: *436 + required: *437 examples: default: value: @@ -103506,8 +104810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -103547,9 +104851,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: &714 + default: &718 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -103608,9 +104912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *485 - - *486 - - &715 + - *492 + - *493 + - &719 name: milestone_number description: The number that identifies the milestone. in: path @@ -103622,9 +104926,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: *714 + default: *718 '404': *6 x-github: githubCloudOnly: false @@ -103641,9 +104945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *485 - - *486 - - *715 + - *492 + - *493 + - *719 requestBody: required: false content: @@ -103681,9 +104985,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: *714 + default: *718 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103699,9 +105003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *485 - - *486 - - *715 + - *492 + - *493 + - *719 responses: '204': description: Response @@ -103722,9 +105026,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: - - *485 - - *486 - - *715 + - *492 + - *493 + - *719 - *17 - *19 responses: @@ -103736,7 +105040,7 @@ paths: type: array items: *228 examples: - default: *692 + default: *696 headers: Link: *47 x-github: @@ -103755,12 +105059,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: - - *485 - - *486 - - *716 - - *717 + - *492 + - *493 + - *720 + - *721 - *236 - - *718 + - *722 - *17 - *19 responses: @@ -103772,7 +105076,7 @@ paths: type: array items: *256 examples: - default: *719 + default: *723 headers: Link: *47 x-github: @@ -103796,8 +105100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: false content: @@ -103855,14 +105159,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: &720 + schema: &724 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -103987,7 +105291,7 @@ paths: - custom_404 - public examples: - default: &721 + default: &725 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -104028,8 +105332,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -104083,9 +105387,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *724 examples: - default: *721 + default: *725 '422': *15 '409': *121 x-github: @@ -104108,8 +105412,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -104216,8 +105520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -104243,8 +105547,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -104254,7 +105558,7 @@ paths: application/json: schema: type: array - items: &722 + items: &726 title: Page Build description: Page Build type: object @@ -104348,8 +105652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *485 - - *486 + - *492 + - *493 responses: '201': description: Response @@ -104394,16 +105698,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: *722 + schema: *726 examples: - default: &723 + default: &727 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -104451,8 +105755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *485 - - *486 + - *492 + - *493 - name: build_id in: path required: true @@ -104463,9 +105767,9 @@ paths: description: Response content: application/json: - schema: *722 + schema: *726 examples: - default: *723 + default: *727 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104485,8 +105789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -104591,9 +105895,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: - - *485 - - *486 - - &724 + - *492 + - *493 + - &728 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -104651,9 +105955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *485 - - *486 - - *724 + - *492 + - *493 + - *728 responses: '204': *130 '404': *6 @@ -104680,8 +105984,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -104939,8 +106243,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Private vulnerability reporting status @@ -104977,8 +106281,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: - - *485 - - *486 + - *492 + - *493 responses: '204': *130 '422': *14 @@ -104999,8 +106303,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: - - *485 - - *486 + - *492 + - *493 responses: '204': *130 '422': *14 @@ -105022,8 +106326,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -105033,7 +106337,7 @@ paths: type: array items: *160 examples: - default: *725 + default: *729 '403': *29 '404': *6 x-github: @@ -105055,8 +106359,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -105072,7 +106376,7 @@ paths: required: - properties examples: - default: *726 + default: *730 responses: '204': description: No Content when custom property values are successfully created @@ -105110,8 +106414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *485 - - *486 + - *492 + - *493 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -105171,9 +106475,9 @@ paths: application/json: schema: type: array - items: *606 + items: *612 examples: - default: *727 + default: *731 headers: Link: *47 '304': *37 @@ -105205,8 +106509,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -105271,7 +106575,7 @@ paths: description: Response content: application/json: - schema: &731 + schema: &735 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -105382,8 +106686,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *429 - required: *430 + properties: *436 + required: *437 nullable: true active_lock_reason: type: string @@ -105415,7 +106719,7 @@ paths: items: *4 requested_teams: type: array - items: *469 + items: *476 head: type: object properties: @@ -105453,14 +106757,14 @@ paths: _links: type: object properties: - comments: *431 - commits: *431 - statuses: *431 - html: *431 - issue: *431 - review_comments: *431 - review_comment: *431 - self: *431 + comments: *438 + commits: *438 + statuses: *438 + html: *438 + issue: *438 + review_comments: *438 + review_comment: *438 + self: *438 required: - comments - commits @@ -105471,7 +106775,7 @@ paths: - review_comment - self author_association: *226 - auto_merge: *728 + auto_merge: *732 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -105561,7 +106865,7 @@ paths: - merged_by - review_comments examples: - default: &732 + default: &736 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -106068,8 +107372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *485 - - *486 + - *492 + - *493 - name: sort in: query required: false @@ -106098,9 +107402,9 @@ paths: application/json: schema: type: array - items: *729 + items: *733 examples: - default: &734 + default: &738 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -106177,17 +107481,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: - - *485 - - *486 + - *492 + - *493 - *245 responses: '200': description: Response content: application/json: - schema: *729 + schema: *733 examples: - default: &730 + default: &734 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -106262,8 +107566,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: - - *485 - - *486 + - *492 + - *493 - *245 requestBody: required: true @@ -106286,9 +107590,9 @@ paths: description: Response content: application/json: - schema: *729 + schema: *733 examples: - default: *730 + default: *734 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106304,8 +107608,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: - - *485 - - *486 + - *492 + - *493 - *245 responses: '204': @@ -106327,8 +107631,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: - - *485 - - *486 + - *492 + - *493 - *245 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -106355,9 +107659,9 @@ paths: application/json: schema: type: array - items: *600 + items: *606 examples: - default: *681 + default: *685 headers: Link: *47 '404': *6 @@ -106378,8 +107682,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: - - *485 - - *486 + - *492 + - *493 - *245 requestBody: required: true @@ -106412,16 +107716,16 @@ paths: description: Reaction exists content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '201': description: Reaction created content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -106443,10 +107747,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *485 - - *486 + - *492 + - *493 - *245 - - *682 + - *686 responses: '204': description: Response @@ -106489,9 +107793,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *485 - - *486 - - &733 + - *492 + - *493 + - &737 name: pull_number description: The number that identifies the pull request. in: path @@ -106504,9 +107808,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *731 + schema: *735 examples: - default: *732 + default: *736 '304': *37 '404': *6 '406': @@ -106541,9 +107845,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 requestBody: required: false content: @@ -106585,9 +107889,9 @@ paths: description: Response content: application/json: - schema: *731 + schema: *735 examples: - default: *732 + default: *736 '422': *15 '403': *29 x-github: @@ -106609,9 +107913,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#archive-a-pull-request parameters: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 responses: '204': description: Response @@ -106636,9 +107940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#unarchive-a-pull-request parameters: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 responses: '204': description: Response @@ -106664,9 +107968,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: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 requestBody: required: true content: @@ -106726,17 +108030,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '401': *25 '403': *29 '404': *6 @@ -106766,9 +108070,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: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 - *253 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -106789,9 +108093,9 @@ paths: application/json: schema: type: array - items: *729 + items: *733 examples: - default: *734 + default: *738 headers: Link: *47 x-github: @@ -106824,9 +108128,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: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 requestBody: required: true content: @@ -106931,7 +108235,7 @@ paths: description: Response content: application/json: - schema: *729 + schema: *733 examples: example-for-a-multi-line-comment: value: @@ -107019,9 +108323,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: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 - *245 requestBody: required: true @@ -107044,7 +108348,7 @@ paths: description: Response content: application/json: - schema: *729 + schema: *733 examples: default: value: @@ -107130,9 +108434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 - *17 - *19 responses: @@ -107142,9 +108446,9 @@ paths: application/json: schema: type: array - items: *602 + items: *608 examples: - default: *735 + default: *739 headers: Link: *47 x-github: @@ -107174,9 +108478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 - *17 - *19 responses: @@ -107186,7 +108490,7 @@ paths: application/json: schema: type: array - items: *615 + items: *621 examples: default: value: @@ -107224,9 +108528,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: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 responses: '204': description: Response if pull request has been merged @@ -107249,9 +108553,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 requestBody: required: false content: @@ -107362,9 +108666,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: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 responses: '200': description: Response @@ -107380,7 +108684,7 @@ paths: items: *4 teams: type: array - items: *319 + items: *326 required: - users - teams @@ -107439,9 +108743,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: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 requestBody: required: false content: @@ -107478,7 +108782,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *612 examples: default: value: @@ -108014,9 +109318,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: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 requestBody: required: true content: @@ -108050,7 +109354,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *612 examples: default: value: @@ -108535,9 +109839,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 - *17 - *19 responses: @@ -108547,7 +109851,7 @@ paths: application/json: schema: type: array - items: &736 + items: &740 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -108698,9 +110002,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: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 requestBody: required: false content: @@ -108786,9 +110090,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *740 examples: - default: &738 + default: &742 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -108851,10 +110155,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: - - *485 - - *486 - - *733 - - &737 + - *492 + - *493 + - *737 + - &741 name: review_id description: The unique identifier of the review. in: path @@ -108866,9 +110170,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *740 examples: - default: &739 + default: &743 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -108927,10 +110231,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: - - *485 - - *486 - - *733 + - *492 + - *493 - *737 + - *741 requestBody: required: true content: @@ -108953,7 +110257,7 @@ paths: description: Response content: application/json: - schema: *736 + schema: *740 examples: default: value: @@ -109015,18 +110319,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: - - *485 - - *486 - - *733 + - *492 + - *493 - *737 + - *741 responses: '200': description: Response content: application/json: - schema: *736 + schema: *740 examples: - default: *738 + default: *742 '422': *7 '404': *6 x-github: @@ -109053,10 +110357,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: - - *485 - - *486 - - *733 + - *492 + - *493 - *737 + - *741 - *17 - *19 responses: @@ -109139,9 +110443,9 @@ paths: _links: type: object properties: - self: *431 - html: *431 - pull_request: *431 + self: *438 + html: *438 + pull_request: *438 required: - self - html @@ -109291,10 +110595,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: - - *485 - - *486 - - *733 + - *492 + - *493 - *737 + - *741 requestBody: required: true content: @@ -109322,7 +110626,7 @@ paths: description: Response content: application/json: - schema: *736 + schema: *740 examples: default: value: @@ -109385,10 +110689,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: - - *485 - - *486 - - *733 + - *492 + - *493 - *737 + - *741 requestBody: required: true content: @@ -109423,9 +110727,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *740 examples: - default: *739 + default: *743 '404': *6 '422': *7 '403': *29 @@ -109447,9 +110751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *485 - - *486 - - *733 + - *492 + - *493 + - *737 requestBody: required: false content: @@ -109512,8 +110816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *485 - - *486 + - *492 + - *493 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -109526,9 +110830,9 @@ paths: description: Response content: application/json: - schema: *740 + schema: *744 examples: - default: &741 + default: &745 value: type: file encoding: base64 @@ -109570,8 +110874,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: - - *485 - - *486 + - *492 + - *493 - name: dir description: The alternate path to look for a README file in: path @@ -109591,9 +110895,9 @@ paths: description: Response content: application/json: - schema: *740 + schema: *744 examples: - default: *741 + default: *745 '404': *6 '422': *15 x-github: @@ -109615,8 +110919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -109626,7 +110930,7 @@ paths: application/json: schema: type: array - items: *742 + items: *746 examples: default: value: @@ -109720,8 +111024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -109797,9 +111101,9 @@ paths: description: Response content: application/json: - schema: *742 + schema: *746 examples: - default: &746 + default: &750 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -109904,9 +111208,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *485 - - *486 - - &744 + - *492 + - *493 + - &748 name: asset_id description: The unique identifier of the asset. in: path @@ -109918,9 +111222,9 @@ paths: description: Response content: application/json: - schema: *743 + schema: *747 examples: - default: &745 + default: &749 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 @@ -109955,7 +111259,7 @@ paths: type: User site_admin: false '404': *6 - '302': *619 + '302': *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109971,9 +111275,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *485 - - *486 - - *744 + - *492 + - *493 + - *748 requestBody: required: false content: @@ -110001,9 +111305,9 @@ paths: description: Response content: application/json: - schema: *743 + schema: *747 examples: - default: *745 + default: *749 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110019,9 +111323,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *485 - - *486 - - *744 + - *492 + - *493 + - *748 responses: '204': description: Response @@ -110046,8 +111350,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -110132,16 +111436,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response content: application/json: - schema: *742 + schema: *746 examples: - default: *746 + default: *750 '404': *6 x-github: githubCloudOnly: false @@ -110159,8 +111463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *485 - - *486 + - *492 + - *493 - name: tag description: tag parameter in: path @@ -110173,9 +111477,9 @@ paths: description: Response content: application/json: - schema: *742 + schema: *746 examples: - default: *746 + default: *750 '404': *6 x-github: githubCloudOnly: false @@ -110197,9 +111501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *485 - - *486 - - &747 + - *492 + - *493 + - &751 name: release_id description: The unique identifier of the release. in: path @@ -110213,9 +111517,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: *742 + schema: *746 examples: - default: *746 + default: *750 '401': description: Unauthorized x-github: @@ -110233,9 +111537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *485 - - *486 - - *747 + - *492 + - *493 + - *751 requestBody: required: false content: @@ -110299,9 +111603,9 @@ paths: description: Response content: application/json: - schema: *742 + schema: *746 examples: - default: *746 + default: *750 '404': description: Not Found if the discussion category name is invalid content: @@ -110322,9 +111626,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *485 - - *486 - - *747 + - *492 + - *493 + - *751 responses: '204': description: Response @@ -110345,9 +111649,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *485 - - *486 - - *747 + - *492 + - *493 + - *751 - *17 - *19 responses: @@ -110357,7 +111661,7 @@ paths: application/json: schema: type: array - items: *743 + items: *747 examples: default: value: @@ -110439,9 +111743,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: - - *485 - - *486 - - *747 + - *492 + - *493 + - *751 - name: name in: query required: true @@ -110467,7 +111771,7 @@ paths: description: Response for successful upload content: application/json: - schema: *743 + schema: *747 examples: response-for-successful-upload: value: @@ -110522,9 +111826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *485 - - *486 - - *747 + - *492 + - *493 + - *751 - 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. @@ -110548,9 +111852,9 @@ paths: application/json: schema: type: array - items: *600 + items: *606 examples: - default: *681 + default: *685 headers: Link: *47 '404': *6 @@ -110571,9 +111875,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *485 - - *486 - - *747 + - *492 + - *493 + - *751 requestBody: required: true content: @@ -110603,16 +111907,16 @@ paths: description: Reaction exists content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '201': description: Reaction created content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -110634,10 +111938,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *485 - - *486 - - *747 - - *682 + - *492 + - *493 + - *751 + - *686 responses: '204': description: Response @@ -110661,9 +111965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *485 - - *486 - - *538 + - *492 + - *493 + - *544 - *17 - *19 responses: @@ -110680,7 +111984,7 @@ paths: oneOf: - allOf: - *174 - - &748 + - &752 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -110701,67 +112005,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *175 - - *748 + - *752 - allOf: - *176 - - *748 + - *752 - allOf: - *177 - - *748 + - *752 - allOf: - - *749 - - *748 + - *753 + - *752 - allOf: - *178 - - *748 + - *752 - allOf: - *179 - - *748 + - *752 - allOf: - *180 - - *748 + - *752 - allOf: - *181 - - *748 + - *752 - allOf: - *182 - - *748 + - *752 - allOf: - *183 - - *748 + - *752 - allOf: - *184 - - *748 + - *752 - allOf: - *185 - - *748 + - *752 - allOf: - *186 - - *748 + - *752 - allOf: - *187 - - *748 + - *752 - allOf: - *188 - - *748 + - *752 - allOf: - *189 - - *748 + - *752 - allOf: - *190 - - *748 + - *752 - allOf: - *191 - - *748 + - *752 - allOf: - *192 - - *748 + - *752 - allOf: - *193 - - *748 + - *752 - allOf: - *194 - - *748 + - *752 examples: default: value: @@ -110800,8 +112104,8 @@ paths: category: repos subcategory: rules parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 - name: includes_parents @@ -110812,7 +112116,7 @@ paths: schema: type: boolean default: true - - *750 + - *754 responses: '200': description: Response @@ -110867,8 +112171,8 @@ paths: category: repos subcategory: rules parameters: - - *485 - - *486 + - *492 + - *493 requestBody: description: Request body required: true @@ -110897,7 +112201,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *751 + items: *755 required: - name - enforcement @@ -110930,7 +112234,7 @@ paths: application/json: schema: *195 examples: - default: &760 + default: &764 value: id: 42 name: super cool ruleset @@ -110978,12 +112282,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *485 - - *486 - - *752 + - *492 + - *493 + - *756 - *107 - - *753 - - *754 + - *757 + - *758 - *17 - *19 responses: @@ -110991,9 +112295,9 @@ paths: description: Response content: application/json: - schema: *755 + schema: *759 examples: - default: *756 + default: *760 '404': *6 '500': *40 x-github: @@ -111014,17 +112318,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *485 - - *486 - - *757 + - *492 + - *493 + - *761 responses: '200': description: Response content: application/json: - schema: *758 + schema: *762 examples: - default: *759 + default: *763 '404': *6 '500': *40 x-github: @@ -111052,8 +112356,8 @@ paths: category: repos subcategory: rules parameters: - - *485 - - *486 + - *492 + - *493 - name: ruleset_id description: The ID of the ruleset. in: path @@ -111075,7 +112379,7 @@ paths: application/json: schema: *195 examples: - default: *760 + default: *764 '404': *6 '500': *40 put: @@ -111093,8 +112397,8 @@ paths: category: repos subcategory: rules parameters: - - *485 - - *486 + - *492 + - *493 - name: ruleset_id description: The ID of the ruleset. in: path @@ -111128,7 +112432,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *751 + items: *755 examples: default: value: @@ -111158,7 +112462,7 @@ paths: application/json: schema: *195 examples: - default: *760 + default: *764 '404': *6 '422': *15 '500': *40 @@ -111177,8 +112481,8 @@ paths: category: repos subcategory: rules parameters: - - *485 - - *486 + - *492 + - *493 - name: ruleset_id description: The ID of the ruleset. in: path @@ -111201,8 +112505,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 - name: ruleset_id @@ -111220,7 +112524,7 @@ paths: type: array items: *199 examples: - default: *449 + default: *456 '404': *6 '500': *40 x-github: @@ -111239,8 +112543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *485 - - *486 + - *492 + - *493 - name: ruleset_id description: The ID of the ruleset. in: path @@ -111258,7 +112562,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *457 examples: default: value: @@ -111313,26 +112617,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: - - *485 - - *486 - - *451 - - *452 - - *453 - - *454 - - *455 - - *456 - - *457 + - *492 + - *493 - *458 - - *112 - - *19 - - *17 - - *761 - - *762 - *459 - *460 - *461 - *462 - *463 + - *464 + - *465 + - *112 + - *19 + - *17 + - *765 + - *766 + - *466 + - *467 + - *468 + - *469 + - *470 responses: '200': description: Response @@ -111340,7 +112644,7 @@ paths: application/json: schema: type: array - items: &766 + items: &770 type: object properties: number: *131 @@ -111359,8 +112663,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *763 - resolution: *764 + state: *767 + resolution: *768 resolved_at: type: string format: date-time @@ -111466,7 +112770,7 @@ paths: pull request. ' - oneOf: *765 + oneOf: *769 nullable: true has_more_locations: type: boolean @@ -111630,16 +112934,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: - - *485 - - *486 - - *566 - - *462 + - *492 + - *493 + - *572 + - *469 responses: '200': description: Response content: application/json: - schema: *766 + schema: *770 examples: default: value: @@ -111693,9 +112997,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: - - *485 - - *486 - - *566 + - *492 + - *493 + - *572 requestBody: required: true content: @@ -111703,8 +113007,8 @@ paths: schema: type: object properties: - state: *763 - resolution: *764 + state: *767 + resolution: *768 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -111748,7 +113052,7 @@ paths: description: Response content: application/json: - schema: *766 + schema: *770 examples: default: value: @@ -111847,9 +113151,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: - - *485 - - *486 - - *566 + - *492 + - *493 + - *572 - *19 - *17 responses: @@ -111860,7 +113164,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &953 + items: &957 type: object properties: type: @@ -111886,10 +113190,6 @@ paths: example: commit details: oneOf: - - *767 - - *768 - - *769 - - *770 - *771 - *772 - *773 @@ -111899,6 +113199,10 @@ paths: - *777 - *778 - *779 + - *780 + - *781 + - *782 + - *783 examples: default: value: @@ -111984,8 +113288,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -111993,14 +113297,14 @@ paths: schema: type: object properties: - reason: &781 + reason: &785 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *780 + placeholder_id: *784 required: - reason - placeholder_id @@ -112017,7 +113321,7 @@ paths: schema: type: object properties: - reason: *781 + reason: *785 expire_at: type: string format: date-time @@ -112063,8 +113367,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: - - *485 - - *486 + - *492 + - *493 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -112079,7 +113383,7 @@ paths: properties: incremental_scans: type: array - items: &782 + items: &786 description: Information on a single scan performed by secret scanning on the repository type: object @@ -112105,15 +113409,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *782 + items: *786 backfill_scans: type: array - items: *782 + items: *786 custom_pattern_backfill_scans: type: array items: allOf: - - *782 + - *786 - type: object properties: pattern_name: @@ -112126,7 +113430,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *782 + items: *786 examples: default: value: @@ -112191,8 +113495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *485 - - *486 + - *492 + - *493 - *112 - name: sort description: The property to sort the results by. @@ -112236,9 +113540,9 @@ paths: application/json: schema: type: array - items: *783 + items: *787 examples: - default: *784 + default: *788 '400': *14 '404': *6 x-github: @@ -112261,8 +113565,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -112335,7 +113639,7 @@ paths: login: type: string description: The username of the user credited. - type: *468 + type: *475 required: - login - type @@ -112422,9 +113726,9 @@ paths: description: Response content: application/json: - schema: *783 + schema: *787 examples: - default: &786 + default: &790 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -112654,8 +113958,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: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -112759,7 +114063,7 @@ paths: description: Response content: application/json: - schema: *783 + schema: *787 examples: default: value: @@ -112905,17 +114209,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: - - *485 - - *486 - - *785 + - *492 + - *493 + - *789 responses: '200': description: Response content: application/json: - schema: *783 + schema: *787 examples: - default: *786 + default: *790 '403': *29 '404': *6 x-github: @@ -112939,9 +114243,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: - - *485 - - *486 - - *785 + - *492 + - *493 + - *789 requestBody: required: true content: @@ -113014,7 +114318,7 @@ paths: login: type: string description: The username of the user credited. - type: *468 + type: *475 required: - login - type @@ -113100,10 +114404,10 @@ paths: description: Response content: application/json: - schema: *783 + schema: *787 examples: - default: *786 - add_credit: *786 + default: *790 + add_credit: *790 '403': *29 '404': *6 '422': @@ -113141,9 +114445,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: - - *485 - - *486 - - *785 + - *492 + - *493 + - *789 responses: '202': *39 '400': *14 @@ -113170,17 +114474,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: - - *485 - - *486 - - *785 + - *492 + - *493 + - *789 responses: '202': description: Response content: application/json: - schema: *490 + schema: *497 examples: - default: *492 + default: *499 '400': *14 '422': *15 '403': *29 @@ -113206,8 +114510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -113306,8 +114610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -113316,7 +114620,7 @@ paths: application/json: schema: type: array - items: &787 + items: &791 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -113349,8 +114653,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -113426,8 +114730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -113523,8 +114827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -113678,8 +114982,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: - - *485 - - *486 + - *492 + - *493 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -113689,7 +114993,7 @@ paths: application/json: schema: type: array - items: *787 + items: *791 examples: default: value: @@ -113722,8 +115026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *485 - - *486 + - *492 + - *493 - name: sha in: path required: true @@ -113777,7 +115081,7 @@ paths: description: Response content: application/json: - schema: *788 + schema: *792 examples: default: value: @@ -113831,8 +115135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -113864,14 +115168,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &789 + schema: &793 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -113939,8 +115243,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: false content: @@ -113966,7 +115270,7 @@ paths: description: Response content: application/json: - schema: *789 + schema: *793 examples: default: value: @@ -113993,8 +115297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -114014,8 +115318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -114094,8 +115398,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *485 - - *486 + - *492 + - *493 - name: ref in: path required: true @@ -114131,8 +115435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *485 - - *486 + - *492 + - *493 - *17 - *19 responses: @@ -114142,9 +115446,9 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: - default: *409 + default: *416 headers: Link: *47 '404': *6 @@ -114164,8 +115468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *485 - - *486 + - *492 + - *493 - *19 - *17 responses: @@ -114173,7 +115477,7 @@ paths: description: Response content: application/json: - schema: &790 + schema: &794 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -114185,7 +115489,7 @@ paths: required: - names examples: - default: &791 + default: &795 value: names: - octocat @@ -114208,8 +115512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -114240,9 +115544,9 @@ paths: description: Response content: application/json: - schema: *790 + schema: *794 examples: - default: *791 + default: *795 '404': *6 '422': *7 x-github: @@ -114263,9 +115567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *485 - - *486 - - &792 + - *492 + - *493 + - &796 name: per description: The time frame to display results for. in: query @@ -114294,7 +115598,7 @@ paths: example: 128 clones: type: array - items: &793 + items: &797 title: Traffic type: object properties: @@ -114381,8 +115685,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -114472,8 +115776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *485 - - *486 + - *492 + - *493 responses: '200': description: Response @@ -114533,9 +115837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *485 - - *486 - - *792 + - *492 + - *493 + - *796 responses: '200': description: Response @@ -114554,7 +115858,7 @@ paths: example: 3782 views: type: array - items: *793 + items: *797 required: - uniques - count @@ -114631,8 +115935,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *485 - - *486 + - *492 + - *493 requestBody: required: true content: @@ -114905,8 +116209,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: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -114929,8 +116233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -114952,8 +116256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -114979,8 +116283,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *485 - - *486 + - *492 + - *493 - name: ref in: path required: true @@ -115072,9 +116376,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *497 examples: - default: *492 + default: *499 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -115225,7 +116529,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &801 + - &805 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -115234,7 +116538,7 @@ paths: schema: type: string example: members - - &806 + - &810 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -115245,7 +116549,7 @@ paths: default: 1 format: int32 example: 1 - - &807 + - &811 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -115287,7 +116591,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &796 + items: &800 allOf: - type: object required: @@ -115362,7 +116666,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: &808 + meta: &812 type: object description: The metadata associated with the creation/updates to the user. @@ -115422,30 +116726,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &797 + '400': &801 description: Bad request content: application/json: - schema: *794 + schema: *798 application/scim+json: - schema: *794 - '401': *795 - '403': &798 + schema: *798 + '401': *799 + '403': &802 description: Permission denied - '429': &799 + '429': &803 description: Too many requests content: application/json: - schema: *794 + schema: *798 application/scim+json: - schema: *794 - '500': &800 + schema: *798 + '500': &804 description: Internal server error content: application/json: - schema: *794 + schema: *798 application/scim+json: - schema: *794 + schema: *798 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -115469,7 +116773,7 @@ paths: required: true content: application/json: - schema: &804 + schema: &808 type: object required: - schemas @@ -115529,9 +116833,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *796 + schema: *800 examples: - group: &802 + group: &806 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -115550,13 +116854,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': *797 - '401': *795 - '403': *798 - '409': &805 + '400': *801 + '401': *799 + '403': *802 + '409': &809 description: Duplicate record detected - '429': *799 - '500': *800 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -115573,7 +116877,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: - - &803 + - &807 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -115581,22 +116885,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *801 + - *805 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *796 + schema: *800 examples: - default: *802 - '400': *797 - '401': *795 - '403': *798 + default: *806 + '400': *801 + '401': *799 + '403': *802 '404': *6 - '429': *799 - '500': *800 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -115615,13 +116919,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: - - *803 + - *807 - *41 requestBody: required: true content: application/json: - schema: *804 + schema: *808 examples: group: summary: Group @@ -115647,17 +116951,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *796 + schema: *800 examples: - group: *802 - groupWithMembers: *802 - '400': *797 - '401': *795 - '403': *798 + group: *806 + groupWithMembers: *806 + '400': *801 + '401': *799 + '403': *802 '404': *6 - '409': *805 - '429': *799 - '500': *800 + '409': *809 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -115681,13 +116985,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: - - *803 + - *807 - *41 requestBody: required: true content: application/json: - schema: &815 + schema: &819 type: object required: - Operations @@ -115747,17 +117051,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *796 + schema: *800 examples: - updateGroup: *802 - addMembers: *802 - '400': *797 - '401': *795 - '403': *798 + updateGroup: *806 + addMembers: *806 + '400': *801 + '401': *799 + '403': *802 '404': *6 - '409': *805 - '429': *799 - '500': *800 + '409': *809 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -115773,17 +117077,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: - - *803 + - *807 - *41 responses: '204': description: Group was deleted, no content - '400': *797 - '401': *795 - '403': *798 + '400': *801 + '401': *799 + '403': *802 '404': *6 - '429': *799 - '500': *800 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -115817,8 +117121,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *806 - - *807 + - *810 + - *811 - *41 responses: '200': @@ -115851,7 +117155,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &810 + items: &814 allOf: - type: object required: @@ -115930,7 +117234,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &809 + roles: &813 type: array description: The roles assigned to the user. items: @@ -115986,7 +117290,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *808 + meta: *812 startIndex: type: integer description: A starting index for the returned page @@ -116023,11 +117327,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *797 - '401': *795 - '403': *798 - '429': *799 - '500': *800 + '400': *801 + '401': *799 + '403': *802 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -116051,7 +117355,7 @@ paths: required: true content: application/json: - schema: &813 + schema: &817 type: object required: - schemas @@ -116133,9 +117437,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *809 + roles: *813 examples: - user: &814 + user: &818 summary: User value: schemas: @@ -116182,9 +117486,9 @@ paths: description: User has been created content: application/scim+json: - schema: *810 + schema: *814 examples: - user: &811 + user: &815 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -116210,13 +117514,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: *811 - '400': *797 - '401': *795 - '403': *798 - '409': *805 - '429': *799 - '500': *800 + enterpriseOwner: *815 + '400': *801 + '401': *799 + '403': *802 + '409': *809 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -116233,7 +117537,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: - - &812 + - &816 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -116246,15 +117550,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *810 + schema: *814 examples: - default: *811 - '400': *797 - '401': *795 - '403': *798 + default: *815 + '400': *801 + '401': *799 + '403': *802 '404': *6 - '429': *799 - '500': *800 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -116305,30 +117609,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: - - *812 + - *816 - *41 requestBody: required: true content: application/json: - schema: *813 + schema: *817 examples: - user: *814 + user: *818 responses: '200': description: User was updated content: application/scim+json: - schema: *810 + schema: *814 examples: - user: *811 - '400': *797 - '401': *795 - '403': *798 + user: *815 + '400': *801 + '401': *799 + '403': *802 '404': *6 - '409': *805 - '429': *799 - '500': *800 + '409': *809 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -116369,13 +117673,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: - - *812 + - *816 - *41 requestBody: required: true content: application/json: - schema: *815 + schema: *819 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -116415,18 +117719,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *810 + schema: *814 examples: - userMultiValuedProperties: *811 - userSingleValuedProperties: *811 - disableUser: *811 - '400': *797 - '401': *795 - '403': *798 + userMultiValuedProperties: *815 + userSingleValuedProperties: *815 + disableUser: *815 + '400': *801 + '401': *799 + '403': *802 '404': *6 - '409': *805 - '429': *799 - '500': *800 + '409': *809 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -116446,17 +117750,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: - - *812 + - *816 - *41 responses: '204': description: User was deleted, no content - '400': *797 - '401': *795 - '403': *798 + '400': *801 + '401': *799 + '403': *802 '404': *6 - '429': *799 - '500': *800 + '429': *803 + '500': *804 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -116543,7 +117847,7 @@ paths: example: 1 Resources: type: array - items: &816 + items: &820 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -116774,22 +118078,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': *37 - '404': &817 + '404': &821 description: Resource not found content: application/json: - schema: *794 + schema: *798 application/scim+json: - schema: *794 - '403': &818 + schema: *798 + '403': &822 description: Forbidden content: application/json: - schema: *794 + schema: *798 application/scim+json: - schema: *794 - '400': *797 - '429': *799 + schema: *798 + '400': *801 + '429': *803 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -116815,9 +118119,9 @@ paths: description: Response content: application/scim+json: - schema: *816 + schema: *820 examples: - default: &819 + default: &823 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -116840,17 +118144,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': *37 - '404': *817 - '403': *818 - '500': *800 + '404': *821 + '403': *822 + '500': *804 '409': description: Conflict content: application/json: - schema: *794 + schema: *798 application/scim+json: - schema: *794 - '400': *797 + schema: *798 + '400': *801 requestBody: required: true content: @@ -116948,17 +118252,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *89 - - *812 + - *816 responses: '200': description: Response content: application/scim+json: - schema: *816 + schema: *820 examples: - default: *819 - '404': *817 - '403': *818 + default: *823 + '404': *821 + '403': *822 '304': *37 x-github: githubCloudOnly: true @@ -116982,18 +118286,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *89 - - *812 + - *816 responses: '200': description: Response content: application/scim+json: - schema: *816 + schema: *820 examples: - default: *819 + default: *823 '304': *37 - '404': *817 - '403': *818 + '404': *821 + '403': *822 requestBody: required: true content: @@ -117106,19 +118410,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *89 - - *812 + - *816 responses: '200': description: Response content: application/scim+json: - schema: *816 + schema: *820 examples: - default: *819 + default: *823 '304': *37 - '404': *817 - '403': *818 - '400': *797 + '404': *821 + '403': *822 + '400': *801 '429': description: Response content: @@ -117209,12 +118513,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *89 - - *812 + - *816 responses: '204': description: Response - '404': *817 - '403': *818 + '404': *821 + '403': *822 '304': *37 x-github: githubCloudOnly: true @@ -117350,7 +118654,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &820 + text_matches: &824 title: Search Result Text Matches type: array items: @@ -117513,7 +118817,7 @@ paths: enum: - author-date - committer-date - - &821 + - &825 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 @@ -117584,7 +118888,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *536 + properties: *542 nullable: true comment_count: type: integer @@ -117604,7 +118908,7 @@ paths: url: type: string format: uri - verification: *665 + verification: *669 required: - author - committer @@ -117623,7 +118927,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *536 + properties: *542 nullable: true parents: type: array @@ -117641,7 +118945,7 @@ paths: type: number node_id: type: string - text_matches: *820 + text_matches: *824 required: - sha - node_id @@ -117834,7 +119138,7 @@ paths: - interactions - created - updated - - *821 + - *825 - *17 - *19 - name: advanced_search @@ -117948,11 +119252,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: type: string state_reason: @@ -117962,8 +119266,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *429 - required: *430 + properties: *436 + required: *437 nullable: true comments: type: integer @@ -117977,7 +119281,7 @@ paths: type: string format: date-time nullable: true - text_matches: *820 + text_matches: *824 pull_request: type: object properties: @@ -118021,7 +119325,7 @@ paths: timeline_url: type: string format: uri - type: *394 + type: *401 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -118247,7 +119551,7 @@ paths: enum: - created - updated - - *821 + - *825 - *17 - *19 responses: @@ -118291,7 +119595,7 @@ paths: nullable: true score: type: number - text_matches: *820 + text_matches: *824 required: - id - node_id @@ -118377,7 +119681,7 @@ paths: - forks - help-wanted-issues - updated - - *821 + - *825 - *17 - *19 responses: @@ -118625,7 +119929,7 @@ paths: - admin - pull - push - text_matches: *820 + text_matches: *824 temp_clone_token: type: string allow_merge_commit: @@ -118926,7 +120230,7 @@ paths: type: string format: uri nullable: true - text_matches: *820 + text_matches: *824 related: type: array nullable: true @@ -119119,7 +120423,7 @@ paths: - followers - repositories - joined - - *821 + - *825 - *17 - *19 responses: @@ -119223,7 +120527,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *820 + text_matches: *824 blog: type: string nullable: true @@ -119302,7 +120606,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &824 + - &828 name: team_id description: The unique identifier of the team. in: path @@ -119314,9 +120618,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *484 examples: - default: *478 + default: *485 '404': *6 x-github: githubCloudOnly: false @@ -119343,7 +120647,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *824 + - *828 requestBody: required: true content: @@ -119406,16 +120710,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *477 + schema: *484 examples: - default: *478 + default: *485 '201': description: Response content: application/json: - schema: *477 + schema: *484 examples: - default: *478 + default: *485 '404': *6 '422': *15 '403': *29 @@ -119443,7 +120747,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *824 + - *828 responses: '204': description: Response @@ -119472,7 +120776,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *824 + - *828 - *17 - *19 responses: @@ -119482,9 +120786,9 @@ paths: application/json: schema: type: array - items: *388 + items: *395 examples: - default: *389 + default: *396 headers: Link: *47 x-github: @@ -119510,7 +120814,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *824 + - *828 - name: role description: Filters members returned by their role in the team. in: query @@ -119561,7 +120865,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *824 + - *828 - *148 responses: '204': @@ -119598,7 +120902,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *824 + - *828 - *148 responses: '204': @@ -119638,7 +120942,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *824 + - *828 - *148 responses: '204': @@ -119675,16 +120979,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: - - *824 + - *828 - *148 responses: '200': description: Response content: application/json: - schema: *484 + schema: *491 examples: - response-if-user-is-a-team-maintainer: *825 + response-if-user-is-a-team-maintainer: *829 '404': *6 x-github: githubCloudOnly: false @@ -119717,7 +121021,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: - - *824 + - *828 - *148 requestBody: required: false @@ -119743,9 +121047,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *491 examples: - response-if-users-membership-with-team-is-now-pending: *826 + response-if-users-membership-with-team-is-now-pending: *830 '403': description: Forbidden if team synchronization is set up '422': @@ -119779,7 +121083,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: - - *824 + - *828 - *148 responses: '204': @@ -119807,7 +121111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *824 + - *828 - *17 - *19 responses: @@ -119819,7 +121123,7 @@ paths: type: array items: *290 examples: - default: *423 + default: *430 headers: Link: *47 '404': *6 @@ -119849,15 +121153,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: - - *824 - - *485 - - *486 + - *828 + - *492 + - *493 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *827 + schema: *831 examples: alternative-response-with-extra-repository-information: value: @@ -120007,9 +121311,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: - - *824 - - *485 - - *486 + - *828 + - *492 + - *493 requestBody: required: false content: @@ -120059,9 +121363,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: - - *824 - - *485 - - *486 + - *828 + - *492 + - *493 responses: '204': description: Response @@ -120090,15 +121394,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: - - *824 + - *828 responses: '200': description: Response content: application/json: - schema: *487 + schema: *494 examples: - default: *488 + default: *495 '403': *29 '404': *6 x-github: @@ -120125,7 +121429,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: - - *824 + - *828 requestBody: required: true content: @@ -120182,7 +121486,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *494 examples: default: value: @@ -120213,7 +121517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *824 + - *828 - *17 - *19 responses: @@ -120223,9 +121527,9 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: - response-if-child-teams-exist: *828 + response-if-child-teams-exist: *832 headers: Link: *47 '404': *6 @@ -120258,7 +121562,7 @@ paths: application/json: schema: oneOf: - - &829 + - &833 title: Private User description: Private User type: object @@ -120461,7 +121765,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &855 + - &859 title: Public User description: Public User type: object @@ -120773,7 +122077,7 @@ paths: description: Response content: application/json: - schema: *829 + schema: *833 examples: default: value: @@ -120976,9 +122280,9 @@ paths: type: integer codespaces: type: array - items: *399 + items: *406 examples: - default: *400 + default: *407 '304': *37 '500': *40 '401': *25 @@ -121117,17 +122421,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '401': *25 '403': *29 '404': *6 @@ -121171,7 +122475,7 @@ paths: type: integer secrets: type: array - items: &830 + items: &834 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -121211,7 +122515,7 @@ paths: - visibility - selected_repositories_url examples: - default: *592 + default: *598 headers: Link: *47 x-github: @@ -121287,7 +122591,7 @@ paths: description: Response content: application/json: - schema: *830 + schema: *834 examples: default: value: @@ -121433,7 +122737,7 @@ paths: type: array items: *290 examples: - default: *338 + default: *345 '401': *25 '403': *29 '404': *6 @@ -121577,15 +122881,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: - - *401 + - *408 responses: '200': description: Response content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '304': *37 '500': *40 '401': *25 @@ -121611,7 +122915,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: - - *401 + - *408 requestBody: required: false content: @@ -121641,9 +122945,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '401': *25 '403': *29 '404': *6 @@ -121665,7 +122969,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: - - *401 + - *408 responses: '202': *39 '304': *37 @@ -121694,13 +122998,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: - - *401 + - *408 responses: '202': description: Response content: application/json: - schema: &831 + schema: &835 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -121741,7 +123045,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &832 + default: &836 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -121773,7 +123077,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *401 + - *408 - name: export_id in: path required: true @@ -121786,9 +123090,9 @@ paths: description: Response content: application/json: - schema: *831 + schema: *835 examples: - default: *832 + default: *836 '404': *6 x-github: githubCloudOnly: false @@ -121809,7 +123113,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *401 + - *408 responses: '200': description: Response @@ -121825,9 +123129,9 @@ paths: type: integer machines: type: array - items: *833 + items: *837 examples: - default: *834 + default: *838 '304': *37 '500': *40 '401': *25 @@ -121856,7 +123160,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: - - *401 + - *408 requestBody: required: true content: @@ -121906,13 +123210,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *490 + repository: *497 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *590 - required: *591 + properties: *596 + required: *597 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -122686,15 +123990,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: - - *401 + - *408 responses: '200': description: Response content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '304': *37 '500': *40 '400': *14 @@ -122726,15 +124030,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: - - *401 + - *408 responses: '200': description: Response content: application/json: - schema: *399 + schema: *406 examples: - default: *589 + default: *595 '500': *40 '401': *25 '403': *29 @@ -122764,9 +124068,9 @@ paths: application/json: schema: type: array - items: *410 + items: *417 examples: - default: &845 + default: &849 value: - id: 197 name: hello_docker @@ -122867,7 +124171,7 @@ paths: application/json: schema: type: array - items: &835 + items: &839 title: Email description: Email type: object @@ -122932,9 +124236,9 @@ paths: application/json: schema: type: array - items: *835 + items: *839 examples: - default: &847 + default: &851 value: - email: octocat@github.com verified: true @@ -123009,7 +124313,7 @@ paths: application/json: schema: type: array - items: *835 + items: *839 examples: default: value: @@ -123265,7 +124569,7 @@ paths: application/json: schema: type: array - items: &836 + items: &840 title: GPG Key description: A unique encryption key type: object @@ -123396,7 +124700,7 @@ paths: - subkeys - revoked examples: - default: &865 + default: &869 value: - id: 3 name: Octocat's GPG Key @@ -123481,9 +124785,9 @@ paths: description: Response content: application/json: - schema: *836 + schema: *840 examples: - default: &837 + default: &841 value: id: 3 name: Octocat's GPG Key @@ -123540,7 +124844,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: - - &838 + - &842 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -123552,9 +124856,9 @@ paths: description: Response content: application/json: - schema: *836 + schema: *840 examples: - default: *837 + default: *841 '404': *6 '304': *37 '403': *29 @@ -123577,7 +124881,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: - - *838 + - *842 responses: '204': description: Response @@ -123856,12 +125160,12 @@ paths: application/json: schema: anyOf: - - *386 + - *393 - type: object properties: {} additionalProperties: false examples: - default: *387 + default: *394 '204': description: Response when there are no restrictions x-github: @@ -123885,7 +125189,7 @@ paths: required: true content: application/json: - schema: *675 + schema: *679 examples: default: value: @@ -123896,7 +125200,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *393 examples: default: value: @@ -123977,7 +125281,7 @@ paths: - closed - all default: open - - *397 + - *404 - name: sort description: What to sort results by. in: query @@ -124002,7 +125306,7 @@ paths: type: array items: *229 examples: - default: *398 + default: *405 headers: Link: *47 '404': *6 @@ -124035,7 +125339,7 @@ paths: application/json: schema: type: array - items: &839 + items: &843 title: Key description: Key type: object @@ -124136,9 +125440,9 @@ paths: description: Response content: application/json: - schema: *839 + schema: *843 examples: - default: &840 + default: &844 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -124171,15 +125475,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: - - *710 + - *714 responses: '200': description: Response content: application/json: - schema: *839 + schema: *843 examples: - default: *840 + default: *844 '404': *6 '304': *37 '403': *29 @@ -124202,7 +125506,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: - - *710 + - *714 responses: '204': description: Response @@ -124235,7 +125539,7 @@ paths: application/json: schema: type: array - items: &841 + items: &845 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -124303,7 +125607,7 @@ paths: - account - plan examples: - default: &842 + default: &846 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -124365,9 +125669,9 @@ paths: application/json: schema: type: array - items: *841 + items: *845 examples: - default: *842 + default: *846 headers: Link: *47 '304': *37 @@ -124407,7 +125711,7 @@ paths: application/json: schema: type: array - items: *402 + items: *409 examples: default: value: @@ -124521,7 +125825,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *409 examples: default: value: @@ -124608,7 +125912,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *409 examples: default: value: @@ -124680,7 +125984,7 @@ paths: application/json: schema: type: array - items: *404 + items: *411 examples: default: value: @@ -124933,7 +126237,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *411 examples: default: value: @@ -125113,7 +126417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *405 + - *412 - name: exclude in: query required: false @@ -125126,7 +126430,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *411 examples: default: value: @@ -125320,7 +126624,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *405 + - *412 responses: '302': description: Response @@ -125346,7 +126650,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *405 + - *412 responses: '204': description: Response @@ -125375,8 +126679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *405 - - *843 + - *412 + - *847 responses: '204': description: Response @@ -125400,7 +126704,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *405 + - *412 - *17 - *19 responses: @@ -125489,7 +126793,7 @@ paths: - docker - nuget - container - - *844 + - *848 - *19 - *17 responses: @@ -125499,10 +126803,10 @@ paths: application/json: schema: type: array - items: *410 + items: *417 examples: - default: *845 - '400': *846 + default: *849 + '400': *850 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -125522,16 +126826,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: - - *412 - - *413 + - *419 + - *420 responses: '200': description: Response content: application/json: - schema: *410 + schema: *417 examples: - default: &866 + default: &870 value: id: 40201 name: octo-name @@ -125644,8 +126948,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: - - *412 - - *413 + - *419 + - *420 responses: '204': description: Response @@ -125675,8 +126979,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: - - *412 - - *413 + - *419 + - *420 - name: token description: package token schema: @@ -125708,8 +127012,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: - - *412 - - *413 + - *419 + - *420 - *19 - *17 - name: state @@ -125729,7 +127033,7 @@ paths: application/json: schema: type: array - items: *414 + items: *421 examples: default: value: @@ -125778,15 +127082,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: - - *412 - - *413 - - *415 + - *419 + - *420 + - *422 responses: '200': description: Response content: application/json: - schema: *414 + schema: *421 examples: default: value: @@ -125822,9 +127126,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: - - *412 - - *413 - - *415 + - *419 + - *420 + - *422 responses: '204': description: Response @@ -125854,9 +127158,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: - - *412 - - *413 - - *415 + - *419 + - *420 + - *422 responses: '204': description: Response @@ -125893,9 +127197,9 @@ paths: application/json: schema: type: array - items: *835 + items: *839 examples: - default: *847 + default: *851 headers: Link: *47 '304': *37 @@ -126008,7 +127312,7 @@ paths: type: array items: *80 examples: - default: &854 + default: &858 summary: Default response value: - id: 1296269 @@ -126312,9 +127616,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *497 examples: - default: *492 + default: *499 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -126353,9 +127657,9 @@ paths: application/json: schema: type: array - items: *677 + items: *681 examples: - default: *848 + default: *852 headers: Link: *47 '304': *37 @@ -126378,7 +127682,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *390 + - *397 responses: '204': description: Response @@ -126402,7 +127706,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *390 + - *397 responses: '204': description: Response @@ -126435,7 +127739,7 @@ paths: application/json: schema: type: array - items: &849 + items: &853 title: Social account description: Social media account type: object @@ -126450,7 +127754,7 @@ paths: - provider - url examples: - default: &850 + default: &854 value: - provider: twitter url: https://twitter.com/github @@ -126512,9 +127816,9 @@ paths: application/json: schema: type: array - items: *849 + items: *853 examples: - default: *850 + default: *854 '422': *15 '304': *37 '404': *6 @@ -126601,7 +127905,7 @@ paths: application/json: schema: type: array - items: &851 + items: &855 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -126621,7 +127925,7 @@ paths: - title - created_at examples: - default: &880 + default: &884 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -126685,9 +127989,9 @@ paths: description: Response content: application/json: - schema: *851 + schema: *855 examples: - default: &852 + default: &856 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -126717,7 +128021,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: - - &853 + - &857 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -126729,9 +128033,9 @@ paths: description: Response content: application/json: - schema: *851 + schema: *855 examples: - default: *852 + default: *856 '404': *6 '304': *37 '403': *29 @@ -126754,7 +128058,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: - - *853 + - *857 responses: '204': description: Response @@ -126783,7 +128087,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: - - &881 + - &885 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 @@ -126808,11 +128112,11 @@ paths: type: array items: *80 examples: - default-response: *854 + default-response: *858 application/vnd.github.v3.star+json: schema: type: array - items: &882 + items: &886 title: Starred Repository description: Starred Repository type: object @@ -126968,8 +128272,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: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response if this repository is starred by you @@ -126997,8 +128301,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: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -127022,8 +128326,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: - - *485 - - *486 + - *492 + - *493 responses: '204': description: Response @@ -127058,7 +128362,7 @@ paths: type: array items: *290 examples: - default: *423 + default: *430 headers: Link: *47 '304': *37 @@ -127095,7 +128399,7 @@ paths: application/json: schema: type: array - items: *477 + items: *484 examples: default: value: @@ -127181,10 +128485,10 @@ paths: application/json: schema: oneOf: - - *829 - - *855 + - *833 + - *859 examples: - default-response: &859 + default-response: &863 summary: Default response value: login: octocat @@ -127219,7 +128523,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &860 + response-with-git-hub-plan-information: &864 summary: Response with GitHub plan information value: login: octocat @@ -127276,14 +128580,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: - - &857 + - &861 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *428 + - *435 requestBody: required: true description: Details of the draft item to create in the project. @@ -127317,9 +128621,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *441 examples: - draft_issue: *435 + draft_issue: *442 '304': *37 '403': *29 '401': *25 @@ -127342,7 +128646,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *856 + - *860 - *17 responses: '200': @@ -127377,8 +128681,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: - - *857 - - *428 + - *861 + - *435 requestBody: required: true content: @@ -127449,17 +128753,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *858 + schema: *862 examples: table_view: summary: Response for creating a table view - value: *439 + value: *446 board_view: summary: Response for creating a board view with filter - value: *439 + value: *446 roadmap_view: summary: Response for creating a roadmap view - value: *439 + value: *446 '304': *37 '403': *29 '401': *25 @@ -127501,11 +128805,11 @@ paths: application/json: schema: oneOf: - - *829 - - *855 + - *833 + - *859 examples: - default-response: *859 - response-with-git-hub-plan-information: *860 + default-response: *863 + response-with-git-hub-plan-information: *864 '404': *6 x-github: githubCloudOnly: false @@ -127555,8 +128859,8 @@ paths: required: - subject_digests examples: - default: *861 - withPredicateType: *862 + default: *865 + withPredicateType: *866 responses: '200': description: Response @@ -127595,7 +128899,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *863 + default: *867 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -127784,7 +129088,7 @@ paths: initiator: type: string examples: - default: *532 + default: *538 '201': description: Response content: @@ -127851,7 +129155,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *334 + items: *341 examples: default: summary: Example response for listing user copilot spaces @@ -128063,9 +129367,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: &864 + default: &868 summary: Example response for a user copilot space value: id: 42 @@ -128164,9 +129468,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *864 + default: *868 '403': *29 '404': *6 x-github: @@ -128287,9 +129591,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *864 + default: *868 '403': *29 '404': *6 '422': *15 @@ -128366,7 +129670,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *336 + items: *343 examples: default: value: @@ -128509,7 +129813,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *343 examples: default: value: @@ -128620,7 +129924,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *343 examples: default: value: @@ -128750,7 +130054,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *337 + items: *344 examples: default: value: @@ -128842,7 +130146,7 @@ paths: description: Resource created content: application/json: - schema: *337 + schema: *344 examples: default: value: @@ -128858,7 +130162,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *337 + schema: *344 examples: default: value: @@ -128911,7 +130215,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *344 examples: default: value: @@ -128978,7 +130282,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *344 examples: default: value: @@ -129055,9 +130359,9 @@ paths: application/json: schema: type: array - items: *410 + items: *417 examples: - default: *845 + default: *849 '403': *29 '401': *25 x-github: @@ -129441,9 +130745,9 @@ paths: application/json: schema: type: array - items: *836 + items: *840 examples: - default: *865 + default: *869 headers: Link: *47 x-github: @@ -129547,7 +130851,7 @@ paths: application/json: schema: *22 examples: - default: *384 + default: *391 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -129671,7 +130975,7 @@ paths: - docker - nuget - container - - *844 + - *848 - *148 - *19 - *17 @@ -129682,12 +130986,12 @@ paths: application/json: schema: type: array - items: *410 + items: *417 examples: - default: *845 + default: *849 '403': *29 '401': *25 - '400': *846 + '400': *850 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -129707,17 +131011,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *412 - - *413 + - *419 + - *420 - *148 responses: '200': description: Response content: application/json: - schema: *410 + schema: *417 examples: - default: *866 + default: *870 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -129738,8 +131042,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *412 - - *413 + - *419 + - *420 - *148 responses: '204': @@ -129772,8 +131076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *412 - - *413 + - *419 + - *420 - *148 - name: token description: package token @@ -129806,8 +131110,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: - - *412 - - *413 + - *419 + - *420 - *148 responses: '200': @@ -129816,7 +131120,7 @@ paths: application/json: schema: type: array - items: *414 + items: *421 examples: default: value: @@ -129874,16 +131178,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: - - *412 - - *413 - - *415 + - *419 + - *420 + - *422 - *148 responses: '200': description: Response content: application/json: - schema: *414 + schema: *421 examples: default: value: @@ -129918,10 +131222,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *412 - - *413 + - *419 + - *420 - *148 - - *415 + - *422 responses: '204': description: Response @@ -129953,10 +131257,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *412 - - *413 + - *419 + - *420 - *148 - - *415 + - *422 responses: '204': description: Response @@ -129997,9 +131301,9 @@ paths: application/json: schema: type: array - items: *426 + items: *433 examples: - default: *427 + default: *434 headers: Link: *47 '304': *37 @@ -130021,16 +131325,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *428 + - *435 - *148 responses: '200': description: Response content: application/json: - schema: *426 + schema: *433 examples: - default: *427 + default: *434 headers: Link: *47 '304': *37 @@ -130052,7 +131356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *428 + - *435 - *148 - *17 - *110 @@ -130064,9 +131368,9 @@ paths: application/json: schema: type: array - items: *432 + items: *439 examples: - default: *867 + default: *871 headers: Link: *47 '304': *37 @@ -130088,7 +131392,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - *148 - - *428 + - *435 requestBody: required: true content: @@ -130126,7 +131430,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *868 + items: *872 required: - name - data_type @@ -130142,7 +131446,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *869 + iteration_configuration: *873 required: - name - data_type @@ -130164,20 +131468,20 @@ paths: value: name: Due date data_type: date - single_select_field: *870 - iteration_field: *871 + single_select_field: *874 + iteration_field: *875 responses: '201': description: Response content: application/json: - schema: *432 + schema: *439 examples: - text_field: *872 - number_field: *873 - date_field: *874 - single_select_field: *875 - iteration_field: *876 + text_field: *876 + number_field: *877 + date_field: *878 + single_select_field: *879 + iteration_field: *880 '304': *37 '403': *29 '401': *25 @@ -130198,17 +131502,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *428 - - *877 + - *435 + - *881 - *148 responses: '200': description: Response content: application/json: - schema: *432 + schema: *439 examples: - default: *878 + default: *882 headers: Link: *47 '304': *37 @@ -130231,7 +131535,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: - - *428 + - *435 - *148 - *110 - *111 @@ -130264,9 +131568,9 @@ paths: application/json: schema: type: array - items: *436 + items: *443 examples: - default: *437 + default: *444 headers: Link: *47 '304': *37 @@ -130288,7 +131592,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - *148 - - *428 + - *435 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -130358,22 +131662,22 @@ paths: description: Response content: application/json: - schema: *434 + schema: *441 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *435 + value: *442 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *435 + value: *442 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *435 + value: *442 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *435 + value: *442 '304': *37 '403': *29 '401': *25 @@ -130393,9 +131697,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: - - *428 + - *435 - *148 - - *438 + - *445 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -130415,9 +131719,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *443 examples: - default: *437 + default: *444 headers: Link: *47 '304': *37 @@ -130438,9 +131742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *428 + - *435 - *148 - - *438 + - *445 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -130510,13 +131814,13 @@ paths: description: Response content: application/json: - schema: *436 + schema: *443 examples: - text_field: *437 - number_field: *437 - date_field: *437 - single_select_field: *437 - iteration_field: *437 + text_field: *444 + number_field: *444 + date_field: *444 + single_select_field: *444 + iteration_field: *444 '401': *25 '403': *29 '404': *6 @@ -130536,9 +131840,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *428 + - *435 - *148 - - *438 + - *445 responses: '204': description: Response @@ -130560,9 +131864,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: - - *428 + - *435 - *148 - - *879 + - *883 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -130588,9 +131892,9 @@ paths: application/json: schema: type: array - items: *436 + items: *443 examples: - default: *437 + default: *444 headers: Link: *47 '304': *37 @@ -130811,7 +132115,7 @@ paths: type: array items: *290 examples: - default: *423 + default: *430 headers: Link: *47 x-github: @@ -130841,9 +132145,9 @@ paths: application/json: schema: type: array - items: *849 + items: *853 examples: - default: *850 + default: *854 headers: Link: *47 x-github: @@ -130873,9 +132177,9 @@ paths: application/json: schema: type: array - items: *851 + items: *855 examples: - default: *880 + default: *884 headers: Link: *47 x-github: @@ -130900,7 +132204,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *148 - - *881 + - *885 - *112 - *17 - *19 @@ -130912,11 +132216,11 @@ paths: schema: anyOf: - type: array - items: *882 + items: *886 - type: array items: *80 examples: - default-response: *854 + default-response: *858 headers: Link: *47 x-github: @@ -130947,7 +132251,7 @@ paths: type: array items: *290 examples: - default: *423 + default: *430 headers: Link: *47 x-github: @@ -131075,7 +132379,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &883 + enterprise: &887 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -131133,7 +132437,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &884 + installation: &888 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -131152,7 +132456,7 @@ x-webhooks: required: - id - node_id - organization: &885 + organization: &889 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -131212,13 +132516,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &886 + repository: &890 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &925 + properties: &929 id: description: Unique identifier of the repository example: 42 @@ -131902,7 +133206,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &926 + required: &930 - archive_url - assignees_url - blobs_url @@ -132053,10 +133357,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -132132,11 +133436,11 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - rule: &887 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + rule: &891 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) @@ -132359,11 +133663,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - rule: *887 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + rule: *891 sender: *4 required: - action @@ -132546,11 +133850,11 @@ x-webhooks: - everyone required: - from - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - rule: *887 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + rule: *891 sender: *4 required: - action @@ -132623,7 +133927,7 @@ x-webhooks: required: true content: application/json: - schema: &909 + schema: &913 title: Exemption request cancellation event type: object properties: @@ -132631,11 +133935,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - exemption_request: &888 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + exemption_request: &892 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -132939,7 +134243,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &889 + items: &893 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -133049,7 +134353,7 @@ x-webhooks: required: true content: application/json: - schema: &910 + schema: &914 title: Exemption request completed event type: object properties: @@ -133057,11 +134361,11 @@ x-webhooks: type: string enum: - completed - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - exemption_request: *888 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + exemption_request: *892 sender: *4 required: - action @@ -133133,7 +134437,7 @@ x-webhooks: required: true content: application/json: - schema: &907 + schema: &911 title: Exemption request created event type: object properties: @@ -133141,11 +134445,11 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - exemption_request: *888 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + exemption_request: *892 sender: *4 required: - action @@ -133217,7 +134521,7 @@ x-webhooks: required: true content: application/json: - schema: &911 + schema: &915 title: Exemption response dismissed event type: object properties: @@ -133225,12 +134529,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - exemption_request: *888 - exemption_response: *889 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + exemption_request: *892 + exemption_response: *893 sender: *4 required: - action @@ -133304,7 +134608,7 @@ x-webhooks: required: true content: application/json: - schema: &908 + schema: &912 title: Exemption response submitted event type: object properties: @@ -133312,12 +134616,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - exemption_request: *888 - exemption_response: *889 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + exemption_request: *892 + exemption_response: *893 sender: *4 required: - action @@ -133401,7 +134705,7 @@ x-webhooks: type: string enum: - completed - check_run: &891 + check_run: &895 title: CheckRun description: A check performed on the code of a given code change type: object @@ -133492,7 +134796,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *890 + deployment: *894 details_url: example: https://example.com type: string @@ -133577,10 +134881,10 @@ x-webhooks: - output - app - pull_requests - installation: *884 - enterprise: *883 - organization: *885 - repository: *886 + installation: *888 + enterprise: *887 + organization: *889 + repository: *890 sender: *4 required: - check_run @@ -133971,11 +135275,11 @@ x-webhooks: type: string enum: - created - check_run: *891 - installation: *884 - enterprise: *883 - organization: *885 - repository: *886 + check_run: *895 + installation: *888 + enterprise: *887 + organization: *889 + repository: *890 sender: *4 required: - check_run @@ -134369,11 +135673,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *891 - installation: *884 - enterprise: *883 - organization: *885 - repository: *886 + check_run: *895 + installation: *888 + enterprise: *887 + organization: *889 + repository: *890 requested_action: description: The action requested by the user. type: object @@ -134776,11 +136080,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *891 - installation: *884 - enterprise: *883 - organization: *885 - repository: *886 + check_run: *895 + installation: *888 + enterprise: *887 + organization: *889 + repository: *890 sender: *4 required: - check_run @@ -135750,10 +137054,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -136442,10 +137746,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -137128,10 +138432,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -137297,7 +138601,7 @@ x-webhooks: required: - login - id - dismissed_comment: *561 + dismissed_comment: *567 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -137442,20 +138746,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &892 + commit_oid: &896 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: *883 - installation: *884 - organization: *885 - ref: &893 + enterprise: *887 + installation: *888 + organization: *889 + ref: &897 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: *886 + repository: *890 sender: *4 required: - action @@ -137620,7 +138924,7 @@ x-webhooks: required: - login - id - dismissed_comment: *561 + dismissed_comment: *567 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -137850,12 +139154,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *892 - enterprise: *883 - installation: *884 - organization: *885 - ref: *893 - repository: *886 + commit_oid: *896 + enterprise: *887 + installation: *888 + organization: *889 + ref: *897 + repository: *890 sender: *4 required: - action @@ -137950,7 +139254,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *561 + dismissed_comment: *567 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -138121,12 +139425,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *892 - enterprise: *883 - installation: *884 - organization: *885 - ref: *893 - repository: *886 + commit_oid: *896 + enterprise: *887 + installation: *888 + organization: *889 + ref: *897 + repository: *890 sender: *4 required: - action @@ -138292,7 +139596,7 @@ x-webhooks: required: - login - id - dismissed_comment: *561 + dismissed_comment: *567 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -138458,12 +139762,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *892 - enterprise: *883 - installation: *884 - organization: *885 - ref: *893 - repository: *886 + commit_oid: *896 + enterprise: *887 + installation: *888 + organization: *889 + ref: *897 + repository: *890 sender: *4 required: - action @@ -138562,7 +139866,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *561 + dismissed_comment: *567 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -138737,16 +140041,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 ref: 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 nullable: true - repository: *886 + repository: *890 sender: *4 required: - action @@ -138843,7 +140147,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *561 + dismissed_comment: *567 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -138983,12 +140287,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *892 - enterprise: *883 - installation: *884 - organization: *885 - ref: *893 - repository: *886 + commit_oid: *896 + enterprise: *887 + installation: *888 + organization: *889 + ref: *897 + repository: *890 sender: *4 required: - action @@ -139154,7 +140458,7 @@ x-webhooks: required: - login - id - dismissed_comment: *561 + dismissed_comment: *567 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -139299,10 +140603,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -139557,10 +140861,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -139640,18 +140944,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *885 - pusher_type: &894 + organization: *889 + pusher_type: &898 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &895 + ref: &899 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -139661,7 +140965,7 @@ x-webhooks: enum: - tag - branch - repository: *886 + repository: *890 sender: *4 required: - ref @@ -139744,9 +141048,9 @@ x-webhooks: enum: - created definition: *161 - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 sender: *4 required: - action @@ -139831,9 +141135,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 sender: *4 required: - action @@ -139911,9 +141215,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *161 - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 sender: *4 required: - action @@ -139991,9 +141295,9 @@ x-webhooks: enum: - updated definition: *161 - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 sender: *4 required: - action @@ -140070,10 +141374,10 @@ x-webhooks: type: string enum: - updated - enterprise: *883 - installation: *884 - repository: *886 - organization: *885 + enterprise: *887 + installation: *888 + repository: *890 + organization: *889 sender: *4 new_property_values: type: array @@ -140158,18 +141462,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *883 - installation: *884 - organization: *885 - pusher_type: *894 - ref: *895 + enterprise: *887 + installation: *888 + organization: *889 + pusher_type: *898 + ref: *899 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *886 + repository: *890 sender: *4 required: - ref @@ -140249,11 +141553,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *625 - installation: *884 - organization: *885 - enterprise: *883 - repository: *886 + alert: *631 + installation: *888 + organization: *889 + enterprise: *887 + repository: *890 sender: *4 required: - action @@ -140333,11 +141637,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *625 - installation: *884 - organization: *885 - enterprise: *883 - repository: *886 + alert: *631 + installation: *888 + organization: *889 + enterprise: *887 + repository: *890 sender: *4 required: - action @@ -140418,11 +141722,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *625 - installation: *884 - organization: *885 - enterprise: *883 - repository: *886 + alert: *631 + installation: *888 + organization: *889 + enterprise: *887 + repository: *890 sender: *4 required: - action @@ -140503,11 +141807,11 @@ x-webhooks: type: string enum: - created - alert: *625 - installation: *884 - organization: *885 - enterprise: *883 - repository: *886 + alert: *631 + installation: *888 + organization: *889 + enterprise: *887 + repository: *890 sender: *4 required: - action @@ -140586,11 +141890,11 @@ x-webhooks: type: string enum: - dismissed - alert: *625 - installation: *884 - organization: *885 - enterprise: *883 - repository: *886 + alert: *631 + installation: *888 + organization: *889 + enterprise: *887 + repository: *890 sender: *4 required: - action @@ -140669,11 +141973,11 @@ x-webhooks: type: string enum: - fixed - alert: *625 - installation: *884 - organization: *885 - enterprise: *883 - repository: *886 + alert: *631 + installation: *888 + organization: *889 + enterprise: *887 + repository: *890 sender: *4 required: - action @@ -140753,11 +142057,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *625 - installation: *884 - organization: *885 - enterprise: *883 - repository: *886 + alert: *631 + installation: *888 + organization: *889 + enterprise: *887 + repository: *890 sender: *4 required: - action @@ -140836,11 +142140,11 @@ x-webhooks: type: string enum: - reopened - alert: *625 - installation: *884 - organization: *885 - enterprise: *883 - repository: *886 + alert: *631 + installation: *888 + organization: *889 + enterprise: *887 + repository: *890 sender: *4 required: - action @@ -140917,9 +142221,9 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - key: &896 + enterprise: *887 + installation: *888 + key: &900 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -140955,8 +142259,8 @@ x-webhooks: - verified - created_at - read_only - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -141033,11 +142337,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - key: *896 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + key: *900 + organization: *889 + repository: *890 sender: *4 required: - action @@ -141593,12 +142897,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - workflow: &902 + workflow: &906 title: Workflow type: object nullable: true @@ -142339,15 +143643,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *897 - required: *898 + properties: *901 + required: *902 nullable: true pull_requests: type: array - items: *731 - repository: *886 - organization: *885 - installation: *884 + items: *735 + repository: *890 + organization: *889 + installation: *888 sender: *4 responses: '200': @@ -142418,7 +143722,7 @@ x-webhooks: type: string enum: - approved - approver: &899 + approver: &903 type: object properties: avatar_url: @@ -142461,11 +143765,11 @@ x-webhooks: type: string comment: type: string - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - reviewers: &900 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + reviewers: &904 type: array items: type: object @@ -142544,7 +143848,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &901 + workflow_job_run: &905 type: object properties: conclusion: @@ -143275,18 +144579,18 @@ x-webhooks: type: string enum: - rejected - approver: *899 + approver: *903 comment: type: string - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - reviewers: *900 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + reviewers: *904 sender: *4 since: type: string - workflow_job_run: *901 + workflow_job_run: *905 workflow_job_runs: type: array items: @@ -143990,13 +145294,13 @@ x-webhooks: type: string enum: - requested - enterprise: *883 + enterprise: *887 environment: type: string - installation: *884 - organization: *885 - repository: *886 - requestor: &912 + installation: *888 + organization: *889 + repository: *890 + requestor: &916 title: User type: object nullable: true @@ -145885,12 +147189,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - workflow: *902 + workflow: *906 workflow_run: title: Deployment Workflow Run type: object @@ -146570,7 +147874,7 @@ x-webhooks: type: string enum: - answered - answer: &905 + answer: &909 type: object properties: author_association: @@ -146727,11 +148031,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -146858,11 +148162,11 @@ x-webhooks: - from required: - category - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -146945,11 +148249,11 @@ x-webhooks: type: string enum: - closed - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -147031,7 +148335,7 @@ x-webhooks: type: string enum: - created - comment: &904 + comment: &908 type: object properties: author_association: @@ -147188,11 +148492,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -147275,12 +148579,12 @@ x-webhooks: type: string enum: - deleted - comment: *904 - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + comment: *908 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -147375,12 +148679,12 @@ x-webhooks: - from required: - body - comment: *904 - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + comment: *908 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -147464,11 +148768,11 @@ x-webhooks: type: string enum: - created - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -147550,11 +148854,11 @@ x-webhooks: type: string enum: - deleted - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -147654,11 +148958,11 @@ x-webhooks: type: string required: - from - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -147740,10 +149044,10 @@ x-webhooks: type: string enum: - labeled - discussion: *903 - enterprise: *883 - installation: *884 - label: &906 + discussion: *907 + enterprise: *887 + installation: *888 + label: &910 title: Label type: object properties: @@ -147775,8 +149079,8 @@ x-webhooks: - color - default - description - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -147859,11 +149163,11 @@ x-webhooks: type: string enum: - locked - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -147945,11 +149249,11 @@ x-webhooks: type: string enum: - pinned - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -148031,11 +149335,11 @@ x-webhooks: type: string enum: - reopened - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -148120,16 +149424,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *903 - new_repository: *886 + new_discussion: *907 + new_repository: *890 required: - new_discussion - new_repository - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -148212,10 +149516,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *903 - old_answer: *905 - organization: *885 - repository: *886 + discussion: *907 + old_answer: *909 + organization: *889 + repository: *890 sender: *4 required: - action @@ -148297,12 +149601,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *903 - enterprise: *883 - installation: *884 - label: *906 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + label: *910 + organization: *889 + repository: *890 sender: *4 required: - action @@ -148385,11 +149689,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -148471,11 +149775,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *903 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + discussion: *907 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -148544,7 +149848,7 @@ x-webhooks: required: true content: application/json: - schema: *907 + schema: *911 responses: '200': description: Return a 200 status to indicate that the data was received @@ -148607,7 +149911,7 @@ x-webhooks: required: true content: application/json: - schema: *908 + schema: *912 responses: '200': description: Return a 200 status to indicate that the data was received @@ -148670,7 +149974,7 @@ x-webhooks: required: true content: application/json: - schema: *909 + schema: *913 responses: '200': description: Return a 200 status to indicate that the data was received @@ -148733,7 +150037,7 @@ x-webhooks: required: true content: application/json: - schema: *907 + schema: *911 responses: '200': description: Return a 200 status to indicate that the data was received @@ -148796,7 +150100,7 @@ x-webhooks: required: true content: application/json: - schema: *908 + schema: *912 responses: '200': description: Return a 200 status to indicate that the data was received @@ -148862,7 +150166,7 @@ x-webhooks: required: true content: application/json: - schema: *909 + schema: *913 responses: '200': description: Return a 200 status to indicate that the data was received @@ -148928,7 +150232,7 @@ x-webhooks: required: true content: application/json: - schema: *910 + schema: *914 responses: '200': description: Return a 200 status to indicate that the data was received @@ -148994,7 +150298,7 @@ x-webhooks: required: true content: application/json: - schema: *907 + schema: *911 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149060,7 +150364,7 @@ x-webhooks: required: true content: application/json: - schema: *911 + schema: *915 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149126,7 +150430,7 @@ x-webhooks: required: true content: application/json: - schema: *908 + schema: *912 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149191,7 +150495,7 @@ x-webhooks: required: true content: application/json: - schema: *909 + schema: *913 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149256,7 +150560,7 @@ x-webhooks: required: true content: application/json: - schema: *910 + schema: *914 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149321,7 +150625,7 @@ x-webhooks: required: true content: application/json: - schema: *907 + schema: *911 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149386,7 +150690,7 @@ x-webhooks: required: true content: application/json: - schema: *911 + schema: *915 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149452,7 +150756,7 @@ x-webhooks: required: true content: application/json: - schema: *908 + schema: *912 responses: '200': description: Return a 200 status to indicate that the data was received @@ -149519,7 +150823,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *883 + enterprise: *887 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -150179,9 +151483,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - forkee @@ -150327,9 +151631,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 pages: description: The pages that were updated. type: array @@ -150366,7 +151670,7 @@ x-webhooks: - action - sha - html_url - repository: *886 + repository: *890 sender: *4 required: - pages @@ -150442,10 +151746,10 @@ x-webhooks: type: string enum: - created - enterprise: *883 + enterprise: *887 installation: *22 - organization: *885 - repositories: &913 + organization: *889 + repositories: &917 description: An array of repository objects that the installation can access. type: array @@ -150471,8 +151775,8 @@ x-webhooks: - name - full_name - private - repository: *886 - requester: *912 + repository: *890 + requester: *916 sender: *4 required: - action @@ -150547,11 +151851,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 + enterprise: *887 installation: *22 - organization: *885 - repositories: *913 - repository: *886 + organization: *889 + repositories: *917 + repository: *890 requester: nullable: true sender: *4 @@ -150627,11 +151931,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *883 + enterprise: *887 installation: *22 - organization: *885 - repositories: *913 - repository: *886 + organization: *889 + repositories: *917 + repository: *890 requester: nullable: true sender: *4 @@ -150707,10 +152011,10 @@ x-webhooks: type: string enum: - added - enterprise: *883 + enterprise: *887 installation: *22 - organization: *885 - repositories_added: &914 + organization: *889 + repositories_added: &918 description: An array of repository objects, which were added to the installation. type: array @@ -150756,15 +152060,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *886 - repository_selection: &915 + repository: *890 + repository_selection: &919 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *912 + requester: *916 sender: *4 required: - action @@ -150843,10 +152147,10 @@ x-webhooks: type: string enum: - removed - enterprise: *883 + enterprise: *887 installation: *22 - organization: *885 - repositories_added: *914 + organization: *889 + repositories_added: *918 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -150873,9 +152177,9 @@ x-webhooks: - name - full_name - private - repository: *886 - repository_selection: *915 - requester: *912 + repository: *890 + repository_selection: *919 + requester: *916 sender: *4 required: - action @@ -150954,11 +152258,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *883 + enterprise: *887 installation: *22 - organization: *885 - repositories: *913 - repository: *886 + organization: *889 + repositories: *917 + repository: *890 requester: nullable: true sender: *4 @@ -151137,10 +152441,10 @@ x-webhooks: type: string required: - from - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 target_type: type: string @@ -151219,11 +152523,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *883 + enterprise: *887 installation: *22 - organization: *885 - repositories: *913 - repository: *886 + organization: *889 + repositories: *917 + repository: *890 requester: nullable: true sender: *4 @@ -151397,8 +152701,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *706 - required: *707 + properties: *710 + required: *711 nullable: true user: title: User @@ -151483,8 +152787,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -152273,8 +153577,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152290,7 +153594,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -152623,8 +153927,8 @@ x-webhooks: - state - locked - assignee - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -152704,7 +154008,7 @@ x-webhooks: type: string enum: - deleted - comment: &916 + comment: &920 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -152861,8 +154165,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *706 - required: *707 + properties: *710 + required: *711 nullable: true required: - url @@ -152877,8 +154181,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -153663,8 +154967,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153680,7 +154984,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -154015,8 +155319,8 @@ x-webhooks: - state - locked - assignee - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -154096,7 +155400,7 @@ x-webhooks: type: string enum: - edited - changes: &945 + changes: &949 description: The changes to the comment. type: object properties: @@ -154108,9 +155412,9 @@ x-webhooks: type: string required: - from - comment: *916 - enterprise: *883 - installation: *884 + comment: *920 + enterprise: *887 + installation: *888 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -154898,8 +156202,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154915,7 +156219,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -155248,8 +156552,8 @@ x-webhooks: - state - locked - assignee - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -155330,9 +156634,9 @@ x-webhooks: type: string enum: - pinned - comment: *916 - enterprise: *883 - installation: *884 + comment: *920 + enterprise: *887 + installation: *888 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -156122,8 +157426,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156139,7 +157443,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -156474,8 +157778,8 @@ x-webhooks: - state - locked - assignee - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -156555,9 +157859,9 @@ x-webhooks: type: string enum: - unpinned - comment: *916 - enterprise: *883 - installation: *884 + comment: *920 + enterprise: *887 + installation: *888 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -157347,8 +158651,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157364,7 +158668,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -157699,8 +159003,8 @@ x-webhooks: - state - locked - assignee - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -157789,9 +159093,9 @@ x-webhooks: type: number blocking_issue: *229 blocking_issue_repo: *80 - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -157880,9 +159184,9 @@ x-webhooks: type: number blocking_issue: *229 blocking_issue_repo: *80 - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -157970,9 +159274,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *229 - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -158061,9 +159365,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *229 - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -158143,10 +159447,10 @@ x-webhooks: type: string enum: - assigned - assignee: *912 - enterprise: *883 - installation: *884 - issue: &917 + assignee: *916 + enterprise: *887 + installation: *888 + issue: &921 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -158938,11 +160242,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158958,7 +160262,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -159059,8 +160363,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -159140,8 +160444,8 @@ x-webhooks: type: string enum: - closed - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -159938,11 +161242,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159958,7 +161262,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -160194,8 +161498,8 @@ x-webhooks: required: - state - closed_at - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -160274,8 +161578,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -161063,11 +162367,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161083,7 +162387,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -161183,8 +162487,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -161263,8 +162567,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -162074,11 +163378,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162094,7 +163398,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -162173,7 +163477,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &918 + milestone: &922 title: Milestone description: A collection of related issues and pull requests. type: object @@ -162311,8 +163615,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -162411,8 +163715,8 @@ x-webhooks: type: string required: - from - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -163204,11 +164508,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163221,7 +164525,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *394 + type: *401 title: description: Title of the issue type: string @@ -163325,9 +164629,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *906 - organization: *885 - repository: *886 + label: *910 + organization: *889 + repository: *890 sender: *4 required: - action @@ -163407,9 +164711,9 @@ x-webhooks: type: string enum: - field_added - enterprise: *883 - installation: *884 - issue: *917 + enterprise: *887 + installation: *888 + issue: *921 issue_field: type: object description: The issue field whose value was set or updated on the @@ -163518,8 +164822,8 @@ x-webhooks: - id required: - from - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -163599,9 +164903,9 @@ x-webhooks: type: string enum: - field_removed - enterprise: *883 - installation: *884 - issue: *917 + enterprise: *887 + installation: *888 + issue: *921 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -163659,8 +164963,8 @@ x-webhooks: nullable: true required: - id - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -163740,8 +165044,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -164532,11 +165836,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164549,7 +165853,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *394 + type: *401 title: description: Title of the issue type: string @@ -164653,9 +165957,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *906 - organization: *885 - repository: *886 + label: *910 + organization: *889 + repository: *890 sender: *4 required: - action @@ -164735,8 +166039,8 @@ x-webhooks: type: string enum: - locked - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -165551,11 +166855,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165568,7 +166872,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *394 + type: *401 title: description: Title of the issue type: string @@ -165649,8 +166953,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -165729,8 +167033,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -166539,11 +167843,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166559,7 +167863,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -166637,9 +167941,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *918 - organization: *885 - repository: *886 + milestone: *922 + organization: *889 + repository: *890 sender: *4 required: - action @@ -167502,11 +168806,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167607,7 +168911,7 @@ x-webhooks: required: - login - id - type: *394 + type: *401 required: - id - number @@ -168087,8 +169391,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -168872,11 +170176,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168892,7 +170196,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -169000,8 +170304,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -169081,9 +170385,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *883 - installation: *884 - issue: &919 + enterprise: *887 + installation: *888 + issue: &923 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -169869,11 +171173,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169889,7 +171193,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -169989,8 +171293,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -170069,8 +171373,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -170883,11 +172187,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -170981,9 +172285,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *394 - organization: *885 - repository: *886 + type: *401 + organization: *889 + repository: *890 sender: *4 required: - action @@ -171852,11 +173156,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171872,7 +173176,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -172451,11 +173755,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *883 - installation: *884 - issue: *919 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + issue: *923 + organization: *889 + repository: *890 sender: *4 required: - action @@ -172535,12 +173839,12 @@ x-webhooks: type: string enum: - typed - enterprise: *883 - installation: *884 - issue: *917 - type: *394 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + issue: *921 + type: *401 + organization: *889 + repository: *890 sender: *4 required: - action @@ -172621,7 +173925,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &948 + assignee: &952 title: User type: object nullable: true @@ -172691,11 +173995,11 @@ x-webhooks: required: - login - id - enterprise: *883 - installation: *884 - issue: *917 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + issue: *921 + organization: *889 + repository: *890 sender: *4 required: - action @@ -172774,12 +174078,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *883 - installation: *884 - issue: *917 - label: *906 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + issue: *921 + label: *910 + organization: *889 + repository: *890 sender: *4 required: - action @@ -172859,8 +174163,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -173673,11 +174977,11 @@ x-webhooks: properties: *230 required: *231 nullable: true - sub_issues_summary: *822 - issue_dependencies_summary: *823 + sub_issues_summary: *826 + issue_dependencies_summary: *827 issue_field_values: type: array - items: *690 + items: *694 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173693,7 +174997,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *394 + type: *401 updated_at: type: string format: date-time @@ -173771,8 +175075,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -173852,11 +175156,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *883 - installation: *884 - issue: *919 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + issue: *923 + organization: *889 + repository: *890 sender: *4 required: - action @@ -173935,12 +175239,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *883 - installation: *884 - issue: *917 - type: *394 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + issue: *921 + type: *401 + organization: *889 + repository: *890 sender: *4 required: - action @@ -174020,11 +175324,11 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - label: *906 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + label: *910 + organization: *889 + repository: *890 sender: *4 required: - action @@ -174102,11 +175406,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - label: *906 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + label: *910 + organization: *889 + repository: *890 sender: *4 required: - action @@ -174216,11 +175520,11 @@ x-webhooks: type: string required: - from - enterprise: *883 - installation: *884 - label: *906 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + label: *910 + organization: *889 + repository: *890 sender: *4 required: - action @@ -174302,9 +175606,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *883 - installation: *884 - marketplace_purchase: &920 + enterprise: *887 + installation: *888 + marketplace_purchase: &924 title: Marketplace Purchase type: object required: @@ -174387,8 +175691,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *885 - previous_marketplace_purchase: &921 + organization: *889 + previous_marketplace_purchase: &925 title: Marketplace Purchase type: object properties: @@ -174468,7 +175772,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *886 + repository: *890 sender: *4 required: - action @@ -174548,10 +175852,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *883 - installation: *884 - marketplace_purchase: *920 - organization: *885 + enterprise: *887 + installation: *888 + marketplace_purchase: *924 + organization: *889 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -174634,7 +175938,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *886 + repository: *890 sender: *4 required: - action @@ -174716,10 +176020,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *883 - installation: *884 - marketplace_purchase: *920 - organization: *885 + enterprise: *887 + installation: *888 + marketplace_purchase: *924 + organization: *889 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -174801,7 +176105,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *886 + repository: *890 sender: *4 required: - action @@ -174882,8 +176186,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 marketplace_purchase: title: Marketplace Purchase type: object @@ -174965,9 +176269,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *885 - previous_marketplace_purchase: *921 - repository: *886 + organization: *889 + previous_marketplace_purchase: *925 + repository: *890 sender: *4 required: - action @@ -175047,12 +176351,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *883 - installation: *884 - marketplace_purchase: *920 - organization: *885 - previous_marketplace_purchase: *921 - repository: *886 + enterprise: *887 + installation: *888 + marketplace_purchase: *924 + organization: *889 + previous_marketplace_purchase: *925 + repository: *890 sender: *4 required: - action @@ -175154,11 +176458,11 @@ x-webhooks: type: string required: - to - enterprise: *883 - installation: *884 - member: *912 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + member: *916 + organization: *889 + repository: *890 sender: *4 required: - action @@ -175258,11 +176562,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *883 - installation: *884 - member: *912 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + member: *916 + organization: *889 + repository: *890 sender: *4 required: - action @@ -175341,11 +176645,11 @@ x-webhooks: type: string enum: - removed - enterprise: *883 - installation: *884 - member: *912 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + member: *916 + organization: *889 + repository: *890 sender: *4 required: - action @@ -175423,11 +176727,11 @@ x-webhooks: type: string enum: - added - enterprise: *883 - installation: *884 - member: *912 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + member: *916 + organization: *889 + repository: *890 scope: description: The scope of the membership. Currently, can only be `team`. @@ -175503,7 +176807,7 @@ x-webhooks: required: - login - id - team: &922 + team: &926 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -175726,11 +177030,11 @@ x-webhooks: type: string enum: - removed - enterprise: *883 - installation: *884 - member: *912 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + member: *916 + organization: *889 + repository: *890 scope: description: The scope of the membership. Currently, can only be `team`. @@ -175807,7 +177111,7 @@ x-webhooks: required: - login - id - team: *922 + team: *926 required: - action - scope @@ -175889,8 +177193,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *884 - merge_group: &924 + installation: *888 + merge_group: &928 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -175909,15 +177213,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *923 + head_commit: *927 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -176003,10 +177307,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *884 - merge_group: *924 - organization: *885 - repository: *886 + installation: *888 + merge_group: *928 + organization: *889 + repository: *890 sender: *4 required: - action @@ -176079,7 +177383,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 + enterprise: *887 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -176188,16 +177492,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *884 - organization: *885 + installation: *888 + organization: *889 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *925 - required: *926 + properties: *929 + required: *930 nullable: true sender: *4 required: @@ -176278,11 +177582,11 @@ x-webhooks: type: string enum: - closed - enterprise: *883 - installation: *884 - milestone: *918 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + milestone: *922 + organization: *889 + repository: *890 sender: *4 required: - action @@ -176361,9 +177665,9 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - milestone: &927 + enterprise: *887 + installation: *888 + milestone: &931 title: Milestone description: A collection of related issues and pull requests. type: object @@ -176500,8 +177804,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -176580,11 +177884,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - milestone: *918 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + milestone: *922 + organization: *889 + repository: *890 sender: *4 required: - action @@ -176694,11 +177998,11 @@ x-webhooks: type: string required: - from - enterprise: *883 - installation: *884 - milestone: *918 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + milestone: *922 + organization: *889 + repository: *890 sender: *4 required: - action @@ -176778,11 +178082,11 @@ x-webhooks: type: string enum: - opened - enterprise: *883 - installation: *884 - milestone: *927 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + milestone: *931 + organization: *889 + repository: *890 sender: *4 required: - action @@ -176861,11 +178165,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *912 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + blocked_user: *916 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -176944,11 +178248,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *912 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + blocked_user: *916 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -177024,7 +178328,7 @@ x-webhooks: enum: - created definition: *156 - enterprise: *883 + enterprise: *887 sender: *4 required: - action @@ -177104,8 +178408,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 sender: *4 required: - action @@ -177178,8 +178482,8 @@ x-webhooks: enum: - updated definition: *156 - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 sender: *4 required: - action @@ -177251,9 +178555,9 @@ x-webhooks: type: string enum: - updated - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 sender: *4 new_property_values: type: array @@ -177341,9 +178645,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - membership: &928 + enterprise: *887 + installation: *888 + membership: &932 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -177450,8 +178754,8 @@ x-webhooks: - role - organization_url - user - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 required: - action @@ -177529,11 +178833,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *883 - installation: *884 - membership: *928 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + membership: *932 + organization: *889 + repository: *890 sender: *4 required: - action @@ -177612,8 +178916,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -177729,10 +179033,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 - user: *912 + user: *916 required: - action - invitation @@ -177810,11 +179114,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *883 - installation: *884 - membership: *928 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + membership: *932 + organization: *889 + repository: *890 sender: *4 required: - action @@ -177901,11 +179205,11 @@ x-webhooks: properties: from: type: string - enterprise: *883 - installation: *884 - membership: *928 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + membership: *932 + organization: *889 + repository: *890 sender: *4 required: - action @@ -177983,9 +179287,9 @@ x-webhooks: type: string enum: - published - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 package: description: Information about the package. type: object @@ -178484,7 +179788,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &929 + items: &933 title: Ruby Gems metadata type: object properties: @@ -178579,7 +179883,7 @@ x-webhooks: - owner - package_version - registry - repository: *886 + repository: *890 sender: *4 required: - action @@ -178656,9 +179960,9 @@ x-webhooks: type: string enum: - updated - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 package: description: Information about the package. type: object @@ -179011,7 +180315,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *929 + items: *933 source_url: type: string format: uri @@ -179081,7 +180385,7 @@ x-webhooks: - owner - package_version - registry - repository: *886 + repository: *890 sender: *4 required: - action @@ -179257,12 +180561,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *883 + enterprise: *887 id: type: integer - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - id @@ -179339,7 +180643,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &930 + personal_access_token_request: &934 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -179485,10 +180789,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *883 - organization: *885 + enterprise: *887 + organization: *889 sender: *4 - installation: *884 + installation: *888 required: - action - personal_access_token_request @@ -179565,11 +180869,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *930 - enterprise: *883 - organization: *885 + personal_access_token_request: *934 + enterprise: *887 + organization: *889 sender: *4 - installation: *884 + installation: *888 required: - action - personal_access_token_request @@ -179645,11 +180949,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *930 - enterprise: *883 - organization: *885 + personal_access_token_request: *934 + enterprise: *887 + organization: *889 sender: *4 - installation: *884 + installation: *888 required: - action - personal_access_token_request @@ -179724,11 +181028,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *930 - organization: *885 - enterprise: *883 + personal_access_token_request: *934 + organization: *889 + enterprise: *887 sender: *4 - installation: *884 + installation: *888 required: - action - personal_access_token_request @@ -179833,7 +181137,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *931 + last_response: *935 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -179865,8 +181169,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 zen: description: Random string of GitHub zen. @@ -180111,10 +181415,10 @@ x-webhooks: - from required: - note - enterprise: *883 - installation: *884 - organization: *885 - project_card: &932 + enterprise: *887 + installation: *888 + organization: *889 + project_card: &936 title: Project Card type: object properties: @@ -180233,7 +181537,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *886 + repository: *890 sender: *4 required: - action @@ -180314,11 +181618,11 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - project_card: *932 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + project_card: *936 + repository: *890 sender: *4 required: - action @@ -180398,9 +181702,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 project_card: title: Project Card type: object @@ -180528,8 +181832,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *925 - required: *926 + properties: *929 + required: *930 nullable: true sender: *4 required: @@ -180623,11 +181927,11 @@ x-webhooks: - from required: - note - enterprise: *883 - installation: *884 - organization: *885 - project_card: *932 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + project_card: *936 + repository: *890 sender: *4 required: - action @@ -180721,9 +182025,9 @@ x-webhooks: - from required: - column_id - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 project_card: allOf: - title: Project Card @@ -180913,7 +182217,7 @@ x-webhooks: type: string required: - after_id - repository: *886 + repository: *890 sender: *4 required: - action @@ -180993,10 +182297,10 @@ x-webhooks: type: string enum: - closed - enterprise: *883 - installation: *884 - organization: *885 - project: &934 + enterprise: *887 + installation: *888 + organization: *889 + project: &938 title: Project type: object properties: @@ -181120,7 +182424,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *886 + repository: *890 sender: *4 required: - action @@ -181200,10 +182504,10 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - project_column: &933 + enterprise: *887 + installation: *888 + organization: *889 + project_column: &937 title: Project Column type: object properties: @@ -181242,7 +182546,7 @@ x-webhooks: - name - created_at - updated_at - repository: *886 + repository: *890 sender: *4 required: - action @@ -181321,18 +182625,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - organization: *885 - project_column: *933 + enterprise: *887 + installation: *888 + organization: *889 + project_column: *937 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *925 - required: *926 + properties: *929 + required: *930 nullable: true sender: *4 required: @@ -181422,11 +182726,11 @@ x-webhooks: type: string required: - from - enterprise: *883 - installation: *884 - organization: *885 - project_column: *933 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + project_column: *937 + repository: *890 sender: *4 required: - action @@ -181506,11 +182810,11 @@ x-webhooks: type: string enum: - moved - enterprise: *883 - installation: *884 - organization: *885 - project_column: *933 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + project_column: *937 + repository: *890 sender: *4 required: - action @@ -181590,11 +182894,11 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - project: *934 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + project: *938 + repository: *890 sender: *4 required: - action @@ -181674,18 +182978,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - organization: *885 - project: *934 + enterprise: *887 + installation: *888 + organization: *889 + project: *938 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *925 - required: *926 + properties: *929 + required: *930 nullable: true sender: *4 required: @@ -181787,11 +183091,11 @@ x-webhooks: type: string required: - from - enterprise: *883 - installation: *884 - organization: *885 - project: *934 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + project: *938 + repository: *890 sender: *4 required: - action @@ -181870,11 +183174,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *883 - installation: *884 - organization: *885 - project: *934 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + project: *938 + repository: *890 sender: *4 required: - action @@ -181955,9 +183259,9 @@ x-webhooks: type: string enum: - closed - installation: *884 - organization: *885 - projects_v2: *426 + installation: *888 + organization: *889 + projects_v2: *433 sender: *4 required: - action @@ -182038,9 +183342,9 @@ x-webhooks: type: string enum: - created - installation: *884 - organization: *885 - projects_v2: *426 + installation: *888 + organization: *889 + projects_v2: *433 sender: *4 required: - action @@ -182121,9 +183425,9 @@ x-webhooks: type: string enum: - deleted - installation: *884 - organization: *885 - projects_v2: *426 + installation: *888 + organization: *889 + projects_v2: *433 sender: *4 required: - action @@ -182240,9 +183544,9 @@ x-webhooks: type: string to: type: string - installation: *884 - organization: *885 - projects_v2: *426 + installation: *888 + organization: *889 + projects_v2: *433 sender: *4 required: - action @@ -182325,7 +183629,7 @@ x-webhooks: type: string enum: - archived - changes: &938 + changes: &942 type: object properties: archived_at: @@ -182339,9 +183643,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *884 - organization: *885 - projects_v2_item: &935 + installation: *888 + organization: *889 + projects_v2_item: &939 title: Projects v2 Item description: An item belonging to a project type: object @@ -182359,7 +183663,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *433 + content_type: *440 creator: *4 created_at: type: string @@ -182476,9 +183780,9 @@ x-webhooks: nullable: true to: type: string - installation: *884 - organization: *885 - projects_v2_item: *935 + installation: *888 + organization: *889 + projects_v2_item: *939 sender: *4 required: - action @@ -182560,9 +183864,9 @@ x-webhooks: type: string enum: - created - installation: *884 - organization: *885 - projects_v2_item: *935 + installation: *888 + organization: *889 + projects_v2_item: *939 sender: *4 required: - action @@ -182643,9 +183947,9 @@ x-webhooks: type: string enum: - deleted - installation: *884 - organization: *885 - projects_v2_item: *935 + installation: *888 + organization: *889 + projects_v2_item: *939 sender: *4 required: - action @@ -182751,7 +184055,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &936 + - &940 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -182773,7 +184077,7 @@ x-webhooks: required: - id - name - - &937 + - &941 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -182807,8 +184111,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *936 - - *937 + - *940 + - *941 required: - field_value - type: object @@ -182824,9 +184128,9 @@ x-webhooks: nullable: true required: - body - installation: *884 - organization: *885 - projects_v2_item: *935 + installation: *888 + organization: *889 + projects_v2_item: *939 sender: *4 required: - action @@ -182921,9 +184225,9 @@ x-webhooks: to: type: string nullable: true - installation: *884 - organization: *885 - projects_v2_item: *935 + installation: *888 + organization: *889 + projects_v2_item: *939 sender: *4 required: - action @@ -183006,10 +184310,10 @@ x-webhooks: type: string enum: - restored - changes: *938 - installation: *884 - organization: *885 - projects_v2_item: *935 + changes: *942 + installation: *888 + organization: *889 + projects_v2_item: *939 sender: *4 required: - action @@ -183091,9 +184395,9 @@ x-webhooks: type: string enum: - reopened - installation: *884 - organization: *885 - projects_v2: *426 + installation: *888 + organization: *889 + projects_v2: *433 sender: *4 required: - action @@ -183174,14 +184478,14 @@ x-webhooks: type: string enum: - created - installation: *884 - organization: *885 - projects_v2_status_update: &941 + installation: *888 + organization: *889 + projects_v2_status_update: &945 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *939 - required: *940 + properties: *943 + required: *944 sender: *4 required: - action @@ -183262,9 +184566,9 @@ x-webhooks: type: string enum: - deleted - installation: *884 - organization: *885 - projects_v2_status_update: *941 + installation: *888 + organization: *889 + projects_v2_status_update: *945 sender: *4 required: - action @@ -183400,9 +184704,9 @@ x-webhooks: type: string format: date nullable: true - installation: *884 - organization: *885 - projects_v2_status_update: *941 + installation: *888 + organization: *889 + projects_v2_status_update: *945 sender: *4 required: - action @@ -183473,10 +184777,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - repository @@ -183553,13 +184857,13 @@ x-webhooks: type: string enum: - assigned - assignee: *912 - enterprise: *883 - installation: *884 - number: &942 + assignee: *916 + enterprise: *887 + installation: *888 + number: &946 description: The pull request number. type: integer - organization: *885 + organization: *889 pull_request: title: Pull Request type: object @@ -185846,7 +187150,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 sender: *4 required: - action @@ -185928,11 +187232,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 number: type: integer - organization: *885 + organization: *889 pull_request: title: Pull Request type: object @@ -188214,7 +189518,7 @@ x-webhooks: - draft reason: type: string - repository: *886 + repository: *890 sender: *4 required: - action @@ -188296,11 +189600,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 number: type: integer - organization: *885 + organization: *889 pull_request: title: Pull Request type: object @@ -190582,7 +191886,7 @@ x-webhooks: - draft reason: type: string - repository: *886 + repository: *890 sender: *4 required: - action @@ -190664,13 +191968,13 @@ x-webhooks: type: string enum: - closed - enterprise: *883 - installation: *884 - number: *942 - organization: *885 - pull_request: &943 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 + pull_request: &947 allOf: - - *731 + - *735 - type: object properties: allow_auto_merge: @@ -190732,7 +192036,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *886 + repository: *890 sender: *4 required: - action @@ -190813,12 +192117,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *883 - installation: *884 - number: *942 - organization: *885 - pull_request: *943 - repository: *886 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 + pull_request: *947 + repository: *890 sender: *4 required: - action @@ -190898,11 +192202,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *883 - milestone: *713 - number: *942 - organization: *885 - pull_request: &944 + enterprise: *887 + milestone: *717 + number: *946 + organization: *889 + pull_request: &948 title: Pull Request type: object properties: @@ -193183,7 +194487,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 sender: *4 required: - action @@ -193262,11 +194566,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 number: type: integer - organization: *885 + organization: *889 pull_request: title: Pull Request type: object @@ -195566,7 +196870,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *886 + repository: *890 sender: *4 required: - action @@ -195690,12 +196994,12 @@ x-webhooks: type: string required: - from - enterprise: *883 - installation: *884 - number: *942 - organization: *885 - pull_request: *943 - repository: *886 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 + pull_request: *947 + repository: *890 sender: *4 required: - action @@ -195775,11 +197079,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 number: type: integer - organization: *885 + organization: *889 pull_request: title: Pull Request type: object @@ -198064,7 +199368,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 sender: *4 required: - action @@ -198144,11 +199448,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *883 - installation: *884 - label: *906 - number: *942 - organization: *885 + enterprise: *887 + installation: *888 + label: *910 + number: *946 + organization: *889 pull_request: title: Pull Request type: object @@ -200434,7 +201738,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 sender: *4 required: - action @@ -200515,10 +201819,10 @@ x-webhooks: type: string enum: - locked - enterprise: *883 - installation: *884 - number: *942 - organization: *885 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 pull_request: title: Pull Request type: object @@ -202802,7 +204106,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 sender: *4 required: - action @@ -202882,12 +204186,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *883 - milestone: *713 - number: *942 - organization: *885 - pull_request: *944 - repository: *886 + enterprise: *887 + milestone: *717 + number: *946 + organization: *889 + pull_request: *948 + repository: *890 sender: *4 required: - action @@ -202966,12 +204270,12 @@ x-webhooks: type: string enum: - opened - enterprise: *883 - installation: *884 - number: *942 - organization: *885 - pull_request: *943 - repository: *886 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 + pull_request: *947 + repository: *890 sender: *4 required: - action @@ -203052,12 +204356,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *883 - installation: *884 - number: *942 - organization: *885 - pull_request: *943 - repository: *886 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 + pull_request: *947 + repository: *890 sender: *4 required: - action @@ -203137,12 +204441,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *883 - installation: *884 - number: *942 - organization: *885 - pull_request: *943 - repository: *886 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 + pull_request: *947 + repository: *890 sender: *4 required: - action @@ -203508,9 +204812,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 pull_request: type: object properties: @@ -205684,7 +206988,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *886 + repository: *890 sender: *4 required: - action @@ -205764,7 +207068,7 @@ x-webhooks: type: string enum: - deleted - comment: &946 + comment: &950 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. @@ -206049,9 +207353,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 pull_request: type: object properties: @@ -208213,7 +209517,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *886 + repository: *890 sender: *4 required: - action @@ -208293,11 +209597,11 @@ x-webhooks: type: string enum: - edited - changes: *945 - comment: *946 - enterprise: *883 - installation: *884 - organization: *885 + changes: *949 + comment: *950 + enterprise: *887 + installation: *888 + organization: *889 pull_request: type: object properties: @@ -210462,7 +211766,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *886 + repository: *890 sender: *4 required: - action @@ -210543,9 +211847,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 pull_request: title: Simple Pull Request type: object @@ -212722,7 +214026,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *886 + repository: *890 review: description: The review that was affected. type: object @@ -212969,9 +214273,9 @@ x-webhooks: type: string required: - from - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 pull_request: title: Simple Pull Request type: object @@ -215021,8 +216325,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *886 - review: &947 + repository: *890 + review: &951 description: The review that was affected. type: object properties: @@ -215255,12 +216559,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 number: description: The pull request number. type: integer - organization: *885 + organization: *889 pull_request: title: Pull Request type: object @@ -217547,7 +218851,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 requested_reviewer: title: User type: object @@ -217631,12 +218935,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 number: description: The pull request number. type: integer - organization: *885 + organization: *889 pull_request: title: Pull Request type: object @@ -219930,7 +221234,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 requested_team: title: Team description: Groups of organization members that gives permissions @@ -220122,12 +221426,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 number: description: The pull request number. type: integer - organization: *885 + organization: *889 pull_request: title: Pull Request type: object @@ -222416,7 +223720,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 requested_reviewer: title: User type: object @@ -222501,12 +223805,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *883 - installation: *884 + enterprise: *887 + installation: *888 number: description: The pull request number. type: integer - organization: *885 + organization: *889 pull_request: title: Pull Request type: object @@ -224786,7 +226090,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 requested_team: title: Team description: Groups of organization members that gives permissions @@ -224967,9 +226271,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 pull_request: title: Simple Pull Request type: object @@ -227148,8 +228452,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *886 - review: *947 + repository: *890 + review: *951 sender: *4 required: - action @@ -227229,9 +228533,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 pull_request: title: Simple Pull Request type: object @@ -229319,7 +230623,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *886 + repository: *890 sender: *4 thread: type: object @@ -229706,9 +231010,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 pull_request: title: Simple Pull Request type: object @@ -231782,7 +233086,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *886 + repository: *890 sender: *4 thread: type: object @@ -232172,10 +233476,10 @@ x-webhooks: type: string before: type: string - enterprise: *883 - installation: *884 - number: *942 - organization: *885 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 pull_request: title: Pull Request type: object @@ -234450,7 +235754,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 sender: *4 required: - action @@ -234532,11 +235836,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *948 - enterprise: *883 - installation: *884 - number: *942 - organization: *885 + assignee: *952 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 pull_request: title: Pull Request type: object @@ -236823,7 +238127,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 sender: *4 required: - action @@ -236902,11 +238206,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *883 - installation: *884 - label: *906 - number: *942 - organization: *885 + enterprise: *887 + installation: *888 + label: *910 + number: *946 + organization: *889 pull_request: title: Pull Request type: object @@ -239183,7 +240487,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 sender: *4 required: - action @@ -239264,10 +240568,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *883 - installation: *884 - number: *942 - organization: *885 + enterprise: *887 + installation: *888 + number: *946 + organization: *889 pull_request: title: Pull Request type: object @@ -241536,7 +242840,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *886 + repository: *890 sender: *4 required: - action @@ -241736,7 +243040,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *883 + enterprise: *887 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -241828,8 +243132,8 @@ x-webhooks: - url - author - committer - installation: *884 - organization: *885 + installation: *888 + organization: *889 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -242415,9 +243719,9 @@ x-webhooks: type: string enum: - published - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 registry_package: type: object properties: @@ -242863,7 +244167,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *929 + items: *933 summary: type: string tag_name: @@ -242917,7 +244221,7 @@ x-webhooks: - owner - package_version - registry - repository: *886 + repository: *890 sender: *4 required: - action @@ -242995,9 +244299,9 @@ x-webhooks: type: string enum: - updated - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 registry_package: type: object properties: @@ -243305,7 +244609,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *929 + items: *933 summary: type: string tag_name: @@ -243354,7 +244658,7 @@ x-webhooks: - owner - package_version - registry - repository: *886 + repository: *890 sender: *4 required: - action @@ -243431,10 +244735,10 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - release: &949 + enterprise: *887 + installation: *888 + organization: *889 + release: &953 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -243752,7 +245056,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *886 + repository: *890 sender: *4 required: - action @@ -243829,11 +245133,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - organization: *885 - release: *949 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + release: *953 + repository: *890 sender: *4 required: - action @@ -243950,11 +245254,11 @@ x-webhooks: type: boolean required: - to - enterprise: *883 - installation: *884 - organization: *885 - release: *949 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + release: *953 + repository: *890 sender: *4 required: - action @@ -244032,9 +245336,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -244356,7 +245660,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *886 + repository: *890 sender: *4 required: - action @@ -244432,10 +245736,10 @@ x-webhooks: type: string enum: - published - enterprise: *883 - installation: *884 - organization: *885 - release: &950 + enterprise: *887 + installation: *888 + organization: *889 + release: &954 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -244754,7 +246058,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *886 + repository: *890 sender: *4 required: - action @@ -244830,11 +246134,11 @@ x-webhooks: type: string enum: - released - enterprise: *883 - installation: *884 - organization: *885 - release: *949 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + release: *953 + repository: *890 sender: *4 required: - action @@ -244910,11 +246214,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *883 - installation: *884 - organization: *885 - release: *950 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + release: *954 + repository: *890 sender: *4 required: - action @@ -244990,11 +246294,11 @@ x-webhooks: type: string enum: - published - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - repository_advisory: *783 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + repository_advisory: *787 sender: *4 required: - action @@ -245070,11 +246374,11 @@ x-webhooks: type: string enum: - reported - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - repository_advisory: *783 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + repository_advisory: *787 sender: *4 required: - action @@ -245150,10 +246454,10 @@ x-webhooks: type: string enum: - archived - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -245230,10 +246534,10 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -245311,10 +246615,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -245398,10 +246702,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -245513,10 +246817,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -245588,10 +246892,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 status: type: string @@ -245672,10 +246976,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -245752,10 +247056,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -245849,10 +247153,10 @@ x-webhooks: - name required: - repository - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -245932,10 +247236,10 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 repository_ruleset: *195 sender: *4 required: @@ -246014,10 +247318,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 repository_ruleset: *195 sender: *4 required: @@ -246096,10 +247400,10 @@ x-webhooks: type: string enum: - edited - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 repository_ruleset: *195 changes: type: object @@ -246161,16 +247465,16 @@ x-webhooks: properties: added: type: array - items: *751 + items: *755 deleted: type: array - items: *751 + items: *755 updated: type: array items: type: object properties: - rule: *751 + rule: *755 changes: type: object properties: @@ -246404,10 +247708,10 @@ x-webhooks: - from required: - owner - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -246485,10 +247789,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -246566,7 +247870,7 @@ x-webhooks: type: string enum: - create - alert: &951 + alert: &955 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -246688,10 +247992,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -246897,10 +248201,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -246978,11 +248282,11 @@ x-webhooks: type: string enum: - reopen - alert: *951 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + alert: *955 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -247181,10 +248485,10 @@ x-webhooks: enum: - fixed - open - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -247262,7 +248566,7 @@ x-webhooks: type: string enum: - assigned - alert: &952 + alert: &956 type: object properties: number: *131 @@ -247405,10 +248709,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -247486,11 +248790,11 @@ x-webhooks: type: string enum: - created - alert: *952 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + alert: *956 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -247571,11 +248875,11 @@ x-webhooks: type: string enum: - created - alert: *952 - installation: *884 - location: *953 - organization: *885 - repository: *886 + alert: *956 + installation: *888 + location: *957 + organization: *889 + repository: *890 sender: *4 required: - location @@ -247813,11 +249117,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *952 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + alert: *956 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -247895,11 +249199,11 @@ x-webhooks: type: string enum: - reopened - alert: *952 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + alert: *956 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -247977,11 +249281,11 @@ x-webhooks: type: string enum: - resolved - alert: *952 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + alert: *956 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -248059,12 +249363,12 @@ x-webhooks: type: string enum: - unassigned - alert: *952 + alert: *956 assignee: *4 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -248142,11 +249446,11 @@ x-webhooks: type: string enum: - validated - alert: *952 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + alert: *956 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -248272,10 +249576,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *886 - enterprise: *883 - installation: *884 - organization: *885 + repository: *890 + enterprise: *887 + installation: *888 + organization: *889 sender: *4 required: - action @@ -248353,11 +249657,11 @@ x-webhooks: type: string enum: - published - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - security_advisory: &954 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + security_advisory: &958 description: The details of the security advisory, including summary, description, and severity. type: object @@ -248528,11 +249832,11 @@ x-webhooks: type: string enum: - updated - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 - security_advisory: *954 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 + security_advisory: *958 sender: *4 required: - action @@ -248605,10 +249909,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -248780,11 +250084,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *443 - enterprise: *883 - installation: *884 - organization: *885 - repository: *490 + security_and_analysis: *450 + enterprise: *887 + installation: *888 + organization: *889 + repository: *497 sender: *4 required: - changes @@ -248862,12 +250166,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - sponsorship: &955 + sponsorship: &959 type: object properties: created_at: @@ -249168,12 +250472,12 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - sponsorship: *955 + sponsorship: *959 required: - action - sponsorship @@ -249261,12 +250565,12 @@ x-webhooks: type: string required: - from - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - sponsorship: *955 + sponsorship: *959 required: - action - changes @@ -249343,17 +250647,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &956 + effective_date: &960 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: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - sponsorship: *955 + sponsorship: *959 required: - action - sponsorship @@ -249427,7 +250731,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &957 + changes: &961 type: object properties: tier: @@ -249471,13 +250775,13 @@ x-webhooks: - from required: - tier - effective_date: *956 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + effective_date: *960 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - sponsorship: *955 + sponsorship: *959 required: - action - changes @@ -249554,13 +250858,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *957 - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + changes: *961 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - sponsorship: *955 + sponsorship: *959 required: - action - changes @@ -249634,10 +250938,10 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -249720,10 +251024,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -250143,15 +251447,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *883 + enterprise: *887 id: description: The unique identifier of the status. type: integer - installation: *884 + installation: *888 name: type: string - organization: *885 - repository: *886 + organization: *889 + repository: *890 sender: *4 sha: description: The Commit SHA. @@ -250266,17 +251570,16 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *229 - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 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 @@ -250358,17 +251661,16 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *229 - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 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 @@ -250450,17 +251752,16 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *229 - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 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 @@ -250542,17 +251843,16 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *229 - installation: *884 - organization: *885 - repository: *886 + installation: *888 + organization: *889 + repository: *890 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 @@ -250621,12 +251921,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 - team: &958 + team: &962 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -250849,9 +252149,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 repository: title: Repository description: A git repository @@ -251309,7 +252609,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *958 + team: *962 required: - action - team @@ -251385,9 +252685,9 @@ x-webhooks: type: string enum: - created - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 repository: title: Repository description: A git repository @@ -251845,7 +253145,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *958 + team: *962 required: - action - team @@ -251922,9 +253222,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 repository: title: Repository description: A git repository @@ -252382,7 +253682,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *958 + team: *962 required: - action - team @@ -252526,9 +253826,9 @@ x-webhooks: - from required: - permissions - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 repository: title: Repository description: A git repository @@ -252986,7 +254286,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *958 + team: *962 required: - action - changes @@ -253064,9 +254364,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *883 - installation: *884 - organization: *885 + enterprise: *887 + installation: *888 + organization: *889 repository: title: Repository description: A git repository @@ -253524,7 +254824,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *958 + team: *962 required: - action - team @@ -253600,10 +254900,10 @@ x-webhooks: type: string enum: - started - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 required: - action @@ -253676,16 +254976,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *883 + enterprise: *887 inputs: type: object nullable: true additionalProperties: true - installation: *884 - organization: *885 + installation: *888 + organization: *889 ref: type: string - repository: *886 + repository: *890 sender: *4 workflow: type: string @@ -253767,10 +255067,10 @@ x-webhooks: type: string enum: - completed - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 workflow_job: allOf: @@ -254007,7 +255307,7 @@ x-webhooks: type: string required: - conclusion - deployment: *632 + deployment: *638 required: - action - repository @@ -254086,10 +255386,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *883 - installation: *884 - organization: *885 - repository: *886 + enterprise: *887 + installation: *888 + organization: *889 + repository: *890 sender: *4 workflow_job: allOf: @@ -254349,7 +255649,7 @@ x-webhooks: required: - status - steps - deployment: *632 + deployment: *638 required: - action - repository @@ -254428,10 +255728,10 @@ x-webhooks: type: string enum: {"code":"deadline_exceeded","msg":"operation timed out"}