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 b54c65bcdd..f2144efb67 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 @@ -11403,6 +11403,294 @@ } } }, + "/orgs/{org}/artifacts/metadata/storage-records": { + "post": { + "summary": "Create artifact metadata storage records", + "description": "Create metadata storage records for artifacts associated with an organization.\nThis endpoint will create a new artifact storage record on behalf of any artifact matching the provided digest and\nassociated with a repository owned by the organization.", + "tags": [ + "orgs" + ], + "operationId": "orgs/create-artifact-storage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-records" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact.", + "example": "libfoo-1.2.3", + "minLength": 1 + }, + "digest": { + "type": "string", + "description": "The digest of the artifact (algorithm:hex-encoded-digest).", + "example": "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0...", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "artifact_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The URL where the artifact is stored.", + "example": "https://reg.example.com/artifactory/bar/libfoo-1.2.3" + }, + "path": { + "type": "string", + "format": "uri", + "description": "The path of the artifact.", + "example": "com/github/bar/libfoo-1.2.3" + }, + "registry_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The base URL of the artifact registry.", + "example": "https://reg.example.com/artifactory/", + "minLength": 1 + }, + "repository": { + "type": "string", + "description": "The repository name within the registry.", + "example": "bar" + }, + "status": { + "type": "string", + "description": "The status of the artifact (e.g., active, inactive).", + "example": "active", + "enum": [ + "active", + "eol", + "deleted" + ], + "default": "active" + } + }, + "required": [ + "name", + "digest", + "registry_url" + ] + }, + "examples": { + "default": { + "value": { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Artifact metadata storage record stored successfully.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "type": "integer", + "example": 1 + }, + "storage_records": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "artifact_url": { + "type": "string" + }, + "registry_url": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "status": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "storage_records": [ + { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active", + "created_at": "2023-10-01T12:00:00Z", + "updated_at": "2023-10-01T12:00:00Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, + "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { + "get": { + "summary": "List artifact storage records", + "description": "List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-artifact-storage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "subject_digest", + "description": "The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`.", + "in": "path", + "required": true, + "example": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "schema": { + "type": "string", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "x-multi-segment": true + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of storage records for this digest and organization", + "example": 3, + "type": "integer" + }, + "storage_records": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "artifact_url": { + "type": "string" + }, + "registry_url": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "status": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "storage_records": [ + { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active", + "created_at": "2023-10-01T12:00:00Z", + "updated_at": "2023-10-01T12:00:00Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, "/orgs/{org}/attestations/bulk-list": { "post": { "summary": "List attestations by bulk subject digests", @@ -26712,21 +27000,21 @@ "deprecated": true } }, - "/projects/columns/cards/{card_id}": { + "/projects/columns/{column_id}": { "get": { - "summary": "Get a project card", + "summary": "Get a project column", "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", "tags": [ "projects-classic" ], - "operationId": "projects-classic/get-card", + "operationId": "projects-classic/get-column", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#get-a-project-card" + "url": "https://docs.github.com/rest/projects-classic/columns#get-a-project-column" }, "parameters": [ { - "$ref": "#/components/parameters/card-id" + "$ref": "#/components/parameters/column-id" } ], "responses": { @@ -26735,11 +27023,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/project-card" + "$ref": "#/components/schemas/project-column" }, "examples": { "default": { - "$ref": "#/components/examples/project-card" + "$ref": "#/components/examples/project-column" } } } @@ -26751,64 +27039,61 @@ "403": { "$ref": "#/components/responses/forbidden" }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, "404": { "$ref": "#/components/responses/not_found" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "cards", + "subcategory": "columns", "deprecationDate": "2024-05-23", "removalDate": "2025-04-01" }, "deprecated": true }, "patch": { - "summary": "Update an existing project card", + "summary": "Update an existing project column", "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", "tags": [ "projects-classic" ], - "operationId": "projects-classic/update-card", + "operationId": "projects-classic/update-column", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#update-an-existing-project-card" + "url": "https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column" }, "parameters": [ { - "$ref": "#/components/parameters/card-id" + "$ref": "#/components/parameters/column-id" } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { - "type": "object", "properties": { - "note": { - "description": "The project card's note", - "example": "Update all gems", - "type": "string", - "nullable": true - }, - "archived": { - "description": "Whether or not the card is archived", - "example": false, - "type": "boolean" + "name": { + "description": "Name of the project column", + "example": "Remaining tasks", + "type": "string" } - } + }, + "required": [ + "name" + ], + "type": "object" }, "examples": { "default": { - "summary": "Change the note on the card", + "summary": "Rename the project column", "value": { - "note": "Add payload for delete Project column" + "name": "To Do" } } } @@ -26821,11 +27106,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/project-card" + "$ref": "#/components/schemas/project-column" }, "examples": { "default": { - "$ref": "#/components/examples/project-card" + "$ref": "#/components/examples/project-column" } } } @@ -26839,38 +27124,32 @@ }, "401": { "$ref": "#/components/responses/requires_authentication" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "cards", + "subcategory": "columns", "deprecationDate": "2024-05-23", "removalDate": "2025-04-01" }, "deprecated": true }, "delete": { - "summary": "Delete a project card", + "summary": "Delete a project column", "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", "tags": [ "projects-classic" ], - "operationId": "projects-classic/delete-card", + "operationId": "projects-classic/delete-column", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#delete-a-project-card" + "url": "https://docs.github.com/rest/projects-classic/columns#delete-a-project-column" }, "parameters": [ { - "$ref": "#/components/parameters/card-id" + "$ref": "#/components/parameters/column-id" } ], "responses": { @@ -26881,62 +27160,38 @@ "$ref": "#/components/responses/not_modified" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } + "$ref": "#/components/responses/forbidden" }, "401": { "$ref": "#/components/responses/requires_authentication" - }, - "404": { - "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "cards", + "subcategory": "columns", "deprecationDate": "2024-05-23", "removalDate": "2025-04-01" }, "deprecated": true } }, - "/projects/columns/cards/{card_id}/moves": { + "/projects/columns/{column_id}/moves": { "post": { - "summary": "Move a project card", + "summary": "Move a project column", "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", "tags": [ "projects-classic" ], - "operationId": "projects-classic/move-card", + "operationId": "projects-classic/move-column", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#move-a-project-card" + "url": "https://docs.github.com/rest/projects-classic/columns#move-a-project-column" }, "parameters": [ { - "$ref": "#/components/parameters/card-id" + "$ref": "#/components/parameters/column-id" } ], "requestBody": { @@ -26946,15 +27201,10 @@ "schema": { "properties": { "position": { - "description": "The position of the card in a column. Can be one of: `top`, `bottom`, or `after:` to place after the specified card.", - "example": "bottom", + "description": "The position of the column in a project. Can be one of: `first`, `last`, or `after:` to place after the specified column.", + "example": "last", "type": "string", - "pattern": "^(?:top|bottom|after:\\d+)$" - }, - "column_id": { - "description": "The unique identifier of the column the card should be moved to", - "example": 42, - "type": "integer" + "pattern": "^(?:first|last|after:\\d+)$" } }, "required": [ @@ -26964,584 +27214,9 @@ }, "examples": { "default": { - "summary": "Move the card to the bottom of the column", + "summary": "Move the column to the end of the board", "value": { - "column_id": 42, - "position": "bottom" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": {}, - "additionalProperties": false - }, - "examples": { - "default": { - "value": null - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "resource": { - "type": "string" - }, - "field": { - "type": "string" - } - } - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "503": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - } - } - } - } - } - } - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "cards", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, - "/projects/columns/{column_id}": { - "get": { - "summary": "Get a project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/get-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#get-a-project-column" - }, - "parameters": [ - { - "$ref": "#/components/parameters/column-id" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project-column" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-column" - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "patch": { - "summary": "Update an existing project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/update-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column" - }, - "parameters": [ - { - "$ref": "#/components/parameters/column-id" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "summary": "Rename the project column", - "value": { - "name": "To Do" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project-column" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-column" - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "delete": { - "summary": "Delete a project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/delete-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#delete-a-project-column" - }, - "parameters": [ - { - "$ref": "#/components/parameters/column-id" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, - "/projects/columns/{column_id}/cards": { - "get": { - "summary": "List project cards", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-cards", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#list-project-cards" - }, - "parameters": [ - { - "$ref": "#/components/parameters/column-id" - }, - { - "name": "archived_state", - "description": "Filters the project cards that are returned by the card's state.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "all", - "archived", - "not_archived" - ], - "default": "not_archived" - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/project-card" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-card-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "cards", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a project card", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-card", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#create-a-project-card" - }, - "parameters": [ - { - "$ref": "#/components/parameters/column-id" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "note": { - "description": "The project card's note", - "example": "Update all gems", - "type": "string", - "nullable": true - } - }, - "required": [ - "note" - ] - }, - { - "type": "object", - "properties": { - "content_id": { - "description": "The unique identifier of the content associated with the card", - "example": 42, - "type": "integer" - }, - "content_type": { - "description": "The piece of content associated with the card", - "example": "PullRequest", - "type": "string" - } - }, - "required": [ - "content_id", - "content_type" - ] - } - ] - }, - "examples": { - "default": { - "summary": "Create a new card", - "value": { - "note": "Add payload for delete Project column" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project-card" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-card" - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "422": { - "description": "Validation failed", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/validation-error" - }, - { - "$ref": "#/components/schemas/validation-error-simple" - } - ] - } - } - } - }, - "503": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - } - } - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "cards", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, - "/projects/columns/{column_id}/moves": { - "post": { - "summary": "Move a project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/move-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#move-a-project-column" - }, - "parameters": [ - { - "$ref": "#/components/parameters/column-id" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "position": { - "description": "The position of the column in a project. Can be one of: `first`, `last`, or `after:` to place after the specified column.", - "example": "last", - "type": "string", - "pattern": "^(?:first|last|after:\\d+)$" - } - }, - "required": [ - "position" - ], - "type": "object" - }, - "examples": { - "default": { - "summary": "Move the column to the end of the board", - "value": { - "position": "last" + "position": "last" } } } @@ -28346,7 +28021,7 @@ "/repos/{owner}/{repo}": { "get": { "summary": "Get a repository", - "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n> [!NOTE]\n> In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"", + "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n> [!NOTE]\n> - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n> - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions.", "tags": [ "repos" ], @@ -62405,7 +62080,7 @@ "/search/issues": { "get": { "summary": "Search issues and pull requests", - "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on September 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", + "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", "tags": [ "search" ], @@ -62513,7 +62188,7 @@ "category": "search", "subcategory": "search", "deprecationDate": "2025-03-04", - "removalDate": "2025-09-04" + "removalDate": "2025-11-04" }, "deprecated": true } @@ -103522,7 +103197,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -116122,83 +115796,6 @@ "updated_at" ] }, - "project-card": { - "title": "Project Card", - "description": "Project cards represent a scope of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/cards/1478" - }, - "id": { - "description": "The project card's ID", - "example": 42, - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string", - "example": "MDExOlByb2plY3RDYXJkMTQ3OA==" - }, - "note": { - "type": "string", - "example": "Add payload for delete Project column", - "nullable": true - }, - "creator": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:21:06Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:20:22Z" - }, - "archived": { - "description": "Whether or not the card is archived", - "example": false, - "type": "boolean" - }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "content_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test/issues/3" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - } - }, - "required": [ - "id", - "node_id", - "note", - "url", - "column_url", - "project_url", - "creator", - "created_at", - "updated_at" - ] - }, "project-column": { "title": "Project Column", "description": "Project columns contain cards of work.", @@ -124924,7 +124521,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ], @@ -146552,6 +146148,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -146598,6 +146197,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -146644,6 +146246,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -146701,6 +146306,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -283888,40 +283496,6 @@ } ] }, - "project-card": { - "value": { - "url": "https://api.github.com/projects/columns/cards/1478", - "id": 1478, - "node_id": "MDExOlByb2plY3RDYXJkMTQ3OA==", - "note": "Add payload for delete Project column", - "creator": { - "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 - }, - "created_at": "2016-09-05T14:21:06Z", - "updated_at": "2016-09-05T14:20:22Z", - "archived": false, - "column_url": "https://api.github.com/projects/columns/367", - "content_url": "https://api.github.com/repos/api-playground/projects-test/issues/3", - "project_url": "https://api.github.com/projects/120" - } - }, "project-column": { "value": { "url": "https://api.github.com/projects/columns/367", @@ -283934,42 +283508,6 @@ "updated_at": "2016-09-05T14:22:28Z" } }, - "project-card-items": { - "value": [ - { - "url": "https://api.github.com/projects/columns/cards/1478", - "id": 1478, - "node_id": "MDExOlByb2plY3RDYXJkMTQ3OA==", - "note": "Add payload for delete Project column", - "creator": { - "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 - }, - "created_at": "2016-09-05T14:21:06Z", - "updated_at": "2016-09-05T14:20:22Z", - "archived": false, - "column_url": "https://api.github.com/projects/columns/367", - "content_url": "https://api.github.com/repos/api-playground/projects-test/issues/3", - "project_url": "https://api.github.com/projects/120" - } - ] - }, "project-3": { "value": { "owner_url": "https://api.github.com/repos/api-playground/projects-test", @@ -304862,15 +304400,6 @@ ] } }, - "card-id": { - "name": "card_id", - "description": "The unique identifier of the card.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, "column-id": { "name": "column_id", "description": "The unique identifier of the column.", 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 b018363058..5d48718556 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 @@ -8279,6 +8279,216 @@ paths: enabledForGitHubApps: true category: actions subcategory: variables + "/orgs/{org}/artifacts/metadata/storage-records": + post: + summary: Create artifact metadata storage records + description: |- + Create metadata storage records for artifacts associated with an organization. + This endpoint will create a new artifact storage record on behalf of any artifact matching the provided digest and + associated with a repository owned by the organization. + tags: + - orgs + operationId: orgs/create-artifact-storage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-records + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the artifact. + example: libfoo-1.2.3 + minLength: 1 + digest: + type: string + description: The digest of the artifact (algorithm:hex-encoded-digest). + example: sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + artifact_url: + type: string + format: uri + pattern: "^https://" + description: The URL where the artifact is stored. + example: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + path: + type: string + format: uri + description: The path of the artifact. + example: com/github/bar/libfoo-1.2.3 + registry_url: + type: string + format: uri + pattern: "^https://" + description: The base URL of the artifact registry. + example: https://reg.example.com/artifactory/ + minLength: 1 + repository: + type: string + description: The repository name within the registry. + example: bar + status: + type: string + description: The status of the artifact (e.g., active, inactive). + example: active + enum: + - active + - eol + - deleted + default: active + required: + - name + - digest + - registry_url + examples: + default: + value: + name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + responses: + '200': + description: Artifact metadata storage record stored successfully. + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + example: 1 + storage_records: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + digest: + type: string + artifact_url: + type: string + registry_url: + type: string + repository: + type: string + status: + type: string + created_at: + type: string + updated_at: + type: string + examples: + default: + value: + total_count: 1 + storage_records: + - name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + created_at: '2023-10-01T12:00:00Z' + updated_at: '2023-10-01T12:00:00Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata + "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": + get: + summary: List artifact storage records + description: |- + List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. + + The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required. + tags: + - orgs + operationId: orgs/list-artifact-storage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records + parameters: + - "$ref": "#/components/parameters/org" + - name: subject_digest + description: The parameter should be set to the attestation's subject's SHA256 + digest, in the form `sha256:HEX_DIGEST`. + in: path + required: true + example: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + schema: + type: string + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + x-multi-segment: true + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of storage records for this digest and + organization + example: 3 + type: integer + storage_records: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + digest: + type: string + artifact_url: + type: string + registry_url: + type: string + repository: + type: string + status: + type: string + created_at: + type: string + updated_at: + type: string + examples: + default: + value: + storage_records: + - name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + created_at: '2023-10-01T12:00:00Z' + updated_at: '2023-10-01T12:00:00Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata "/orgs/{org}/attestations/bulk-list": post: summary: List attestations by bulk subject digests @@ -19420,270 +19630,6 @@ paths: deprecationDate: '2024-07-22' removalDate: '2025-07-22' deprecated: true - "/projects/columns/cards/{card_id}": - get: - summary: Get a project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/get-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#get-a-project-card - parameters: - - "$ref": "#/components/parameters/card-id" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project-card" - examples: - default: - "$ref": "#/components/examples/project-card" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - patch: - summary: Update an existing project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/update-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#update-an-existing-project-card - parameters: - - "$ref": "#/components/parameters/card-id" - requestBody: - required: false - content: - application/json: - schema: - type: object - properties: - note: - description: The project card's note - example: Update all gems - type: string - nullable: true - archived: - description: Whether or not the card is archived - example: false - type: boolean - examples: - default: - summary: Change the note on the card - value: - note: Add payload for delete Project column - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project-card" - examples: - default: - "$ref": "#/components/examples/project-card" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - '404': - "$ref": "#/components/responses/not_found" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - delete: - summary: Delete a project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/delete-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#delete-a-project-card - parameters: - - "$ref": "#/components/parameters/card-id" - responses: - '204': - description: Response - '304': - "$ref": "#/components/responses/not_modified" - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': - "$ref": "#/components/responses/requires_authentication" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - "/projects/columns/cards/{card_id}/moves": - post: - summary: Move a project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/move-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#move-a-project-card - parameters: - - "$ref": "#/components/parameters/card-id" - requestBody: - required: true - content: - application/json: - schema: - properties: - position: - description: 'The position of the card in a column. Can be one of: - `top`, `bottom`, or `after:` to place after the specified - card.' - example: bottom - type: string - pattern: "^(?:top|bottom|after:\\d+)$" - column_id: - description: The unique identifier of the column the card should - be moved to - example: 42 - type: integer - required: - - position - type: object - examples: - default: - summary: Move the card to the bottom of the column - value: - column_id: 42 - position: bottom - responses: - '201': - description: Response - content: - application/json: - schema: - type: object - properties: {} - additionalProperties: false - examples: - default: - value: - '304': - "$ref": "#/components/responses/not_modified" - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: object - properties: - code: - type: string - message: - type: string - resource: - type: string - field: - type: string - '401': - "$ref": "#/components/responses/requires_authentication" - '503': - description: Response - content: - application/json: - schema: - type: object - properties: - code: - type: string - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: object - properties: - code: - type: string - message: - type: string - '422': - "$ref": "#/components/responses/validation_failed" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/projects/columns/{column_id}": get: summary: Get a project column @@ -19812,165 +19758,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/columns/{column_id}/cards": - get: - summary: List project cards - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-cards - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#list-project-cards - parameters: - - "$ref": "#/components/parameters/column-id" - - name: archived_state - description: Filters the project cards that are returned by the card's state. - in: query - required: false - schema: - type: string - enum: - - all - - archived - - not_archived - default: not_archived - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/project-card" - examples: - default: - "$ref": "#/components/examples/project-card-items" - headers: - Link: - "$ref": "#/components/headers/link" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#create-a-project-card - parameters: - - "$ref": "#/components/parameters/column-id" - requestBody: - required: true - content: - application/json: - schema: - oneOf: - - type: object - properties: - note: - description: The project card's note - example: Update all gems - type: string - nullable: true - required: - - note - - type: object - properties: - content_id: - description: The unique identifier of the content associated with - the card - example: 42 - type: integer - content_type: - description: The piece of content associated with the card - example: PullRequest - type: string - required: - - content_id - - content_type - examples: - default: - summary: Create a new card - value: - note: Add payload for delete Project column - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project-card" - examples: - default: - "$ref": "#/components/examples/project-card" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - '422': - description: Validation failed - content: - application/json: - schema: - oneOf: - - "$ref": "#/components/schemas/validation-error" - - "$ref": "#/components/schemas/validation-error-simple" - '503': - description: Response - content: - application/json: - schema: - type: object - properties: - code: - type: string - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: object - properties: - code: - type: string - message: - type: string - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/projects/columns/{column_id}/moves": post: summary: Move a project column @@ -20596,7 +20383,8 @@ paths: The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network. > [!NOTE] - > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions. tags: - repos operationId: repos/get @@ -45312,7 +45100,7 @@ paths: summary: Search issues and pull requests description: |- > [!WARNING] - > **Notice:** Search for issues and pull requests will be overridden by advanced search on September 4, 2025. + > **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025. > You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/). tags: - search @@ -45395,7 +45183,7 @@ paths: category: search subcategory: search deprecationDate: '2025-03-04' - removalDate: '2025-09-04' + removalDate: '2025-11-04' deprecated: true "/search/labels": get: @@ -75371,7 +75159,6 @@ components: - title - url - user - - author_association - created_at - updated_at issue-comment: @@ -85383,67 +85170,6 @@ components: - watchers_count - created_at - updated_at - project-card: - title: Project Card - description: Project cards represent a scope of work. - type: object - properties: - url: - type: string - format: uri - example: https://api.github.com/projects/columns/cards/1478 - id: - description: The project card's ID - example: 42 - type: integer - format: int64 - node_id: - type: string - example: MDExOlByb2plY3RDYXJkMTQ3OA== - note: - type: string - example: Add payload for delete Project column - nullable: true - creator: - "$ref": "#/components/schemas/nullable-simple-user" - created_at: - type: string - format: date-time - example: '2016-09-05T14:21:06Z' - updated_at: - type: string - format: date-time - example: '2016-09-05T14:20:22Z' - archived: - description: Whether or not the card is archived - example: false - type: boolean - column_name: - type: string - project_id: - type: string - column_url: - type: string - format: uri - example: https://api.github.com/projects/columns/367 - content_url: - type: string - format: uri - example: https://api.github.com/repos/api-playground/projects-test/issues/3 - project_url: - type: string - format: uri - example: https://api.github.com/projects/120 - required: - - id - - node_id - - note - - url - - column_url - - project_url - - creator - - created_at - - updated_at project-column: title: Project Column description: Project columns contain cards of work. @@ -92197,7 +91923,6 @@ components: - title - url - user - - author_association - created_at - updated_at nullable: true @@ -108533,6 +108258,8 @@ components: "$ref": "#/components/schemas/check-run-with-simple-check-suite" installation: "$ref": "#/components/schemas/simple-installation" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" organization: "$ref": "#/components/schemas/organization-simple-webhooks" repository: @@ -108566,6 +108293,8 @@ components: "$ref": "#/components/schemas/check-run-with-simple-check-suite" installation: "$ref": "#/components/schemas/simple-installation" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" organization: "$ref": "#/components/schemas/organization-simple-webhooks" repository: @@ -108599,6 +108328,8 @@ components: "$ref": "#/components/schemas/check-run-with-simple-check-suite" installation: "$ref": "#/components/schemas/simple-installation" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" organization: "$ref": "#/components/schemas/organization-simple-webhooks" repository: @@ -108641,6 +108372,8 @@ components: "$ref": "#/components/schemas/check-run-with-simple-check-suite" installation: "$ref": "#/components/schemas/simple-installation" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" organization: "$ref": "#/components/schemas/organization-simple-webhooks" repository: @@ -213492,37 +213225,6 @@ components: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core - project-card: - value: - url: https://api.github.com/projects/columns/cards/1478 - id: 1478 - node_id: MDExOlByb2plY3RDYXJkMTQ3OA== - note: Add payload for delete Project column - creator: - 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 - created_at: '2016-09-05T14:21:06Z' - updated_at: '2016-09-05T14:20:22Z' - archived: false - column_url: https://api.github.com/projects/columns/367 - content_url: https://api.github.com/repos/api-playground/projects-test/issues/3 - project_url: https://api.github.com/projects/120 project-column: value: url: https://api.github.com/projects/columns/367 @@ -213533,37 +213235,6 @@ components: name: To Do created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' - project-card-items: - value: - - url: https://api.github.com/projects/columns/cards/1478 - id: 1478 - node_id: MDExOlByb2plY3RDYXJkMTQ3OA== - note: Add payload for delete Project column - creator: - 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 - created_at: '2016-09-05T14:21:06Z' - updated_at: '2016-09-05T14:20:22Z' - archived: false - column_url: https://api.github.com/projects/columns/367 - content_url: https://api.github.com/repos/api-playground/projects-test/issues/3 - project_url: https://api.github.com/projects/120 project-3: value: owner_url: https://api.github.com/repos/api-playground/projects-test @@ -231624,13 +231295,6 @@ components: enum: - enable_all - disable_all - card-id: - name: card_id - description: The unique identifier of the card. - in: path - required: true - schema: - type: integer column-id: name: column_id description: The unique identifier of the column. diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index b54c65bcdd..f2144efb67 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -11403,6 +11403,294 @@ } } }, + "/orgs/{org}/artifacts/metadata/storage-records": { + "post": { + "summary": "Create artifact metadata storage records", + "description": "Create metadata storage records for artifacts associated with an organization.\nThis endpoint will create a new artifact storage record on behalf of any artifact matching the provided digest and\nassociated with a repository owned by the organization.", + "tags": [ + "orgs" + ], + "operationId": "orgs/create-artifact-storage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-records" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact.", + "example": "libfoo-1.2.3", + "minLength": 1 + }, + "digest": { + "type": "string", + "description": "The digest of the artifact (algorithm:hex-encoded-digest).", + "example": "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0...", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "artifact_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The URL where the artifact is stored.", + "example": "https://reg.example.com/artifactory/bar/libfoo-1.2.3" + }, + "path": { + "type": "string", + "format": "uri", + "description": "The path of the artifact.", + "example": "com/github/bar/libfoo-1.2.3" + }, + "registry_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The base URL of the artifact registry.", + "example": "https://reg.example.com/artifactory/", + "minLength": 1 + }, + "repository": { + "type": "string", + "description": "The repository name within the registry.", + "example": "bar" + }, + "status": { + "type": "string", + "description": "The status of the artifact (e.g., active, inactive).", + "example": "active", + "enum": [ + "active", + "eol", + "deleted" + ], + "default": "active" + } + }, + "required": [ + "name", + "digest", + "registry_url" + ] + }, + "examples": { + "default": { + "value": { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Artifact metadata storage record stored successfully.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "type": "integer", + "example": 1 + }, + "storage_records": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "artifact_url": { + "type": "string" + }, + "registry_url": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "status": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "storage_records": [ + { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active", + "created_at": "2023-10-01T12:00:00Z", + "updated_at": "2023-10-01T12:00:00Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, + "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { + "get": { + "summary": "List artifact storage records", + "description": "List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-artifact-storage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "subject_digest", + "description": "The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`.", + "in": "path", + "required": true, + "example": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "schema": { + "type": "string", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "x-multi-segment": true + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of storage records for this digest and organization", + "example": 3, + "type": "integer" + }, + "storage_records": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "artifact_url": { + "type": "string" + }, + "registry_url": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "status": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "storage_records": [ + { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active", + "created_at": "2023-10-01T12:00:00Z", + "updated_at": "2023-10-01T12:00:00Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, "/orgs/{org}/attestations/bulk-list": { "post": { "summary": "List attestations by bulk subject digests", @@ -26712,21 +27000,21 @@ "deprecated": true } }, - "/projects/columns/cards/{card_id}": { + "/projects/columns/{column_id}": { "get": { - "summary": "Get a project card", + "summary": "Get a project column", "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", "tags": [ "projects-classic" ], - "operationId": "projects-classic/get-card", + "operationId": "projects-classic/get-column", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#get-a-project-card" + "url": "https://docs.github.com/rest/projects-classic/columns#get-a-project-column" }, "parameters": [ { - "$ref": "#/components/parameters/card-id" + "$ref": "#/components/parameters/column-id" } ], "responses": { @@ -26735,11 +27023,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/project-card" + "$ref": "#/components/schemas/project-column" }, "examples": { "default": { - "$ref": "#/components/examples/project-card" + "$ref": "#/components/examples/project-column" } } } @@ -26751,64 +27039,61 @@ "403": { "$ref": "#/components/responses/forbidden" }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, "404": { "$ref": "#/components/responses/not_found" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "cards", + "subcategory": "columns", "deprecationDate": "2024-05-23", "removalDate": "2025-04-01" }, "deprecated": true }, "patch": { - "summary": "Update an existing project card", + "summary": "Update an existing project column", "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", "tags": [ "projects-classic" ], - "operationId": "projects-classic/update-card", + "operationId": "projects-classic/update-column", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#update-an-existing-project-card" + "url": "https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column" }, "parameters": [ { - "$ref": "#/components/parameters/card-id" + "$ref": "#/components/parameters/column-id" } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { - "type": "object", "properties": { - "note": { - "description": "The project card's note", - "example": "Update all gems", - "type": "string", - "nullable": true - }, - "archived": { - "description": "Whether or not the card is archived", - "example": false, - "type": "boolean" + "name": { + "description": "Name of the project column", + "example": "Remaining tasks", + "type": "string" } - } + }, + "required": [ + "name" + ], + "type": "object" }, "examples": { "default": { - "summary": "Change the note on the card", + "summary": "Rename the project column", "value": { - "note": "Add payload for delete Project column" + "name": "To Do" } } } @@ -26821,11 +27106,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/project-card" + "$ref": "#/components/schemas/project-column" }, "examples": { "default": { - "$ref": "#/components/examples/project-card" + "$ref": "#/components/examples/project-column" } } } @@ -26839,38 +27124,32 @@ }, "401": { "$ref": "#/components/responses/requires_authentication" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "cards", + "subcategory": "columns", "deprecationDate": "2024-05-23", "removalDate": "2025-04-01" }, "deprecated": true }, "delete": { - "summary": "Delete a project card", + "summary": "Delete a project column", "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", "tags": [ "projects-classic" ], - "operationId": "projects-classic/delete-card", + "operationId": "projects-classic/delete-column", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#delete-a-project-card" + "url": "https://docs.github.com/rest/projects-classic/columns#delete-a-project-column" }, "parameters": [ { - "$ref": "#/components/parameters/card-id" + "$ref": "#/components/parameters/column-id" } ], "responses": { @@ -26881,62 +27160,38 @@ "$ref": "#/components/responses/not_modified" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } + "$ref": "#/components/responses/forbidden" }, "401": { "$ref": "#/components/responses/requires_authentication" - }, - "404": { - "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "cards", + "subcategory": "columns", "deprecationDate": "2024-05-23", "removalDate": "2025-04-01" }, "deprecated": true } }, - "/projects/columns/cards/{card_id}/moves": { + "/projects/columns/{column_id}/moves": { "post": { - "summary": "Move a project card", + "summary": "Move a project column", "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", "tags": [ "projects-classic" ], - "operationId": "projects-classic/move-card", + "operationId": "projects-classic/move-column", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#move-a-project-card" + "url": "https://docs.github.com/rest/projects-classic/columns#move-a-project-column" }, "parameters": [ { - "$ref": "#/components/parameters/card-id" + "$ref": "#/components/parameters/column-id" } ], "requestBody": { @@ -26946,15 +27201,10 @@ "schema": { "properties": { "position": { - "description": "The position of the card in a column. Can be one of: `top`, `bottom`, or `after:` to place after the specified card.", - "example": "bottom", + "description": "The position of the column in a project. Can be one of: `first`, `last`, or `after:` to place after the specified column.", + "example": "last", "type": "string", - "pattern": "^(?:top|bottom|after:\\d+)$" - }, - "column_id": { - "description": "The unique identifier of the column the card should be moved to", - "example": 42, - "type": "integer" + "pattern": "^(?:first|last|after:\\d+)$" } }, "required": [ @@ -26964,584 +27214,9 @@ }, "examples": { "default": { - "summary": "Move the card to the bottom of the column", + "summary": "Move the column to the end of the board", "value": { - "column_id": 42, - "position": "bottom" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": {}, - "additionalProperties": false - }, - "examples": { - "default": { - "value": null - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "resource": { - "type": "string" - }, - "field": { - "type": "string" - } - } - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "503": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - } - } - } - } - } - } - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "cards", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, - "/projects/columns/{column_id}": { - "get": { - "summary": "Get a project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/get-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#get-a-project-column" - }, - "parameters": [ - { - "$ref": "#/components/parameters/column-id" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project-column" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-column" - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "patch": { - "summary": "Update an existing project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/update-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column" - }, - "parameters": [ - { - "$ref": "#/components/parameters/column-id" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "summary": "Rename the project column", - "value": { - "name": "To Do" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project-column" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-column" - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "delete": { - "summary": "Delete a project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/delete-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#delete-a-project-column" - }, - "parameters": [ - { - "$ref": "#/components/parameters/column-id" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, - "/projects/columns/{column_id}/cards": { - "get": { - "summary": "List project cards", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-cards", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#list-project-cards" - }, - "parameters": [ - { - "$ref": "#/components/parameters/column-id" - }, - { - "name": "archived_state", - "description": "Filters the project cards that are returned by the card's state.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "all", - "archived", - "not_archived" - ], - "default": "not_archived" - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/project-card" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-card-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "cards", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a project card", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-card", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#create-a-project-card" - }, - "parameters": [ - { - "$ref": "#/components/parameters/column-id" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "note": { - "description": "The project card's note", - "example": "Update all gems", - "type": "string", - "nullable": true - } - }, - "required": [ - "note" - ] - }, - { - "type": "object", - "properties": { - "content_id": { - "description": "The unique identifier of the content associated with the card", - "example": 42, - "type": "integer" - }, - "content_type": { - "description": "The piece of content associated with the card", - "example": "PullRequest", - "type": "string" - } - }, - "required": [ - "content_id", - "content_type" - ] - } - ] - }, - "examples": { - "default": { - "summary": "Create a new card", - "value": { - "note": "Add payload for delete Project column" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project-card" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-card" - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "422": { - "description": "Validation failed", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/validation-error" - }, - { - "$ref": "#/components/schemas/validation-error-simple" - } - ] - } - } - } - }, - "503": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - } - } - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "cards", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, - "/projects/columns/{column_id}/moves": { - "post": { - "summary": "Move a project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/move-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#move-a-project-column" - }, - "parameters": [ - { - "$ref": "#/components/parameters/column-id" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "position": { - "description": "The position of the column in a project. Can be one of: `first`, `last`, or `after:` to place after the specified column.", - "example": "last", - "type": "string", - "pattern": "^(?:first|last|after:\\d+)$" - } - }, - "required": [ - "position" - ], - "type": "object" - }, - "examples": { - "default": { - "summary": "Move the column to the end of the board", - "value": { - "position": "last" + "position": "last" } } } @@ -28346,7 +28021,7 @@ "/repos/{owner}/{repo}": { "get": { "summary": "Get a repository", - "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n> [!NOTE]\n> In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"", + "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n> [!NOTE]\n> - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n> - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions.", "tags": [ "repos" ], @@ -62405,7 +62080,7 @@ "/search/issues": { "get": { "summary": "Search issues and pull requests", - "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on September 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", + "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", "tags": [ "search" ], @@ -62513,7 +62188,7 @@ "category": "search", "subcategory": "search", "deprecationDate": "2025-03-04", - "removalDate": "2025-09-04" + "removalDate": "2025-11-04" }, "deprecated": true } @@ -103522,7 +103197,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -116122,83 +115796,6 @@ "updated_at" ] }, - "project-card": { - "title": "Project Card", - "description": "Project cards represent a scope of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/cards/1478" - }, - "id": { - "description": "The project card's ID", - "example": 42, - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string", - "example": "MDExOlByb2plY3RDYXJkMTQ3OA==" - }, - "note": { - "type": "string", - "example": "Add payload for delete Project column", - "nullable": true - }, - "creator": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:21:06Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:20:22Z" - }, - "archived": { - "description": "Whether or not the card is archived", - "example": false, - "type": "boolean" - }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "content_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test/issues/3" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - } - }, - "required": [ - "id", - "node_id", - "note", - "url", - "column_url", - "project_url", - "creator", - "created_at", - "updated_at" - ] - }, "project-column": { "title": "Project Column", "description": "Project columns contain cards of work.", @@ -124924,7 +124521,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ], @@ -146552,6 +146148,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -146598,6 +146197,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -146644,6 +146246,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -146701,6 +146306,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -283888,40 +283496,6 @@ } ] }, - "project-card": { - "value": { - "url": "https://api.github.com/projects/columns/cards/1478", - "id": 1478, - "node_id": "MDExOlByb2plY3RDYXJkMTQ3OA==", - "note": "Add payload for delete Project column", - "creator": { - "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 - }, - "created_at": "2016-09-05T14:21:06Z", - "updated_at": "2016-09-05T14:20:22Z", - "archived": false, - "column_url": "https://api.github.com/projects/columns/367", - "content_url": "https://api.github.com/repos/api-playground/projects-test/issues/3", - "project_url": "https://api.github.com/projects/120" - } - }, "project-column": { "value": { "url": "https://api.github.com/projects/columns/367", @@ -283934,42 +283508,6 @@ "updated_at": "2016-09-05T14:22:28Z" } }, - "project-card-items": { - "value": [ - { - "url": "https://api.github.com/projects/columns/cards/1478", - "id": 1478, - "node_id": "MDExOlByb2plY3RDYXJkMTQ3OA==", - "note": "Add payload for delete Project column", - "creator": { - "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 - }, - "created_at": "2016-09-05T14:21:06Z", - "updated_at": "2016-09-05T14:20:22Z", - "archived": false, - "column_url": "https://api.github.com/projects/columns/367", - "content_url": "https://api.github.com/repos/api-playground/projects-test/issues/3", - "project_url": "https://api.github.com/projects/120" - } - ] - }, "project-3": { "value": { "owner_url": "https://api.github.com/repos/api-playground/projects-test", @@ -304862,15 +304400,6 @@ ] } }, - "card-id": { - "name": "card_id", - "description": "The unique identifier of the card.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, "column-id": { "name": "column_id", "description": "The unique identifier of the column.", diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index b018363058..5d48718556 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -8279,6 +8279,216 @@ paths: enabledForGitHubApps: true category: actions subcategory: variables + "/orgs/{org}/artifacts/metadata/storage-records": + post: + summary: Create artifact metadata storage records + description: |- + Create metadata storage records for artifacts associated with an organization. + This endpoint will create a new artifact storage record on behalf of any artifact matching the provided digest and + associated with a repository owned by the organization. + tags: + - orgs + operationId: orgs/create-artifact-storage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-records + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the artifact. + example: libfoo-1.2.3 + minLength: 1 + digest: + type: string + description: The digest of the artifact (algorithm:hex-encoded-digest). + example: sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + artifact_url: + type: string + format: uri + pattern: "^https://" + description: The URL where the artifact is stored. + example: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + path: + type: string + format: uri + description: The path of the artifact. + example: com/github/bar/libfoo-1.2.3 + registry_url: + type: string + format: uri + pattern: "^https://" + description: The base URL of the artifact registry. + example: https://reg.example.com/artifactory/ + minLength: 1 + repository: + type: string + description: The repository name within the registry. + example: bar + status: + type: string + description: The status of the artifact (e.g., active, inactive). + example: active + enum: + - active + - eol + - deleted + default: active + required: + - name + - digest + - registry_url + examples: + default: + value: + name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + responses: + '200': + description: Artifact metadata storage record stored successfully. + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + example: 1 + storage_records: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + digest: + type: string + artifact_url: + type: string + registry_url: + type: string + repository: + type: string + status: + type: string + created_at: + type: string + updated_at: + type: string + examples: + default: + value: + total_count: 1 + storage_records: + - name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + created_at: '2023-10-01T12:00:00Z' + updated_at: '2023-10-01T12:00:00Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata + "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": + get: + summary: List artifact storage records + description: |- + List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. + + The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required. + tags: + - orgs + operationId: orgs/list-artifact-storage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records + parameters: + - "$ref": "#/components/parameters/org" + - name: subject_digest + description: The parameter should be set to the attestation's subject's SHA256 + digest, in the form `sha256:HEX_DIGEST`. + in: path + required: true + example: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + schema: + type: string + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + x-multi-segment: true + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of storage records for this digest and + organization + example: 3 + type: integer + storage_records: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + digest: + type: string + artifact_url: + type: string + registry_url: + type: string + repository: + type: string + status: + type: string + created_at: + type: string + updated_at: + type: string + examples: + default: + value: + storage_records: + - name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + created_at: '2023-10-01T12:00:00Z' + updated_at: '2023-10-01T12:00:00Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata "/orgs/{org}/attestations/bulk-list": post: summary: List attestations by bulk subject digests @@ -19420,270 +19630,6 @@ paths: deprecationDate: '2024-07-22' removalDate: '2025-07-22' deprecated: true - "/projects/columns/cards/{card_id}": - get: - summary: Get a project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/get-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#get-a-project-card - parameters: - - "$ref": "#/components/parameters/card-id" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project-card" - examples: - default: - "$ref": "#/components/examples/project-card" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - patch: - summary: Update an existing project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/update-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#update-an-existing-project-card - parameters: - - "$ref": "#/components/parameters/card-id" - requestBody: - required: false - content: - application/json: - schema: - type: object - properties: - note: - description: The project card's note - example: Update all gems - type: string - nullable: true - archived: - description: Whether or not the card is archived - example: false - type: boolean - examples: - default: - summary: Change the note on the card - value: - note: Add payload for delete Project column - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project-card" - examples: - default: - "$ref": "#/components/examples/project-card" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - '404': - "$ref": "#/components/responses/not_found" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - delete: - summary: Delete a project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/delete-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#delete-a-project-card - parameters: - - "$ref": "#/components/parameters/card-id" - responses: - '204': - description: Response - '304': - "$ref": "#/components/responses/not_modified" - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': - "$ref": "#/components/responses/requires_authentication" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - "/projects/columns/cards/{card_id}/moves": - post: - summary: Move a project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/move-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#move-a-project-card - parameters: - - "$ref": "#/components/parameters/card-id" - requestBody: - required: true - content: - application/json: - schema: - properties: - position: - description: 'The position of the card in a column. Can be one of: - `top`, `bottom`, or `after:` to place after the specified - card.' - example: bottom - type: string - pattern: "^(?:top|bottom|after:\\d+)$" - column_id: - description: The unique identifier of the column the card should - be moved to - example: 42 - type: integer - required: - - position - type: object - examples: - default: - summary: Move the card to the bottom of the column - value: - column_id: 42 - position: bottom - responses: - '201': - description: Response - content: - application/json: - schema: - type: object - properties: {} - additionalProperties: false - examples: - default: - value: - '304': - "$ref": "#/components/responses/not_modified" - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: object - properties: - code: - type: string - message: - type: string - resource: - type: string - field: - type: string - '401': - "$ref": "#/components/responses/requires_authentication" - '503': - description: Response - content: - application/json: - schema: - type: object - properties: - code: - type: string - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: object - properties: - code: - type: string - message: - type: string - '422': - "$ref": "#/components/responses/validation_failed" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/projects/columns/{column_id}": get: summary: Get a project column @@ -19812,165 +19758,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/columns/{column_id}/cards": - get: - summary: List project cards - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-cards - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#list-project-cards - parameters: - - "$ref": "#/components/parameters/column-id" - - name: archived_state - description: Filters the project cards that are returned by the card's state. - in: query - required: false - schema: - type: string - enum: - - all - - archived - - not_archived - default: not_archived - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/project-card" - examples: - default: - "$ref": "#/components/examples/project-card-items" - headers: - Link: - "$ref": "#/components/headers/link" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#create-a-project-card - parameters: - - "$ref": "#/components/parameters/column-id" - requestBody: - required: true - content: - application/json: - schema: - oneOf: - - type: object - properties: - note: - description: The project card's note - example: Update all gems - type: string - nullable: true - required: - - note - - type: object - properties: - content_id: - description: The unique identifier of the content associated with - the card - example: 42 - type: integer - content_type: - description: The piece of content associated with the card - example: PullRequest - type: string - required: - - content_id - - content_type - examples: - default: - summary: Create a new card - value: - note: Add payload for delete Project column - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project-card" - examples: - default: - "$ref": "#/components/examples/project-card" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - '422': - description: Validation failed - content: - application/json: - schema: - oneOf: - - "$ref": "#/components/schemas/validation-error" - - "$ref": "#/components/schemas/validation-error-simple" - '503': - description: Response - content: - application/json: - schema: - type: object - properties: - code: - type: string - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: object - properties: - code: - type: string - message: - type: string - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/projects/columns/{column_id}/moves": post: summary: Move a project column @@ -20596,7 +20383,8 @@ paths: The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network. > [!NOTE] - > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions. tags: - repos operationId: repos/get @@ -45312,7 +45100,7 @@ paths: summary: Search issues and pull requests description: |- > [!WARNING] - > **Notice:** Search for issues and pull requests will be overridden by advanced search on September 4, 2025. + > **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025. > You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/). tags: - search @@ -45395,7 +45183,7 @@ paths: category: search subcategory: search deprecationDate: '2025-03-04' - removalDate: '2025-09-04' + removalDate: '2025-11-04' deprecated: true "/search/labels": get: @@ -75371,7 +75159,6 @@ components: - title - url - user - - author_association - created_at - updated_at issue-comment: @@ -85383,67 +85170,6 @@ components: - watchers_count - created_at - updated_at - project-card: - title: Project Card - description: Project cards represent a scope of work. - type: object - properties: - url: - type: string - format: uri - example: https://api.github.com/projects/columns/cards/1478 - id: - description: The project card's ID - example: 42 - type: integer - format: int64 - node_id: - type: string - example: MDExOlByb2plY3RDYXJkMTQ3OA== - note: - type: string - example: Add payload for delete Project column - nullable: true - creator: - "$ref": "#/components/schemas/nullable-simple-user" - created_at: - type: string - format: date-time - example: '2016-09-05T14:21:06Z' - updated_at: - type: string - format: date-time - example: '2016-09-05T14:20:22Z' - archived: - description: Whether or not the card is archived - example: false - type: boolean - column_name: - type: string - project_id: - type: string - column_url: - type: string - format: uri - example: https://api.github.com/projects/columns/367 - content_url: - type: string - format: uri - example: https://api.github.com/repos/api-playground/projects-test/issues/3 - project_url: - type: string - format: uri - example: https://api.github.com/projects/120 - required: - - id - - node_id - - note - - url - - column_url - - project_url - - creator - - created_at - - updated_at project-column: title: Project Column description: Project columns contain cards of work. @@ -92197,7 +91923,6 @@ components: - title - url - user - - author_association - created_at - updated_at nullable: true @@ -108533,6 +108258,8 @@ components: "$ref": "#/components/schemas/check-run-with-simple-check-suite" installation: "$ref": "#/components/schemas/simple-installation" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" organization: "$ref": "#/components/schemas/organization-simple-webhooks" repository: @@ -108566,6 +108293,8 @@ components: "$ref": "#/components/schemas/check-run-with-simple-check-suite" installation: "$ref": "#/components/schemas/simple-installation" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" organization: "$ref": "#/components/schemas/organization-simple-webhooks" repository: @@ -108599,6 +108328,8 @@ components: "$ref": "#/components/schemas/check-run-with-simple-check-suite" installation: "$ref": "#/components/schemas/simple-installation" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" organization: "$ref": "#/components/schemas/organization-simple-webhooks" repository: @@ -108641,6 +108372,8 @@ components: "$ref": "#/components/schemas/check-run-with-simple-check-suite" installation: "$ref": "#/components/schemas/simple-installation" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" organization: "$ref": "#/components/schemas/organization-simple-webhooks" repository: @@ -213492,37 +213225,6 @@ components: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core - project-card: - value: - url: https://api.github.com/projects/columns/cards/1478 - id: 1478 - node_id: MDExOlByb2plY3RDYXJkMTQ3OA== - note: Add payload for delete Project column - creator: - 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 - created_at: '2016-09-05T14:21:06Z' - updated_at: '2016-09-05T14:20:22Z' - archived: false - column_url: https://api.github.com/projects/columns/367 - content_url: https://api.github.com/repos/api-playground/projects-test/issues/3 - project_url: https://api.github.com/projects/120 project-column: value: url: https://api.github.com/projects/columns/367 @@ -213533,37 +213235,6 @@ components: name: To Do created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' - project-card-items: - value: - - url: https://api.github.com/projects/columns/cards/1478 - id: 1478 - node_id: MDExOlByb2plY3RDYXJkMTQ3OA== - note: Add payload for delete Project column - creator: - 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 - created_at: '2016-09-05T14:21:06Z' - updated_at: '2016-09-05T14:20:22Z' - archived: false - column_url: https://api.github.com/projects/columns/367 - content_url: https://api.github.com/repos/api-playground/projects-test/issues/3 - project_url: https://api.github.com/projects/120 project-3: value: owner_url: https://api.github.com/repos/api-playground/projects-test @@ -231624,13 +231295,6 @@ components: enum: - enable_all - disable_all - card-id: - name: card_id - description: The unique identifier of the card. - in: path - required: true - schema: - type: integer column-id: name: column_id description: The unique identifier of the column. 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 9ef7c11182..287bd5cee6 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 @@ -26093,7 +26093,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -41346,7 +41345,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -47235,7 +47233,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -69125,6 +69122,306 @@ } } }, + "/orgs/{org}/artifacts/metadata/storage-records": { + "post": { + "summary": "Create artifact metadata storage records", + "description": "Create metadata storage records for artifacts associated with an organization.\nThis endpoint will create a new artifact storage record on behalf of any artifact matching the provided digest and\nassociated with a repository owned by the organization.", + "tags": [ + "orgs" + ], + "operationId": "orgs/create-artifact-storage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-records" + }, + "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 artifact.", + "example": "libfoo-1.2.3", + "minLength": 1 + }, + "digest": { + "type": "string", + "description": "The digest of the artifact (algorithm:hex-encoded-digest).", + "example": "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0...", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "artifact_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The URL where the artifact is stored.", + "example": "https://reg.example.com/artifactory/bar/libfoo-1.2.3" + }, + "path": { + "type": "string", + "format": "uri", + "description": "The path of the artifact.", + "example": "com/github/bar/libfoo-1.2.3" + }, + "registry_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The base URL of the artifact registry.", + "example": "https://reg.example.com/artifactory/", + "minLength": 1 + }, + "repository": { + "type": "string", + "description": "The repository name within the registry.", + "example": "bar" + }, + "status": { + "type": "string", + "description": "The status of the artifact (e.g., active, inactive).", + "example": "active", + "enum": [ + "active", + "eol", + "deleted" + ], + "default": "active" + } + }, + "required": [ + "name", + "digest", + "registry_url" + ] + }, + "examples": { + "default": { + "value": { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Artifact metadata storage record stored successfully.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "type": "integer", + "example": 1 + }, + "storage_records": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "artifact_url": { + "type": "string" + }, + "registry_url": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "status": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "storage_records": [ + { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active", + "created_at": "2023-10-01T12:00:00Z", + "updated_at": "2023-10-01T12:00:00Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, + "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { + "get": { + "summary": "List artifact storage records", + "description": "List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-artifact-storage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "subject_digest", + "description": "The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`.", + "in": "path", + "required": true, + "example": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "schema": { + "type": "string", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "x-multi-segment": true + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of storage records for this digest and organization", + "example": 3, + "type": "integer" + }, + "storage_records": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "artifact_url": { + "type": "string" + }, + "registry_url": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "status": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "storage_records": [ + { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active", + "created_at": "2023-10-01T12:00:00Z", + "updated_at": "2023-10-01T12:00:00Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, "/orgs/{org}/attestations/bulk-list": { "post": { "summary": "List attestations by bulk subject digests", @@ -92220,7 +92517,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -103286,7 +103582,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -159431,22 +159726,22 @@ "deprecated": true } }, - "/projects/columns/cards/{card_id}": { + "/projects/columns/{column_id}": { "get": { - "summary": "Get a project card", + "summary": "Get a project column", "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", "tags": [ "projects-classic" ], - "operationId": "projects-classic/get-card", + "operationId": "projects-classic/get-column", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#get-a-project-card" + "url": "https://docs.github.com/rest/projects-classic/columns#get-a-project-column" }, "parameters": [ { - "name": "card_id", - "description": "The unique identifier of the card.", + "name": "column_id", + "description": "The unique identifier of the column.", "in": "path", "required": true, "schema": { @@ -159460,200 +159755,57 @@ "content": { "application/json": { "schema": { - "title": "Project Card", - "description": "Project cards represent a scope of work.", + "title": "Project Column", + "description": "Project columns contain cards of work.", "type": "object", "properties": { "url": { "type": "string", "format": "uri", - "example": "https://api.github.com/projects/columns/cards/1478" + "example": "https://api.github.com/projects/columns/367" + }, + "project_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/projects/120" + }, + "cards_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/projects/columns/367/cards" }, "id": { - "description": "The project card's ID", + "description": "The unique identifier of the project column", "example": 42, - "type": "integer", - "format": "int64" + "type": "integer" }, "node_id": { "type": "string", - "example": "MDExOlByb2plY3RDYXJkMTQ3OA==" - }, - "note": { - "type": "string", - "example": "Add payload for delete Project column", - "nullable": true + "example": "MDEzOlByb2plY3RDb2x1bW4zNjc=" }, - "creator": { - "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 + "name": { + "description": "Name of the project column", + "example": "Remaining tasks", + "type": "string" }, "created_at": { "type": "string", "format": "date-time", - "example": "2016-09-05T14:21:06Z" + "example": "2016-09-05T14:18:44Z" }, "updated_at": { "type": "string", "format": "date-time", - "example": "2016-09-05T14:20:22Z" - }, - "archived": { - "description": "Whether or not the card is archived", - "example": false, - "type": "boolean" - }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "content_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test/issues/3" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" + "example": "2016-09-05T14:22:28Z" } }, "required": [ "id", "node_id", - "note", "url", - "column_url", "project_url", - "creator", + "cards_url", + "name", "created_at", "updated_at" ] @@ -159661,1023 +159813,14 @@ "examples": { "default": { "value": { - "url": "https://api.github.com/projects/columns/cards/1478", - "id": 1478, - "node_id": "MDExOlByb2plY3RDYXJkMTQ3OA==", - "note": "Add payload for delete Project column", - "creator": { - "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 - }, - "created_at": "2016-09-05T14:21:06Z", - "updated_at": "2016-09-05T14:20:22Z", - "archived": false, - "column_url": "https://api.github.com/projects/columns/367", - "content_url": "https://api.github.com/repos/api-playground/projects-test/issues/3", - "project_url": "https://api.github.com/projects/120" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "cards", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "patch": { - "summary": "Update an existing project card", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/update-card", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#update-an-existing-project-card" - }, - "parameters": [ - { - "name": "card_id", - "description": "The unique identifier of the card.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "note": { - "description": "The project card's note", - "example": "Update all gems", - "type": "string", - "nullable": true - }, - "archived": { - "description": "Whether or not the card is archived", - "example": false, - "type": "boolean" - } - } - }, - "examples": { - "default": { - "summary": "Change the note on the card", - "value": { - "note": "Add payload for delete Project column" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project Card", - "description": "Project cards represent a scope of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/cards/1478" - }, - "id": { - "description": "The project card's ID", - "example": 42, - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string", - "example": "MDExOlByb2plY3RDYXJkMTQ3OA==" - }, - "note": { - "type": "string", - "example": "Add payload for delete Project column", - "nullable": true - }, - "creator": { - "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 - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:21:06Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:20:22Z" - }, - "archived": { - "description": "Whether or not the card is archived", - "example": false, - "type": "boolean" - }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "content_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test/issues/3" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - } - }, - "required": [ - "id", - "node_id", - "note", - "url", - "column_url", - "project_url", - "creator", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "url": "https://api.github.com/projects/columns/cards/1478", - "id": 1478, - "node_id": "MDExOlByb2plY3RDYXJkMTQ3OA==", - "note": "Add payload for delete Project column", - "creator": { - "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 - }, - "created_at": "2016-09-05T14:21:06Z", - "updated_at": "2016-09-05T14:20:22Z", - "archived": false, - "column_url": "https://api.github.com/projects/columns/367", - "content_url": "https://api.github.com/repos/api-playground/projects-test/issues/3", - "project_url": "https://api.github.com/projects/120" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "cards", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "delete": { - "summary": "Delete a project card", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/delete-card", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#delete-a-project-card" - }, - "parameters": [ - { - "name": "card_id", - "description": "The unique identifier of the card.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "cards", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, - "/projects/columns/cards/{card_id}/moves": { - "post": { - "summary": "Move a project card", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/move-card", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#move-a-project-card" - }, - "parameters": [ - { - "name": "card_id", - "description": "The unique identifier of the card.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "position": { - "description": "The position of the card in a column. Can be one of: `top`, `bottom`, or `after:` to place after the specified card.", - "example": "bottom", - "type": "string", - "pattern": "^(?:top|bottom|after:\\d+)$" - }, - "column_id": { - "description": "The unique identifier of the column the card should be moved to", - "example": 42, - "type": "integer" - } - }, - "required": [ - "position" - ], - "type": "object" - }, - "examples": { - "default": { - "summary": "Move the card to the bottom of the column", - "value": { - "column_id": 42, - "position": "bottom" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": {}, - "additionalProperties": false - }, - "examples": { - "default": { - "value": null - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "resource": { - "type": "string" - }, - "field": { - "type": "string" - } - } - } - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - } - } - } - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": "string", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "cards", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, - "/projects/columns/{column_id}": { - "get": { - "summary": "Get a project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/get-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#get-a-project-column" - }, - "parameters": [ - { - "name": "column_id", - "description": "The unique identifier of the column.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project Column", - "description": "Project columns contain cards of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - }, - "cards_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367/cards" - }, - "id": { - "description": "The unique identifier of the project column", - "example": 42, - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "MDEzOlByb2plY3RDb2x1bW4zNjc=" - }, - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:18:44Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:22:28Z" - } - }, - "required": [ - "id", - "node_id", - "url", - "project_url", - "cards_url", - "name", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" + "url": "https://api.github.com/projects/columns/367", + "project_url": "https://api.github.com/projects/120", + "cards_url": "https://api.github.com/projects/columns/367/cards", + "id": 367, + "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", + "name": "To Do", + "created_at": "2016-09-05T14:18:44Z", + "updated_at": "2016-09-05T14:22:28Z" } } } @@ -160764,1180 +159907,195 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "patch": { - "summary": "Update an existing project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/update-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column" - }, - "parameters": [ - { - "name": "column_id", - "description": "The unique identifier of the column.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "summary": "Rename the project column", - "value": { - "name": "To Do" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project Column", - "description": "Project columns contain cards of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - }, - "cards_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367/cards" - }, - "id": { - "description": "The unique identifier of the project column", - "example": 42, - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "MDEzOlByb2plY3RDb2x1bW4zNjc=" - }, - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:18:44Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:22:28Z" - } - }, - "required": [ - "id", - "node_id", - "url", - "project_url", - "cards_url", - "name", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "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": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "delete": { - "summary": "Delete a project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/delete-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#delete-a-project-column" - }, - "parameters": [ - { - "name": "column_id", - "description": "The unique identifier of the column.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "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": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, - "/projects/columns/{column_id}/cards": { - "get": { - "summary": "List project cards", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-cards", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#list-project-cards" - }, - "parameters": [ - { - "name": "column_id", - "description": "The unique identifier of the column.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "archived_state", - "description": "Filters the project cards that are returned by the card's state.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "all", - "archived", - "not_archived" - ], - "default": "not_archived" - } - }, - { - "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": "array", - "items": { - "title": "Project Card", - "description": "Project cards represent a scope of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/cards/1478" - }, - "id": { - "description": "The project card's ID", - "example": 42, - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string", - "example": "MDExOlByb2plY3RDYXJkMTQ3OA==" - }, - "note": { - "type": "string", - "example": "Add payload for delete Project column", - "nullable": true - }, - "creator": { - "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 - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:21:06Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:20:22Z" - }, - "archived": { - "description": "Whether or not the card is archived", - "example": false, - "type": "boolean" - }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "content_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test/issues/3" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - } - }, - "required": [ - "id", - "node_id", - "note", - "url", - "column_url", - "project_url", - "creator", - "created_at", - "updated_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "url": "https://api.github.com/projects/columns/cards/1478", - "id": 1478, - "node_id": "MDExOlByb2plY3RDYXJkMTQ3OA==", - "note": "Add payload for delete Project column", - "creator": { - "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 - }, - "created_at": "2016-09-05T14:21:06Z", - "updated_at": "2016-09-05T14:20:22Z", - "archived": false, - "column_url": "https://api.github.com/projects/columns/367", - "content_url": "https://api.github.com/repos/api-playground/projects-test/issues/3", - "project_url": "https://api.github.com/projects/120" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "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": "projects-classic", - "subcategory": "cards", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a project card", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-card", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#create-a-project-card" - }, - "parameters": [ - { - "name": "column_id", - "description": "The unique identifier of the column.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "note": { - "description": "The project card's note", - "example": "Update all gems", - "type": "string", - "nullable": true - } - }, - "required": [ - "note" - ] - }, - { - "type": "object", - "properties": { - "content_id": { - "description": "The unique identifier of the content associated with the card", - "example": 42, - "type": "integer" - }, - "content_type": { - "description": "The piece of content associated with the card", - "example": "PullRequest", - "type": "string" - } - }, - "required": [ - "content_id", - "content_type" - ] - } - ] - }, - "examples": { - "default": { - "summary": "Create a new card", - "value": { - "note": "Add payload for delete Project column" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project Card", - "description": "Project cards represent a scope of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/cards/1478" - }, - "id": { - "description": "The project card's ID", - "example": 42, - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string", - "example": "MDExOlByb2plY3RDYXJkMTQ3OA==" - }, - "note": { - "type": "string", - "example": "Add payload for delete Project column", - "nullable": true - }, - "creator": { - "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 - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:21:06Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:20:22Z" - }, - "archived": { - "description": "Whether or not the card is archived", - "example": false, - "type": "boolean" - }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "content_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test/issues/3" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - } - }, - "required": [ - "id", - "node_id", - "note", - "url", - "column_url", - "project_url", - "creator", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "url": "https://api.github.com/projects/columns/cards/1478", - "id": 1478, - "node_id": "MDExOlByb2plY3RDYXJkMTQ3OA==", - "note": "Add payload for delete Project column", - "creator": { - "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 - }, - "created_at": "2016-09-05T14:21:06Z", - "updated_at": "2016-09-05T14:20:22Z", - "archived": false, - "column_url": "https://api.github.com/projects/columns/367", - "content_url": "https://api.github.com/repos/api-playground/projects-test/issues/3", - "project_url": "https://api.github.com/projects/120" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "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", + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects-classic", + "subcategory": "columns", + "deprecationDate": "2024-05-23", + "removalDate": "2025-04-01" + }, + "deprecated": true + }, + "patch": { + "summary": "Update an existing project column", + "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", + "tags": [ + "projects-classic" + ], + "operationId": "projects-classic/update-column", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column" + }, + "parameters": [ + { + "name": "column_id", + "description": "The unique identifier of the column.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "properties": { + "name": { + "description": "Name of the project column", + "example": "Remaining tasks", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "examples": { + "default": { + "summary": "Rename the project column", + "value": { + "name": "To Do" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "oneOf": [ - { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": "string", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } + "title": "Project Column", + "description": "Project columns contain cards of work.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/projects/columns/367" }, - { - "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" - } - } - } + "project_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/projects/120" + }, + "cards_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/projects/columns/367/cards" + }, + "id": { + "description": "The unique identifier of the project column", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEzOlByb2plY3RDb2x1bW4zNjc=" + }, + "name": { + "description": "Name of the project column", + "example": "Remaining tasks", + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2016-09-05T14:18:44Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2016-09-05T14:22:28Z" } + }, + "required": [ + "id", + "node_id", + "url", + "project_url", + "cards_url", + "name", + "created_at", + "updated_at" ] + }, + "examples": { + "default": { + "value": { + "url": "https://api.github.com/projects/columns/367", + "project_url": "https://api.github.com/projects/120", + "cards_url": "https://api.github.com/projects/columns/367/cards", + "id": 367, + "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", + "name": "To Do", + "created_at": "2016-09-05T14:18:44Z", + "updated_at": "2016-09-05T14:22:28Z" + } + } } } } }, - "503": { - "description": "Response", + "304": { + "description": "Not modified" + }, + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { "type": "string" }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { "message": { "type": "string" }, "documentation_url": { "type": "string" }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - } - } - } + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -161949,7 +160107,99 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "cards", + "subcategory": "columns", + "deprecationDate": "2024-05-23", + "removalDate": "2025-04-01" + }, + "deprecated": true + }, + "delete": { + "summary": "Delete a project column", + "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", + "tags": [ + "projects-classic" + ], + "operationId": "projects-classic/delete-column", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects-classic/columns#delete-a-project-column" + }, + "parameters": [ + { + "name": "column_id", + "description": "The unique identifier of the column.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "description": "Not modified" + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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": "projects-classic", + "subcategory": "columns", "deprecationDate": "2024-05-23", "removalDate": "2025-04-01" }, @@ -165180,7 +163430,7 @@ "/repos/{owner}/{repo}": { "get": { "summary": "Get a repository", - "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n> [!NOTE]\n> In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"", + "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n> [!NOTE]\n> - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n> - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions.", "tags": [ "repos" ], @@ -282907,7 +281157,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -302844,7 +301093,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -305530,7 +303778,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -311650,7 +309897,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ], @@ -315483,7 +313729,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ], @@ -319192,7 +317437,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -321856,7 +320100,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -324539,7 +322782,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -327025,7 +325267,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -331174,7 +329415,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -333747,7 +331987,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -336398,7 +334637,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -339069,7 +337307,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -352106,7 +350343,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -355652,7 +353888,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -358227,7 +356462,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -360778,7 +359012,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -363428,7 +361661,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -374085,7 +372317,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -472141,7 +470372,7 @@ "/search/issues": { "get": { "summary": "Search issues and pull requests", - "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on September 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", + "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", "tags": [ "search" ], @@ -474601,7 +472832,7 @@ "category": "search", "subcategory": "search", "deprecationDate": "2025-03-04", - "removalDate": "2025-09-04" + "removalDate": "2025-11-04" }, "deprecated": true } @@ -516937,7 +515168,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -546727,7 +544957,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -549821,7 +548050,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -552917,7 +551145,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -562379,7 +560606,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -565475,7 +563701,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -581517,6 +579742,74 @@ "node_id" ] }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -585495,6 +583788,74 @@ "node_id" ] }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -589473,6 +587834,74 @@ "node_id" ] }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -593464,6 +591893,74 @@ "node_id" ] }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -739674,7 +738171,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -741918,7 +740414,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -746439,7 +744934,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -748683,7 +747177,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -753204,7 +751697,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -756177,7 +754669,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -759969,7 +758460,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -762942,7 +761432,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1171655,7 +1170144,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1174628,7 +1173116,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1178417,7 +1176904,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1181390,7 +1179876,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1185179,7 +1183664,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1188152,7 +1186636,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1191941,7 +1190424,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1194914,7 +1193396,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] 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 c072e30c7e..24f74c1fdd 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 @@ -1019,7 +1019,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &615 + - &612 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -8727,7 +8727,7 @@ paths: - unknown - direct - transitive - security_advisory: &465 + security_advisory: &462 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8989,7 +8989,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &466 + auto_dismissed_at: &463 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9470,14 +9470,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &593 + state: &590 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: &594 + resolution: &591 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9584,8 +9584,8 @@ paths: pull request. ' - oneOf: &595 - - &597 + oneOf: &592 + - &594 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -9637,7 +9637,7 @@ paths: - blob_url - commit_sha - commit_url - - &598 + - &595 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. @@ -9692,7 +9692,7 @@ paths: - page_url - commit_sha - commit_url - - &599 + - &596 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -9706,7 +9706,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &600 + - &597 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -9720,7 +9720,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &601 + - &598 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -9734,7 +9734,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &602 + - &599 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -9748,7 +9748,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &603 + - &600 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -9762,7 +9762,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &604 + - &601 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -9776,7 +9776,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &605 + - &602 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. @@ -9790,7 +9790,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &606 + - &603 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. @@ -9804,7 +9804,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &607 + - &604 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. @@ -9818,7 +9818,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &608 + - &605 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. @@ -9832,7 +9832,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &609 + - &606 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. @@ -10112,7 +10112,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &514 + properties: &511 id: type: integer format: int64 @@ -10224,7 +10224,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &450 + properties: &447 url: type: string format: uri @@ -10294,7 +10294,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &451 + required: &448 - closed_issues - creator - description @@ -10484,7 +10484,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &627 + sub_issues_summary: &624 title: Sub-issues Summary type: object properties: @@ -10504,7 +10504,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &628 + issue_dependencies_summary: &625 title: Issue Dependencies Summary type: object properties: @@ -10523,7 +10523,7 @@ paths: - total_blocking issue_field_values: type: array - items: &629 + items: &626 title: Issue Field Value description: A value assigned to an issue field type: object @@ -10583,7 +10583,7 @@ paths: - node_id - data_type - value - required: &515 + required: &512 - assignee - closed_at - comments @@ -10602,10 +10602,9 @@ paths: - title - url - user - - author_association - created_at - updated_at - comment: &512 + comment: &509 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11172,7 +11171,7 @@ paths: url: type: string format: uri - user: &641 + user: &638 title: Public User description: Public User type: object @@ -14556,7 +14555,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &322 + '301': &319 description: Moved permanently content: application/json: @@ -14578,7 +14577,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &544 + - &541 name: all description: If `true`, show notifications marked as read. in: query @@ -14586,7 +14585,7 @@ paths: schema: type: boolean default: false - - &545 + - &542 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14596,7 +14595,7 @@ paths: type: boolean default: false - *67 - - &546 + - &543 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: @@ -15070,7 +15069,7 @@ paths: - url - subscription_url examples: - default: &547 + default: &544 value: - id: '1' repository: @@ -15671,7 +15670,7 @@ paths: - avatar_url - description examples: - default: &658 + default: &655 value: - login: github id: 1 @@ -15982,7 +15981,7 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *96 - - &684 + - &681 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -15991,7 +15990,7 @@ paths: required: false schema: type: integer - - &685 + - &682 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 @@ -16000,7 +15999,7 @@ paths: required: false schema: type: integer - - &686 + - &683 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -16009,7 +16008,7 @@ paths: required: false schema: type: integer - - &687 + - &684 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -16884,7 +16883,7 @@ paths: type: integer repository_cache_usages: type: array - items: &327 + items: &324 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -17751,7 +17750,7 @@ paths: - all - local_only - selected - selected_actions_url: &333 + selected_actions_url: &330 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` @@ -17834,7 +17833,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &334 type: object properties: days: @@ -17876,7 +17875,7 @@ paths: required: true content: application/json: - schema: &338 + schema: &335 type: object properties: days: @@ -17933,7 +17932,7 @@ paths: required: - approval_policy examples: - default: &339 + default: &336 value: approval_policy: first_time_contributors '404': *6 @@ -17992,7 +17991,7 @@ paths: description: Response content: application/json: - schema: &340 + schema: &337 type: object required: - run_workflows_from_fork_pull_requests @@ -18046,7 +18045,7 @@ paths: required: true content: application/json: - schema: &341 + schema: &338 type: object required: - run_workflows_from_fork_pull_requests @@ -18681,7 +18680,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &339 type: object properties: default_workflow_permissions: &119 @@ -18732,7 +18731,7 @@ paths: required: false content: application/json: - schema: &343 + schema: &340 type: object properties: default_workflow_permissions: *119 @@ -19221,7 +19220,7 @@ paths: type: array items: *126 examples: - default: &644 + default: &641 value: total_count: 1 repositories: @@ -19863,7 +19862,7 @@ paths: application/json: schema: type: array - items: &344 + items: &341 title: Runner Application description: Runner Application type: object @@ -19888,7 +19887,7 @@ paths: - download_url - filename examples: - default: &345 + default: &342 value: - os: osx architecture: x64 @@ -19974,7 +19973,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &346 + '201': &343 description: Response content: application/json: @@ -20085,7 +20084,7 @@ paths: - token - expires_at examples: - default: &347 + default: &344 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20124,7 +20123,7 @@ paths: application/json: schema: *130 examples: - default: &348 + default: &345 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20158,7 +20157,7 @@ paths: application/json: schema: *128 examples: - default: &349 + default: &346 value: id: 23 name: MBP @@ -20384,7 +20383,7 @@ paths: - *96 - *127 responses: - '200': &350 + '200': &347 description: Response content: application/json: @@ -20441,7 +20440,7 @@ paths: parameters: - *96 - *127 - - &351 + - &348 name: name description: The name of a self-hosted runner's custom label. in: path @@ -20571,7 +20570,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &360 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -20600,7 +20599,7 @@ paths: - key_id - key examples: - default: &364 + default: &361 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21013,7 +21012,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *96 - - &332 + - &329 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)." @@ -21478,6 +21477,216 @@ paths: enabledForGitHubApps: true category: actions subcategory: variables + "/orgs/{org}/artifacts/metadata/storage-records": + post: + summary: Create artifact metadata storage records + description: |- + Create metadata storage records for artifacts associated with an organization. + This endpoint will create a new artifact storage record on behalf of any artifact matching the provided digest and + associated with a repository owned by the organization. + tags: + - orgs + operationId: orgs/create-artifact-storage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-records + parameters: + - *96 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the artifact. + example: libfoo-1.2.3 + minLength: 1 + digest: + type: string + description: The digest of the artifact (algorithm:hex-encoded-digest). + example: sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + artifact_url: + type: string + format: uri + pattern: "^https://" + description: The URL where the artifact is stored. + example: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + path: + type: string + format: uri + description: The path of the artifact. + example: com/github/bar/libfoo-1.2.3 + registry_url: + type: string + format: uri + pattern: "^https://" + description: The base URL of the artifact registry. + example: https://reg.example.com/artifactory/ + minLength: 1 + repository: + type: string + description: The repository name within the registry. + example: bar + status: + type: string + description: The status of the artifact (e.g., active, inactive). + example: active + enum: + - active + - eol + - deleted + default: active + required: + - name + - digest + - registry_url + examples: + default: + value: + name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + responses: + '200': + description: Artifact metadata storage record stored successfully. + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + example: 1 + storage_records: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + digest: + type: string + artifact_url: + type: string + registry_url: + type: string + repository: + type: string + status: + type: string + created_at: + type: string + updated_at: + type: string + examples: + default: + value: + total_count: 1 + storage_records: + - name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + created_at: '2023-10-01T12:00:00Z' + updated_at: '2023-10-01T12:00:00Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata + "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": + get: + summary: List artifact storage records + description: |- + List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. + + The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required. + tags: + - orgs + operationId: orgs/list-artifact-storage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records + parameters: + - *96 + - name: subject_digest + description: The parameter should be set to the attestation's subject's SHA256 + digest, in the form `sha256:HEX_DIGEST`. + in: path + required: true + example: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + schema: + type: string + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + x-multi-segment: true + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of storage records for this digest and + organization + example: 3 + type: integer + storage_records: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + digest: + type: string + artifact_url: + type: string + registry_url: + type: string + repository: + type: string + status: + type: string + created_at: + type: string + updated_at: + type: string + examples: + default: + value: + storage_records: + - name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + created_at: '2023-10-01T12:00:00Z' + updated_at: '2023-10-01T12:00:00Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata "/orgs/{org}/attestations/bulk-list": post: summary: List attestations by bulk subject digests @@ -21520,12 +21729,12 @@ paths: required: - subject_digests examples: - default: &673 + default: &670 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &674 + withPredicateType: &671 value: subject_digests: - sha256:abc123 @@ -21583,7 +21792,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &675 + default: &672 value: attestations_subject_digests: - sha256:abc: @@ -21877,7 +22086,7 @@ paths: bundle_url: type: string examples: - default: &377 + default: &374 value: attestations: - bundle: @@ -22792,7 +23001,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *96 - - &403 + - &400 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`, @@ -22802,7 +23011,7 @@ paths: schema: &146 type: string description: The name of the tool used to generate the code scanning analysis. - - &404 + - &401 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 @@ -22825,7 +23034,7 @@ paths: be returned. in: query required: false - schema: &406 + schema: &403 type: string description: State of a code scanning alert. enum: @@ -22848,7 +23057,7 @@ paths: be returned. in: query required: false - schema: &407 + schema: &404 type: string description: Severity of a code scanning alert. enum: @@ -22874,7 +23083,7 @@ paths: updated_at: *143 url: *56 html_url: *57 - instances_url: &408 + instances_url: &405 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -22897,7 +23106,7 @@ paths: required: *21 nullable: true dismissed_at: *145 - dismissed_reason: &409 + dismissed_reason: &406 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -22906,13 +23115,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &410 + dismissed_comment: &407 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &411 + rule: &408 type: object properties: id: @@ -22965,7 +23174,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &412 + tool: &409 type: object properties: name: *146 @@ -22975,15 +23184,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *147 - most_recent_instance: &413 + most_recent_instance: &410 type: object properties: - ref: &405 + ref: &402 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &423 + analysis_key: &420 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -22994,7 +23203,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &424 + category: &421 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -24315,7 +24524,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &436 + properties: &433 name: type: string description: The name of the machine. @@ -24357,7 +24566,7 @@ paths: - ready - in_progress nullable: true - required: &437 + required: &434 - name - display_name - operating_system @@ -25225,7 +25434,7 @@ paths: - updated_at - visibility examples: - default: &438 + default: &435 value: total_count: 2 secrets: @@ -25263,7 +25472,7 @@ paths: description: Response content: application/json: - schema: &439 + schema: &436 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -25292,7 +25501,7 @@ paths: - key_id - key examples: - default: &440 + default: &437 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25324,7 +25533,7 @@ paths: application/json: schema: *156 examples: - default: &442 + default: &439 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26968,7 +27177,7 @@ paths: description: Response content: application/json: - schema: &469 + schema: &466 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -26985,7 +27194,7 @@ paths: - key_id - key examples: - default: &470 + default: &467 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28778,7 +28987,7 @@ paths: application/json: schema: *22 examples: - default: &508 + default: &505 value: id: 1 account: @@ -29003,7 +29212,7 @@ paths: required: true content: application/json: - schema: &509 + schema: &506 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -29856,7 +30065,7 @@ paths: application/json: schema: *206 examples: - default: &435 + default: &432 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31101,7 +31310,7 @@ paths: parameters: - *96 - *214 - - &657 + - &654 name: repo_name description: repo_name parameter in: path @@ -32129,7 +32338,7 @@ paths: - nuget - container - *96 - - &659 + - &656 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -32170,7 +32379,7 @@ paths: default: *222 '403': *29 '401': *25 - '400': &661 + '400': &658 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34063,7 +34272,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &319 + '410': &316 description: Gone content: application/json: @@ -34963,7 +35172,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &318 title: Full Repository description: Full Repository type: object @@ -35356,7 +35565,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &457 + properties: &454 url: type: string format: uri @@ -35372,7 +35581,7 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &458 + required: &455 - url - key - name @@ -35461,7 +35670,7 @@ paths: - network_count - subscribers_count examples: - default: &323 + default: &320 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -35982,7 +36191,7 @@ paths: - *96 - *17 - *19 - - &577 + - &574 name: targets description: | A comma-separated list of rule targets to filter by. @@ -36259,7 +36468,7 @@ paths: - repository_property rules: type: array - items: &578 + items: &575 title: Repository Rule type: object description: A repository rule. @@ -36321,7 +36530,7 @@ paths: type: string enum: - required_linear_history - - &576 + - &573 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -37146,7 +37355,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *96 - - &579 + - &576 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 @@ -37161,7 +37370,7 @@ paths: in: query schema: type: string - - &580 + - &577 name: time_period description: |- The time period to filter by. @@ -37177,14 +37386,14 @@ paths: - week - month default: day - - &581 + - &578 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 - - &582 + - &579 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -37204,7 +37413,7 @@ paths: description: Response content: application/json: - schema: &583 + schema: &580 title: Rule Suites description: Response type: array @@ -37259,7 +37468,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &584 + default: &581 value: - id: 21 actor_id: 12 @@ -37303,7 +37512,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *96 - - &585 + - &582 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -37319,7 +37528,7 @@ paths: description: Response content: application/json: - schema: &586 + schema: &583 title: Rule Suite description: Response type: object @@ -37418,7 +37627,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &587 + default: &584 value: id: 21 actor_id: 12 @@ -37664,7 +37873,7 @@ paths: type: string format: date-time examples: - default: &589 + default: &586 value: - version_id: 3 actor: @@ -37717,7 +37926,7 @@ paths: description: Response content: application/json: - schema: &590 + schema: &587 allOf: - *274 - type: object @@ -37796,7 +38005,7 @@ paths: - *48 - *19 - *17 - - &591 + - &588 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 @@ -37806,7 +38015,7 @@ paths: required: false schema: type: string - - &592 + - &589 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 @@ -38126,7 +38335,7 @@ paths: application/json: schema: type: array - items: &613 + items: &610 description: A repository security advisory. type: object properties: @@ -38417,7 +38626,7 @@ paths: - private_fork additionalProperties: false examples: - default: &614 + default: &611 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -38891,7 +39100,7 @@ paths: description: Response content: application/json: - schema: &678 + schema: &675 type: object properties: total_minutes_used: @@ -38961,7 +39170,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &679 + default: &676 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -38997,7 +39206,7 @@ paths: description: Response content: application/json: - schema: &680 + schema: &677 type: object properties: total_gigabytes_bandwidth_used: @@ -39015,7 +39224,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &681 + default: &678 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -39047,7 +39256,7 @@ paths: description: Response content: application/json: - schema: &682 + schema: &679 type: object properties: days_left_in_billing_cycle: @@ -39065,7 +39274,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &683 + default: &680 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -40276,7 +40485,7 @@ paths: - updated_at - url examples: - default: &631 + default: &628 value: - author: login: octocat @@ -40524,7 +40733,7 @@ paths: application/json: schema: *297 examples: - default: &632 + default: &629 value: author: login: octocat @@ -40707,7 +40916,7 @@ paths: - updated_at - url examples: - default: &633 + default: &630 value: - author: login: octocat @@ -40933,7 +41142,7 @@ paths: application/json: schema: *300 examples: - default: &634 + default: &631 value: author: login: octocat @@ -41549,7 +41758,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &635 + response-if-user-is-a-team-maintainer: &632 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -41614,7 +41823,7 @@ paths: application/json: schema: *307 examples: - response-if-users-membership-with-team-is-now-pending: &636 + response-if-users-membership-with-team-is-now-pending: &633 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -41755,7 +41964,7 @@ paths: - updated_at - permissions examples: - default: &637 + default: &634 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -41834,7 +42043,7 @@ paths: application/json: schema: *308 examples: - default: &638 + default: &635 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42044,7 +42253,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &639 + schema: &636 title: Team Repository description: A team's access to a repository. type: object @@ -42701,7 +42910,7 @@ paths: type: array items: *159 examples: - response-if-child-teams-exist: &640 + response-if-child-teams-exist: &637 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -42814,352 +43023,6 @@ paths: deprecationDate: '2024-07-22' removalDate: '2025-07-22' deprecated: true - "/projects/columns/cards/{card_id}": - get: - summary: Get a project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/get-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#get-a-project-card - parameters: - - &312 - name: card_id - description: The unique identifier of the card. - in: path - required: true - schema: - type: integer - responses: - '200': - description: Response - content: - application/json: - schema: &313 - title: Project Card - description: Project cards represent a scope of work. - type: object - properties: - url: - type: string - format: uri - example: https://api.github.com/projects/columns/cards/1478 - id: - description: The project card's ID - example: 42 - type: integer - format: int64 - node_id: - type: string - example: MDExOlByb2plY3RDYXJkMTQ3OA== - note: - type: string - example: Add payload for delete Project column - nullable: true - creator: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - created_at: - type: string - format: date-time - example: '2016-09-05T14:21:06Z' - updated_at: - type: string - format: date-time - example: '2016-09-05T14:20:22Z' - archived: - description: Whether or not the card is archived - example: false - type: boolean - column_name: - type: string - project_id: - type: string - column_url: - type: string - format: uri - example: https://api.github.com/projects/columns/367 - content_url: - type: string - format: uri - example: https://api.github.com/repos/api-playground/projects-test/issues/3 - project_url: - type: string - format: uri - example: https://api.github.com/projects/120 - required: - - id - - node_id - - note - - url - - column_url - - project_url - - creator - - created_at - - updated_at - examples: - default: &314 - value: - url: https://api.github.com/projects/columns/cards/1478 - id: 1478 - node_id: MDExOlByb2plY3RDYXJkMTQ3OA== - note: Add payload for delete Project column - creator: - 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 - created_at: '2016-09-05T14:21:06Z' - updated_at: '2016-09-05T14:20:22Z' - archived: false - column_url: https://api.github.com/projects/columns/367 - content_url: https://api.github.com/repos/api-playground/projects-test/issues/3 - project_url: https://api.github.com/projects/120 - '304': *37 - '403': *29 - '401': *25 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - patch: - summary: Update an existing project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/update-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#update-an-existing-project-card - parameters: - - *312 - requestBody: - required: false - content: - application/json: - schema: - type: object - properties: - note: - description: The project card's note - example: Update all gems - type: string - nullable: true - archived: - description: Whether or not the card is archived - example: false - type: boolean - examples: - default: - summary: Change the note on the card - value: - note: Add payload for delete Project column - responses: - '200': - description: Response - content: - application/json: - schema: *313 - examples: - default: *314 - '304': *37 - '403': *29 - '401': *25 - '404': *6 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - delete: - summary: Delete a project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/delete-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#delete-a-project-card - parameters: - - *312 - responses: - '204': - description: Response - '304': *37 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *25 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - "/projects/columns/cards/{card_id}/moves": - post: - summary: Move a project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/move-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#move-a-project-card - parameters: - - *312 - requestBody: - required: true - content: - application/json: - schema: - properties: - position: - description: 'The position of the card in a column. Can be one of: - `top`, `bottom`, or `after:` to place after the specified - card.' - example: bottom - type: string - pattern: "^(?:top|bottom|after:\\d+)$" - column_id: - description: The unique identifier of the column the card should - be moved to - example: 42 - type: integer - required: - - position - type: object - examples: - default: - summary: Move the card to the bottom of the column - value: - column_id: 42 - position: bottom - responses: - '201': - description: Response - content: - application/json: - schema: - type: object - properties: {} - additionalProperties: false - examples: - default: - value: - '304': *37 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: object - properties: - code: - type: string - message: - type: string - resource: - type: string - field: - type: string - '401': *25 - '503': - description: Response - content: - application/json: - schema: - type: object - properties: - code: - type: string - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: object - properties: - code: - type: string - message: - type: string - '422': *15 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/projects/columns/{column_id}": get: summary: Get a project column @@ -43174,7 +43037,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &315 + - &312 name: column_id description: The unique identifier of the column. in: path @@ -43186,7 +43049,7 @@ paths: description: Response content: application/json: - schema: &316 + schema: &313 title: Project Column description: Project columns contain cards of work. type: object @@ -43232,7 +43095,7 @@ paths: - created_at - updated_at examples: - default: &317 + default: &314 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -43267,7 +43130,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *315 + - *312 requestBody: required: true content: @@ -43291,9 +43154,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *313 examples: - default: *317 + default: *314 '304': *37 '403': *29 '401': *25 @@ -43318,7 +43181,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *315 + - *312 responses: '204': description: Response @@ -43333,184 +43196,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/columns/{column_id}/cards": - get: - summary: List project cards - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-cards - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#list-project-cards - parameters: - - *315 - - name: archived_state - description: Filters the project cards that are returned by the card's state. - in: query - required: false - schema: - type: string - enum: - - all - - archived - - not_archived - default: not_archived - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *313 - examples: - default: - value: - - url: https://api.github.com/projects/columns/cards/1478 - id: 1478 - node_id: MDExOlByb2plY3RDYXJkMTQ3OA== - note: Add payload for delete Project column - creator: - 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 - created_at: '2016-09-05T14:21:06Z' - updated_at: '2016-09-05T14:20:22Z' - archived: false - column_url: https://api.github.com/projects/columns/367 - content_url: https://api.github.com/repos/api-playground/projects-test/issues/3 - project_url: https://api.github.com/projects/120 - headers: - Link: *58 - '304': *37 - '403': *29 - '401': *25 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#create-a-project-card - parameters: - - *315 - requestBody: - required: true - content: - application/json: - schema: - oneOf: - - type: object - properties: - note: - description: The project card's note - example: Update all gems - type: string - nullable: true - required: - - note - - type: object - properties: - content_id: - description: The unique identifier of the content associated with - the card - example: 42 - type: integer - content_type: - description: The piece of content associated with the card - example: PullRequest - type: string - required: - - content_id - - content_type - examples: - default: - summary: Create a new card - value: - note: Add payload for delete Project column - responses: - '201': - description: Response - content: - application/json: - schema: *313 - examples: - default: *314 - '304': *37 - '403': *29 - '401': *25 - '422': - description: Validation failed - content: - application/json: - schema: - oneOf: - - *100 - - *101 - '503': - description: Response - content: - application/json: - schema: - type: object - properties: - code: - type: string - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: object - properties: - code: - type: string - message: - type: string - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/projects/columns/{column_id}/moves": post: summary: Move a project column @@ -43525,7 +43210,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *315 + - *312 requestBody: required: true content: @@ -43593,7 +43278,7 @@ paths: application/json: schema: *237 examples: - default: &318 + default: &315 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -43698,7 +43383,7 @@ paths: application/json: schema: *237 examples: - default: *318 + default: *315 '404': description: Not Found if the authenticated user does not have access to the project @@ -43719,7 +43404,7 @@ paths: items: type: string '401': *25 - '410': *319 + '410': *316 '422': *7 x-github: githubCloudOnly: false @@ -43763,7 +43448,7 @@ paths: items: type: string '401': *25 - '410': *319 + '410': *316 '404': *6 x-github: githubCloudOnly: false @@ -44013,7 +43698,7 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: default: value: @@ -44074,7 +43759,7 @@ paths: description: Response content: application/json: - schema: *316 + schema: *313 examples: default: value: @@ -44139,7 +43824,7 @@ paths: resources: type: object properties: - core: &320 + core: &317 title: Rate Limit type: object properties: @@ -44156,21 +43841,21 @@ paths: - remaining - reset - used - graphql: *320 - search: *320 - code_search: *320 - source_import: *320 - integration_manifest: *320 - code_scanning_upload: *320 - actions_runner_registration: *320 - scim: *320 - dependency_snapshots: *320 - dependency_sbom: *320 - code_scanning_autofix: *320 + graphql: *317 + search: *317 + code_search: *317 + source_import: *317 + integration_manifest: *317 + code_scanning_upload: *317 + actions_runner_registration: *317 + scim: *317 + dependency_snapshots: *317 + dependency_sbom: *317 + code_scanning_autofix: *317 required: - core - search - rate: *320 + rate: *317 required: - rate - resources @@ -44266,7 +43951,8 @@ paths: The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network. > [!NOTE] - > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions. tags: - repos operationId: repos/get @@ -44281,7 +43967,7 @@ paths: description: Response content: application/json: - schema: *321 + schema: *318 examples: default-response: summary: Default response @@ -44782,7 +44468,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *322 + '301': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45048,10 +44734,10 @@ paths: description: Response content: application/json: - schema: *321 + schema: *318 examples: - default: *323 - '307': &324 + default: *320 + '307': &321 description: Temporary Redirect content: application/json: @@ -45103,7 +44789,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *324 + '307': *321 '404': *6 '409': *47 x-github: @@ -45131,7 +44817,7 @@ paths: - *311 - *17 - *19 - - &355 + - &352 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -45154,7 +44840,7 @@ paths: type: integer artifacts: type: array - items: &325 + items: &322 title: Artifact description: An artifact type: object @@ -45232,7 +44918,7 @@ paths: - expires_at - updated_at examples: - default: &356 + default: &353 value: total_count: 2 artifacts: @@ -45295,7 +44981,7 @@ paths: parameters: - *310 - *311 - - &326 + - &323 name: artifact_id description: The unique identifier of the artifact. in: path @@ -45307,7 +44993,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *322 examples: default: value: @@ -45347,7 +45033,7 @@ paths: parameters: - *310 - *311 - - *326 + - *323 responses: '204': description: Response @@ -45373,7 +45059,7 @@ paths: parameters: - *310 - *311 - - *326 + - *323 - name: archive_format in: path required: true @@ -45387,7 +45073,7 @@ paths: 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': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45417,7 +45103,7 @@ paths: description: Response content: application/json: - schema: *327 + schema: *324 examples: default: value: @@ -45447,7 +45133,7 @@ paths: - *311 - *17 - *19 - - &328 + - &325 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 @@ -45481,7 +45167,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &326 title: Repository actions caches description: Repository actions caches type: object @@ -45523,7 +45209,7 @@ paths: - total_count - actions_caches examples: - default: &330 + default: &327 value: total_count: 1 actions_caches: @@ -45563,15 +45249,15 @@ paths: required: true schema: type: string - - *328 + - *325 responses: '200': description: Response content: application/json: - schema: *329 + schema: *326 examples: - default: *330 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45625,7 +45311,7 @@ paths: parameters: - *310 - *311 - - &331 + - &328 name: job_id description: The unique identifier of the job. in: path @@ -45637,7 +45323,7 @@ paths: description: Response content: application/json: - schema: &359 + schema: &356 title: Job description: Information of a job execution in a workflow run type: object @@ -45946,7 +45632,7 @@ paths: parameters: - *310 - *311 - - *331 + - *328 responses: '302': description: Response @@ -45976,7 +45662,7 @@ paths: parameters: - *310 - *311 - - *331 + - *328 requestBody: required: false content: @@ -46155,7 +45841,7 @@ paths: type: integer secrets: type: array - items: &361 + items: &358 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -46175,7 +45861,7 @@ paths: - created_at - updated_at examples: - default: &362 + default: &359 value: total_count: 2 secrets: @@ -46210,7 +45896,7 @@ paths: parameters: - *310 - *311 - - *332 + - *329 - *19 responses: '200': @@ -46227,7 +45913,7 @@ paths: type: integer variables: type: array - items: &365 + items: &362 title: Actions Variable type: object properties: @@ -46257,7 +45943,7 @@ paths: - created_at - updated_at examples: - default: &366 + default: &363 value: total_count: 2 variables: @@ -46300,11 +45986,11 @@ paths: schema: type: object properties: - enabled: &334 + enabled: &331 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *111 - selected_actions_url: *333 + selected_actions_url: *330 sha_pinning_required: *112 required: - enabled @@ -46345,7 +46031,7 @@ paths: schema: type: object properties: - enabled: *334 + enabled: *331 allowed_actions: *111 sha_pinning_required: *112 required: @@ -46384,7 +46070,7 @@ paths: description: Response content: application/json: - schema: &335 + schema: &332 type: object properties: access_level: @@ -46401,7 +46087,7 @@ paths: required: - access_level examples: - default: &336 + default: &333 value: access_level: organization x-github: @@ -46431,9 +46117,9 @@ paths: required: true content: application/json: - schema: *335 + schema: *332 examples: - default: *336 + default: *333 responses: '204': description: Response @@ -46464,7 +46150,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: default: value: @@ -46499,7 +46185,7 @@ paths: required: true content: application/json: - schema: *338 + schema: *335 examples: default: summary: Set retention days @@ -46532,7 +46218,7 @@ paths: application/json: schema: *113 examples: - default: *339 + default: *336 '404': *6 x-github: enabledForGitHubApps: true @@ -46593,7 +46279,7 @@ paths: description: Response content: application/json: - schema: *340 + schema: *337 examples: default: *114 '403': *29 @@ -46621,7 +46307,7 @@ paths: required: true content: application/json: - schema: *341 + schema: *338 examples: default: *114 responses: @@ -46715,7 +46401,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *339 examples: default: *121 x-github: @@ -46750,7 +46436,7 @@ paths: required: true content: application/json: - schema: *343 + schema: *340 examples: default: *121 x-github: @@ -46833,9 +46519,9 @@ paths: application/json: schema: type: array - items: *344 + items: *341 examples: - default: *345 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46901,7 +46587,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *346 + '201': *343 '404': *6 '422': *7 '409': *47 @@ -46941,7 +46627,7 @@ paths: application/json: schema: *130 examples: - default: *347 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46978,7 +46664,7 @@ paths: application/json: schema: *130 examples: - default: *348 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47010,7 +46696,7 @@ paths: application/json: schema: *128 examples: - default: *349 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47190,7 +46876,7 @@ paths: - *311 - *127 responses: - '200': *350 + '200': *347 '404': *6 x-github: githubCloudOnly: false @@ -47220,7 +46906,7 @@ paths: - *310 - *311 - *127 - - *351 + - *348 responses: '200': *132 '404': *6 @@ -47250,7 +46936,7 @@ paths: parameters: - *310 - *311 - - &369 + - &366 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. @@ -47258,7 +46944,7 @@ paths: required: false schema: type: string - - &370 + - &367 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -47266,7 +46952,7 @@ paths: required: false schema: type: string - - &371 + - &368 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -47275,7 +46961,7 @@ paths: required: false schema: type: string - - &372 + - &369 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 @@ -47302,7 +46988,7 @@ paths: - pending - *17 - *19 - - &373 + - &370 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)." @@ -47311,7 +46997,7 @@ paths: schema: type: string format: date-time - - &352 + - &349 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -47320,13 +47006,13 @@ paths: schema: type: boolean default: false - - &374 + - &371 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &375 + - &372 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -47349,7 +47035,7 @@ paths: type: integer workflow_runs: type: array - items: &353 + items: &350 title: Workflow Run description: An invocation of a workflow type: object @@ -47444,7 +47130,7 @@ paths: that triggered the run. type: array nullable: true - items: &394 + items: &391 title: Pull Request Minimal type: object properties: @@ -47563,7 +47249,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &398 + properties: &395 id: type: string description: SHA for the commit @@ -47614,7 +47300,7 @@ paths: - name - email nullable: true - required: &399 + required: &396 - id - tree_id - message @@ -47661,7 +47347,7 @@ paths: - workflow_url - pull_requests examples: - default: &376 + default: &373 value: total_count: 1 workflow_runs: @@ -47899,22 +47585,22 @@ paths: parameters: - *310 - *311 - - &354 + - &351 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *352 + - *349 responses: '200': description: Response content: application/json: - schema: *353 + schema: *350 examples: - default: &357 + default: &354 value: id: 30433642 name: Build @@ -48157,7 +47843,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 responses: '204': description: Response @@ -48182,7 +47868,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 responses: '200': description: Response @@ -48303,7 +47989,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 responses: '201': description: Response @@ -48338,10 +48024,10 @@ paths: parameters: - *310 - *311 - - *354 + - *351 - *17 - *19 - - *355 + - *352 responses: '200': description: Response @@ -48357,9 +48043,9 @@ paths: type: integer artifacts: type: array - items: *325 + items: *322 examples: - default: *356 + default: *353 headers: Link: *58 x-github: @@ -48385,23 +48071,23 @@ paths: parameters: - *310 - *311 - - *354 - - &358 + - *351 + - &355 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *352 + - *349 responses: '200': description: Response content: application/json: - schema: *353 + schema: *350 examples: - default: *357 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48426,8 +48112,8 @@ paths: parameters: - *310 - *311 - - *354 - - *358 + - *351 + - *355 - *17 - *19 responses: @@ -48445,9 +48131,9 @@ paths: type: integer jobs: type: array - items: *359 + items: *356 examples: - default: &360 + default: &357 value: total_count: 1 jobs: @@ -48562,8 +48248,8 @@ paths: parameters: - *310 - *311 - - *354 - - *358 + - *351 + - *355 responses: '302': description: Response @@ -48593,7 +48279,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 responses: '202': description: Response @@ -48628,7 +48314,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 requestBody: required: true content: @@ -48697,7 +48383,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 responses: '202': description: Response @@ -48732,7 +48418,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 - 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 @@ -48762,9 +48448,9 @@ paths: type: integer jobs: type: array - items: *359 + items: *356 examples: - default: *360 + default: *357 headers: Link: *58 x-github: @@ -48791,7 +48477,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 responses: '302': description: Response @@ -48820,7 +48506,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 responses: '204': description: Response @@ -48849,7 +48535,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 responses: '200': description: Response @@ -48909,7 +48595,7 @@ paths: items: type: object properties: - type: &478 + type: &475 type: string description: The type of reviewer. enum: @@ -48996,7 +48682,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 requestBody: required: true content: @@ -49043,7 +48729,7 @@ paths: application/json: schema: type: array - items: &473 + items: &470 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -49149,7 +48835,7 @@ paths: - created_at - updated_at examples: - default: &474 + default: &471 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -49207,7 +48893,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 requestBody: required: false content: @@ -49253,7 +48939,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 requestBody: required: false content: @@ -49308,7 +48994,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 responses: '200': description: Response @@ -49464,9 +49150,9 @@ paths: type: integer secrets: type: array - items: *361 + items: *358 examples: - default: *362 + default: *359 headers: Link: *58 x-github: @@ -49498,9 +49184,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *360 examples: - default: *364 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49530,9 +49216,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *358 examples: - default: &491 + default: &488 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -49646,7 +49332,7 @@ paths: parameters: - *310 - *311 - - *332 + - *329 - *19 responses: '200': @@ -49663,9 +49349,9 @@ paths: type: integer variables: type: array - items: *365 + items: *362 examples: - default: *366 + default: *363 headers: Link: *58 x-github: @@ -49749,9 +49435,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *362 examples: - default: &492 + default: &489 value: name: USERNAME value: octocat @@ -49867,7 +49553,7 @@ paths: type: integer workflows: type: array - items: &367 + items: &364 title: Workflow description: A GitHub Actions workflow type: object @@ -49976,7 +49662,7 @@ paths: parameters: - *310 - *311 - - &368 + - &365 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -49991,7 +49677,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *364 examples: default: value: @@ -50026,7 +49712,7 @@ paths: parameters: - *310 - *311 - - *368 + - *365 responses: '204': description: Response @@ -50053,7 +49739,7 @@ paths: parameters: - *310 - *311 - - *368 + - *365 responses: '204': description: Response @@ -50106,7 +49792,7 @@ paths: parameters: - *310 - *311 - - *368 + - *365 responses: '204': description: Response @@ -50135,17 +49821,17 @@ paths: parameters: - *310 - *311 + - *365 + - *366 + - *367 - *368 - *369 + - *17 + - *19 - *370 + - *349 - *371 - *372 - - *17 - - *19 - - *373 - - *352 - - *374 - - *375 responses: '200': description: Response @@ -50161,9 +49847,9 @@ paths: type: integer workflow_runs: type: array - items: *353 + items: *350 examples: - default: *376 + default: *373 headers: Link: *58 x-github: @@ -50197,7 +49883,7 @@ paths: parameters: - *310 - *311 - - *368 + - *365 responses: '200': description: Response @@ -50666,7 +50352,7 @@ paths: bundle_url: type: string examples: - default: *377 + default: *374 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50695,7 +50381,7 @@ paths: application/json: schema: type: array - items: &378 + items: &375 title: Autolink reference description: An autolink reference. type: object @@ -50789,9 +50475,9 @@ paths: description: response content: application/json: - schema: *378 + schema: *375 examples: - default: &379 + default: &376 value: id: 1 key_prefix: TICKET- @@ -50824,7 +50510,7 @@ paths: parameters: - *310 - *311 - - &380 + - &377 name: autolink_id description: The unique identifier of the autolink. in: path @@ -50836,9 +50522,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *375 examples: - default: *379 + default: *376 '404': *6 x-github: githubCloudOnly: false @@ -50860,7 +50546,7 @@ paths: parameters: - *310 - *311 - - *380 + - *377 responses: '204': description: Response @@ -51015,7 +50701,7 @@ paths: - url protected: type: boolean - protection: &382 + protection: &379 title: Branch Protection description: Branch Protection type: object @@ -51057,7 +50743,7 @@ paths: required: - contexts - checks - enforce_admins: &385 + enforce_admins: &382 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -51072,7 +50758,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &387 + required_pull_request_reviews: &384 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -51148,7 +50834,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &384 + restrictions: &381 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -51457,7 +51143,7 @@ paths: parameters: - *310 - *311 - - &383 + - &380 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). @@ -51471,14 +51157,14 @@ paths: description: Response content: application/json: - schema: &393 + schema: &390 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &446 + commit: &443 title: Commit description: Commit type: object @@ -51512,7 +51198,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &381 + properties: &378 name: type: string example: '"Chris Wanstrath"' @@ -51527,7 +51213,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *381 + properties: *378 nullable: true message: type: string @@ -51548,7 +51234,7 @@ paths: required: - sha - url - verification: &498 + verification: &495 title: Verification type: object properties: @@ -51618,7 +51304,7 @@ paths: type: integer files: type: array - items: &461 + items: &458 title: Diff Entry description: Diff Entry type: object @@ -51701,7 +51387,7 @@ paths: - self protected: type: boolean - protection: *382 + protection: *379 protection_url: type: string format: uri @@ -51808,7 +51494,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *322 + '301': *319 '404': *6 x-github: githubCloudOnly: false @@ -51832,13 +51518,13 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response content: application/json: - schema: *382 + schema: *379 examples: default: value: @@ -52034,7 +51720,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: true content: @@ -52289,7 +51975,7 @@ paths: url: type: string format: uri - required_status_checks: &390 + required_status_checks: &387 title: Status Check Policy description: Status Check Policy type: object @@ -52441,7 +52127,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *384 + restrictions: *381 required_conversation_resolution: type: object properties: @@ -52555,7 +52241,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '204': description: Response @@ -52582,15 +52268,15 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response content: application/json: - schema: *385 + schema: *382 examples: - default: &386 + default: &383 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -52614,15 +52300,15 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response content: application/json: - schema: *385 + schema: *382 examples: - default: *386 + default: *383 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52643,7 +52329,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '204': description: Response @@ -52670,15 +52356,15 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response content: application/json: - schema: *387 + schema: *384 examples: - default: &388 + default: &385 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -52776,7 +52462,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: false content: @@ -52874,9 +52560,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *384 examples: - default: *388 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -52899,7 +52585,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '204': description: Response @@ -52928,15 +52614,15 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response content: application/json: - schema: *385 + schema: *382 examples: - default: &389 + default: &386 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -52961,15 +52647,15 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response content: application/json: - schema: *385 + schema: *382 examples: - default: *389 + default: *386 '404': *6 x-github: githubCloudOnly: false @@ -52991,7 +52677,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '204': description: Response @@ -53018,15 +52704,15 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response content: application/json: - schema: *390 + schema: *387 examples: - default: &391 + default: &388 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -53054,7 +52740,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: false content: @@ -53106,9 +52792,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *387 examples: - default: *391 + default: *388 '404': *6 '422': *15 x-github: @@ -53132,7 +52818,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '204': description: Response @@ -53158,7 +52844,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response @@ -53194,7 +52880,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: false content: @@ -53263,7 +52949,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: false content: @@ -53329,7 +53015,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: content: application/json: @@ -53397,13 +53083,13 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response content: application/json: - schema: *384 + schema: *381 examples: default: value: @@ -53496,7 +53182,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '204': description: Response @@ -53521,7 +53207,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response @@ -53531,7 +53217,7 @@ paths: type: array items: *5 examples: - default: &392 + default: &389 value: - id: 1 slug: octoapp @@ -53590,7 +53276,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: true content: @@ -53624,7 +53310,7 @@ paths: type: array items: *5 examples: - default: *392 + default: *389 '422': *15 x-github: githubCloudOnly: false @@ -53647,7 +53333,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: true content: @@ -53681,7 +53367,7 @@ paths: type: array items: *5 examples: - default: *392 + default: *389 '422': *15 x-github: githubCloudOnly: false @@ -53704,7 +53390,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: true content: @@ -53738,7 +53424,7 @@ paths: type: array items: *5 examples: - default: *392 + default: *389 '422': *15 x-github: githubCloudOnly: false @@ -53762,7 +53448,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response @@ -53794,7 +53480,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: false content: @@ -53855,7 +53541,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: false content: @@ -53916,7 +53602,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: content: application/json: @@ -53977,7 +53663,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response @@ -54013,7 +53699,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: true content: @@ -54073,7 +53759,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: true content: @@ -54133,7 +53819,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: true content: @@ -54195,7 +53881,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: true content: @@ -54217,7 +53903,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *390 examples: default: value: @@ -54613,7 +54299,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &392 title: CheckRun description: A check performed on the code of a given code change type: object @@ -54732,8 +54418,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *394 - deployment: &696 + items: *391 + deployment: &693 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -55015,7 +54701,7 @@ paths: parameters: - *310 - *311 - - &396 + - &393 name: check_run_id description: The unique identifier of the check run. in: path @@ -55027,9 +54713,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *392 examples: - default: &397 + default: &394 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -55131,7 +54817,7 @@ paths: parameters: - *310 - *311 - - *396 + - *393 requestBody: required: true content: @@ -55371,9 +55057,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *392 examples: - default: *397 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55395,7 +55081,7 @@ paths: parameters: - *310 - *311 - - *396 + - *393 - *17 - *19 responses: @@ -55492,7 +55178,7 @@ paths: parameters: - *310 - *311 - - *396 + - *393 responses: '201': description: Response @@ -55559,7 +55245,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &400 + schema: &397 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -55623,7 +55309,7 @@ paths: nullable: true pull_requests: type: array - items: *394 + items: *391 nullable: true app: title: GitHub app @@ -55645,12 +55331,12 @@ paths: type: string format: date-time nullable: true - head_commit: &722 + head_commit: &719 title: Simple Commit description: A commit. type: object - properties: *398 - required: *399 + properties: *395 + required: *396 latest_check_runs_count: type: integer check_runs_url: @@ -55678,7 +55364,7 @@ paths: - check_runs_url - pull_requests examples: - default: &401 + default: &398 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -55969,9 +55655,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *400 + schema: *397 examples: - default: *401 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56302,7 +55988,7 @@ paths: parameters: - *310 - *311 - - &402 + - &399 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -56314,9 +56000,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *397 examples: - default: *401 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56341,15 +56027,15 @@ paths: parameters: - *310 - *311 - - *402 - - &454 + - *399 + - &451 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &455 + - &452 name: status description: Returns check runs with the specified `status`. in: query @@ -56388,9 +56074,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *392 examples: - default: &456 + default: &453 value: total_count: 1 check_runs: @@ -56494,7 +56180,7 @@ paths: parameters: - *310 - *311 - - *402 + - *399 responses: '201': description: Response @@ -56529,19 +56215,19 @@ paths: parameters: - *310 - *311 - - *403 - - *404 + - *400 + - *401 - *19 - *17 - - &421 + - &418 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: *405 - - &422 + schema: *402 + - &419 name: pr description: The number of the pull request for the results you want to list. in: query @@ -56566,13 +56252,13 @@ paths: be returned. in: query required: false - schema: *406 + schema: *403 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *407 + schema: *404 responses: '200': description: Response @@ -56588,7 +56274,7 @@ paths: updated_at: *143 url: *56 html_url: *57 - instances_url: *408 + instances_url: *405 state: *148 fixed_at: *144 dismissed_by: @@ -56599,11 +56285,11 @@ paths: required: *21 nullable: true dismissed_at: *145 - dismissed_reason: *409 - dismissed_comment: *410 - rule: *411 - tool: *412 - most_recent_instance: *413 + dismissed_reason: *406 + dismissed_comment: *407 + rule: *408 + tool: *409 + most_recent_instance: *410 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -56726,7 +56412,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &414 + '403': &411 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -56755,7 +56441,7 @@ paths: parameters: - *310 - *311 - - &415 + - &412 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -56769,7 +56455,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &413 type: object properties: number: *54 @@ -56777,7 +56463,7 @@ paths: updated_at: *143 url: *56 html_url: *57 - instances_url: *408 + instances_url: *405 state: *148 fixed_at: *144 dismissed_by: @@ -56788,8 +56474,8 @@ paths: required: *21 nullable: true dismissed_at: *145 - dismissed_reason: *409 - dismissed_comment: *410 + dismissed_reason: *406 + dismissed_comment: *407 rule: type: object properties: @@ -56843,8 +56529,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *412 - most_recent_instance: *413 + tool: *409 + most_recent_instance: *410 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -56940,7 +56626,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *414 + '403': *411 '404': *6 '503': *65 x-github: @@ -56962,7 +56648,7 @@ paths: parameters: - *310 - *311 - - *415 + - *412 requestBody: required: true content: @@ -56977,8 +56663,8 @@ paths: enum: - open - dismissed - dismissed_reason: *409 - dismissed_comment: *410 + dismissed_reason: *406 + dismissed_comment: *407 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -56997,7 +56683,7 @@ paths: description: Response content: application/json: - schema: *416 + schema: *413 examples: default: value: @@ -57073,7 +56759,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &420 + '403': &417 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -57102,13 +56788,13 @@ paths: parameters: - *310 - *311 - - *415 + - *412 responses: '200': description: Response content: application/json: - schema: &417 + schema: &414 type: object properties: status: @@ -57134,13 +56820,13 @@ paths: - description - started_at examples: - default: &418 + default: &415 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &419 + '400': &416 description: Bad Request content: application/json: @@ -57151,7 +56837,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': *414 + '403': *411 '404': *6 '503': *65 x-github: @@ -57178,27 +56864,27 @@ paths: parameters: - *310 - *311 - - *415 + - *412 responses: '200': description: OK content: application/json: - schema: *417 + schema: *414 examples: - default: *418 + default: *415 '202': description: Accepted content: application/json: - schema: *417 + schema: *414 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *419 + '400': *416 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -57232,7 +56918,7 @@ paths: parameters: - *310 - *311 - - *415 + - *412 requestBody: required: false content: @@ -57277,8 +56963,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *419 - '403': *420 + '400': *416 + '403': *417 '404': *6 '422': description: Unprocessable Entity @@ -57304,11 +56990,11 @@ paths: parameters: - *310 - *311 - - *415 + - *412 - *19 - *17 - - *421 - - *422 + - *418 + - *419 responses: '200': description: Response @@ -57316,7 +57002,7 @@ paths: application/json: schema: type: array - items: *413 + items: *410 examples: default: value: @@ -57355,7 +57041,7 @@ paths: end_column: 50 classifications: - source - '403': *414 + '403': *411 '404': *6 '503': *65 x-github: @@ -57391,23 +57077,23 @@ paths: parameters: - *310 - *311 - - *403 - - *404 + - *400 + - *401 - *19 - *17 - - *422 + - *419 - 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: *405 + schema: *402 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &425 + schema: &422 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -57428,23 +57114,23 @@ paths: application/json: schema: type: array - items: &426 + items: &423 type: object properties: - ref: *405 - commit_sha: &434 + ref: *402 + commit_sha: &431 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: *423 + analysis_key: *420 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *424 + category: *421 error: type: string example: error reading field xyz @@ -57468,8 +57154,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *425 - tool: *412 + sarif_id: *422 + tool: *409 deletable: type: boolean warning: @@ -57530,7 +57216,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *414 + '403': *411 '404': *6 '503': *65 x-github: @@ -57580,7 +57266,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *423 examples: response: summary: application/json response @@ -57634,7 +57320,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *414 + '403': *411 '404': *6 '422': description: Response if analysis could not be processed @@ -57775,7 +57461,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': *420 + '403': *417 '404': *6 '503': *65 x-github: @@ -57806,7 +57492,7 @@ paths: application/json: schema: type: array - items: &427 + items: &424 title: CodeQL Database description: A CodeQL database. type: object @@ -57917,7 +57603,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': *414 + '403': *411 '404': *6 '503': *65 x-github: @@ -57959,7 +57645,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: default: value: @@ -57991,9 +57677,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': &463 + '302': &460 description: Found - '403': *414 + '403': *411 '404': *6 '503': *65 x-github: @@ -58026,7 +57712,7 @@ paths: responses: '204': description: Response - '403': *420 + '403': *417 '404': *6 '503': *65 x-github: @@ -58064,7 +57750,7 @@ paths: type: object additionalProperties: false properties: - language: &428 + language: &425 type: string description: The language targeted by the CodeQL query enum: @@ -58143,7 +57829,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &432 + schema: &429 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -58153,7 +57839,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *428 + query_language: *425 query_pack_url: type: string description: The download url for the query pack. @@ -58200,7 +57886,7 @@ paths: items: type: object properties: - repository: &429 + repository: &426 title: Repository Identifier description: Repository Identifier type: object @@ -58236,7 +57922,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &433 + analysis_status: &430 type: string description: The new status of the CodeQL variant analysis repository task. @@ -58268,7 +57954,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &430 + access_mismatch_repos: &427 type: object properties: repository_count: @@ -58282,7 +57968,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: *429 + items: *426 required: - repository_count - repositories @@ -58304,8 +57990,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *430 - over_limit_repos: *430 + no_codeql_db_repos: *427 + over_limit_repos: *427 required: - access_mismatch_repos - not_found_repos @@ -58321,7 +58007,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &431 + value: &428 summary: Default response value: id: 1 @@ -58473,10 +58159,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *431 + value: *428 repository_lists: summary: Response for a successful variant analysis submission - value: *431 + value: *428 '404': *6 '422': description: Unable to process variant analysis submission @@ -58517,9 +58203,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *429 examples: - default: *431 + default: *428 '404': *6 '503': *65 x-github: @@ -58577,7 +58263,7 @@ paths: type: object properties: repository: *53 - analysis_status: *433 + analysis_status: *430 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -58788,7 +58474,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *414 + '403': *411 '404': *6 '503': *65 x-github: @@ -58902,7 +58588,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *420 + '403': *417 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -58982,7 +58668,7 @@ paths: schema: type: object properties: - commit_sha: *434 + commit_sha: *431 ref: type: string description: |- @@ -59040,7 +58726,7 @@ paths: schema: type: object properties: - id: *425 + id: *422 url: type: string description: The REST API URL for checking the status of the upload. @@ -59054,7 +58740,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': *420 + '403': *417 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -59124,7 +58810,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': *414 + '403': *411 '404': description: Not Found if the sarif id does not match any upload '503': *65 @@ -59733,7 +59419,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -59741,7 +59427,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '400': *14 '401': *25 '403': *29 @@ -59871,14 +59557,14 @@ paths: type: integer machines: type: array - items: &647 + items: &644 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *436 - required: *437 + properties: *433 + required: *434 examples: - default: &648 + default: &645 value: total_count: 2 machines: @@ -60089,7 +59775,7 @@ paths: type: integer secrets: type: array - items: &441 + items: &438 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -60109,7 +59795,7 @@ paths: - created_at - updated_at examples: - default: *438 + default: *435 headers: Link: *58 x-github: @@ -60139,9 +59825,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *436 examples: - default: *440 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -60169,9 +59855,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *438 examples: - default: *442 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60318,7 +60004,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &443 + properties: &440 login: type: string example: octocat @@ -60411,7 +60097,7 @@ paths: user_view_type: type: string example: public - required: &444 + required: &441 - avatar_url - events_url - followers_url @@ -60561,7 +60247,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &511 + schema: &508 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -60845,8 +60531,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *443 - required: *444 + properties: *440 + required: *441 nullable: true required: - permission @@ -60912,7 +60598,7 @@ paths: application/json: schema: type: array - items: &445 + items: &442 title: Commit Comment description: Commit Comment type: object @@ -60970,7 +60656,7 @@ paths: - created_at - updated_at examples: - default: &448 + default: &445 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61037,9 +60723,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *442 examples: - default: &449 + default: &446 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61120,7 +60806,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *442 examples: default: value: @@ -61419,9 +61105,9 @@ paths: application/json: schema: type: array - items: *446 + items: *443 examples: - default: &562 + default: &559 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61517,7 +61203,7 @@ paths: parameters: - *310 - *311 - - &447 + - &444 name: commit_sha description: The SHA of the commit. in: path @@ -61591,7 +61277,7 @@ paths: parameters: - *310 - *311 - - *447 + - *444 - *17 - *19 responses: @@ -61601,9 +61287,9 @@ paths: application/json: schema: type: array - items: *445 + items: *442 examples: - default: *448 + default: *445 headers: Link: *58 x-github: @@ -61633,7 +61319,7 @@ paths: parameters: - *310 - *311 - - *447 + - *444 requestBody: required: true content: @@ -61668,9 +61354,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *442 examples: - default: *449 + default: *446 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61700,7 +61386,7 @@ paths: parameters: - *310 - *311 - - *447 + - *444 - *17 - *19 responses: @@ -61710,7 +61396,7 @@ paths: application/json: schema: type: array - items: &553 + items: &550 title: Pull Request Simple description: Pull Request Simple type: object @@ -61816,8 +61502,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *450 - required: *451 + properties: *447 + required: *448 nullable: true active_lock_reason: type: string @@ -61913,7 +61599,7 @@ paths: _links: type: object properties: - comments: &452 + comments: &449 title: Link description: Hypermedia Link type: object @@ -61922,13 +61608,13 @@ paths: type: string required: - href - commits: *452 - statuses: *452 - html: *452 - issue: *452 - review_comments: *452 - review_comment: *452 - self: *452 + commits: *449 + statuses: *449 + html: *449 + issue: *449 + review_comments: *449 + review_comment: *449 + self: *449 required: - comments - commits @@ -61939,7 +61625,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: &555 + auto_merge: &552 title: Auto merge description: The status of auto merging a pull request. type: object @@ -62002,7 +61688,7 @@ paths: - author_association - auto_merge examples: - default: &554 + default: &551 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -62543,7 +62229,7 @@ paths: - *311 - *19 - *17 - - &453 + - &450 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)" @@ -62558,9 +62244,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *443 examples: - default: &540 + default: &537 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -62675,9 +62361,9 @@ paths: parameters: - *310 - *311 - - *453 - - *454 - - *455 + - *450 + - *451 + - *452 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -62711,9 +62397,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *392 examples: - default: *456 + default: *453 headers: Link: *58 x-github: @@ -62740,7 +62426,7 @@ paths: parameters: - *310 - *311 - - *453 + - *450 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -62748,7 +62434,7 @@ paths: schema: type: integer example: 1 - - *454 + - *451 - *17 - *19 responses: @@ -62766,7 +62452,7 @@ paths: type: integer check_suites: type: array - items: *400 + items: *397 examples: default: value: @@ -62968,7 +62654,7 @@ paths: parameters: - *310 - *311 - - *453 + - *450 - *17 - *19 responses: @@ -63168,7 +62854,7 @@ paths: parameters: - *310 - *311 - - *453 + - *450 - *17 - *19 responses: @@ -63178,7 +62864,7 @@ paths: application/json: schema: type: array - items: &618 + items: &615 title: Status description: The status of a commit. type: object @@ -63259,7 +62945,7 @@ paths: site_admin: false headers: Link: *58 - '301': *322 + '301': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63317,20 +63003,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *457 - required: *458 + properties: *454 + required: *455 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &459 + properties: &456 url: type: string format: uri html_url: type: string format: uri - required: &460 + required: &457 - url - html_url nullable: true @@ -63344,26 +63030,26 @@ paths: contributing: title: Community Health File type: object - properties: *459 - required: *460 + properties: *456 + required: *457 nullable: true readme: title: Community Health File type: object - properties: *459 - required: *460 + properties: *456 + required: *457 nullable: true issue_template: title: Community Health File type: object - properties: *459 - required: *460 + properties: *456 + required: *457 nullable: true pull_request_template: title: Community Health File type: object - properties: *459 - required: *460 + properties: *456 + required: *457 nullable: true required: - code_of_conduct @@ -63534,8 +63220,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *446 - merge_base_commit: *446 + base_commit: *443 + merge_base_commit: *443 status: type: string enum: @@ -63555,10 +63241,10 @@ paths: example: 6 commits: type: array - items: *446 + items: *443 files: type: array - items: *461 + items: *458 required: - url - html_url @@ -63988,7 +63674,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &462 + response-if-content-is-a-file: &459 summary: Response if content is a file value: type: file @@ -64120,7 +63806,7 @@ paths: - size - type - url - - &567 + - &564 title: Content File description: Content File type: object @@ -64321,7 +64007,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *462 + response-if-content-is-a-file: *459 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -64390,7 +64076,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *463 + '302': *460 '304': *37 x-github: githubCloudOnly: false @@ -64507,7 +64193,7 @@ paths: description: Response content: application/json: - schema: &464 + schema: &461 title: File Commit description: File Commit type: object @@ -64659,7 +64345,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *461 examples: example-for-creating-a-file: value: @@ -64713,7 +64399,7 @@ paths: schema: oneOf: - *3 - - &493 + - &490 description: Repository rule violation was detected type: object properties: @@ -64734,7 +64420,7 @@ paths: items: type: object properties: - placeholder_id: &610 + placeholder_id: &607 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -64828,7 +64514,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *461 examples: default: value: @@ -65051,7 +64737,7 @@ paths: application/json: schema: type: array - items: &467 + items: &464 type: object description: A Dependabot alert. properties: @@ -65097,7 +64783,7 @@ paths: - unknown - direct - transitive - security_advisory: *465 + security_advisory: *462 security_vulnerability: *52 url: *56 html_url: *57 @@ -65128,7 +64814,7 @@ paths: nullable: true maxLength: 280 fixed_at: *144 - auto_dismissed_at: *466 + auto_dismissed_at: *463 required: - number - state @@ -65360,7 +65046,7 @@ paths: parameters: - *310 - *311 - - &468 + - &465 name: alert_number in: path description: |- @@ -65375,7 +65061,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *464 examples: default: value: @@ -65490,7 +65176,7 @@ paths: parameters: - *310 - *311 - - *468 + - *465 requestBody: required: true content: @@ -65535,7 +65221,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *464 examples: default: value: @@ -65683,7 +65369,7 @@ paths: type: integer secrets: type: array - items: &471 + items: &468 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -65743,9 +65429,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *466 examples: - default: *470 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65773,7 +65459,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *468 examples: default: value: @@ -66354,7 +66040,7 @@ paths: - version - url additionalProperties: false - metadata: &472 + metadata: &469 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -66387,7 +66073,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *472 + metadata: *469 resolved: type: object description: A collection of resolved package dependencies. @@ -66400,7 +66086,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *472 + metadata: *469 relationship: type: string description: A notation of whether a dependency is requested @@ -66570,9 +66256,9 @@ paths: application/json: schema: type: array - items: *473 + items: *470 examples: - default: *474 + default: *471 headers: Link: *58 x-github: @@ -66720,7 +66406,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *470 examples: simple-example: summary: Simple example @@ -66795,7 +66481,7 @@ paths: parameters: - *310 - *311 - - &475 + - &472 name: deployment_id description: deployment_id parameter in: path @@ -66807,7 +66493,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *470 examples: default: value: @@ -66874,7 +66560,7 @@ paths: parameters: - *310 - *311 - - *475 + - *472 responses: '204': description: Response @@ -66898,7 +66584,7 @@ paths: parameters: - *310 - *311 - - *475 + - *472 - *17 - *19 responses: @@ -66908,7 +66594,7 @@ paths: application/json: schema: type: array - items: &476 + items: &473 title: Deployment Status description: The status of a deployment. type: object @@ -67071,7 +66757,7 @@ paths: parameters: - *310 - *311 - - *475 + - *472 requestBody: required: true content: @@ -67146,9 +66832,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *473 examples: - default: &477 + default: &474 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -67206,7 +66892,7 @@ paths: parameters: - *310 - *311 - - *475 + - *472 - name: status_id in: path required: true @@ -67217,9 +66903,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *473 examples: - default: *477 + default: *474 '404': *6 x-github: githubCloudOnly: false @@ -67320,7 +67006,7 @@ paths: type: integer environments: type: array - items: &479 + items: &476 title: Environment description: Details of a deployment environment type: object @@ -67372,7 +67058,7 @@ paths: type: type: string example: wait_timer - wait_timer: &481 + wait_timer: &478 type: integer example: 30 description: The amount of time to delay a job after @@ -67409,7 +67095,7 @@ paths: items: type: object properties: - type: *478 + type: *475 reviewer: anyOf: - *4 @@ -67433,7 +67119,7 @@ paths: - id - node_id - type - deployment_branch_policy: &482 + deployment_branch_policy: &479 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -67551,7 +67237,7 @@ paths: parameters: - *310 - *311 - - &480 + - &477 name: environment_name in: path required: true @@ -67564,9 +67250,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *476 examples: - default: &483 + default: &480 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -67652,7 +67338,7 @@ paths: parameters: - *310 - *311 - - *480 + - *477 requestBody: required: false content: @@ -67661,7 +67347,7 @@ paths: type: object nullable: true properties: - wait_timer: *481 + wait_timer: *478 prevent_self_review: type: boolean example: false @@ -67678,13 +67364,13 @@ paths: items: type: object properties: - type: *478 + type: *475 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *482 + deployment_branch_policy: *479 additionalProperties: false examples: default: @@ -67704,9 +67390,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *476 examples: - default: *483 + default: *480 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -67732,7 +67418,7 @@ paths: parameters: - *310 - *311 - - *480 + - *477 responses: '204': description: Default response @@ -67759,7 +67445,7 @@ paths: parameters: - *310 - *311 - - *480 + - *477 - *17 - *19 responses: @@ -67777,7 +67463,7 @@ paths: example: 2 branch_policies: type: array - items: &484 + items: &481 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -67836,7 +67522,7 @@ paths: parameters: - *310 - *311 - - *480 + - *477 requestBody: required: true content: @@ -67882,9 +67568,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *481 examples: - example-wildcard: &485 + example-wildcard: &482 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -67928,8 +67614,8 @@ paths: parameters: - *310 - *311 - - *480 - - &486 + - *477 + - &483 name: branch_policy_id in: path required: true @@ -67941,9 +67627,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *481 examples: - default: *485 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67964,8 +67650,8 @@ paths: parameters: - *310 - *311 - - *480 - - *486 + - *477 + - *483 requestBody: required: true content: @@ -67993,9 +67679,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *481 examples: - default: *485 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68016,8 +67702,8 @@ paths: parameters: - *310 - *311 - - *480 - - *486 + - *477 + - *483 responses: '204': description: Response @@ -68042,7 +67728,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *480 + - *477 - *311 - *310 responses: @@ -68060,7 +67746,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &487 + items: &484 title: Deployment protection rule description: Deployment protection rule type: object @@ -68079,7 +67765,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &488 + app: &485 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -68178,7 +67864,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *480 + - *477 - *311 - *310 requestBody: @@ -68201,9 +67887,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *487 + schema: *484 examples: - default: &489 + default: &486 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -68238,7 +67924,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *480 + - *477 - *311 - *310 - *19 @@ -68259,7 +67945,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *488 + items: *485 examples: default: value: @@ -68296,8 +67982,8 @@ paths: parameters: - *310 - *311 - - *480 - - &490 + - *477 + - &487 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -68309,9 +67995,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *484 examples: - default: *489 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68332,10 +68018,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *480 + - *477 - *311 - *310 - - *490 + - *487 responses: '204': description: Response @@ -68363,7 +68049,7 @@ paths: parameters: - *310 - *311 - - *480 + - *477 - *17 - *19 responses: @@ -68381,9 +68067,9 @@ paths: type: integer secrets: type: array - items: *361 + items: *358 examples: - default: *362 + default: *359 headers: Link: *58 x-github: @@ -68410,15 +68096,15 @@ paths: parameters: - *310 - *311 - - *480 + - *477 responses: '200': description: Response content: application/json: - schema: *363 + schema: *360 examples: - default: *364 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68442,16 +68128,16 @@ paths: parameters: - *310 - *311 - - *480 + - *477 - *134 responses: '200': description: Response content: application/json: - schema: *361 + schema: *358 examples: - default: *491 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68475,7 +68161,7 @@ paths: parameters: - *310 - *311 - - *480 + - *477 - *134 requestBody: required: true @@ -68535,7 +68221,7 @@ paths: parameters: - *310 - *311 - - *480 + - *477 - *134 responses: '204': @@ -68563,8 +68249,8 @@ paths: parameters: - *310 - *311 - - *480 - - *332 + - *477 + - *329 - *19 responses: '200': @@ -68581,9 +68267,9 @@ paths: type: integer variables: type: array - items: *365 + items: *362 examples: - default: *366 + default: *363 headers: Link: *58 x-github: @@ -68608,7 +68294,7 @@ paths: parameters: - *310 - *311 - - *480 + - *477 requestBody: required: true content: @@ -68662,16 +68348,16 @@ paths: parameters: - *310 - *311 - - *480 + - *477 - *137 responses: '200': description: Response content: application/json: - schema: *365 + schema: *362 examples: - default: *492 + default: *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68695,7 +68381,7 @@ paths: - *310 - *311 - *137 - - *480 + - *477 requestBody: required: true content: @@ -68740,7 +68426,7 @@ paths: - *310 - *311 - *137 - - *480 + - *477 responses: '204': description: Response @@ -69033,9 +68719,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *318 examples: - default: *323 + default: *320 '400': *14 '422': *15 '403': *29 @@ -69117,7 +68803,7 @@ paths: schema: oneOf: - *100 - - *493 + - *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69352,7 +69038,7 @@ paths: description: Response content: application/json: - schema: &494 + schema: &491 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -69568,13 +69254,13 @@ paths: parameters: - *310 - *311 - - *447 + - *444 responses: '200': description: Response content: application/json: - schema: *494 + schema: *491 examples: default: value: @@ -69632,7 +69318,7 @@ paths: parameters: - *310 - *311 - - &495 + - &492 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. @@ -69649,7 +69335,7 @@ paths: application/json: schema: type: array - items: &496 + items: &493 title: Git Reference description: Git references within a repository type: object @@ -69726,15 +69412,15 @@ paths: parameters: - *310 - *311 - - *495 + - *492 responses: '200': description: Response content: application/json: - schema: *496 + schema: *493 examples: - default: &497 + default: &494 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -69793,9 +69479,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *493 examples: - default: *497 + default: *494 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -69823,7 +69509,7 @@ paths: parameters: - *310 - *311 - - *495 + - *492 requestBody: required: true content: @@ -69852,9 +69538,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *493 examples: - default: *497 + default: *494 '422': *15 '409': *47 x-github: @@ -69874,7 +69560,7 @@ paths: parameters: - *310 - *311 - - *495 + - *492 responses: '204': description: Response @@ -69997,7 +69683,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &496 title: Git Tag description: Metadata for a Git tag type: object @@ -70048,7 +69734,7 @@ paths: - sha - type - url - verification: *498 + verification: *495 required: - sha - url @@ -70058,7 +69744,7 @@ paths: - tag - message examples: - default: &500 + default: &497 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -70143,9 +69829,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *496 examples: - default: *500 + default: *497 '404': *6 '409': *47 x-github: @@ -70243,7 +69929,7 @@ paths: description: Response content: application/json: - schema: &501 + schema: &498 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -70363,7 +70049,7 @@ paths: description: Response content: application/json: - schema: *501 + schema: *498 examples: default-response: summary: Default response @@ -70433,7 +70119,7 @@ paths: application/json: schema: type: array - items: &502 + items: &499 title: Webhook description: Webhooks for repositories. type: object @@ -70487,7 +70173,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &730 + last_response: &727 title: Hook Response type: object properties: @@ -70614,9 +70300,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *499 examples: - default: &503 + default: &500 value: type: Repository id: 12345678 @@ -70672,9 +70358,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *499 examples: - default: *503 + default: *500 '404': *6 x-github: githubCloudOnly: false @@ -70741,9 +70427,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *499 examples: - default: *503 + default: *500 '422': *15 '404': *6 x-github: @@ -71047,7 +70733,7 @@ paths: description: Response content: application/json: - schema: &504 + schema: &501 title: Import description: A repository import from an external source. type: object @@ -71146,7 +70832,7 @@ paths: - html_url - authors_url examples: - default: &507 + default: &504 value: vcs: subversion use_lfs: true @@ -71162,7 +70848,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': &505 + '503': &502 description: Unavailable due to service under maintenance. content: application/json: @@ -71240,7 +70926,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *501 examples: default: value: @@ -71265,7 +70951,7 @@ paths: type: string '422': *15 '404': *6 - '503': *505 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71343,7 +71029,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *501 examples: example-1: summary: Example 1 @@ -71391,7 +71077,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': *505 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71419,7 +71105,7 @@ paths: responses: '204': description: Response - '503': *505 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71447,7 +71133,7 @@ paths: parameters: - *310 - *311 - - &670 + - &667 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -71461,7 +71147,7 @@ paths: application/json: schema: type: array - items: &506 + items: &503 title: Porter Author description: Porter Author type: object @@ -71515,7 +71201,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': *505 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71571,7 +71257,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *503 examples: default: value: @@ -71584,7 +71270,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *505 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71650,7 +71336,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *505 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71706,11 +71392,11 @@ paths: description: Response content: application/json: - schema: *504 + schema: *501 examples: - default: *507 + default: *504 '422': *15 - '503': *505 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71742,8 +71428,8 @@ paths: application/json: schema: *22 examples: - default: *508 - '301': *322 + default: *505 + '301': *319 '404': *6 x-github: githubCloudOnly: false @@ -71777,7 +71463,7 @@ paths: properties: {} additionalProperties: false examples: - default: &510 + default: &507 value: limit: collaborators_only origin: repository @@ -71808,7 +71494,7 @@ paths: required: true content: application/json: - schema: *509 + schema: *506 examples: default: summary: Example request body @@ -71822,7 +71508,7 @@ paths: application/json: schema: *195 examples: - default: *510 + default: *507 '409': description: Response x-github: @@ -71879,9 +71565,9 @@ paths: application/json: schema: type: array - items: *511 + items: *508 examples: - default: &663 + default: &660 value: - id: 1 repository: @@ -72043,7 +71729,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *508 examples: default: value: @@ -72281,7 +71967,7 @@ paths: type: array items: *77 examples: - default: &520 + default: &517 value: - id: 1 node_id: MDU6SXNzdWUx @@ -72429,7 +72115,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *322 + '301': *319 '422': *15 '404': *6 x-github: @@ -72543,7 +72229,7 @@ paths: application/json: schema: *77 examples: - default: &517 + default: &514 value: id: 1 node_id: MDU6SXNzdWUx @@ -72699,7 +72385,7 @@ paths: '422': *15 '503': *65 '404': *6 - '410': *319 + '410': *316 x-github: triggersNotification: true githubCloudOnly: false @@ -72749,9 +72435,9 @@ paths: application/json: schema: type: array - items: *512 + items: *509 examples: - default: &519 + default: &516 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72817,9 +72503,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *509 examples: - default: &513 + default: &510 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72897,9 +72583,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *509 examples: - default: *513 + default: *510 '422': *15 x-github: githubCloudOnly: false @@ -73089,7 +72775,7 @@ paths: application/json: schema: type: array - items: &516 + items: &513 title: Issue Event description: Issue Event type: object @@ -73132,8 +72818,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *514 - required: *515 + properties: *511 + required: *512 nullable: true label: title: Issue Event Label @@ -73452,7 +73138,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *513 examples: default: value: @@ -73645,7 +73331,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *319 + '410': *316 '403': *29 x-github: githubCloudOnly: false @@ -73681,7 +73367,7 @@ paths: parameters: - *310 - *311 - - &518 + - &515 name: issue_number description: The number that identifies the issue. in: path @@ -73695,10 +73381,10 @@ paths: application/json: schema: *77 examples: - default: *517 - '301': *322 + default: *514 + '301': *319 '404': *6 - '410': *319 + '410': *316 '304': *37 x-github: githubCloudOnly: false @@ -73725,7 +73411,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: false content: @@ -73831,13 +73517,13 @@ paths: application/json: schema: *77 examples: - default: *517 + default: *514 '422': *15 '503': *65 '403': *29 - '301': *322 + '301': *319 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73857,7 +73543,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: false content: @@ -73885,7 +73571,7 @@ paths: application/json: schema: *77 examples: - default: *517 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73903,7 +73589,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: content: application/json: @@ -73930,7 +73616,7 @@ paths: application/json: schema: *77 examples: - default: *517 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73954,7 +73640,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - name: assignee in: path required: true @@ -73996,7 +73682,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - *67 - *17 - *19 @@ -74007,13 +73693,13 @@ paths: application/json: schema: type: array - items: *512 + items: *509 examples: - default: *519 + default: *516 headers: Link: *58 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74044,7 +73730,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: true content: @@ -74066,16 +73752,16 @@ paths: description: Response content: application/json: - schema: *512 + schema: *509 examples: - default: *513 + default: *510 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *319 + '410': *316 '422': *15 '404': *6 x-github: @@ -74105,7 +73791,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - *17 - *19 responses: @@ -74117,12 +73803,12 @@ paths: type: array items: *77 examples: - default: *520 + default: *517 headers: Link: *58 - '301': *322 + '301': *319 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74152,7 +73838,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: true content: @@ -74176,15 +73862,15 @@ paths: application/json: schema: *77 examples: - default: *517 + default: *514 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *322 + '301': *319 '403': *29 - '410': *319 + '410': *316 '422': *15 '404': *6 x-github: @@ -74217,7 +73903,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -74231,13 +73917,13 @@ paths: application/json: schema: *77 examples: - default: *517 - '301': *322 + default: *514 + '301': *319 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *319 + '410': *316 x-github: triggersNotification: true githubCloudOnly: false @@ -74265,7 +73951,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - *17 - *19 responses: @@ -74277,12 +73963,12 @@ paths: type: array items: *77 examples: - default: *520 + default: *517 headers: Link: *58 - '301': *322 + '301': *319 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74301,7 +73987,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - *17 - *19 responses: @@ -74315,7 +74001,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &523 + - &520 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -74369,7 +74055,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &521 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -74505,7 +74191,7 @@ paths: - performed_via_github_app - assignee - assigner - - &525 + - &522 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -74556,7 +74242,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &523 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -74607,7 +74293,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &527 + - &524 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -74661,7 +74347,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &528 + - &525 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -74708,7 +74394,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &529 + - &526 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -74755,7 +74441,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &530 + - &527 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -74815,7 +74501,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &531 + - &528 title: Locked Issue Event description: Locked Issue Event type: object @@ -74863,7 +74549,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &532 + - &529 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -74929,7 +74615,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &533 + - &530 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -74995,7 +74681,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &534 + - &531 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -75061,7 +74747,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &535 + - &532 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -75152,7 +74838,7 @@ paths: color: red headers: Link: *58 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75171,7 +74857,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - *17 - *19 responses: @@ -75181,7 +74867,7 @@ paths: application/json: schema: type: array - items: &521 + items: &518 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -75228,7 +74914,7 @@ paths: - color - default examples: - default: &522 + default: &519 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -75246,9 +74932,9 @@ paths: default: false headers: Link: *58 - '301': *322 + '301': *319 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75267,7 +74953,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: false content: @@ -75326,12 +75012,12 @@ paths: application/json: schema: type: array - items: *521 + items: *518 examples: - default: *522 - '301': *322 + default: *519 + '301': *319 '404': *6 - '410': *319 + '410': *316 '422': *15 x-github: githubCloudOnly: false @@ -75350,7 +75036,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: false content: @@ -75410,12 +75096,12 @@ paths: application/json: schema: type: array - items: *521 + items: *518 examples: - default: *522 - '301': *322 + default: *519 + '301': *319 '404': *6 - '410': *319 + '410': *316 '422': *15 x-github: githubCloudOnly: false @@ -75434,13 +75120,13 @@ paths: parameters: - *310 - *311 - - *518 + - *515 responses: '204': description: Response - '301': *322 + '301': *319 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75461,7 +75147,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - name: name in: path required: true @@ -75474,7 +75160,7 @@ paths: application/json: schema: type: array - items: *521 + items: *518 examples: default: value: @@ -75485,9 +75171,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *322 + '301': *319 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75509,7 +75195,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: false content: @@ -75537,7 +75223,7 @@ paths: '204': description: Response '403': *29 - '410': *319 + '410': *316 '404': *6 '422': *15 x-github: @@ -75557,7 +75243,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 responses: '204': description: Response @@ -75589,7 +75275,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 responses: '200': description: Response @@ -75597,10 +75283,10 @@ paths: application/json: schema: *77 examples: - default: *517 - '301': *322 + default: *514 + '301': *319 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75619,7 +75305,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - 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. @@ -75651,7 +75337,7 @@ paths: headers: Link: *58 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75671,7 +75357,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: true content: @@ -75736,7 +75422,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - *306 responses: '204': @@ -75768,7 +75454,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: true content: @@ -75792,7 +75478,7 @@ paths: application/json: schema: *77 examples: - default: *517 + default: *514 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -75827,7 +75513,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - *17 - *19 responses: @@ -75839,11 +75525,11 @@ paths: type: array items: *77 examples: - default: *520 + default: *517 headers: Link: *58 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75873,7 +75559,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: true content: @@ -75902,14 +75588,14 @@ paths: application/json: schema: *77 examples: - default: *517 + default: *514 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *319 + '410': *316 '422': *15 '404': *6 x-github: @@ -75931,7 +75617,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: true content: @@ -75964,7 +75650,7 @@ paths: application/json: schema: *77 examples: - default: *517 + default: *514 '403': *29 '404': *6 '422': *7 @@ -75988,7 +75674,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - *17 - *19 responses: @@ -76003,6 +75689,9 @@ paths: description: Timeline Event type: object anyOf: + - *520 + - *521 + - *522 - *523 - *524 - *525 @@ -76013,9 +75702,6 @@ paths: - *530 - *531 - *532 - - *533 - - *534 - - *535 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -76324,7 +76010,7 @@ paths: type: string comments: type: array - items: &556 + items: &553 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -76533,7 +76219,7 @@ paths: type: string comments: type: array - items: *445 + items: *442 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -76822,7 +76508,7 @@ paths: headers: Link: *58 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76850,7 +76536,7 @@ paths: application/json: schema: type: array - items: &536 + items: &533 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -76953,9 +76639,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *533 examples: - default: &537 + default: &534 value: id: 1 key: ssh-rsa AAA... @@ -76991,7 +76677,7 @@ paths: parameters: - *310 - *311 - - &538 + - &535 name: key_id description: The unique identifier of the key. in: path @@ -77003,9 +76689,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *533 examples: - default: *537 + default: *534 '404': *6 x-github: githubCloudOnly: false @@ -77025,7 +76711,7 @@ paths: parameters: - *310 - *311 - - *538 + - *535 responses: '204': description: Response @@ -77056,9 +76742,9 @@ paths: application/json: schema: type: array - items: *521 + items: *518 examples: - default: *522 + default: *519 headers: Link: *58 '404': *6 @@ -77116,9 +76802,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *518 examples: - default: &539 + default: &536 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -77162,9 +76848,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *518 examples: - default: *539 + default: *536 '404': *6 x-github: githubCloudOnly: false @@ -77221,7 +76907,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *518 examples: default: value: @@ -77316,7 +77002,7 @@ paths: parameters: - *310 - *311 - - *421 + - *418 responses: '200': description: Response @@ -77562,9 +77248,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *446 + schema: *443 examples: - default: *540 + default: *537 '204': description: Response when already merged '404': @@ -77631,12 +77317,12 @@ paths: application/json: schema: type: array - items: &541 + items: &538 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *450 - required: *451 + properties: *447 + required: *448 examples: default: value: @@ -77733,9 +77419,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *538 examples: - default: &542 + default: &539 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -77796,7 +77482,7 @@ paths: parameters: - *310 - *311 - - &543 + - &540 name: milestone_number description: The number that identifies the milestone. in: path @@ -77808,9 +77494,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *538 examples: - default: *542 + default: *539 '404': *6 x-github: githubCloudOnly: false @@ -77829,7 +77515,7 @@ paths: parameters: - *310 - *311 - - *543 + - *540 requestBody: required: false content: @@ -77867,9 +77553,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *538 examples: - default: *542 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77887,7 +77573,7 @@ paths: parameters: - *310 - *311 - - *543 + - *540 responses: '204': description: Response @@ -77910,7 +77596,7 @@ paths: parameters: - *310 - *311 - - *543 + - *540 - *17 - *19 responses: @@ -77920,9 +77606,9 @@ paths: application/json: schema: type: array - items: *521 + items: *518 examples: - default: *522 + default: *519 headers: Link: *58 x-github: @@ -77943,10 +77629,10 @@ paths: parameters: - *310 - *311 - - *544 - - *545 + - *541 + - *542 - *67 - - *546 + - *543 - *17 - *19 responses: @@ -77958,7 +77644,7 @@ paths: type: array items: *90 examples: - default: *547 + default: *544 headers: Link: *58 x-github: @@ -78048,7 +77734,7 @@ paths: description: Response content: application/json: - schema: &548 + schema: &545 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -78173,7 +77859,7 @@ paths: - custom_404 - public examples: - default: &549 + default: &546 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -78269,9 +77955,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *545 examples: - default: *549 + default: *546 '422': *15 '409': *47 x-github: @@ -78432,7 +78118,7 @@ paths: application/json: schema: type: array - items: &550 + items: &547 title: Page Build description: Page Build type: object @@ -78579,9 +78265,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *547 examples: - default: &551 + default: &548 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -78641,9 +78327,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *547 examples: - default: *551 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78771,7 +78457,7 @@ paths: parameters: - *310 - *311 - - &552 + - &549 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -78831,7 +78517,7 @@ paths: parameters: - *310 - *311 - - *552 + - *549 responses: '204': *153 '404': *6 @@ -79263,7 +78949,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *319 + '410': *316 '422': *7 x-github: githubCloudOnly: false @@ -79315,11 +79001,11 @@ paths: application/json: schema: *237 examples: - default: *318 + default: *315 '401': *25 '403': *29 '404': *6 - '410': *319 + '410': *316 '422': *7 x-github: githubCloudOnly: false @@ -79506,9 +79192,9 @@ paths: application/json: schema: type: array - items: *553 + items: *550 examples: - default: *554 + default: *551 headers: Link: *58 '304': *37 @@ -79606,7 +79292,7 @@ paths: description: Response content: application/json: - schema: &558 + schema: &555 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -79717,8 +79403,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *450 - required: *451 + properties: *447 + required: *448 nullable: true active_lock_reason: type: string @@ -79802,14 +79488,14 @@ paths: _links: type: object properties: - comments: *452 - commits: *452 - statuses: *452 - html: *452 - issue: *452 - review_comments: *452 - review_comment: *452 - self: *452 + comments: *449 + commits: *449 + statuses: *449 + html: *449 + issue: *449 + review_comments: *449 + review_comment: *449 + self: *449 required: - comments - commits @@ -79820,7 +79506,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: *555 + auto_merge: *552 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -79912,7 +79598,7 @@ paths: - merged_by - review_comments examples: - default: &559 + default: &556 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -80469,9 +80155,9 @@ paths: application/json: schema: type: array - items: *556 + items: *553 examples: - default: &561 + default: &558 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80556,9 +80242,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *553 examples: - default: &557 + default: &554 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80657,9 +80343,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *553 examples: - default: *557 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80862,7 +80548,7 @@ paths: parameters: - *310 - *311 - - &560 + - &557 name: pull_number description: The number that identifies the pull request. in: path @@ -80875,9 +80561,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *558 + schema: *555 examples: - default: *559 + default: *556 '304': *37 '404': *6 '406': @@ -80914,7 +80600,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 requestBody: required: false content: @@ -80956,9 +80642,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *555 examples: - default: *559 + default: *556 '422': *15 '403': *29 x-github: @@ -80982,7 +80668,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 requestBody: required: true content: @@ -81044,7 +80730,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -81052,7 +80738,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '401': *25 '403': *29 '404': *6 @@ -81084,7 +80770,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 - *87 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -81105,9 +80791,9 @@ paths: application/json: schema: type: array - items: *556 + items: *553 examples: - default: *561 + default: *558 headers: Link: *58 x-github: @@ -81142,7 +80828,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 requestBody: required: true content: @@ -81247,7 +80933,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *553 examples: example-for-a-multi-line-comment: value: @@ -81337,7 +81023,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 - *76 requestBody: required: true @@ -81360,7 +81046,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *553 examples: default: value: @@ -81448,7 +81134,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 - *17 - *19 responses: @@ -81458,9 +81144,9 @@ paths: application/json: schema: type: array - items: *446 + items: *443 examples: - default: *562 + default: *559 headers: Link: *58 x-github: @@ -81492,7 +81178,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 - *17 - *19 responses: @@ -81502,7 +81188,7 @@ paths: application/json: schema: type: array - items: *461 + items: *458 examples: default: value: @@ -81542,7 +81228,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 responses: '204': description: Response if pull request has been merged @@ -81567,7 +81253,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 requestBody: required: false content: @@ -81680,7 +81366,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 responses: '200': description: Response @@ -81757,7 +81443,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 requestBody: required: false content: @@ -81794,7 +81480,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *550 examples: default: value: @@ -82332,7 +82018,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 requestBody: required: true content: @@ -82366,7 +82052,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *550 examples: default: value: @@ -82873,7 +82559,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 - *17 - *19 responses: @@ -82883,7 +82569,7 @@ paths: application/json: schema: type: array - items: &563 + items: &560 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -83036,7 +82722,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 requestBody: required: false content: @@ -83122,9 +82808,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *560 examples: - default: &565 + default: &562 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -83189,8 +82875,8 @@ paths: parameters: - *310 - *311 - - *560 - - &564 + - *557 + - &561 name: review_id description: The unique identifier of the review. in: path @@ -83202,9 +82888,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *560 examples: - default: &566 + default: &563 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -83265,8 +82951,8 @@ paths: parameters: - *310 - *311 - - *560 - - *564 + - *557 + - *561 requestBody: required: true content: @@ -83289,7 +82975,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *560 examples: default: value: @@ -83353,16 +83039,16 @@ paths: parameters: - *310 - *311 - - *560 - - *564 + - *557 + - *561 responses: '200': description: Response content: application/json: - schema: *563 + schema: *560 examples: - default: *565 + default: *562 '422': *7 '404': *6 x-github: @@ -83391,8 +83077,8 @@ paths: parameters: - *310 - *311 - - *560 - - *564 + - *557 + - *561 - *17 - *19 responses: @@ -83475,9 +83161,9 @@ paths: _links: type: object properties: - self: *452 - html: *452 - pull_request: *452 + self: *449 + html: *449 + pull_request: *449 required: - self - html @@ -83629,8 +83315,8 @@ paths: parameters: - *310 - *311 - - *560 - - *564 + - *557 + - *561 requestBody: required: true content: @@ -83658,7 +83344,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *560 examples: default: value: @@ -83723,8 +83409,8 @@ paths: parameters: - *310 - *311 - - *560 - - *564 + - *557 + - *561 requestBody: required: true content: @@ -83759,9 +83445,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *560 examples: - default: *566 + default: *563 '404': *6 '422': *7 '403': *29 @@ -83785,7 +83471,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 requestBody: required: false content: @@ -83862,9 +83548,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *564 examples: - default: &568 + default: &565 value: type: file encoding: base64 @@ -83927,9 +83613,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *564 examples: - default: *568 + default: *565 '404': *6 '422': *15 x-github: @@ -83962,7 +83648,7 @@ paths: application/json: schema: type: array - items: &569 + items: &566 title: Release description: A release. type: object @@ -84033,7 +83719,7 @@ paths: author: *4 assets: type: array - items: &570 + items: &567 title: Release Asset description: Data related to a release. type: object @@ -84297,9 +83983,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *566 examples: - default: &573 + default: &570 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -84406,7 +84092,7 @@ paths: parameters: - *310 - *311 - - &571 + - &568 name: asset_id description: The unique identifier of the asset. in: path @@ -84418,9 +84104,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *567 examples: - default: &572 + default: &569 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 @@ -84455,7 +84141,7 @@ paths: type: User site_admin: false '404': *6 - '302': *463 + '302': *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84473,7 +84159,7 @@ paths: parameters: - *310 - *311 - - *571 + - *568 requestBody: required: false content: @@ -84501,9 +84187,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *567 examples: - default: *572 + default: *569 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84521,7 +84207,7 @@ paths: parameters: - *310 - *311 - - *571 + - *568 responses: '204': description: Response @@ -84638,9 +84324,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *566 examples: - default: *573 + default: *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84671,9 +84357,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *566 examples: - default: *573 + default: *570 '404': *6 x-github: githubCloudOnly: false @@ -84697,7 +84383,7 @@ paths: parameters: - *310 - *311 - - &574 + - &571 name: release_id description: The unique identifier of the release. in: path @@ -84711,9 +84397,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: *569 + schema: *566 examples: - default: *573 + default: *570 '401': description: Unauthorized x-github: @@ -84733,7 +84419,7 @@ paths: parameters: - *310 - *311 - - *574 + - *571 requestBody: required: false content: @@ -84797,9 +84483,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *566 examples: - default: *573 + default: *570 '404': description: Not Found if the discussion category name is invalid content: @@ -84822,7 +84508,7 @@ paths: parameters: - *310 - *311 - - *574 + - *571 responses: '204': description: Response @@ -84844,7 +84530,7 @@ paths: parameters: - *310 - *311 - - *574 + - *571 - *17 - *19 responses: @@ -84854,7 +84540,7 @@ paths: application/json: schema: type: array - items: *570 + items: *567 examples: default: value: @@ -84937,7 +84623,7 @@ paths: parameters: - *310 - *311 - - *574 + - *571 - name: name in: query required: true @@ -84963,7 +84649,7 @@ paths: description: Response for successful upload content: application/json: - schema: *570 + schema: *567 examples: response-for-successful-upload: value: @@ -85020,7 +84706,7 @@ paths: parameters: - *310 - *311 - - *574 + - *571 - 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. @@ -85069,7 +84755,7 @@ paths: parameters: - *310 - *311 - - *574 + - *571 requestBody: required: true content: @@ -85132,7 +84818,7 @@ paths: parameters: - *310 - *311 - - *574 + - *571 - *306 responses: '204': @@ -85159,7 +84845,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 - *17 - *19 responses: @@ -85176,7 +84862,7 @@ paths: oneOf: - allOf: - *251 - - &575 + - &572 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -85197,64 +84883,64 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *252 - - *575 + - *572 - allOf: - *253 - - *575 + - *572 - allOf: - *254 - - *575 + - *572 - allOf: - - *576 - - *575 + - *573 + - *572 - allOf: - *255 - - *575 + - *572 - allOf: - *256 - - *575 + - *572 - allOf: - *257 - - *575 + - *572 - allOf: - *258 - - *575 + - *572 - allOf: - *259 - - *575 + - *572 - allOf: - *260 - - *575 + - *572 - allOf: - *261 - - *575 + - *572 - allOf: - *262 - - *575 + - *572 - allOf: - *263 - - *575 + - *572 - allOf: - *264 - - *575 + - *572 - allOf: - *265 - - *575 + - *572 - allOf: - *266 - - *575 + - *572 - allOf: - *267 - - *575 + - *572 - allOf: - *268 - - *575 + - *572 - allOf: - *269 - - *575 + - *572 - allOf: - *270 - - *575 + - *572 examples: default: value: @@ -85305,7 +84991,7 @@ paths: schema: type: boolean default: true - - *577 + - *574 responses: '200': description: Response @@ -85390,7 +85076,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *578 + items: *575 required: - name - enforcement @@ -85423,7 +85109,7 @@ paths: application/json: schema: *271 examples: - default: &588 + default: &585 value: id: 42 name: super cool ruleset @@ -85472,10 +85158,10 @@ paths: parameters: - *310 - *311 + - *576 + - *577 + - *578 - *579 - - *580 - - *581 - - *582 - *17 - *19 responses: @@ -85483,9 +85169,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *580 examples: - default: *584 + default: *581 '404': *6 '500': *97 x-github: @@ -85508,15 +85194,15 @@ paths: parameters: - *310 - *311 - - *585 + - *582 responses: '200': description: Response content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '404': *6 '500': *97 x-github: @@ -85567,7 +85253,7 @@ paths: application/json: schema: *271 examples: - default: *588 + default: *585 '404': *6 '500': *97 put: @@ -85620,7 +85306,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *578 + items: *575 examples: default: value: @@ -85650,7 +85336,7 @@ paths: application/json: schema: *271 examples: - default: *588 + default: *585 '404': *6 '500': *97 delete: @@ -85711,7 +85397,7 @@ paths: type: array items: *274 examples: - default: *589 + default: *586 '404': *6 '500': *97 x-github: @@ -85749,7 +85435,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *587 examples: default: value: @@ -85813,8 +85499,8 @@ paths: - *48 - *19 - *17 - - *591 - - *592 + - *588 + - *589 - *279 - *280 - *281 @@ -85826,7 +85512,7 @@ paths: application/json: schema: type: array - items: &596 + items: &593 type: object properties: number: *54 @@ -85845,8 +85531,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *593 - resolution: *594 + state: *590 + resolution: *591 resolved_at: type: string format: date-time @@ -85942,7 +85628,7 @@ paths: pull request. ' - oneOf: *595 + oneOf: *592 nullable: true has_more_locations: type: boolean @@ -86067,14 +85753,14 @@ paths: parameters: - *310 - *311 - - *415 + - *412 - *282 responses: '200': description: Response content: application/json: - schema: *596 + schema: *593 examples: default: value: @@ -86128,7 +85814,7 @@ paths: parameters: - *310 - *311 - - *415 + - *412 requestBody: required: true content: @@ -86136,8 +85822,8 @@ paths: schema: type: object properties: - state: *593 - resolution: *594 + state: *590 + resolution: *591 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -86155,7 +85841,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *593 examples: default: value: @@ -86232,7 +85918,7 @@ paths: parameters: - *310 - *311 - - *415 + - *412 - *19 - *17 responses: @@ -86243,7 +85929,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &753 + items: &750 type: object properties: type: @@ -86269,6 +85955,9 @@ paths: example: commit details: oneOf: + - *594 + - *595 + - *596 - *597 - *598 - *599 @@ -86279,9 +85968,6 @@ paths: - *604 - *605 - *606 - - *607 - - *608 - - *609 examples: default: value: @@ -86376,14 +86062,14 @@ paths: schema: type: object properties: - reason: &611 + reason: &608 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *610 + placeholder_id: *607 required: - reason - placeholder_id @@ -86400,7 +86086,7 @@ paths: schema: type: object properties: - reason: *611 + reason: *608 expire_at: type: string format: date-time @@ -86459,7 +86145,7 @@ paths: properties: incremental_scans: type: array - items: &612 + items: &609 description: Information on a single scan performed by secret scanning on the repository type: object @@ -86485,15 +86171,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *612 + items: *609 backfill_scans: type: array - items: *612 + items: *609 custom_pattern_backfill_scans: type: array items: allOf: - - *612 + - *609 - type: object properties: pattern_name: @@ -86608,9 +86294,9 @@ paths: application/json: schema: type: array - items: *613 + items: *610 examples: - default: *614 + default: *611 '400': *14 '404': *6 x-github: @@ -86794,9 +86480,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *610 examples: - default: &616 + default: &613 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -87134,7 +86820,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *610 examples: default: value: @@ -87283,15 +86969,15 @@ paths: parameters: - *310 - *311 - - *615 + - *612 responses: '200': description: Response content: application/json: - schema: *613 + schema: *610 examples: - default: *616 + default: *613 '403': *29 '404': *6 x-github: @@ -87317,7 +87003,7 @@ paths: parameters: - *310 - *311 - - *615 + - *612 requestBody: required: true content: @@ -87476,10 +87162,10 @@ paths: description: Response content: application/json: - schema: *613 + schema: *610 examples: - default: *616 - add_credit: *616 + default: *613 + add_credit: *613 '403': *29 '404': *6 '422': @@ -87519,7 +87205,7 @@ paths: parameters: - *310 - *311 - - *615 + - *612 responses: '202': *39 '400': *14 @@ -87548,15 +87234,15 @@ paths: parameters: - *310 - *311 - - *615 + - *612 responses: '202': description: Response content: application/json: - schema: *321 + schema: *318 examples: - default: *323 + default: *320 '400': *14 '422': *15 '403': *29 @@ -87692,7 +87378,7 @@ paths: application/json: schema: type: array - items: &617 + items: &614 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -88065,7 +87751,7 @@ paths: application/json: schema: type: array - items: *617 + items: *614 examples: default: value: @@ -88153,7 +87839,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *615 examples: default: value: @@ -88247,7 +87933,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &619 + schema: &616 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -88342,7 +88028,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *616 examples: default: value: @@ -88479,7 +88165,7 @@ paths: application/json: schema: type: array - items: &620 + items: &617 title: Tag protection description: Tag protection type: object @@ -88555,7 +88241,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *617 examples: default: value: @@ -88703,7 +88389,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &618 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -88715,7 +88401,7 @@ paths: required: - names examples: - default: &622 + default: &619 value: names: - octocat @@ -88770,9 +88456,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *618 examples: - default: *622 + default: *619 '404': *6 '422': *7 x-github: @@ -88795,7 +88481,7 @@ paths: parameters: - *310 - *311 - - &623 + - &620 name: per description: The time frame to display results for. in: query @@ -88824,7 +88510,7 @@ paths: example: 128 clones: type: array - items: &624 + items: &621 title: Traffic type: object properties: @@ -89065,7 +88751,7 @@ paths: parameters: - *310 - *311 - - *623 + - *620 responses: '200': description: Response @@ -89084,7 +88770,7 @@ paths: example: 3782 views: type: array - items: *624 + items: *621 required: - uniques - count @@ -89603,9 +89289,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *318 examples: - default: *323 + default: *320 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -89853,7 +89539,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &625 + text_matches: &622 title: Search Result Text Matches type: array items: @@ -90015,7 +89701,7 @@ paths: enum: - author-date - committer-date - - &626 + - &623 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 @@ -90086,7 +89772,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *381 + properties: *378 nullable: true comment_count: type: integer @@ -90106,7 +89792,7 @@ paths: url: type: string format: uri - verification: *498 + verification: *495 required: - author - committer @@ -90125,7 +89811,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *381 + properties: *378 nullable: true parents: type: array @@ -90143,7 +89829,7 @@ paths: type: number node_id: type: string - text_matches: *625 + text_matches: *622 required: - sha - node_id @@ -90283,7 +89969,7 @@ paths: summary: Search issues and pull requests description: |- > [!WARNING] - > **Notice:** Search for issues and pull requests will be overridden by advanced search on September 4, 2025. + > **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025. > You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/). tags: - search @@ -90325,7 +90011,7 @@ paths: - interactions - created - updated - - *626 + - *623 - *17 - *19 - name: advanced_search @@ -90422,11 +90108,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: type: string state_reason: @@ -90443,8 +90129,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *450 - required: *451 + properties: *447 + required: *448 nullable: true comments: type: integer @@ -90458,7 +90144,7 @@ paths: type: string format: date-time nullable: true - text_matches: *625 + text_matches: *622 pull_request: type: object properties: @@ -90640,7 +90326,7 @@ paths: category: search subcategory: search deprecationDate: '2025-03-04' - removalDate: '2025-09-04' + removalDate: '2025-11-04' deprecated: true "/search/labels": get: @@ -90686,7 +90372,7 @@ paths: enum: - created - updated - - *626 + - *623 - *17 - *19 responses: @@ -90730,7 +90416,7 @@ paths: nullable: true score: type: number - text_matches: *625 + text_matches: *622 required: - id - node_id @@ -90815,7 +90501,7 @@ paths: - forks - help-wanted-issues - updated - - *626 + - *623 - *17 - *19 responses: @@ -91054,7 +90740,7 @@ paths: - admin - pull - push - text_matches: *625 + text_matches: *622 temp_clone_token: type: string allow_merge_commit: @@ -91354,7 +91040,7 @@ paths: type: string format: uri nullable: true - text_matches: *625 + text_matches: *622 related: type: array nullable: true @@ -91545,7 +91231,7 @@ paths: - followers - repositories - joined - - *626 + - *623 - *17 - *19 responses: @@ -91649,7 +91335,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *625 + text_matches: *622 blog: type: string nullable: true @@ -91728,7 +91414,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &630 + - &627 name: team_id description: The unique identifier of the team. in: path @@ -91769,7 +91455,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *630 + - *627 requestBody: required: true content: @@ -91869,7 +91555,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *630 + - *627 responses: '204': description: Response @@ -91900,7 +91586,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *630 + - *627 - *48 - *17 - *19 @@ -91913,7 +91599,7 @@ paths: type: array items: *297 examples: - default: *631 + default: *628 headers: Link: *58 x-github: @@ -91942,7 +91628,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *630 + - *627 requestBody: required: true content: @@ -92005,7 +91691,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *630 + - *627 - *299 responses: '200': @@ -92039,7 +91725,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *630 + - *627 - *299 requestBody: required: false @@ -92065,7 +91751,7 @@ paths: application/json: schema: *297 examples: - default: *632 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92090,7 +91776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *630 + - *627 - *299 responses: '204': @@ -92120,7 +91806,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *630 + - *627 - *299 - *48 - *17 @@ -92134,7 +91820,7 @@ paths: type: array items: *300 examples: - default: *633 + default: *630 headers: Link: *58 x-github: @@ -92163,7 +91849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *630 + - *627 - *299 requestBody: required: true @@ -92215,7 +91901,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *630 + - *627 - *299 - *302 responses: @@ -92250,7 +91936,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *630 + - *627 - *299 - *302 requestBody: @@ -92276,7 +91962,7 @@ paths: application/json: schema: *300 examples: - default: *634 + default: *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92301,7 +91987,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *630 + - *627 - *299 - *302 responses: @@ -92332,7 +92018,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *630 + - *627 - *299 - *302 - name: content @@ -92391,7 +92077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *630 + - *627 - *299 - *302 requestBody: @@ -92453,7 +92139,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *630 + - *627 - *299 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -92511,7 +92197,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *630 + - *627 - *299 requestBody: required: true @@ -92570,7 +92256,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *630 + - *627 - *17 - *19 responses: @@ -92608,7 +92294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *630 + - *627 - name: role description: Filters members returned by their role in the team. in: query @@ -92659,7 +92345,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *630 + - *627 - *139 responses: '204': @@ -92696,7 +92382,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *630 + - *627 - *139 responses: '204': @@ -92736,7 +92422,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *630 + - *627 - *139 responses: '204': @@ -92773,7 +92459,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *630 + - *627 - *139 responses: '200': @@ -92782,7 +92468,7 @@ paths: application/json: schema: *307 examples: - response-if-user-is-a-team-maintainer: *635 + response-if-user-is-a-team-maintainer: *632 '404': *6 x-github: githubCloudOnly: false @@ -92815,7 +92501,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *630 + - *627 - *139 requestBody: required: false @@ -92843,7 +92529,7 @@ paths: application/json: schema: *307 examples: - response-if-users-membership-with-team-is-now-pending: *636 + response-if-users-membership-with-team-is-now-pending: *633 '403': description: Forbidden if team synchronization is set up '422': @@ -92877,7 +92563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *630 + - *627 - *139 responses: '204': @@ -92906,7 +92592,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *630 + - *627 - *17 - *19 responses: @@ -92918,7 +92604,7 @@ paths: type: array items: *308 examples: - default: *637 + default: *634 headers: Link: *58 '404': *6 @@ -92944,7 +92630,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *630 + - *627 - *309 responses: '200': @@ -92953,7 +92639,7 @@ paths: application/json: schema: *308 examples: - default: *638 + default: *635 '404': description: Not Found if project is not managed by this team x-github: @@ -92977,7 +92663,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *630 + - *627 - *309 requestBody: required: false @@ -93045,7 +92731,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *630 + - *627 - *309 responses: '204': @@ -93073,7 +92759,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *630 + - *627 - *17 - *19 responses: @@ -93115,7 +92801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *630 + - *627 - *310 - *311 responses: @@ -93123,7 +92809,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *639 + schema: *636 examples: alternative-response-with-extra-repository-information: value: @@ -93274,7 +92960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *630 + - *627 - *310 - *311 requestBody: @@ -93326,7 +93012,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *630 + - *627 - *310 - *311 responses: @@ -93353,7 +93039,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *630 + - *627 - *17 - *19 responses: @@ -93365,7 +93051,7 @@ paths: type: array items: *159 examples: - response-if-child-teams-exist: *640 + response-if-child-teams-exist: *637 headers: Link: *58 '404': *6 @@ -93398,7 +93084,7 @@ paths: application/json: schema: oneOf: - - &642 + - &639 title: Private User description: Private User type: object @@ -93601,7 +93287,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *641 + - *638 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -93754,7 +93440,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *639 examples: default: value: @@ -94100,7 +93786,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -94108,7 +93794,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '401': *25 '403': *29 '404': *6 @@ -94152,7 +93838,7 @@ paths: type: integer secrets: type: array - items: &643 + items: &640 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -94192,7 +93878,7 @@ paths: - visibility - selected_repositories_url examples: - default: *438 + default: *435 headers: Link: *58 x-github: @@ -94268,7 +93954,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *640 examples: default: value: @@ -94414,7 +94100,7 @@ paths: type: array items: *126 examples: - default: *644 + default: *641 '401': *25 '403': *29 '404': *6 @@ -94566,7 +94252,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '304': *37 '500': *97 '401': *25 @@ -94624,7 +94310,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '401': *25 '403': *29 '404': *6 @@ -94681,7 +94367,7 @@ paths: description: Response content: application/json: - schema: &645 + schema: &642 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -94722,7 +94408,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &646 + default: &643 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -94767,9 +94453,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *642 examples: - default: *646 + default: *643 '404': *6 x-github: githubCloudOnly: false @@ -94806,9 +94492,9 @@ paths: type: integer machines: type: array - items: *647 + items: *644 examples: - default: *648 + default: *645 '304': *37 '500': *97 '401': *25 @@ -94887,13 +94573,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *321 + repository: *318 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *436 - required: *437 + properties: *433 + required: *434 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -95675,7 +95361,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '304': *37 '500': *97 '400': *14 @@ -95715,7 +95401,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '500': *97 '401': *25 '403': *29 @@ -95747,7 +95433,7 @@ paths: type: array items: *221 examples: - default: &660 + default: &657 value: - id: 197 name: hello_docker @@ -95848,7 +95534,7 @@ paths: application/json: schema: type: array - items: &649 + items: &646 title: Email description: Email type: object @@ -95913,9 +95599,9 @@ paths: application/json: schema: type: array - items: *649 + items: *646 examples: - default: &662 + default: &659 value: - email: octocat@github.com verified: true @@ -95990,7 +95676,7 @@ paths: application/json: schema: type: array - items: *649 + items: *646 examples: default: value: @@ -96246,7 +95932,7 @@ paths: application/json: schema: type: array - items: &650 + items: &647 title: GPG Key description: A unique encryption key type: object @@ -96377,7 +96063,7 @@ paths: - subkeys - revoked examples: - default: &676 + default: &673 value: - id: 3 name: Octocat's GPG Key @@ -96462,9 +96148,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *647 examples: - default: &651 + default: &648 value: id: 3 name: Octocat's GPG Key @@ -96521,7 +96207,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &652 + - &649 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -96533,9 +96219,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *647 examples: - default: *651 + default: *648 '404': *6 '304': *37 '403': *29 @@ -96558,7 +96244,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *652 + - *649 responses: '204': description: Response @@ -96863,7 +96549,7 @@ paths: required: true content: application/json: - schema: *509 + schema: *506 examples: default: value: @@ -97013,7 +96699,7 @@ paths: application/json: schema: type: array - items: &653 + items: &650 title: Key description: Key type: object @@ -97114,9 +96800,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *650 examples: - default: &654 + default: &651 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97149,15 +96835,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *538 + - *535 responses: '200': description: Response content: application/json: - schema: *653 + schema: *650 examples: - default: *654 + default: *651 '404': *6 '304': *37 '403': *29 @@ -97180,7 +96866,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *538 + - *535 responses: '204': description: Response @@ -97213,7 +96899,7 @@ paths: application/json: schema: type: array - items: &655 + items: &652 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -97281,7 +96967,7 @@ paths: - account - plan examples: - default: &656 + default: &653 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -97343,9 +97029,9 @@ paths: application/json: schema: type: array - items: *655 + items: *652 examples: - default: *656 + default: *653 headers: Link: *58 '304': *37 @@ -98340,7 +98026,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *214 - - *657 + - *654 responses: '204': description: Response @@ -98413,7 +98099,7 @@ paths: type: array items: *210 examples: - default: *658 + default: *655 headers: Link: *58 '304': *37 @@ -98455,7 +98141,7 @@ paths: - docker - nuget - container - - *659 + - *656 - *19 - *17 responses: @@ -98467,8 +98153,8 @@ paths: type: array items: *221 examples: - default: *660 - '400': *661 + default: *657 + '400': *658 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98497,7 +98183,7 @@ paths: application/json: schema: *221 examples: - default: &677 + default: &674 value: id: 40201 name: octo-name @@ -98950,9 +98636,9 @@ paths: application/json: schema: type: array - items: *649 + items: *646 examples: - default: *662 + default: *659 headers: Link: *58 '304': *37 @@ -99065,7 +98751,7 @@ paths: type: array items: *60 examples: - default: &669 + default: &666 summary: Default response value: - id: 1296269 @@ -99369,9 +99055,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *318 examples: - default: *323 + default: *320 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -99409,9 +99095,9 @@ paths: application/json: schema: type: array - items: *511 + items: *508 examples: - default: *663 + default: *660 headers: Link: *58 '304': *37 @@ -99490,7 +99176,7 @@ paths: application/json: schema: type: array - items: &664 + items: &661 title: Social account description: Social media account type: object @@ -99505,7 +99191,7 @@ paths: - provider - url examples: - default: &665 + default: &662 value: - provider: twitter url: https://twitter.com/github @@ -99567,9 +99253,9 @@ paths: application/json: schema: type: array - items: *664 + items: *661 examples: - default: *665 + default: *662 '422': *15 '304': *37 '404': *6 @@ -99656,7 +99342,7 @@ paths: application/json: schema: type: array - items: &666 + items: &663 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -99676,7 +99362,7 @@ paths: - title - created_at examples: - default: &688 + default: &685 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99742,9 +99428,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *663 examples: - default: &667 + default: &664 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99775,7 +99461,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: - - &668 + - &665 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -99787,9 +99473,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *663 examples: - default: *667 + default: *664 '404': *6 '304': *37 '403': *29 @@ -99812,7 +99498,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: - - *668 + - *665 responses: '204': description: Response @@ -99841,7 +99527,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &689 + - &686 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 @@ -99866,11 +99552,11 @@ paths: type: array items: *60 examples: - default-response: *669 + default-response: *666 application/vnd.github.v3.star+json: schema: type: array - items: &690 + items: &687 title: Starred Repository description: Starred Repository type: object @@ -100239,10 +99925,10 @@ paths: application/json: schema: oneOf: - - *642 - - *641 + - *639 + - *638 examples: - default-response: &671 + default-response: &668 summary: Default response value: login: octocat @@ -100277,7 +99963,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &672 + response-with-git-hub-plan-information: &669 summary: Response with GitHub plan information value: login: octocat @@ -100337,7 +100023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *670 + - *667 - *17 responses: '200': @@ -100386,11 +100072,11 @@ paths: application/json: schema: oneOf: - - *642 - - *641 + - *639 + - *638 examples: - default-response: *671 - response-with-git-hub-plan-information: *672 + default-response: *668 + response-with-git-hub-plan-information: *669 '404': *6 x-github: githubCloudOnly: false @@ -100439,8 +100125,8 @@ paths: required: - subject_digests examples: - default: *673 - withPredicateType: *674 + default: *670 + withPredicateType: *671 responses: '200': description: Response @@ -100493,7 +100179,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *675 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100695,7 +100381,7 @@ paths: bundle_url: type: string examples: - default: *377 + default: *374 '201': description: Response content: @@ -100736,7 +100422,7 @@ paths: type: array items: *221 examples: - default: *660 + default: *657 '403': *29 '401': *25 x-github: @@ -101140,9 +100826,9 @@ paths: application/json: schema: type: array - items: *650 + items: *647 examples: - default: *676 + default: *673 headers: Link: *58 x-github: @@ -101246,7 +100932,7 @@ paths: application/json: schema: *22 examples: - default: *508 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101331,7 +101017,7 @@ paths: type: array items: *210 examples: - default: *658 + default: *655 headers: Link: *58 x-github: @@ -101370,7 +101056,7 @@ paths: - docker - nuget - container - - *659 + - *656 - *139 - *19 - *17 @@ -101383,10 +101069,10 @@ paths: type: array items: *221 examples: - default: *660 + default: *657 '403': *29 '401': *25 - '400': *661 + '400': *658 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101416,7 +101102,7 @@ paths: application/json: schema: *221 examples: - default: *677 + default: *674 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102015,9 +101701,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *675 examples: - default: *679 + default: *676 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102045,9 +101731,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *677 examples: - default: *681 + default: *678 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102075,9 +101761,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *679 examples: - default: *683 + default: *680 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102098,10 +101784,10 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - *139 + - *681 + - *682 + - *683 - *684 - - *685 - - *686 - - *687 responses: '200': description: Response when getting a billing usage report @@ -102200,9 +101886,9 @@ paths: application/json: schema: type: array - items: *664 + items: *661 examples: - default: *665 + default: *662 headers: Link: *58 x-github: @@ -102232,9 +101918,9 @@ paths: application/json: schema: type: array - items: *666 + items: *663 examples: - default: *688 + default: *685 headers: Link: *58 x-github: @@ -102259,7 +101945,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *139 - - *689 + - *686 - *48 - *17 - *19 @@ -102271,11 +101957,11 @@ paths: schema: anyOf: - type: array - items: *690 + items: *687 - type: array items: *60 examples: - default-response: *669 + default-response: *666 headers: Link: *58 x-github: @@ -102434,7 +102120,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &691 + enterprise: &688 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -102492,7 +102178,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &692 + installation: &689 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -102511,7 +102197,7 @@ x-webhooks: required: - id - node_id - organization: &693 + organization: &690 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -102571,13 +102257,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &694 + repository: &691 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: &724 + properties: &721 id: description: Unique identifier of the repository example: 42 @@ -103260,7 +102946,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &725 + required: &722 - archive_url - assignees_url - blobs_url @@ -103411,10 +103097,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -103490,11 +103176,11 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 - rule: &695 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 + rule: &692 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) @@ -103717,11 +103403,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 - rule: *695 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 + rule: *692 sender: *4 required: - action @@ -103904,11 +103590,11 @@ x-webhooks: - everyone required: - from - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 - rule: *695 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 + rule: *692 sender: *4 required: - action @@ -103992,7 +103678,7 @@ x-webhooks: type: string enum: - completed - check_run: &697 + check_run: &694 title: CheckRun description: A check performed on the code of a given code change type: object @@ -104045,7 +103731,7 @@ x-webhooks: type: string pull_requests: type: array - items: *394 + items: *391 repository: *126 status: example: completed @@ -104083,7 +103769,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *696 + deployment: *693 details_url: example: https://example.com type: string @@ -104133,7 +103819,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *394 + items: *391 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -104168,9 +103854,10 @@ x-webhooks: - output - app - pull_requests - installation: *692 - organization: *693 - repository: *694 + installation: *689 + enterprise: *688 + organization: *690 + repository: *691 sender: *4 required: - check_run @@ -104563,10 +104250,11 @@ x-webhooks: type: string enum: - created - check_run: *697 - installation: *692 - organization: *693 - repository: *694 + check_run: *694 + installation: *689 + enterprise: *688 + organization: *690 + repository: *691 sender: *4 required: - check_run @@ -104962,10 +104650,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *697 - installation: *692 - organization: *693 - repository: *694 + check_run: *694 + installation: *689 + enterprise: *688 + organization: *690 + repository: *691 requested_action: description: The action requested by the user. type: object @@ -105370,10 +105059,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *697 - installation: *692 - organization: *693 - repository: *694 + check_run: *694 + installation: *689 + enterprise: *688 + organization: *690 + repository: *691 sender: *4 required: - check_run @@ -106350,10 +106040,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -107023,10 +106713,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -107690,10 +107380,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -107856,7 +107546,7 @@ x-webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *407 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -108001,20 +107691,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &698 + commit_oid: &695 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: *691 - installation: *692 - organization: *693 - ref: &699 + enterprise: *688 + installation: *689 + organization: *690 + ref: &696 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: *694 + repository: *691 sender: *4 required: - action @@ -108176,7 +107866,7 @@ x-webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *407 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -108406,12 +108096,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *698 - enterprise: *691 - installation: *692 - organization: *693 - ref: *699 - repository: *694 + commit_oid: *695 + enterprise: *688 + installation: *689 + organization: *690 + ref: *696 + repository: *691 sender: *4 required: - action @@ -108506,7 +108196,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *410 + dismissed_comment: *407 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -108674,12 +108364,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *698 - enterprise: *691 - installation: *692 - organization: *693 - ref: *699 - repository: *694 + commit_oid: *695 + enterprise: *688 + installation: *689 + organization: *690 + ref: *696 + repository: *691 sender: *4 required: - action @@ -108842,7 +108532,7 @@ x-webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *407 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -109008,12 +108698,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *698 - enterprise: *691 - installation: *692 - organization: *693 - ref: *699 - repository: *694 + commit_oid: *695 + enterprise: *688 + installation: *689 + organization: *690 + ref: *696 + repository: *691 sender: *4 required: - action @@ -109110,7 +108800,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *410 + dismissed_comment: *407 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -109278,16 +108968,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 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: *694 + repository: *691 sender: *4 required: - action @@ -109381,7 +109071,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *410 + dismissed_comment: *407 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -109521,12 +109211,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *698 - enterprise: *691 - installation: *692 - organization: *693 - ref: *699 - repository: *694 + commit_oid: *695 + enterprise: *688 + installation: *689 + organization: *690 + ref: *696 + repository: *691 sender: *4 required: - action @@ -109783,10 +109473,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -109866,18 +109556,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *693 - pusher_type: &700 + organization: *690 + pusher_type: &697 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &701 + ref: &698 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -109887,7 +109577,7 @@ x-webhooks: enum: - tag - branch - repository: *694 + repository: *691 sender: *4 required: - ref @@ -109970,9 +109660,9 @@ x-webhooks: enum: - created definition: *238 - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 sender: *4 required: - action @@ -110057,9 +109747,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 sender: *4 required: - action @@ -110137,9 +109827,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *238 - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 sender: *4 required: - action @@ -110217,9 +109907,9 @@ x-webhooks: enum: - updated definition: *238 - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 sender: *4 required: - action @@ -110296,10 +109986,10 @@ x-webhooks: type: string enum: - updated - enterprise: *691 - installation: *692 - repository: *694 - organization: *693 + enterprise: *688 + installation: *689 + repository: *691 + organization: *690 sender: *4 new_property_values: type: array @@ -110384,18 +110074,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *691 - installation: *692 - organization: *693 - pusher_type: *700 - ref: *701 + enterprise: *688 + installation: *689 + organization: *690 + pusher_type: *697 + ref: *698 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *694 + repository: *691 sender: *4 required: - ref @@ -110479,11 +110169,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *467 - installation: *692 - organization: *693 - enterprise: *691 - repository: *694 + alert: *464 + installation: *689 + organization: *690 + enterprise: *688 + repository: *691 sender: *4 required: - action @@ -110567,11 +110257,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *467 - installation: *692 - organization: *693 - enterprise: *691 - repository: *694 + alert: *464 + installation: *689 + organization: *690 + enterprise: *688 + repository: *691 sender: *4 required: - action @@ -110655,11 +110345,11 @@ x-webhooks: type: string enum: - created - alert: *467 - installation: *692 - organization: *693 - enterprise: *691 - repository: *694 + alert: *464 + installation: *689 + organization: *690 + enterprise: *688 + repository: *691 sender: *4 required: - action @@ -110741,11 +110431,11 @@ x-webhooks: type: string enum: - dismissed - alert: *467 - installation: *692 - organization: *693 - enterprise: *691 - repository: *694 + alert: *464 + installation: *689 + organization: *690 + enterprise: *688 + repository: *691 sender: *4 required: - action @@ -110827,11 +110517,11 @@ x-webhooks: type: string enum: - fixed - alert: *467 - installation: *692 - organization: *693 - enterprise: *691 - repository: *694 + alert: *464 + installation: *689 + organization: *690 + enterprise: *688 + repository: *691 sender: *4 required: - action @@ -110914,11 +110604,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *467 - installation: *692 - organization: *693 - enterprise: *691 - repository: *694 + alert: *464 + installation: *689 + organization: *690 + enterprise: *688 + repository: *691 sender: *4 required: - action @@ -111000,11 +110690,11 @@ x-webhooks: type: string enum: - reopened - alert: *467 - installation: *692 - organization: *693 - enterprise: *691 - repository: *694 + alert: *464 + installation: *689 + organization: *690 + enterprise: *688 + repository: *691 sender: *4 required: - action @@ -111081,9 +110771,9 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - key: &702 + enterprise: *688 + installation: *689 + key: &699 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -111119,8 +110809,8 @@ x-webhooks: - verified - created_at - read_only - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -111197,11 +110887,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - key: *702 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + key: *699 + organization: *690 + repository: *691 sender: *4 required: - action @@ -111762,12 +111452,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - workflow: &706 + workflow: &703 title: Workflow type: object nullable: true @@ -112493,13 +112183,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *473 + deployment: *470 pull_requests: type: array - items: *558 - repository: *694 - organization: *693 - installation: *692 + items: *555 + repository: *691 + organization: *690 + installation: *689 sender: *4 responses: '200': @@ -112570,7 +112260,7 @@ x-webhooks: type: string enum: - approved - approver: &703 + approver: &700 type: object properties: avatar_url: @@ -112613,11 +112303,11 @@ x-webhooks: type: string comment: type: string - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 - reviewers: &704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 + reviewers: &701 type: array items: type: object @@ -112696,7 +112386,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &705 + workflow_job_run: &702 type: object properties: conclusion: @@ -113427,18 +113117,18 @@ x-webhooks: type: string enum: - rejected - approver: *703 + approver: *700 comment: type: string - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 - reviewers: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 + reviewers: *701 sender: *4 since: type: string - workflow_job_run: *705 + workflow_job_run: *702 workflow_job_runs: type: array items: @@ -114142,13 +113832,13 @@ x-webhooks: type: string enum: - requested - enterprise: *691 + enterprise: *688 environment: type: string - installation: *692 - organization: *693 - repository: *694 - requestor: &711 + installation: *689 + organization: *690 + repository: *691 + requestor: &708 title: User type: object nullable: true @@ -116047,12 +115737,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - workflow: *706 + workflow: *703 workflow_run: title: Deployment Workflow Run type: object @@ -116732,7 +116422,7 @@ x-webhooks: type: string enum: - answered - answer: &709 + answer: &706 type: object properties: author_association: @@ -116889,7 +116579,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &707 + discussion: &704 title: Discussion description: A Discussion in a repository. type: object @@ -117175,7 +116865,7 @@ x-webhooks: - id labels: type: array - items: *521 + items: *518 required: - repository_url - category @@ -117197,10 +116887,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -117327,11 +117017,11 @@ x-webhooks: - from required: - category - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -117414,11 +117104,11 @@ x-webhooks: type: string enum: - closed - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -117500,7 +117190,7 @@ x-webhooks: type: string enum: - created - comment: &708 + comment: &705 type: object properties: author_association: @@ -117657,11 +117347,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -117744,12 +117434,12 @@ x-webhooks: type: string enum: - deleted - comment: *708 - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + comment: *705 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -117844,12 +117534,12 @@ x-webhooks: - from required: - body - comment: *708 - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + comment: *705 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -117933,11 +117623,11 @@ x-webhooks: type: string enum: - created - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118019,11 +117709,11 @@ x-webhooks: type: string enum: - deleted - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118123,11 +117813,11 @@ x-webhooks: type: string required: - from - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118209,10 +117899,10 @@ x-webhooks: type: string enum: - labeled - discussion: *707 - enterprise: *691 - installation: *692 - label: &710 + discussion: *704 + enterprise: *688 + installation: *689 + label: &707 title: Label type: object properties: @@ -118244,8 +117934,8 @@ x-webhooks: - color - default - description - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118328,11 +118018,11 @@ x-webhooks: type: string enum: - locked - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118414,11 +118104,11 @@ x-webhooks: type: string enum: - pinned - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118500,11 +118190,11 @@ x-webhooks: type: string enum: - reopened - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118589,16 +118279,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *707 - new_repository: *694 + new_discussion: *704 + new_repository: *691 required: - new_discussion - new_repository - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118681,10 +118371,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *707 - old_answer: *709 - organization: *693 - repository: *694 + discussion: *704 + old_answer: *706 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118766,12 +118456,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *707 - enterprise: *691 - installation: *692 - label: *710 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + label: *707 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118854,11 +118544,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118940,11 +118630,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -119017,7 +118707,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *691 + enterprise: *688 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -119677,9 +119367,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - forkee @@ -119825,9 +119515,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 pages: description: The pages that were updated. type: array @@ -119864,7 +119554,7 @@ x-webhooks: - action - sha - html_url - repository: *694 + repository: *691 sender: *4 required: - pages @@ -119940,10 +119630,10 @@ x-webhooks: type: string enum: - created - enterprise: *691 + enterprise: *688 installation: *22 - organization: *693 - repositories: &712 + organization: *690 + repositories: &709 description: An array of repository objects that the installation can access. type: array @@ -119969,8 +119659,8 @@ x-webhooks: - name - full_name - private - repository: *694 - requester: *711 + repository: *691 + requester: *708 sender: *4 required: - action @@ -120045,11 +119735,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 + enterprise: *688 installation: *22 - organization: *693 - repositories: *712 - repository: *694 + organization: *690 + repositories: *709 + repository: *691 requester: nullable: true sender: *4 @@ -120125,11 +119815,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *691 + enterprise: *688 installation: *22 - organization: *693 - repositories: *712 - repository: *694 + organization: *690 + repositories: *709 + repository: *691 requester: nullable: true sender: *4 @@ -120205,10 +119895,10 @@ x-webhooks: type: string enum: - added - enterprise: *691 + enterprise: *688 installation: *22 - organization: *693 - repositories_added: &713 + organization: *690 + repositories_added: &710 description: An array of repository objects, which were added to the installation. type: array @@ -120254,15 +119944,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *694 - repository_selection: &714 + repository: *691 + repository_selection: &711 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *711 + requester: *708 sender: *4 required: - action @@ -120341,10 +120031,10 @@ x-webhooks: type: string enum: - removed - enterprise: *691 + enterprise: *688 installation: *22 - organization: *693 - repositories_added: *713 + organization: *690 + repositories_added: *710 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -120371,9 +120061,9 @@ x-webhooks: - name - full_name - private - repository: *694 - repository_selection: *714 - requester: *711 + repository: *691 + repository_selection: *711 + requester: *708 sender: *4 required: - action @@ -120452,11 +120142,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *691 + enterprise: *688 installation: *22 - organization: *693 - repositories: *712 - repository: *694 + organization: *690 + repositories: *709 + repository: *691 requester: nullable: true sender: *4 @@ -120634,10 +120324,10 @@ x-webhooks: type: string required: - from - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 target_type: type: string @@ -120716,11 +120406,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *691 + enterprise: *688 installation: *22 - organization: *693 - repositories: *712 - repository: *694 + organization: *690 + repositories: *709 + repository: *691 requester: nullable: true sender: *4 @@ -120972,8 +120662,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121767,8 +121457,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -122117,8 +121807,8 @@ x-webhooks: - state - locked - assignee - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -122198,7 +121888,7 @@ x-webhooks: type: string enum: - deleted - comment: &715 + comment: &712 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -122363,8 +122053,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -123154,8 +122844,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -123506,8 +123196,8 @@ x-webhooks: - state - locked - assignee - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -123587,7 +123277,7 @@ x-webhooks: type: string enum: - edited - changes: &745 + changes: &742 description: The changes to the comment. type: object properties: @@ -123599,9 +123289,9 @@ x-webhooks: type: string required: - from - comment: *715 - enterprise: *691 - installation: *692 + comment: *712 + enterprise: *688 + installation: *689 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -124394,8 +124084,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124744,8 +124434,8 @@ x-webhooks: - state - locked - assignee - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -124835,9 +124525,9 @@ x-webhooks: type: number blocking_issue: *77 blocking_issue_repo: *60 - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -124931,9 +124621,9 @@ x-webhooks: type: number blocking_issue: *77 blocking_issue_repo: *60 - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -125026,9 +124716,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *77 - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -125122,9 +124812,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *77 - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -125209,10 +124899,10 @@ x-webhooks: type: string enum: - assigned - assignee: *711 - enterprise: *691 - installation: *692 - issue: &718 + assignee: *708 + enterprise: *688 + installation: *689 + issue: &715 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -126001,11 +125691,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126122,8 +125812,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -126203,8 +125893,8 @@ x-webhooks: type: string enum: - closed - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -126998,11 +126688,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127254,8 +126944,8 @@ x-webhooks: required: - state - closed_at - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -127334,8 +127024,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128120,11 +127810,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128240,8 +127930,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -128320,8 +128010,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129128,11 +128818,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129227,7 +128917,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &716 + milestone: &713 title: Milestone description: A collection of related issues and pull requests. type: object @@ -129365,8 +129055,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -129465,8 +129155,8 @@ x-webhooks: type: string required: - from - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130255,11 +129945,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130376,9 +130066,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *710 - organization: *693 - repository: *694 + label: *707 + organization: *690 + repository: *691 sender: *4 required: - action @@ -130458,8 +130148,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131247,11 +130937,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131368,9 +131058,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *710 - organization: *693 - repository: *694 + label: *707 + organization: *690 + repository: *691 sender: *4 required: - action @@ -131450,8 +131140,8 @@ x-webhooks: type: string enum: - locked - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132263,11 +131953,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132361,8 +132051,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -132441,8 +132131,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133248,11 +132938,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133346,9 +133036,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *716 - organization: *693 - repository: *694 + milestone: *713 + organization: *690 + repository: *691 sender: *4 required: - action @@ -134216,11 +133906,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134782,8 +134472,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135572,11 +135262,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135692,8 +135382,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -135773,9 +135463,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *691 - installation: *692 - issue: &717 + enterprise: *688 + installation: *689 + issue: &714 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -136558,11 +136248,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136678,8 +136368,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -136758,8 +136448,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137569,11 +137259,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137668,8 +137358,8 @@ x-webhooks: user_view_type: type: string type: *200 - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -138535,11 +138225,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139123,11 +138813,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *691 - installation: *692 - issue: *717 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + issue: *714 + organization: *690 + repository: *691 sender: *4 required: - action @@ -139207,12 +138897,12 @@ x-webhooks: type: string enum: - typed - enterprise: *691 - installation: *692 - issue: *718 + enterprise: *688 + installation: *689 + issue: *715 type: *200 - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -139293,7 +138983,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &748 + assignee: &745 title: User type: object nullable: true @@ -139363,11 +139053,11 @@ x-webhooks: required: - login - id - enterprise: *691 - installation: *692 - issue: *718 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + issue: *715 + organization: *690 + repository: *691 sender: *4 required: - action @@ -139446,12 +139136,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *691 - installation: *692 - issue: *718 - label: *710 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + issue: *715 + label: *707 + organization: *690 + repository: *691 sender: *4 required: - action @@ -139531,8 +139221,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140342,11 +140032,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140440,8 +140130,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -140521,11 +140211,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *691 - installation: *692 - issue: *717 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + issue: *714 + organization: *690 + repository: *691 sender: *4 required: - action @@ -140604,12 +140294,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *691 - installation: *692 - issue: *718 + enterprise: *688 + installation: *689 + issue: *715 type: *200 - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -140689,11 +140379,11 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - label: *710 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + label: *707 + organization: *690 + repository: *691 sender: *4 required: - action @@ -140771,11 +140461,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - label: *710 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + label: *707 + organization: *690 + repository: *691 sender: *4 required: - action @@ -140885,11 +140575,11 @@ x-webhooks: type: string required: - from - enterprise: *691 - installation: *692 - label: *710 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + label: *707 + organization: *690 + repository: *691 sender: *4 required: - action @@ -140971,9 +140661,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *691 - installation: *692 - marketplace_purchase: &719 + enterprise: *688 + installation: *689 + marketplace_purchase: &716 title: Marketplace Purchase type: object required: @@ -141056,8 +140746,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *693 - previous_marketplace_purchase: &720 + organization: *690 + previous_marketplace_purchase: &717 title: Marketplace Purchase type: object properties: @@ -141137,7 +140827,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *694 + repository: *691 sender: *4 required: - action @@ -141217,10 +140907,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *691 - installation: *692 - marketplace_purchase: *719 - organization: *693 + enterprise: *688 + installation: *689 + marketplace_purchase: *716 + organization: *690 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141303,7 +140993,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *694 + repository: *691 sender: *4 required: - action @@ -141385,10 +141075,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *691 - installation: *692 - marketplace_purchase: *719 - organization: *693 + enterprise: *688 + installation: *689 + marketplace_purchase: *716 + organization: *690 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141470,7 +141160,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *694 + repository: *691 sender: *4 required: - action @@ -141551,8 +141241,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 marketplace_purchase: title: Marketplace Purchase type: object @@ -141634,9 +141324,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *693 - previous_marketplace_purchase: *720 - repository: *694 + organization: *690 + previous_marketplace_purchase: *717 + repository: *691 sender: *4 required: - action @@ -141716,12 +141406,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *691 - installation: *692 - marketplace_purchase: *719 - organization: *693 - previous_marketplace_purchase: *720 - repository: *694 + enterprise: *688 + installation: *689 + marketplace_purchase: *716 + organization: *690 + previous_marketplace_purchase: *717 + repository: *691 sender: *4 required: - action @@ -141823,11 +141513,11 @@ x-webhooks: type: string required: - to - enterprise: *691 - installation: *692 - member: *711 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + member: *708 + organization: *690 + repository: *691 sender: *4 required: - action @@ -141927,11 +141617,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *691 - installation: *692 - member: *711 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + member: *708 + organization: *690 + repository: *691 sender: *4 required: - action @@ -142010,11 +141700,11 @@ x-webhooks: type: string enum: - removed - enterprise: *691 - installation: *692 - member: *711 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + member: *708 + organization: *690 + repository: *691 sender: *4 required: - action @@ -142092,11 +141782,11 @@ x-webhooks: type: string enum: - added - enterprise: *691 - installation: *692 - member: *711 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + member: *708 + organization: *690 + repository: *691 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142172,7 +141862,7 @@ x-webhooks: required: - login - id - team: &721 + team: &718 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -142362,11 +142052,11 @@ x-webhooks: type: string enum: - removed - enterprise: *691 - installation: *692 - member: *711 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + member: *708 + organization: *690 + repository: *691 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142443,7 +142133,7 @@ x-webhooks: required: - login - id - team: *721 + team: *718 required: - action - scope @@ -142525,8 +142215,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *692 - merge_group: &723 + installation: *689 + merge_group: &720 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -142545,15 +142235,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *722 + head_commit: *719 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -142639,10 +142329,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *692 - merge_group: *723 - organization: *693 - repository: *694 + installation: *689 + merge_group: *720 + organization: *690 + repository: *691 sender: *4 required: - action @@ -142715,7 +142405,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 + enterprise: *688 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -142824,16 +142514,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *692 - organization: *693 + installation: *689 + organization: *690 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: *724 - required: *725 + properties: *721 + required: *722 nullable: true sender: *4 required: @@ -142914,11 +142604,11 @@ x-webhooks: type: string enum: - closed - enterprise: *691 - installation: *692 - milestone: *716 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + milestone: *713 + organization: *690 + repository: *691 sender: *4 required: - action @@ -142997,9 +142687,9 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - milestone: &726 + enterprise: *688 + installation: *689 + milestone: &723 title: Milestone description: A collection of related issues and pull requests. type: object @@ -143136,8 +142826,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -143216,11 +142906,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - milestone: *716 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + milestone: *713 + organization: *690 + repository: *691 sender: *4 required: - action @@ -143330,11 +143020,11 @@ x-webhooks: type: string required: - from - enterprise: *691 - installation: *692 - milestone: *716 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + milestone: *713 + organization: *690 + repository: *691 sender: *4 required: - action @@ -143414,11 +143104,11 @@ x-webhooks: type: string enum: - opened - enterprise: *691 - installation: *692 - milestone: *726 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + milestone: *723 + organization: *690 + repository: *691 sender: *4 required: - action @@ -143497,11 +143187,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *711 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + blocked_user: *708 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -143580,11 +143270,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *711 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + blocked_user: *708 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -143663,9 +143353,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - membership: &727 + enterprise: *688 + installation: *689 + membership: &724 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -143772,8 +143462,8 @@ x-webhooks: - role - organization_url - user - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -143851,11 +143541,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *691 - installation: *692 - membership: *727 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + membership: *724 + organization: *690 + repository: *691 sender: *4 required: - action @@ -143934,8 +143624,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -144051,10 +143741,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 - user: *711 + user: *708 required: - action - invitation @@ -144132,11 +143822,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *691 - installation: *692 - membership: *727 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + membership: *724 + organization: *690 + repository: *691 sender: *4 required: - action @@ -144223,11 +143913,11 @@ x-webhooks: properties: from: type: string - enterprise: *691 - installation: *692 - membership: *727 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + membership: *724 + organization: *690 + repository: *691 sender: *4 required: - action @@ -144303,9 +143993,9 @@ x-webhooks: type: string enum: - published - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 package: description: Information about the package. type: object @@ -144804,7 +144494,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &728 + items: &725 title: Ruby Gems metadata type: object properties: @@ -144899,7 +144589,7 @@ x-webhooks: - owner - package_version - registry - repository: *694 + repository: *691 sender: *4 required: - action @@ -144975,9 +144665,9 @@ x-webhooks: type: string enum: - updated - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 package: description: Information about the package. type: object @@ -145330,7 +145020,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *728 + items: *725 source_url: type: string format: uri @@ -145400,7 +145090,7 @@ x-webhooks: - owner - package_version - registry - repository: *694 + repository: *691 sender: *4 required: - action @@ -145577,12 +145267,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *691 + enterprise: *688 id: type: integer - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - id @@ -145659,7 +145349,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &729 + personal_access_token_request: &726 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -145805,10 +145495,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *691 - organization: *693 + enterprise: *688 + organization: *690 sender: *4 - installation: *692 + installation: *689 required: - action - personal_access_token_request @@ -145885,11 +145575,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *729 - enterprise: *691 - organization: *693 + personal_access_token_request: *726 + enterprise: *688 + organization: *690 sender: *4 - installation: *692 + installation: *689 required: - action - personal_access_token_request @@ -145965,11 +145655,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *729 - enterprise: *691 - organization: *693 + personal_access_token_request: *726 + enterprise: *688 + organization: *690 sender: *4 - installation: *692 + installation: *689 required: - action - personal_access_token_request @@ -146044,11 +145734,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *729 - organization: *693 - enterprise: *691 + personal_access_token_request: *726 + organization: *690 + enterprise: *688 sender: *4 - installation: *692 + installation: *689 required: - action - personal_access_token_request @@ -146153,7 +145843,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *730 + last_response: *727 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -146185,8 +145875,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 zen: description: Random string of GitHub zen. @@ -146431,10 +146121,10 @@ x-webhooks: - from required: - note - enterprise: *691 - installation: *692 - organization: *693 - project_card: &731 + enterprise: *688 + installation: *689 + organization: *690 + project_card: &728 title: Project Card type: object properties: @@ -146553,7 +146243,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *694 + repository: *691 sender: *4 required: - action @@ -146634,11 +146324,11 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 - project_card: *731 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + project_card: *728 + repository: *691 sender: *4 required: - action @@ -146718,9 +146408,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 project_card: title: Project Card type: object @@ -146848,8 +146538,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: *724 - required: *725 + properties: *721 + required: *722 nullable: true sender: *4 required: @@ -146943,11 +146633,11 @@ x-webhooks: - from required: - note - enterprise: *691 - installation: *692 - organization: *693 - project_card: *731 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + project_card: *728 + repository: *691 sender: *4 required: - action @@ -147041,9 +146731,9 @@ x-webhooks: - from required: - column_id - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 project_card: allOf: - title: Project Card @@ -147233,7 +146923,7 @@ x-webhooks: type: string required: - after_id - repository: *694 + repository: *691 sender: *4 required: - action @@ -147313,10 +147003,10 @@ x-webhooks: type: string enum: - closed - enterprise: *691 - installation: *692 - organization: *693 - project: &733 + enterprise: *688 + installation: *689 + organization: *690 + project: &730 title: Project type: object properties: @@ -147440,7 +147130,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *694 + repository: *691 sender: *4 required: - action @@ -147520,10 +147210,10 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 - project_column: &732 + enterprise: *688 + installation: *689 + organization: *690 + project_column: &729 title: Project Column type: object properties: @@ -147562,7 +147252,7 @@ x-webhooks: - name - created_at - updated_at - repository: *694 + repository: *691 sender: *4 required: - action @@ -147641,18 +147331,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - organization: *693 - project_column: *732 + enterprise: *688 + installation: *689 + organization: *690 + project_column: *729 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: *724 - required: *725 + properties: *721 + required: *722 nullable: true sender: *4 required: @@ -147742,11 +147432,11 @@ x-webhooks: type: string required: - from - enterprise: *691 - installation: *692 - organization: *693 - project_column: *732 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + project_column: *729 + repository: *691 sender: *4 required: - action @@ -147826,11 +147516,11 @@ x-webhooks: type: string enum: - moved - enterprise: *691 - installation: *692 - organization: *693 - project_column: *732 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + project_column: *729 + repository: *691 sender: *4 required: - action @@ -147910,11 +147600,11 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 - project: *733 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + project: *730 + repository: *691 sender: *4 required: - action @@ -147994,18 +147684,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - organization: *693 - project: *733 + enterprise: *688 + installation: *689 + organization: *690 + project: *730 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: *724 - required: *725 + properties: *721 + required: *722 nullable: true sender: *4 required: @@ -148107,11 +147797,11 @@ x-webhooks: type: string required: - from - enterprise: *691 - installation: *692 - organization: *693 - project: *733 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + project: *730 + repository: *691 sender: *4 required: - action @@ -148190,11 +147880,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *691 - installation: *692 - organization: *693 - project: *733 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + project: *730 + repository: *691 sender: *4 required: - action @@ -148275,9 +147965,9 @@ x-webhooks: type: string enum: - closed - installation: *692 - organization: *693 - projects_v2: &734 + installation: *689 + organization: *690 + projects_v2: &731 title: Projects v2 Project description: A projects v2 project type: object @@ -148334,7 +148024,7 @@ x-webhooks: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &739 + properties: &736 id: type: number node_id: @@ -148372,7 +148062,7 @@ x-webhooks: example: The project is off to a great start! type: string nullable: true - required: &740 + required: &737 - id - node_id - created_at @@ -148476,9 +148166,9 @@ x-webhooks: type: string enum: - created - installation: *692 - organization: *693 - projects_v2: *734 + installation: *689 + organization: *690 + projects_v2: *731 sender: *4 required: - action @@ -148559,9 +148249,9 @@ x-webhooks: type: string enum: - deleted - installation: *692 - organization: *693 - projects_v2: *734 + installation: *689 + organization: *690 + projects_v2: *731 sender: *4 required: - action @@ -148678,9 +148368,9 @@ x-webhooks: type: string to: type: string - installation: *692 - organization: *693 - projects_v2: *734 + installation: *689 + organization: *690 + projects_v2: *731 sender: *4 required: - action @@ -148763,7 +148453,7 @@ x-webhooks: type: string enum: - archived - changes: &738 + changes: &735 type: object properties: archived_at: @@ -148777,9 +148467,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *692 - organization: *693 - projects_v2_item: &735 + installation: *689 + organization: *690 + projects_v2_item: &732 title: Projects v2 Item description: An item belonging to a project type: object @@ -148913,9 +148603,9 @@ x-webhooks: nullable: true to: type: string - installation: *692 - organization: *693 - projects_v2_item: *735 + installation: *689 + organization: *690 + projects_v2_item: *732 sender: *4 required: - action @@ -148997,9 +148687,9 @@ x-webhooks: type: string enum: - created - installation: *692 - organization: *693 - projects_v2_item: *735 + installation: *689 + organization: *690 + projects_v2_item: *732 sender: *4 required: - action @@ -149080,9 +148770,9 @@ x-webhooks: type: string enum: - deleted - installation: *692 - organization: *693 - projects_v2_item: *735 + installation: *689 + organization: *690 + projects_v2_item: *732 sender: *4 required: - action @@ -149188,7 +148878,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &736 + - &733 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -149206,7 +148896,7 @@ x-webhooks: required: - id - name - - &737 + - &734 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -149233,8 +148923,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *736 - - *737 + - *733 + - *734 required: - field_value - type: object @@ -149250,9 +148940,9 @@ x-webhooks: nullable: true required: - body - installation: *692 - organization: *693 - projects_v2_item: *735 + installation: *689 + organization: *690 + projects_v2_item: *732 sender: *4 required: - action @@ -149347,9 +149037,9 @@ x-webhooks: to: type: string nullable: true - installation: *692 - organization: *693 - projects_v2_item: *735 + installation: *689 + organization: *690 + projects_v2_item: *732 sender: *4 required: - action @@ -149432,10 +149122,10 @@ x-webhooks: type: string enum: - restored - changes: *738 - installation: *692 - organization: *693 - projects_v2_item: *735 + changes: *735 + installation: *689 + organization: *690 + projects_v2_item: *732 sender: *4 required: - action @@ -149517,9 +149207,9 @@ x-webhooks: type: string enum: - reopened - installation: *692 - organization: *693 - projects_v2: *734 + installation: *689 + organization: *690 + projects_v2: *731 sender: *4 required: - action @@ -149600,14 +149290,14 @@ x-webhooks: type: string enum: - created - installation: *692 - organization: *693 - projects_v2_status_update: &741 + installation: *689 + organization: *690 + projects_v2_status_update: &738 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *739 - required: *740 + properties: *736 + required: *737 sender: *4 required: - action @@ -149688,9 +149378,9 @@ x-webhooks: type: string enum: - deleted - installation: *692 - organization: *693 - projects_v2_status_update: *741 + installation: *689 + organization: *690 + projects_v2_status_update: *738 sender: *4 required: - action @@ -149826,9 +149516,9 @@ x-webhooks: type: string format: date nullable: true - installation: *692 - organization: *693 - projects_v2_status_update: *741 + installation: *689 + organization: *690 + projects_v2_status_update: *738 sender: *4 required: - action @@ -149899,10 +149589,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - repository @@ -149979,13 +149669,13 @@ x-webhooks: type: string enum: - assigned - assignee: *711 - enterprise: *691 - installation: *692 - number: &742 + assignee: *708 + enterprise: *688 + installation: *689 + number: &739 description: The pull request number. type: integer - organization: *693 + organization: *690 pull_request: title: Pull Request type: object @@ -152268,7 +151958,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 sender: *4 required: - action @@ -152350,11 +152040,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 number: type: integer - organization: *693 + organization: *690 pull_request: title: Pull Request type: object @@ -154632,7 +154322,7 @@ x-webhooks: - draft reason: type: string - repository: *694 + repository: *691 sender: *4 required: - action @@ -154714,11 +154404,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 number: type: integer - organization: *693 + organization: *690 pull_request: title: Pull Request type: object @@ -156996,7 +156686,7 @@ x-webhooks: - draft reason: type: string - repository: *694 + repository: *691 sender: *4 required: - action @@ -157078,13 +156768,13 @@ x-webhooks: type: string enum: - closed - enterprise: *691 - installation: *692 - number: *742 - organization: *693 - pull_request: &743 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 + pull_request: &740 allOf: - - *558 + - *555 - type: object properties: allow_auto_merge: @@ -157146,7 +156836,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *694 + repository: *691 sender: *4 required: - action @@ -157227,12 +156917,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *691 - installation: *692 - number: *742 - organization: *693 - pull_request: *743 - repository: *694 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 + pull_request: *740 + repository: *691 sender: *4 required: - action @@ -157312,11 +157002,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *691 - milestone: *541 - number: *742 - organization: *693 - pull_request: &744 + enterprise: *688 + milestone: *538 + number: *739 + organization: *690 + pull_request: &741 title: Pull Request type: object properties: @@ -159579,7 +159269,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 sender: *4 required: - action @@ -159658,11 +159348,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 number: type: integer - organization: *693 + organization: *690 pull_request: title: Pull Request type: object @@ -161944,7 +161634,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *694 + repository: *691 sender: *4 required: - action @@ -162068,12 +161758,12 @@ x-webhooks: type: string required: - from - enterprise: *691 - installation: *692 - number: *742 - organization: *693 - pull_request: *743 - repository: *694 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 + pull_request: *740 + repository: *691 sender: *4 required: - action @@ -162153,11 +161843,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 number: type: integer - organization: *693 + organization: *690 pull_request: title: Pull Request type: object @@ -164424,7 +164114,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 sender: *4 required: - action @@ -164504,11 +164194,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *691 - installation: *692 - label: *710 - number: *742 - organization: *693 + enterprise: *688 + installation: *689 + label: *707 + number: *739 + organization: *690 pull_request: title: Pull Request type: object @@ -166790,7 +166480,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 sender: *4 required: - action @@ -166871,10 +166561,10 @@ x-webhooks: type: string enum: - locked - enterprise: *691 - installation: *692 - number: *742 - organization: *693 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 pull_request: title: Pull Request type: object @@ -169154,7 +168844,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 sender: *4 required: - action @@ -169234,12 +168924,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *691 - milestone: *541 - number: *742 - organization: *693 - pull_request: *744 - repository: *694 + enterprise: *688 + milestone: *538 + number: *739 + organization: *690 + pull_request: *741 + repository: *691 sender: *4 required: - action @@ -169318,12 +169008,12 @@ x-webhooks: type: string enum: - opened - enterprise: *691 - installation: *692 - number: *742 - organization: *693 - pull_request: *743 - repository: *694 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 + pull_request: *740 + repository: *691 sender: *4 required: - action @@ -169404,12 +169094,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *691 - installation: *692 - number: *742 - organization: *693 - pull_request: *743 - repository: *694 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 + pull_request: *740 + repository: *691 sender: *4 required: - action @@ -169489,12 +169179,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *691 - installation: *692 - number: *742 - organization: *693 - pull_request: *743 - repository: *694 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 + pull_request: *740 + repository: *691 sender: *4 required: - action @@ -169860,9 +169550,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 pull_request: type: object properties: @@ -172032,7 +171722,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *694 + repository: *691 sender: *4 required: - action @@ -172112,7 +171802,7 @@ x-webhooks: type: string enum: - deleted - comment: &746 + comment: &743 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -172397,9 +172087,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 pull_request: type: object properties: @@ -174557,7 +174247,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *694 + repository: *691 sender: *4 required: - action @@ -174637,11 +174327,11 @@ x-webhooks: type: string enum: - edited - changes: *745 - comment: *746 - enterprise: *691 - installation: *692 - organization: *693 + changes: *742 + comment: *743 + enterprise: *688 + installation: *689 + organization: *690 pull_request: type: object properties: @@ -176802,7 +176492,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *694 + repository: *691 sender: *4 required: - action @@ -176883,9 +176573,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 pull_request: title: Simple Pull Request type: object @@ -179058,7 +178748,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *694 + repository: *691 review: description: The review that was affected. type: object @@ -179305,9 +178995,9 @@ x-webhooks: type: string required: - from - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 pull_request: title: Simple Pull Request type: object @@ -181361,8 +181051,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *694 - review: &747 + repository: *691 + review: &744 description: The review that was affected. type: object properties: @@ -181595,12 +181285,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 number: description: The pull request number. type: integer - organization: *693 + organization: *690 pull_request: title: Pull Request type: object @@ -183883,7 +183573,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 requested_reviewer: title: User type: object @@ -183967,12 +183657,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 number: description: The pull request number. type: integer - organization: *693 + organization: *690 pull_request: title: Pull Request type: object @@ -186262,7 +185952,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 requested_team: title: Team description: Groups of organization members that gives permissions @@ -186454,12 +186144,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 number: description: The pull request number. type: integer - organization: *693 + organization: *690 pull_request: title: Pull Request type: object @@ -188744,7 +188434,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 requested_reviewer: title: User type: object @@ -188829,12 +188519,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 number: description: The pull request number. type: integer - organization: *693 + organization: *690 pull_request: title: Pull Request type: object @@ -191110,7 +190800,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 requested_team: title: Team description: Groups of organization members that gives permissions @@ -191291,9 +190981,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 pull_request: title: Simple Pull Request type: object @@ -193468,8 +193158,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *694 - review: *747 + repository: *691 + review: *744 sender: *4 required: - action @@ -193549,9 +193239,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 pull_request: title: Simple Pull Request type: object @@ -195621,7 +195311,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *694 + repository: *691 sender: *4 thread: type: object @@ -196008,9 +195698,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 pull_request: title: Simple Pull Request type: object @@ -198066,7 +197756,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *694 + repository: *691 sender: *4 thread: type: object @@ -198456,10 +198146,10 @@ x-webhooks: type: string before: type: string - enterprise: *691 - installation: *692 - number: *742 - organization: *693 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 pull_request: title: Pull Request type: object @@ -200730,7 +200420,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 sender: *4 required: - action @@ -200812,11 +200502,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *748 - enterprise: *691 - installation: *692 - number: *742 - organization: *693 + assignee: *745 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 pull_request: title: Pull Request type: object @@ -203099,7 +202789,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 sender: *4 required: - action @@ -203178,11 +202868,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *691 - installation: *692 - label: *710 - number: *742 - organization: *693 + enterprise: *688 + installation: *689 + label: *707 + number: *739 + organization: *690 pull_request: title: Pull Request type: object @@ -205455,7 +205145,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 sender: *4 required: - action @@ -205536,10 +205226,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *691 - installation: *692 - number: *742 - organization: *693 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 pull_request: title: Pull Request type: object @@ -207804,7 +207494,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 sender: *4 required: - action @@ -208004,7 +207694,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *691 + enterprise: *688 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -208096,8 +207786,8 @@ x-webhooks: - url - author - committer - installation: *692 - organization: *693 + installation: *689 + organization: *690 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -208672,9 +208362,9 @@ x-webhooks: type: string enum: - published - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 registry_package: type: object properties: @@ -209120,7 +208810,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *728 + items: *725 summary: type: string tag_name: @@ -209174,7 +208864,7 @@ x-webhooks: - owner - package_version - registry - repository: *694 + repository: *691 sender: *4 required: - action @@ -209252,9 +208942,9 @@ x-webhooks: type: string enum: - updated - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 registry_package: type: object properties: @@ -209562,7 +209252,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *728 + items: *725 summary: type: string tag_name: @@ -209611,7 +209301,7 @@ x-webhooks: - owner - package_version - registry - repository: *694 + repository: *691 sender: *4 required: - action @@ -209688,10 +209378,10 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 - release: &749 + enterprise: *688 + installation: *689 + organization: *690 + release: &746 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -210009,7 +209699,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *694 + repository: *691 sender: *4 required: - action @@ -210086,11 +209776,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - organization: *693 - release: *749 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + release: *746 + repository: *691 sender: *4 required: - action @@ -210207,11 +209897,11 @@ x-webhooks: type: boolean required: - to - enterprise: *691 - installation: *692 - organization: *693 - release: *749 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + release: *746 + repository: *691 sender: *4 required: - action @@ -210289,9 +209979,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -210613,7 +210303,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *694 + repository: *691 sender: *4 required: - action @@ -210689,10 +210379,10 @@ x-webhooks: type: string enum: - published - enterprise: *691 - installation: *692 - organization: *693 - release: &750 + enterprise: *688 + installation: *689 + organization: *690 + release: &747 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -211011,7 +210701,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *694 + repository: *691 sender: *4 required: - action @@ -211087,11 +210777,11 @@ x-webhooks: type: string enum: - released - enterprise: *691 - installation: *692 - organization: *693 - release: *749 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + release: *746 + repository: *691 sender: *4 required: - action @@ -211167,11 +210857,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *691 - installation: *692 - organization: *693 - release: *750 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + release: *747 + repository: *691 sender: *4 required: - action @@ -211247,11 +210937,11 @@ x-webhooks: type: string enum: - published - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 - repository_advisory: *613 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 + repository_advisory: *610 sender: *4 required: - action @@ -211327,11 +211017,11 @@ x-webhooks: type: string enum: - reported - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 - repository_advisory: *613 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 + repository_advisory: *610 sender: *4 required: - action @@ -211407,10 +211097,10 @@ x-webhooks: type: string enum: - archived - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -211487,10 +211177,10 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -211568,10 +211258,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -211655,10 +211345,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -211770,10 +211460,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -211845,10 +211535,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 status: type: string @@ -211929,10 +211619,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -212009,10 +211699,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -212106,10 +211796,10 @@ x-webhooks: - name required: - repository - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -212189,10 +211879,10 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 repository_ruleset: *271 sender: *4 required: @@ -212271,10 +211961,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 repository_ruleset: *271 sender: *4 required: @@ -212353,10 +212043,10 @@ x-webhooks: type: string enum: - edited - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 repository_ruleset: *271 changes: type: object @@ -212418,16 +212108,16 @@ x-webhooks: properties: added: type: array - items: *578 + items: *575 deleted: type: array - items: *578 + items: *575 updated: type: array items: type: object properties: - rule: *578 + rule: *575 changes: type: object properties: @@ -212661,10 +212351,10 @@ x-webhooks: - from required: - owner - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -212742,10 +212432,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -212823,7 +212513,7 @@ x-webhooks: type: string enum: - create - alert: &751 + alert: &748 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -212944,10 +212634,10 @@ x-webhooks: type: string enum: - open - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -213153,10 +212843,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -213234,11 +212924,11 @@ x-webhooks: type: string enum: - reopen - alert: *751 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + alert: *748 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -213437,10 +213127,10 @@ x-webhooks: enum: - fixed - open - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -213518,7 +213208,7 @@ x-webhooks: type: string enum: - created - alert: &752 + alert: &749 type: object properties: number: *54 @@ -213629,10 +213319,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -213713,11 +213403,11 @@ x-webhooks: type: string enum: - created - alert: *752 - installation: *692 - location: *753 - organization: *693 - repository: *694 + alert: *749 + installation: *689 + location: *750 + organization: *690 + repository: *691 sender: *4 required: - location @@ -213955,11 +213645,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *752 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + alert: *749 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -214037,11 +213727,11 @@ x-webhooks: type: string enum: - reopened - alert: *752 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + alert: *749 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -214119,11 +213809,11 @@ x-webhooks: type: string enum: - resolved - alert: *752 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + alert: *749 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -214201,11 +213891,11 @@ x-webhooks: type: string enum: - validated - alert: *752 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + alert: *749 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -214331,10 +214021,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *694 - enterprise: *691 - installation: *692 - organization: *693 + repository: *691 + enterprise: *688 + installation: *689 + organization: *690 sender: *4 required: - action @@ -214412,11 +214102,11 @@ x-webhooks: type: string enum: - published - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 - security_advisory: &754 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 + security_advisory: &751 description: The details of the security advisory, including summary, description, and severity. type: object @@ -214599,11 +214289,11 @@ x-webhooks: type: string enum: - updated - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 - security_advisory: *754 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 + security_advisory: *751 sender: *4 required: - action @@ -214676,10 +214366,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -214864,10 +214554,10 @@ x-webhooks: type: object properties: security_and_analysis: *245 - enterprise: *691 - installation: *692 - organization: *693 - repository: *321 + enterprise: *688 + installation: *689 + organization: *690 + repository: *318 sender: *4 required: - changes @@ -214945,12 +214635,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - sponsorship: &755 + sponsorship: &752 type: object properties: created_at: @@ -215251,12 +214941,12 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - sponsorship: *755 + sponsorship: *752 required: - action - sponsorship @@ -215344,12 +215034,12 @@ x-webhooks: type: string required: - from - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - sponsorship: *755 + sponsorship: *752 required: - action - changes @@ -215426,17 +215116,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &756 + effective_date: &753 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: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - sponsorship: *755 + sponsorship: *752 required: - action - sponsorship @@ -215510,7 +215200,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &757 + changes: &754 type: object properties: tier: @@ -215554,13 +215244,13 @@ x-webhooks: - from required: - tier - effective_date: *756 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + effective_date: *753 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - sponsorship: *755 + sponsorship: *752 required: - action - changes @@ -215637,13 +215327,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *757 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + changes: *754 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - sponsorship: *755 + sponsorship: *752 required: - action - changes @@ -215717,10 +215407,10 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -215803,10 +215493,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -216226,15 +215916,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *691 + enterprise: *688 id: description: The unique identifier of the status. type: integer - installation: *692 + installation: *689 name: type: string - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 sha: description: The Commit SHA. @@ -216349,9 +216039,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -216441,9 +216131,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -216533,9 +216223,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -216625,9 +216315,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -216704,12 +216394,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - team: &758 + team: &755 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -216899,9 +216589,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 repository: title: Repository description: A git repository @@ -217359,7 +217049,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *758 + team: *755 required: - action - team @@ -217435,9 +217125,9 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 repository: title: Repository description: A git repository @@ -217895,7 +217585,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *758 + team: *755 required: - action - team @@ -217972,9 +217662,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 repository: title: Repository description: A git repository @@ -218432,7 +218122,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *758 + team: *755 required: - action - team @@ -218576,9 +218266,9 @@ x-webhooks: - from required: - permissions - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 repository: title: Repository description: A git repository @@ -219036,7 +218726,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *758 + team: *755 required: - action - changes @@ -219114,9 +218804,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 repository: title: Repository description: A git repository @@ -219574,7 +219264,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *758 + team: *755 required: - action - team @@ -219650,10 +219340,10 @@ x-webhooks: type: string enum: - started - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -219726,16 +219416,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *691 + enterprise: *688 inputs: type: object nullable: true additionalProperties: true - installation: *692 - organization: *693 + installation: *689 + organization: *690 ref: type: string - repository: *694 + repository: *691 sender: *4 workflow: type: string @@ -219817,10 +219507,10 @@ x-webhooks: type: string enum: - completed - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 workflow_job: allOf: @@ -220057,7 +219747,7 @@ x-webhooks: type: string required: - conclusion - deployment: *473 + deployment: *470 required: - action - repository @@ -220136,10 +219826,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 workflow_job: allOf: @@ -220399,7 +220089,7 @@ x-webhooks: required: - status - steps - deployment: *473 + deployment: *470 required: - action - repository @@ -220478,10 +220168,10 @@ x-webhooks: type: string enum: - queued - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 workflow_job: type: object @@ -220616,7 +220306,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *473 + deployment: *470 required: - action - repository @@ -220695,10 +220385,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 workflow_job: type: object @@ -220834,7 +220524,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *473 + deployment: *470 required: - action - repository @@ -220914,12 +220604,12 @@ x-webhooks: type: string enum: - completed - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - workflow: *706 + workflow: *703 workflow_run: title: Workflow Run type: object @@ -221918,12 +221608,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - workflow: *706 + workflow: *703 workflow_run: title: Workflow Run type: object @@ -222907,12 +222597,12 @@ x-webhooks: type: string enum: - requested - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - workflow: *706 + workflow: *703 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 9ef7c11182..287bd5cee6 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -26093,7 +26093,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -41346,7 +41345,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -47235,7 +47233,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -69125,6 +69122,306 @@ } } }, + "/orgs/{org}/artifacts/metadata/storage-records": { + "post": { + "summary": "Create artifact metadata storage records", + "description": "Create metadata storage records for artifacts associated with an organization.\nThis endpoint will create a new artifact storage record on behalf of any artifact matching the provided digest and\nassociated with a repository owned by the organization.", + "tags": [ + "orgs" + ], + "operationId": "orgs/create-artifact-storage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-records" + }, + "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 artifact.", + "example": "libfoo-1.2.3", + "minLength": 1 + }, + "digest": { + "type": "string", + "description": "The digest of the artifact (algorithm:hex-encoded-digest).", + "example": "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0...", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "artifact_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The URL where the artifact is stored.", + "example": "https://reg.example.com/artifactory/bar/libfoo-1.2.3" + }, + "path": { + "type": "string", + "format": "uri", + "description": "The path of the artifact.", + "example": "com/github/bar/libfoo-1.2.3" + }, + "registry_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The base URL of the artifact registry.", + "example": "https://reg.example.com/artifactory/", + "minLength": 1 + }, + "repository": { + "type": "string", + "description": "The repository name within the registry.", + "example": "bar" + }, + "status": { + "type": "string", + "description": "The status of the artifact (e.g., active, inactive).", + "example": "active", + "enum": [ + "active", + "eol", + "deleted" + ], + "default": "active" + } + }, + "required": [ + "name", + "digest", + "registry_url" + ] + }, + "examples": { + "default": { + "value": { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Artifact metadata storage record stored successfully.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "type": "integer", + "example": 1 + }, + "storage_records": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "artifact_url": { + "type": "string" + }, + "registry_url": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "status": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "storage_records": [ + { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active", + "created_at": "2023-10-01T12:00:00Z", + "updated_at": "2023-10-01T12:00:00Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, + "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { + "get": { + "summary": "List artifact storage records", + "description": "List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-artifact-storage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "subject_digest", + "description": "The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`.", + "in": "path", + "required": true, + "example": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "schema": { + "type": "string", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "x-multi-segment": true + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of storage records for this digest and organization", + "example": 3, + "type": "integer" + }, + "storage_records": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "artifact_url": { + "type": "string" + }, + "registry_url": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "status": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "storage_records": [ + { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active", + "created_at": "2023-10-01T12:00:00Z", + "updated_at": "2023-10-01T12:00:00Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, "/orgs/{org}/attestations/bulk-list": { "post": { "summary": "List attestations by bulk subject digests", @@ -92220,7 +92517,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -103286,7 +103582,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -159431,22 +159726,22 @@ "deprecated": true } }, - "/projects/columns/cards/{card_id}": { + "/projects/columns/{column_id}": { "get": { - "summary": "Get a project card", + "summary": "Get a project column", "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", "tags": [ "projects-classic" ], - "operationId": "projects-classic/get-card", + "operationId": "projects-classic/get-column", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#get-a-project-card" + "url": "https://docs.github.com/rest/projects-classic/columns#get-a-project-column" }, "parameters": [ { - "name": "card_id", - "description": "The unique identifier of the card.", + "name": "column_id", + "description": "The unique identifier of the column.", "in": "path", "required": true, "schema": { @@ -159460,200 +159755,57 @@ "content": { "application/json": { "schema": { - "title": "Project Card", - "description": "Project cards represent a scope of work.", + "title": "Project Column", + "description": "Project columns contain cards of work.", "type": "object", "properties": { "url": { "type": "string", "format": "uri", - "example": "https://api.github.com/projects/columns/cards/1478" + "example": "https://api.github.com/projects/columns/367" + }, + "project_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/projects/120" + }, + "cards_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/projects/columns/367/cards" }, "id": { - "description": "The project card's ID", + "description": "The unique identifier of the project column", "example": 42, - "type": "integer", - "format": "int64" + "type": "integer" }, "node_id": { "type": "string", - "example": "MDExOlByb2plY3RDYXJkMTQ3OA==" - }, - "note": { - "type": "string", - "example": "Add payload for delete Project column", - "nullable": true + "example": "MDEzOlByb2plY3RDb2x1bW4zNjc=" }, - "creator": { - "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 + "name": { + "description": "Name of the project column", + "example": "Remaining tasks", + "type": "string" }, "created_at": { "type": "string", "format": "date-time", - "example": "2016-09-05T14:21:06Z" + "example": "2016-09-05T14:18:44Z" }, "updated_at": { "type": "string", "format": "date-time", - "example": "2016-09-05T14:20:22Z" - }, - "archived": { - "description": "Whether or not the card is archived", - "example": false, - "type": "boolean" - }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "content_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test/issues/3" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" + "example": "2016-09-05T14:22:28Z" } }, "required": [ "id", "node_id", - "note", "url", - "column_url", "project_url", - "creator", + "cards_url", + "name", "created_at", "updated_at" ] @@ -159661,1023 +159813,14 @@ "examples": { "default": { "value": { - "url": "https://api.github.com/projects/columns/cards/1478", - "id": 1478, - "node_id": "MDExOlByb2plY3RDYXJkMTQ3OA==", - "note": "Add payload for delete Project column", - "creator": { - "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 - }, - "created_at": "2016-09-05T14:21:06Z", - "updated_at": "2016-09-05T14:20:22Z", - "archived": false, - "column_url": "https://api.github.com/projects/columns/367", - "content_url": "https://api.github.com/repos/api-playground/projects-test/issues/3", - "project_url": "https://api.github.com/projects/120" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "cards", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "patch": { - "summary": "Update an existing project card", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/update-card", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#update-an-existing-project-card" - }, - "parameters": [ - { - "name": "card_id", - "description": "The unique identifier of the card.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "note": { - "description": "The project card's note", - "example": "Update all gems", - "type": "string", - "nullable": true - }, - "archived": { - "description": "Whether or not the card is archived", - "example": false, - "type": "boolean" - } - } - }, - "examples": { - "default": { - "summary": "Change the note on the card", - "value": { - "note": "Add payload for delete Project column" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project Card", - "description": "Project cards represent a scope of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/cards/1478" - }, - "id": { - "description": "The project card's ID", - "example": 42, - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string", - "example": "MDExOlByb2plY3RDYXJkMTQ3OA==" - }, - "note": { - "type": "string", - "example": "Add payload for delete Project column", - "nullable": true - }, - "creator": { - "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 - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:21:06Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:20:22Z" - }, - "archived": { - "description": "Whether or not the card is archived", - "example": false, - "type": "boolean" - }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "content_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test/issues/3" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - } - }, - "required": [ - "id", - "node_id", - "note", - "url", - "column_url", - "project_url", - "creator", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "url": "https://api.github.com/projects/columns/cards/1478", - "id": 1478, - "node_id": "MDExOlByb2plY3RDYXJkMTQ3OA==", - "note": "Add payload for delete Project column", - "creator": { - "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 - }, - "created_at": "2016-09-05T14:21:06Z", - "updated_at": "2016-09-05T14:20:22Z", - "archived": false, - "column_url": "https://api.github.com/projects/columns/367", - "content_url": "https://api.github.com/repos/api-playground/projects-test/issues/3", - "project_url": "https://api.github.com/projects/120" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "cards", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "delete": { - "summary": "Delete a project card", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/delete-card", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#delete-a-project-card" - }, - "parameters": [ - { - "name": "card_id", - "description": "The unique identifier of the card.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "cards", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, - "/projects/columns/cards/{card_id}/moves": { - "post": { - "summary": "Move a project card", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/move-card", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#move-a-project-card" - }, - "parameters": [ - { - "name": "card_id", - "description": "The unique identifier of the card.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "position": { - "description": "The position of the card in a column. Can be one of: `top`, `bottom`, or `after:` to place after the specified card.", - "example": "bottom", - "type": "string", - "pattern": "^(?:top|bottom|after:\\d+)$" - }, - "column_id": { - "description": "The unique identifier of the column the card should be moved to", - "example": 42, - "type": "integer" - } - }, - "required": [ - "position" - ], - "type": "object" - }, - "examples": { - "default": { - "summary": "Move the card to the bottom of the column", - "value": { - "column_id": 42, - "position": "bottom" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": {}, - "additionalProperties": false - }, - "examples": { - "default": { - "value": null - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "resource": { - "type": "string" - }, - "field": { - "type": "string" - } - } - } - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - } - } - } - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": "string", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "cards", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, - "/projects/columns/{column_id}": { - "get": { - "summary": "Get a project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/get-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#get-a-project-column" - }, - "parameters": [ - { - "name": "column_id", - "description": "The unique identifier of the column.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project Column", - "description": "Project columns contain cards of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - }, - "cards_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367/cards" - }, - "id": { - "description": "The unique identifier of the project column", - "example": 42, - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "MDEzOlByb2plY3RDb2x1bW4zNjc=" - }, - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:18:44Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:22:28Z" - } - }, - "required": [ - "id", - "node_id", - "url", - "project_url", - "cards_url", - "name", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" + "url": "https://api.github.com/projects/columns/367", + "project_url": "https://api.github.com/projects/120", + "cards_url": "https://api.github.com/projects/columns/367/cards", + "id": 367, + "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", + "name": "To Do", + "created_at": "2016-09-05T14:18:44Z", + "updated_at": "2016-09-05T14:22:28Z" } } } @@ -160764,1180 +159907,195 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "patch": { - "summary": "Update an existing project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/update-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column" - }, - "parameters": [ - { - "name": "column_id", - "description": "The unique identifier of the column.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "summary": "Rename the project column", - "value": { - "name": "To Do" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project Column", - "description": "Project columns contain cards of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - }, - "cards_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367/cards" - }, - "id": { - "description": "The unique identifier of the project column", - "example": 42, - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "MDEzOlByb2plY3RDb2x1bW4zNjc=" - }, - "name": { - "description": "Name of the project column", - "example": "Remaining tasks", - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:18:44Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:22:28Z" - } - }, - "required": [ - "id", - "node_id", - "url", - "project_url", - "cards_url", - "name", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "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": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "delete": { - "summary": "Delete a project column", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/delete-column", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/columns#delete-a-project-column" - }, - "parameters": [ - { - "name": "column_id", - "description": "The unique identifier of the column.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Response" - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "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": "projects-classic", - "subcategory": "columns", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, - "/projects/columns/{column_id}/cards": { - "get": { - "summary": "List project cards", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-cards", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#list-project-cards" - }, - "parameters": [ - { - "name": "column_id", - "description": "The unique identifier of the column.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "archived_state", - "description": "Filters the project cards that are returned by the card's state.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "all", - "archived", - "not_archived" - ], - "default": "not_archived" - } - }, - { - "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": "array", - "items": { - "title": "Project Card", - "description": "Project cards represent a scope of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/cards/1478" - }, - "id": { - "description": "The project card's ID", - "example": 42, - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string", - "example": "MDExOlByb2plY3RDYXJkMTQ3OA==" - }, - "note": { - "type": "string", - "example": "Add payload for delete Project column", - "nullable": true - }, - "creator": { - "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 - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:21:06Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:20:22Z" - }, - "archived": { - "description": "Whether or not the card is archived", - "example": false, - "type": "boolean" - }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "content_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test/issues/3" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - } - }, - "required": [ - "id", - "node_id", - "note", - "url", - "column_url", - "project_url", - "creator", - "created_at", - "updated_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "url": "https://api.github.com/projects/columns/cards/1478", - "id": 1478, - "node_id": "MDExOlByb2plY3RDYXJkMTQ3OA==", - "note": "Add payload for delete Project column", - "creator": { - "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 - }, - "created_at": "2016-09-05T14:21:06Z", - "updated_at": "2016-09-05T14:20:22Z", - "archived": false, - "column_url": "https://api.github.com/projects/columns/367", - "content_url": "https://api.github.com/repos/api-playground/projects-test/issues/3", - "project_url": "https://api.github.com/projects/120" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "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": "projects-classic", - "subcategory": "cards", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a project card", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-card", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/cards#create-a-project-card" - }, - "parameters": [ - { - "name": "column_id", - "description": "The unique identifier of the column.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "note": { - "description": "The project card's note", - "example": "Update all gems", - "type": "string", - "nullable": true - } - }, - "required": [ - "note" - ] - }, - { - "type": "object", - "properties": { - "content_id": { - "description": "The unique identifier of the content associated with the card", - "example": 42, - "type": "integer" - }, - "content_type": { - "description": "The piece of content associated with the card", - "example": "PullRequest", - "type": "string" - } - }, - "required": [ - "content_id", - "content_type" - ] - } - ] - }, - "examples": { - "default": { - "summary": "Create a new card", - "value": { - "note": "Add payload for delete Project column" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project Card", - "description": "Project cards represent a scope of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/cards/1478" - }, - "id": { - "description": "The project card's ID", - "example": 42, - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string", - "example": "MDExOlByb2plY3RDYXJkMTQ3OA==" - }, - "note": { - "type": "string", - "example": "Add payload for delete Project column", - "nullable": true - }, - "creator": { - "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 - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:21:06Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2016-09-05T14:20:22Z" - }, - "archived": { - "description": "Whether or not the card is archived", - "example": false, - "type": "boolean" - }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/columns/367" - }, - "content_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test/issues/3" - }, - "project_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/120" - } - }, - "required": [ - "id", - "node_id", - "note", - "url", - "column_url", - "project_url", - "creator", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "url": "https://api.github.com/projects/columns/cards/1478", - "id": 1478, - "node_id": "MDExOlByb2plY3RDYXJkMTQ3OA==", - "note": "Add payload for delete Project column", - "creator": { - "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 - }, - "created_at": "2016-09-05T14:21:06Z", - "updated_at": "2016-09-05T14:20:22Z", - "archived": false, - "column_url": "https://api.github.com/projects/columns/367", - "content_url": "https://api.github.com/repos/api-playground/projects-test/issues/3", - "project_url": "https://api.github.com/projects/120" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "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", + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects-classic", + "subcategory": "columns", + "deprecationDate": "2024-05-23", + "removalDate": "2025-04-01" + }, + "deprecated": true + }, + "patch": { + "summary": "Update an existing project column", + "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", + "tags": [ + "projects-classic" + ], + "operationId": "projects-classic/update-column", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column" + }, + "parameters": [ + { + "name": "column_id", + "description": "The unique identifier of the column.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "properties": { + "name": { + "description": "Name of the project column", + "example": "Remaining tasks", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "examples": { + "default": { + "summary": "Rename the project column", + "value": { + "name": "To Do" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "oneOf": [ - { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": "string", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } + "title": "Project Column", + "description": "Project columns contain cards of work.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/projects/columns/367" }, - { - "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" - } - } - } + "project_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/projects/120" + }, + "cards_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/projects/columns/367/cards" + }, + "id": { + "description": "The unique identifier of the project column", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEzOlByb2plY3RDb2x1bW4zNjc=" + }, + "name": { + "description": "Name of the project column", + "example": "Remaining tasks", + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2016-09-05T14:18:44Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2016-09-05T14:22:28Z" } + }, + "required": [ + "id", + "node_id", + "url", + "project_url", + "cards_url", + "name", + "created_at", + "updated_at" ] + }, + "examples": { + "default": { + "value": { + "url": "https://api.github.com/projects/columns/367", + "project_url": "https://api.github.com/projects/120", + "cards_url": "https://api.github.com/projects/columns/367/cards", + "id": 367, + "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", + "name": "To Do", + "created_at": "2016-09-05T14:18:44Z", + "updated_at": "2016-09-05T14:22:28Z" + } + } } } } }, - "503": { - "description": "Response", + "304": { + "description": "Not modified" + }, + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { "type": "string" }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { "message": { "type": "string" }, "documentation_url": { "type": "string" }, - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - } - } - } + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -161949,7 +160107,99 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "cards", + "subcategory": "columns", + "deprecationDate": "2024-05-23", + "removalDate": "2025-04-01" + }, + "deprecated": true + }, + "delete": { + "summary": "Delete a project column", + "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", + "tags": [ + "projects-classic" + ], + "operationId": "projects-classic/delete-column", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects-classic/columns#delete-a-project-column" + }, + "parameters": [ + { + "name": "column_id", + "description": "The unique identifier of the column.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "304": { + "description": "Not modified" + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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": "projects-classic", + "subcategory": "columns", "deprecationDate": "2024-05-23", "removalDate": "2025-04-01" }, @@ -165180,7 +163430,7 @@ "/repos/{owner}/{repo}": { "get": { "summary": "Get a repository", - "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n> [!NOTE]\n> In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"", + "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n> [!NOTE]\n> - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n> - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions.", "tags": [ "repos" ], @@ -282907,7 +281157,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -302844,7 +301093,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -305530,7 +303778,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -311650,7 +309897,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ], @@ -315483,7 +313729,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ], @@ -319192,7 +317437,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -321856,7 +320100,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -324539,7 +322782,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -327025,7 +325267,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -331174,7 +329415,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -333747,7 +331987,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -336398,7 +334637,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -339069,7 +337307,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -352106,7 +350343,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -355652,7 +353888,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -358227,7 +356462,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -360778,7 +359012,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -363428,7 +361661,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -374085,7 +372317,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -472141,7 +470372,7 @@ "/search/issues": { "get": { "summary": "Search issues and pull requests", - "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on September 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", + "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", "tags": [ "search" ], @@ -474601,7 +472832,7 @@ "category": "search", "subcategory": "search", "deprecationDate": "2025-03-04", - "removalDate": "2025-09-04" + "removalDate": "2025-11-04" }, "deprecated": true } @@ -516937,7 +515168,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -546727,7 +544957,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -549821,7 +548050,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -552917,7 +551145,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -562379,7 +560606,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -565475,7 +563701,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -581517,6 +579742,74 @@ "node_id" ] }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -585495,6 +583788,74 @@ "node_id" ] }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -589473,6 +587834,74 @@ "node_id" ] }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -593464,6 +591893,74 @@ "node_id" ] }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -739674,7 +738171,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -741918,7 +740414,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -746439,7 +744934,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -748683,7 +747177,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -753204,7 +751697,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -756177,7 +754669,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -759969,7 +758460,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -762942,7 +761432,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1171655,7 +1170144,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1174628,7 +1173116,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1178417,7 +1176904,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1181390,7 +1179876,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1185179,7 +1183664,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1188152,7 +1186636,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1191941,7 +1190424,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1194914,7 +1193396,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] 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 c072e30c7e..24f74c1fdd 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -1019,7 +1019,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &615 + - &612 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -8727,7 +8727,7 @@ paths: - unknown - direct - transitive - security_advisory: &465 + security_advisory: &462 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8989,7 +8989,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &466 + auto_dismissed_at: &463 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9470,14 +9470,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &593 + state: &590 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: &594 + resolution: &591 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9584,8 +9584,8 @@ paths: pull request. ' - oneOf: &595 - - &597 + oneOf: &592 + - &594 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -9637,7 +9637,7 @@ paths: - blob_url - commit_sha - commit_url - - &598 + - &595 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. @@ -9692,7 +9692,7 @@ paths: - page_url - commit_sha - commit_url - - &599 + - &596 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -9706,7 +9706,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &600 + - &597 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -9720,7 +9720,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &601 + - &598 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -9734,7 +9734,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &602 + - &599 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -9748,7 +9748,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &603 + - &600 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -9762,7 +9762,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &604 + - &601 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -9776,7 +9776,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &605 + - &602 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. @@ -9790,7 +9790,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &606 + - &603 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. @@ -9804,7 +9804,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &607 + - &604 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. @@ -9818,7 +9818,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &608 + - &605 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. @@ -9832,7 +9832,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &609 + - &606 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. @@ -10112,7 +10112,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &514 + properties: &511 id: type: integer format: int64 @@ -10224,7 +10224,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &450 + properties: &447 url: type: string format: uri @@ -10294,7 +10294,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &451 + required: &448 - closed_issues - creator - description @@ -10484,7 +10484,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &627 + sub_issues_summary: &624 title: Sub-issues Summary type: object properties: @@ -10504,7 +10504,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &628 + issue_dependencies_summary: &625 title: Issue Dependencies Summary type: object properties: @@ -10523,7 +10523,7 @@ paths: - total_blocking issue_field_values: type: array - items: &629 + items: &626 title: Issue Field Value description: A value assigned to an issue field type: object @@ -10583,7 +10583,7 @@ paths: - node_id - data_type - value - required: &515 + required: &512 - assignee - closed_at - comments @@ -10602,10 +10602,9 @@ paths: - title - url - user - - author_association - created_at - updated_at - comment: &512 + comment: &509 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11172,7 +11171,7 @@ paths: url: type: string format: uri - user: &641 + user: &638 title: Public User description: Public User type: object @@ -14556,7 +14555,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &322 + '301': &319 description: Moved permanently content: application/json: @@ -14578,7 +14577,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &544 + - &541 name: all description: If `true`, show notifications marked as read. in: query @@ -14586,7 +14585,7 @@ paths: schema: type: boolean default: false - - &545 + - &542 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14596,7 +14595,7 @@ paths: type: boolean default: false - *67 - - &546 + - &543 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: @@ -15070,7 +15069,7 @@ paths: - url - subscription_url examples: - default: &547 + default: &544 value: - id: '1' repository: @@ -15671,7 +15670,7 @@ paths: - avatar_url - description examples: - default: &658 + default: &655 value: - login: github id: 1 @@ -15982,7 +15981,7 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *96 - - &684 + - &681 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -15991,7 +15990,7 @@ paths: required: false schema: type: integer - - &685 + - &682 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 @@ -16000,7 +15999,7 @@ paths: required: false schema: type: integer - - &686 + - &683 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -16009,7 +16008,7 @@ paths: required: false schema: type: integer - - &687 + - &684 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -16884,7 +16883,7 @@ paths: type: integer repository_cache_usages: type: array - items: &327 + items: &324 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -17751,7 +17750,7 @@ paths: - all - local_only - selected - selected_actions_url: &333 + selected_actions_url: &330 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` @@ -17834,7 +17833,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &334 type: object properties: days: @@ -17876,7 +17875,7 @@ paths: required: true content: application/json: - schema: &338 + schema: &335 type: object properties: days: @@ -17933,7 +17932,7 @@ paths: required: - approval_policy examples: - default: &339 + default: &336 value: approval_policy: first_time_contributors '404': *6 @@ -17992,7 +17991,7 @@ paths: description: Response content: application/json: - schema: &340 + schema: &337 type: object required: - run_workflows_from_fork_pull_requests @@ -18046,7 +18045,7 @@ paths: required: true content: application/json: - schema: &341 + schema: &338 type: object required: - run_workflows_from_fork_pull_requests @@ -18681,7 +18680,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &339 type: object properties: default_workflow_permissions: &119 @@ -18732,7 +18731,7 @@ paths: required: false content: application/json: - schema: &343 + schema: &340 type: object properties: default_workflow_permissions: *119 @@ -19221,7 +19220,7 @@ paths: type: array items: *126 examples: - default: &644 + default: &641 value: total_count: 1 repositories: @@ -19863,7 +19862,7 @@ paths: application/json: schema: type: array - items: &344 + items: &341 title: Runner Application description: Runner Application type: object @@ -19888,7 +19887,7 @@ paths: - download_url - filename examples: - default: &345 + default: &342 value: - os: osx architecture: x64 @@ -19974,7 +19973,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &346 + '201': &343 description: Response content: application/json: @@ -20085,7 +20084,7 @@ paths: - token - expires_at examples: - default: &347 + default: &344 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20124,7 +20123,7 @@ paths: application/json: schema: *130 examples: - default: &348 + default: &345 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20158,7 +20157,7 @@ paths: application/json: schema: *128 examples: - default: &349 + default: &346 value: id: 23 name: MBP @@ -20384,7 +20383,7 @@ paths: - *96 - *127 responses: - '200': &350 + '200': &347 description: Response content: application/json: @@ -20441,7 +20440,7 @@ paths: parameters: - *96 - *127 - - &351 + - &348 name: name description: The name of a self-hosted runner's custom label. in: path @@ -20571,7 +20570,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &360 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -20600,7 +20599,7 @@ paths: - key_id - key examples: - default: &364 + default: &361 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21013,7 +21012,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *96 - - &332 + - &329 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)." @@ -21478,6 +21477,216 @@ paths: enabledForGitHubApps: true category: actions subcategory: variables + "/orgs/{org}/artifacts/metadata/storage-records": + post: + summary: Create artifact metadata storage records + description: |- + Create metadata storage records for artifacts associated with an organization. + This endpoint will create a new artifact storage record on behalf of any artifact matching the provided digest and + associated with a repository owned by the organization. + tags: + - orgs + operationId: orgs/create-artifact-storage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-records + parameters: + - *96 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the artifact. + example: libfoo-1.2.3 + minLength: 1 + digest: + type: string + description: The digest of the artifact (algorithm:hex-encoded-digest). + example: sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + artifact_url: + type: string + format: uri + pattern: "^https://" + description: The URL where the artifact is stored. + example: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + path: + type: string + format: uri + description: The path of the artifact. + example: com/github/bar/libfoo-1.2.3 + registry_url: + type: string + format: uri + pattern: "^https://" + description: The base URL of the artifact registry. + example: https://reg.example.com/artifactory/ + minLength: 1 + repository: + type: string + description: The repository name within the registry. + example: bar + status: + type: string + description: The status of the artifact (e.g., active, inactive). + example: active + enum: + - active + - eol + - deleted + default: active + required: + - name + - digest + - registry_url + examples: + default: + value: + name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + responses: + '200': + description: Artifact metadata storage record stored successfully. + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + example: 1 + storage_records: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + digest: + type: string + artifact_url: + type: string + registry_url: + type: string + repository: + type: string + status: + type: string + created_at: + type: string + updated_at: + type: string + examples: + default: + value: + total_count: 1 + storage_records: + - name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + created_at: '2023-10-01T12:00:00Z' + updated_at: '2023-10-01T12:00:00Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata + "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": + get: + summary: List artifact storage records + description: |- + List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. + + The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required. + tags: + - orgs + operationId: orgs/list-artifact-storage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records + parameters: + - *96 + - name: subject_digest + description: The parameter should be set to the attestation's subject's SHA256 + digest, in the form `sha256:HEX_DIGEST`. + in: path + required: true + example: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + schema: + type: string + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + x-multi-segment: true + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of storage records for this digest and + organization + example: 3 + type: integer + storage_records: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + digest: + type: string + artifact_url: + type: string + registry_url: + type: string + repository: + type: string + status: + type: string + created_at: + type: string + updated_at: + type: string + examples: + default: + value: + storage_records: + - name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + created_at: '2023-10-01T12:00:00Z' + updated_at: '2023-10-01T12:00:00Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata "/orgs/{org}/attestations/bulk-list": post: summary: List attestations by bulk subject digests @@ -21520,12 +21729,12 @@ paths: required: - subject_digests examples: - default: &673 + default: &670 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &674 + withPredicateType: &671 value: subject_digests: - sha256:abc123 @@ -21583,7 +21792,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &675 + default: &672 value: attestations_subject_digests: - sha256:abc: @@ -21877,7 +22086,7 @@ paths: bundle_url: type: string examples: - default: &377 + default: &374 value: attestations: - bundle: @@ -22792,7 +23001,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *96 - - &403 + - &400 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`, @@ -22802,7 +23011,7 @@ paths: schema: &146 type: string description: The name of the tool used to generate the code scanning analysis. - - &404 + - &401 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 @@ -22825,7 +23034,7 @@ paths: be returned. in: query required: false - schema: &406 + schema: &403 type: string description: State of a code scanning alert. enum: @@ -22848,7 +23057,7 @@ paths: be returned. in: query required: false - schema: &407 + schema: &404 type: string description: Severity of a code scanning alert. enum: @@ -22874,7 +23083,7 @@ paths: updated_at: *143 url: *56 html_url: *57 - instances_url: &408 + instances_url: &405 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -22897,7 +23106,7 @@ paths: required: *21 nullable: true dismissed_at: *145 - dismissed_reason: &409 + dismissed_reason: &406 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -22906,13 +23115,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &410 + dismissed_comment: &407 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &411 + rule: &408 type: object properties: id: @@ -22965,7 +23174,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &412 + tool: &409 type: object properties: name: *146 @@ -22975,15 +23184,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *147 - most_recent_instance: &413 + most_recent_instance: &410 type: object properties: - ref: &405 + ref: &402 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &423 + analysis_key: &420 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -22994,7 +23203,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &424 + category: &421 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -24315,7 +24524,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &436 + properties: &433 name: type: string description: The name of the machine. @@ -24357,7 +24566,7 @@ paths: - ready - in_progress nullable: true - required: &437 + required: &434 - name - display_name - operating_system @@ -25225,7 +25434,7 @@ paths: - updated_at - visibility examples: - default: &438 + default: &435 value: total_count: 2 secrets: @@ -25263,7 +25472,7 @@ paths: description: Response content: application/json: - schema: &439 + schema: &436 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -25292,7 +25501,7 @@ paths: - key_id - key examples: - default: &440 + default: &437 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25324,7 +25533,7 @@ paths: application/json: schema: *156 examples: - default: &442 + default: &439 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26968,7 +27177,7 @@ paths: description: Response content: application/json: - schema: &469 + schema: &466 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -26985,7 +27194,7 @@ paths: - key_id - key examples: - default: &470 + default: &467 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28778,7 +28987,7 @@ paths: application/json: schema: *22 examples: - default: &508 + default: &505 value: id: 1 account: @@ -29003,7 +29212,7 @@ paths: required: true content: application/json: - schema: &509 + schema: &506 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -29856,7 +30065,7 @@ paths: application/json: schema: *206 examples: - default: &435 + default: &432 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31101,7 +31310,7 @@ paths: parameters: - *96 - *214 - - &657 + - &654 name: repo_name description: repo_name parameter in: path @@ -32129,7 +32338,7 @@ paths: - nuget - container - *96 - - &659 + - &656 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -32170,7 +32379,7 @@ paths: default: *222 '403': *29 '401': *25 - '400': &661 + '400': &658 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34063,7 +34272,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &319 + '410': &316 description: Gone content: application/json: @@ -34963,7 +35172,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &318 title: Full Repository description: Full Repository type: object @@ -35356,7 +35565,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &457 + properties: &454 url: type: string format: uri @@ -35372,7 +35581,7 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &458 + required: &455 - url - key - name @@ -35461,7 +35670,7 @@ paths: - network_count - subscribers_count examples: - default: &323 + default: &320 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -35982,7 +36191,7 @@ paths: - *96 - *17 - *19 - - &577 + - &574 name: targets description: | A comma-separated list of rule targets to filter by. @@ -36259,7 +36468,7 @@ paths: - repository_property rules: type: array - items: &578 + items: &575 title: Repository Rule type: object description: A repository rule. @@ -36321,7 +36530,7 @@ paths: type: string enum: - required_linear_history - - &576 + - &573 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -37146,7 +37355,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *96 - - &579 + - &576 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 @@ -37161,7 +37370,7 @@ paths: in: query schema: type: string - - &580 + - &577 name: time_period description: |- The time period to filter by. @@ -37177,14 +37386,14 @@ paths: - week - month default: day - - &581 + - &578 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 - - &582 + - &579 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -37204,7 +37413,7 @@ paths: description: Response content: application/json: - schema: &583 + schema: &580 title: Rule Suites description: Response type: array @@ -37259,7 +37468,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &584 + default: &581 value: - id: 21 actor_id: 12 @@ -37303,7 +37512,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *96 - - &585 + - &582 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -37319,7 +37528,7 @@ paths: description: Response content: application/json: - schema: &586 + schema: &583 title: Rule Suite description: Response type: object @@ -37418,7 +37627,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &587 + default: &584 value: id: 21 actor_id: 12 @@ -37664,7 +37873,7 @@ paths: type: string format: date-time examples: - default: &589 + default: &586 value: - version_id: 3 actor: @@ -37717,7 +37926,7 @@ paths: description: Response content: application/json: - schema: &590 + schema: &587 allOf: - *274 - type: object @@ -37796,7 +38005,7 @@ paths: - *48 - *19 - *17 - - &591 + - &588 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 @@ -37806,7 +38015,7 @@ paths: required: false schema: type: string - - &592 + - &589 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 @@ -38126,7 +38335,7 @@ paths: application/json: schema: type: array - items: &613 + items: &610 description: A repository security advisory. type: object properties: @@ -38417,7 +38626,7 @@ paths: - private_fork additionalProperties: false examples: - default: &614 + default: &611 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -38891,7 +39100,7 @@ paths: description: Response content: application/json: - schema: &678 + schema: &675 type: object properties: total_minutes_used: @@ -38961,7 +39170,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &679 + default: &676 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -38997,7 +39206,7 @@ paths: description: Response content: application/json: - schema: &680 + schema: &677 type: object properties: total_gigabytes_bandwidth_used: @@ -39015,7 +39224,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &681 + default: &678 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -39047,7 +39256,7 @@ paths: description: Response content: application/json: - schema: &682 + schema: &679 type: object properties: days_left_in_billing_cycle: @@ -39065,7 +39274,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &683 + default: &680 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -40276,7 +40485,7 @@ paths: - updated_at - url examples: - default: &631 + default: &628 value: - author: login: octocat @@ -40524,7 +40733,7 @@ paths: application/json: schema: *297 examples: - default: &632 + default: &629 value: author: login: octocat @@ -40707,7 +40916,7 @@ paths: - updated_at - url examples: - default: &633 + default: &630 value: - author: login: octocat @@ -40933,7 +41142,7 @@ paths: application/json: schema: *300 examples: - default: &634 + default: &631 value: author: login: octocat @@ -41549,7 +41758,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &635 + response-if-user-is-a-team-maintainer: &632 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -41614,7 +41823,7 @@ paths: application/json: schema: *307 examples: - response-if-users-membership-with-team-is-now-pending: &636 + response-if-users-membership-with-team-is-now-pending: &633 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -41755,7 +41964,7 @@ paths: - updated_at - permissions examples: - default: &637 + default: &634 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -41834,7 +42043,7 @@ paths: application/json: schema: *308 examples: - default: &638 + default: &635 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42044,7 +42253,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &639 + schema: &636 title: Team Repository description: A team's access to a repository. type: object @@ -42701,7 +42910,7 @@ paths: type: array items: *159 examples: - response-if-child-teams-exist: &640 + response-if-child-teams-exist: &637 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -42814,352 +43023,6 @@ paths: deprecationDate: '2024-07-22' removalDate: '2025-07-22' deprecated: true - "/projects/columns/cards/{card_id}": - get: - summary: Get a project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/get-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#get-a-project-card - parameters: - - &312 - name: card_id - description: The unique identifier of the card. - in: path - required: true - schema: - type: integer - responses: - '200': - description: Response - content: - application/json: - schema: &313 - title: Project Card - description: Project cards represent a scope of work. - type: object - properties: - url: - type: string - format: uri - example: https://api.github.com/projects/columns/cards/1478 - id: - description: The project card's ID - example: 42 - type: integer - format: int64 - node_id: - type: string - example: MDExOlByb2plY3RDYXJkMTQ3OA== - note: - type: string - example: Add payload for delete Project column - nullable: true - creator: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - created_at: - type: string - format: date-time - example: '2016-09-05T14:21:06Z' - updated_at: - type: string - format: date-time - example: '2016-09-05T14:20:22Z' - archived: - description: Whether or not the card is archived - example: false - type: boolean - column_name: - type: string - project_id: - type: string - column_url: - type: string - format: uri - example: https://api.github.com/projects/columns/367 - content_url: - type: string - format: uri - example: https://api.github.com/repos/api-playground/projects-test/issues/3 - project_url: - type: string - format: uri - example: https://api.github.com/projects/120 - required: - - id - - node_id - - note - - url - - column_url - - project_url - - creator - - created_at - - updated_at - examples: - default: &314 - value: - url: https://api.github.com/projects/columns/cards/1478 - id: 1478 - node_id: MDExOlByb2plY3RDYXJkMTQ3OA== - note: Add payload for delete Project column - creator: - 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 - created_at: '2016-09-05T14:21:06Z' - updated_at: '2016-09-05T14:20:22Z' - archived: false - column_url: https://api.github.com/projects/columns/367 - content_url: https://api.github.com/repos/api-playground/projects-test/issues/3 - project_url: https://api.github.com/projects/120 - '304': *37 - '403': *29 - '401': *25 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - patch: - summary: Update an existing project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/update-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#update-an-existing-project-card - parameters: - - *312 - requestBody: - required: false - content: - application/json: - schema: - type: object - properties: - note: - description: The project card's note - example: Update all gems - type: string - nullable: true - archived: - description: Whether or not the card is archived - example: false - type: boolean - examples: - default: - summary: Change the note on the card - value: - note: Add payload for delete Project column - responses: - '200': - description: Response - content: - application/json: - schema: *313 - examples: - default: *314 - '304': *37 - '403': *29 - '401': *25 - '404': *6 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - delete: - summary: Delete a project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/delete-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#delete-a-project-card - parameters: - - *312 - responses: - '204': - description: Response - '304': *37 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *25 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - "/projects/columns/cards/{card_id}/moves": - post: - summary: Move a project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/move-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#move-a-project-card - parameters: - - *312 - requestBody: - required: true - content: - application/json: - schema: - properties: - position: - description: 'The position of the card in a column. Can be one of: - `top`, `bottom`, or `after:` to place after the specified - card.' - example: bottom - type: string - pattern: "^(?:top|bottom|after:\\d+)$" - column_id: - description: The unique identifier of the column the card should - be moved to - example: 42 - type: integer - required: - - position - type: object - examples: - default: - summary: Move the card to the bottom of the column - value: - column_id: 42 - position: bottom - responses: - '201': - description: Response - content: - application/json: - schema: - type: object - properties: {} - additionalProperties: false - examples: - default: - value: - '304': *37 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: object - properties: - code: - type: string - message: - type: string - resource: - type: string - field: - type: string - '401': *25 - '503': - description: Response - content: - application/json: - schema: - type: object - properties: - code: - type: string - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: object - properties: - code: - type: string - message: - type: string - '422': *15 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/projects/columns/{column_id}": get: summary: Get a project column @@ -43174,7 +43037,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &315 + - &312 name: column_id description: The unique identifier of the column. in: path @@ -43186,7 +43049,7 @@ paths: description: Response content: application/json: - schema: &316 + schema: &313 title: Project Column description: Project columns contain cards of work. type: object @@ -43232,7 +43095,7 @@ paths: - created_at - updated_at examples: - default: &317 + default: &314 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -43267,7 +43130,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *315 + - *312 requestBody: required: true content: @@ -43291,9 +43154,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *313 examples: - default: *317 + default: *314 '304': *37 '403': *29 '401': *25 @@ -43318,7 +43181,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *315 + - *312 responses: '204': description: Response @@ -43333,184 +43196,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/columns/{column_id}/cards": - get: - summary: List project cards - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-cards - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#list-project-cards - parameters: - - *315 - - name: archived_state - description: Filters the project cards that are returned by the card's state. - in: query - required: false - schema: - type: string - enum: - - all - - archived - - not_archived - default: not_archived - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *313 - examples: - default: - value: - - url: https://api.github.com/projects/columns/cards/1478 - id: 1478 - node_id: MDExOlByb2plY3RDYXJkMTQ3OA== - note: Add payload for delete Project column - creator: - 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 - created_at: '2016-09-05T14:21:06Z' - updated_at: '2016-09-05T14:20:22Z' - archived: false - column_url: https://api.github.com/projects/columns/367 - content_url: https://api.github.com/repos/api-playground/projects-test/issues/3 - project_url: https://api.github.com/projects/120 - headers: - Link: *58 - '304': *37 - '403': *29 - '401': *25 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a project card - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-card - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/cards#create-a-project-card - parameters: - - *315 - requestBody: - required: true - content: - application/json: - schema: - oneOf: - - type: object - properties: - note: - description: The project card's note - example: Update all gems - type: string - nullable: true - required: - - note - - type: object - properties: - content_id: - description: The unique identifier of the content associated with - the card - example: 42 - type: integer - content_type: - description: The piece of content associated with the card - example: PullRequest - type: string - required: - - content_id - - content_type - examples: - default: - summary: Create a new card - value: - note: Add payload for delete Project column - responses: - '201': - description: Response - content: - application/json: - schema: *313 - examples: - default: *314 - '304': *37 - '403': *29 - '401': *25 - '422': - description: Validation failed - content: - application/json: - schema: - oneOf: - - *100 - - *101 - '503': - description: Response - content: - application/json: - schema: - type: object - properties: - code: - type: string - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: object - properties: - code: - type: string - message: - type: string - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: cards - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/projects/columns/{column_id}/moves": post: summary: Move a project column @@ -43525,7 +43210,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *315 + - *312 requestBody: required: true content: @@ -43593,7 +43278,7 @@ paths: application/json: schema: *237 examples: - default: &318 + default: &315 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -43698,7 +43383,7 @@ paths: application/json: schema: *237 examples: - default: *318 + default: *315 '404': description: Not Found if the authenticated user does not have access to the project @@ -43719,7 +43404,7 @@ paths: items: type: string '401': *25 - '410': *319 + '410': *316 '422': *7 x-github: githubCloudOnly: false @@ -43763,7 +43448,7 @@ paths: items: type: string '401': *25 - '410': *319 + '410': *316 '404': *6 x-github: githubCloudOnly: false @@ -44013,7 +43698,7 @@ paths: application/json: schema: type: array - items: *316 + items: *313 examples: default: value: @@ -44074,7 +43759,7 @@ paths: description: Response content: application/json: - schema: *316 + schema: *313 examples: default: value: @@ -44139,7 +43824,7 @@ paths: resources: type: object properties: - core: &320 + core: &317 title: Rate Limit type: object properties: @@ -44156,21 +43841,21 @@ paths: - remaining - reset - used - graphql: *320 - search: *320 - code_search: *320 - source_import: *320 - integration_manifest: *320 - code_scanning_upload: *320 - actions_runner_registration: *320 - scim: *320 - dependency_snapshots: *320 - dependency_sbom: *320 - code_scanning_autofix: *320 + graphql: *317 + search: *317 + code_search: *317 + source_import: *317 + integration_manifest: *317 + code_scanning_upload: *317 + actions_runner_registration: *317 + scim: *317 + dependency_snapshots: *317 + dependency_sbom: *317 + code_scanning_autofix: *317 required: - core - search - rate: *320 + rate: *317 required: - rate - resources @@ -44266,7 +43951,8 @@ paths: The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network. > [!NOTE] - > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions. tags: - repos operationId: repos/get @@ -44281,7 +43967,7 @@ paths: description: Response content: application/json: - schema: *321 + schema: *318 examples: default-response: summary: Default response @@ -44782,7 +44468,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *322 + '301': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45048,10 +44734,10 @@ paths: description: Response content: application/json: - schema: *321 + schema: *318 examples: - default: *323 - '307': &324 + default: *320 + '307': &321 description: Temporary Redirect content: application/json: @@ -45103,7 +44789,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *324 + '307': *321 '404': *6 '409': *47 x-github: @@ -45131,7 +44817,7 @@ paths: - *311 - *17 - *19 - - &355 + - &352 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -45154,7 +44840,7 @@ paths: type: integer artifacts: type: array - items: &325 + items: &322 title: Artifact description: An artifact type: object @@ -45232,7 +44918,7 @@ paths: - expires_at - updated_at examples: - default: &356 + default: &353 value: total_count: 2 artifacts: @@ -45295,7 +44981,7 @@ paths: parameters: - *310 - *311 - - &326 + - &323 name: artifact_id description: The unique identifier of the artifact. in: path @@ -45307,7 +44993,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *322 examples: default: value: @@ -45347,7 +45033,7 @@ paths: parameters: - *310 - *311 - - *326 + - *323 responses: '204': description: Response @@ -45373,7 +45059,7 @@ paths: parameters: - *310 - *311 - - *326 + - *323 - name: archive_format in: path required: true @@ -45387,7 +45073,7 @@ paths: 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': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45417,7 +45103,7 @@ paths: description: Response content: application/json: - schema: *327 + schema: *324 examples: default: value: @@ -45447,7 +45133,7 @@ paths: - *311 - *17 - *19 - - &328 + - &325 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 @@ -45481,7 +45167,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &326 title: Repository actions caches description: Repository actions caches type: object @@ -45523,7 +45209,7 @@ paths: - total_count - actions_caches examples: - default: &330 + default: &327 value: total_count: 1 actions_caches: @@ -45563,15 +45249,15 @@ paths: required: true schema: type: string - - *328 + - *325 responses: '200': description: Response content: application/json: - schema: *329 + schema: *326 examples: - default: *330 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45625,7 +45311,7 @@ paths: parameters: - *310 - *311 - - &331 + - &328 name: job_id description: The unique identifier of the job. in: path @@ -45637,7 +45323,7 @@ paths: description: Response content: application/json: - schema: &359 + schema: &356 title: Job description: Information of a job execution in a workflow run type: object @@ -45946,7 +45632,7 @@ paths: parameters: - *310 - *311 - - *331 + - *328 responses: '302': description: Response @@ -45976,7 +45662,7 @@ paths: parameters: - *310 - *311 - - *331 + - *328 requestBody: required: false content: @@ -46155,7 +45841,7 @@ paths: type: integer secrets: type: array - items: &361 + items: &358 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -46175,7 +45861,7 @@ paths: - created_at - updated_at examples: - default: &362 + default: &359 value: total_count: 2 secrets: @@ -46210,7 +45896,7 @@ paths: parameters: - *310 - *311 - - *332 + - *329 - *19 responses: '200': @@ -46227,7 +45913,7 @@ paths: type: integer variables: type: array - items: &365 + items: &362 title: Actions Variable type: object properties: @@ -46257,7 +45943,7 @@ paths: - created_at - updated_at examples: - default: &366 + default: &363 value: total_count: 2 variables: @@ -46300,11 +45986,11 @@ paths: schema: type: object properties: - enabled: &334 + enabled: &331 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *111 - selected_actions_url: *333 + selected_actions_url: *330 sha_pinning_required: *112 required: - enabled @@ -46345,7 +46031,7 @@ paths: schema: type: object properties: - enabled: *334 + enabled: *331 allowed_actions: *111 sha_pinning_required: *112 required: @@ -46384,7 +46070,7 @@ paths: description: Response content: application/json: - schema: &335 + schema: &332 type: object properties: access_level: @@ -46401,7 +46087,7 @@ paths: required: - access_level examples: - default: &336 + default: &333 value: access_level: organization x-github: @@ -46431,9 +46117,9 @@ paths: required: true content: application/json: - schema: *335 + schema: *332 examples: - default: *336 + default: *333 responses: '204': description: Response @@ -46464,7 +46150,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *334 examples: default: value: @@ -46499,7 +46185,7 @@ paths: required: true content: application/json: - schema: *338 + schema: *335 examples: default: summary: Set retention days @@ -46532,7 +46218,7 @@ paths: application/json: schema: *113 examples: - default: *339 + default: *336 '404': *6 x-github: enabledForGitHubApps: true @@ -46593,7 +46279,7 @@ paths: description: Response content: application/json: - schema: *340 + schema: *337 examples: default: *114 '403': *29 @@ -46621,7 +46307,7 @@ paths: required: true content: application/json: - schema: *341 + schema: *338 examples: default: *114 responses: @@ -46715,7 +46401,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *339 examples: default: *121 x-github: @@ -46750,7 +46436,7 @@ paths: required: true content: application/json: - schema: *343 + schema: *340 examples: default: *121 x-github: @@ -46833,9 +46519,9 @@ paths: application/json: schema: type: array - items: *344 + items: *341 examples: - default: *345 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46901,7 +46587,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *346 + '201': *343 '404': *6 '422': *7 '409': *47 @@ -46941,7 +46627,7 @@ paths: application/json: schema: *130 examples: - default: *347 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46978,7 +46664,7 @@ paths: application/json: schema: *130 examples: - default: *348 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47010,7 +46696,7 @@ paths: application/json: schema: *128 examples: - default: *349 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47190,7 +46876,7 @@ paths: - *311 - *127 responses: - '200': *350 + '200': *347 '404': *6 x-github: githubCloudOnly: false @@ -47220,7 +46906,7 @@ paths: - *310 - *311 - *127 - - *351 + - *348 responses: '200': *132 '404': *6 @@ -47250,7 +46936,7 @@ paths: parameters: - *310 - *311 - - &369 + - &366 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. @@ -47258,7 +46944,7 @@ paths: required: false schema: type: string - - &370 + - &367 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -47266,7 +46952,7 @@ paths: required: false schema: type: string - - &371 + - &368 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -47275,7 +46961,7 @@ paths: required: false schema: type: string - - &372 + - &369 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 @@ -47302,7 +46988,7 @@ paths: - pending - *17 - *19 - - &373 + - &370 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)." @@ -47311,7 +46997,7 @@ paths: schema: type: string format: date-time - - &352 + - &349 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -47320,13 +47006,13 @@ paths: schema: type: boolean default: false - - &374 + - &371 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &375 + - &372 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -47349,7 +47035,7 @@ paths: type: integer workflow_runs: type: array - items: &353 + items: &350 title: Workflow Run description: An invocation of a workflow type: object @@ -47444,7 +47130,7 @@ paths: that triggered the run. type: array nullable: true - items: &394 + items: &391 title: Pull Request Minimal type: object properties: @@ -47563,7 +47249,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &398 + properties: &395 id: type: string description: SHA for the commit @@ -47614,7 +47300,7 @@ paths: - name - email nullable: true - required: &399 + required: &396 - id - tree_id - message @@ -47661,7 +47347,7 @@ paths: - workflow_url - pull_requests examples: - default: &376 + default: &373 value: total_count: 1 workflow_runs: @@ -47899,22 +47585,22 @@ paths: parameters: - *310 - *311 - - &354 + - &351 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *352 + - *349 responses: '200': description: Response content: application/json: - schema: *353 + schema: *350 examples: - default: &357 + default: &354 value: id: 30433642 name: Build @@ -48157,7 +47843,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 responses: '204': description: Response @@ -48182,7 +47868,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 responses: '200': description: Response @@ -48303,7 +47989,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 responses: '201': description: Response @@ -48338,10 +48024,10 @@ paths: parameters: - *310 - *311 - - *354 + - *351 - *17 - *19 - - *355 + - *352 responses: '200': description: Response @@ -48357,9 +48043,9 @@ paths: type: integer artifacts: type: array - items: *325 + items: *322 examples: - default: *356 + default: *353 headers: Link: *58 x-github: @@ -48385,23 +48071,23 @@ paths: parameters: - *310 - *311 - - *354 - - &358 + - *351 + - &355 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *352 + - *349 responses: '200': description: Response content: application/json: - schema: *353 + schema: *350 examples: - default: *357 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48426,8 +48112,8 @@ paths: parameters: - *310 - *311 - - *354 - - *358 + - *351 + - *355 - *17 - *19 responses: @@ -48445,9 +48131,9 @@ paths: type: integer jobs: type: array - items: *359 + items: *356 examples: - default: &360 + default: &357 value: total_count: 1 jobs: @@ -48562,8 +48248,8 @@ paths: parameters: - *310 - *311 - - *354 - - *358 + - *351 + - *355 responses: '302': description: Response @@ -48593,7 +48279,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 responses: '202': description: Response @@ -48628,7 +48314,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 requestBody: required: true content: @@ -48697,7 +48383,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 responses: '202': description: Response @@ -48732,7 +48418,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 - 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 @@ -48762,9 +48448,9 @@ paths: type: integer jobs: type: array - items: *359 + items: *356 examples: - default: *360 + default: *357 headers: Link: *58 x-github: @@ -48791,7 +48477,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 responses: '302': description: Response @@ -48820,7 +48506,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 responses: '204': description: Response @@ -48849,7 +48535,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 responses: '200': description: Response @@ -48909,7 +48595,7 @@ paths: items: type: object properties: - type: &478 + type: &475 type: string description: The type of reviewer. enum: @@ -48996,7 +48682,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 requestBody: required: true content: @@ -49043,7 +48729,7 @@ paths: application/json: schema: type: array - items: &473 + items: &470 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -49149,7 +48835,7 @@ paths: - created_at - updated_at examples: - default: &474 + default: &471 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -49207,7 +48893,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 requestBody: required: false content: @@ -49253,7 +48939,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 requestBody: required: false content: @@ -49308,7 +48994,7 @@ paths: parameters: - *310 - *311 - - *354 + - *351 responses: '200': description: Response @@ -49464,9 +49150,9 @@ paths: type: integer secrets: type: array - items: *361 + items: *358 examples: - default: *362 + default: *359 headers: Link: *58 x-github: @@ -49498,9 +49184,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *360 examples: - default: *364 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49530,9 +49216,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *358 examples: - default: &491 + default: &488 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -49646,7 +49332,7 @@ paths: parameters: - *310 - *311 - - *332 + - *329 - *19 responses: '200': @@ -49663,9 +49349,9 @@ paths: type: integer variables: type: array - items: *365 + items: *362 examples: - default: *366 + default: *363 headers: Link: *58 x-github: @@ -49749,9 +49435,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *362 examples: - default: &492 + default: &489 value: name: USERNAME value: octocat @@ -49867,7 +49553,7 @@ paths: type: integer workflows: type: array - items: &367 + items: &364 title: Workflow description: A GitHub Actions workflow type: object @@ -49976,7 +49662,7 @@ paths: parameters: - *310 - *311 - - &368 + - &365 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -49991,7 +49677,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *364 examples: default: value: @@ -50026,7 +49712,7 @@ paths: parameters: - *310 - *311 - - *368 + - *365 responses: '204': description: Response @@ -50053,7 +49739,7 @@ paths: parameters: - *310 - *311 - - *368 + - *365 responses: '204': description: Response @@ -50106,7 +49792,7 @@ paths: parameters: - *310 - *311 - - *368 + - *365 responses: '204': description: Response @@ -50135,17 +49821,17 @@ paths: parameters: - *310 - *311 + - *365 + - *366 + - *367 - *368 - *369 + - *17 + - *19 - *370 + - *349 - *371 - *372 - - *17 - - *19 - - *373 - - *352 - - *374 - - *375 responses: '200': description: Response @@ -50161,9 +49847,9 @@ paths: type: integer workflow_runs: type: array - items: *353 + items: *350 examples: - default: *376 + default: *373 headers: Link: *58 x-github: @@ -50197,7 +49883,7 @@ paths: parameters: - *310 - *311 - - *368 + - *365 responses: '200': description: Response @@ -50666,7 +50352,7 @@ paths: bundle_url: type: string examples: - default: *377 + default: *374 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50695,7 +50381,7 @@ paths: application/json: schema: type: array - items: &378 + items: &375 title: Autolink reference description: An autolink reference. type: object @@ -50789,9 +50475,9 @@ paths: description: response content: application/json: - schema: *378 + schema: *375 examples: - default: &379 + default: &376 value: id: 1 key_prefix: TICKET- @@ -50824,7 +50510,7 @@ paths: parameters: - *310 - *311 - - &380 + - &377 name: autolink_id description: The unique identifier of the autolink. in: path @@ -50836,9 +50522,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *375 examples: - default: *379 + default: *376 '404': *6 x-github: githubCloudOnly: false @@ -50860,7 +50546,7 @@ paths: parameters: - *310 - *311 - - *380 + - *377 responses: '204': description: Response @@ -51015,7 +50701,7 @@ paths: - url protected: type: boolean - protection: &382 + protection: &379 title: Branch Protection description: Branch Protection type: object @@ -51057,7 +50743,7 @@ paths: required: - contexts - checks - enforce_admins: &385 + enforce_admins: &382 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -51072,7 +50758,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &387 + required_pull_request_reviews: &384 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -51148,7 +50834,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &384 + restrictions: &381 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -51457,7 +51143,7 @@ paths: parameters: - *310 - *311 - - &383 + - &380 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). @@ -51471,14 +51157,14 @@ paths: description: Response content: application/json: - schema: &393 + schema: &390 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &446 + commit: &443 title: Commit description: Commit type: object @@ -51512,7 +51198,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &381 + properties: &378 name: type: string example: '"Chris Wanstrath"' @@ -51527,7 +51213,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *381 + properties: *378 nullable: true message: type: string @@ -51548,7 +51234,7 @@ paths: required: - sha - url - verification: &498 + verification: &495 title: Verification type: object properties: @@ -51618,7 +51304,7 @@ paths: type: integer files: type: array - items: &461 + items: &458 title: Diff Entry description: Diff Entry type: object @@ -51701,7 +51387,7 @@ paths: - self protected: type: boolean - protection: *382 + protection: *379 protection_url: type: string format: uri @@ -51808,7 +51494,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *322 + '301': *319 '404': *6 x-github: githubCloudOnly: false @@ -51832,13 +51518,13 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response content: application/json: - schema: *382 + schema: *379 examples: default: value: @@ -52034,7 +51720,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: true content: @@ -52289,7 +51975,7 @@ paths: url: type: string format: uri - required_status_checks: &390 + required_status_checks: &387 title: Status Check Policy description: Status Check Policy type: object @@ -52441,7 +52127,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *384 + restrictions: *381 required_conversation_resolution: type: object properties: @@ -52555,7 +52241,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '204': description: Response @@ -52582,15 +52268,15 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response content: application/json: - schema: *385 + schema: *382 examples: - default: &386 + default: &383 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -52614,15 +52300,15 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response content: application/json: - schema: *385 + schema: *382 examples: - default: *386 + default: *383 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52643,7 +52329,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '204': description: Response @@ -52670,15 +52356,15 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response content: application/json: - schema: *387 + schema: *384 examples: - default: &388 + default: &385 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -52776,7 +52462,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: false content: @@ -52874,9 +52560,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *384 examples: - default: *388 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -52899,7 +52585,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '204': description: Response @@ -52928,15 +52614,15 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response content: application/json: - schema: *385 + schema: *382 examples: - default: &389 + default: &386 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -52961,15 +52647,15 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response content: application/json: - schema: *385 + schema: *382 examples: - default: *389 + default: *386 '404': *6 x-github: githubCloudOnly: false @@ -52991,7 +52677,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '204': description: Response @@ -53018,15 +52704,15 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response content: application/json: - schema: *390 + schema: *387 examples: - default: &391 + default: &388 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -53054,7 +52740,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: false content: @@ -53106,9 +52792,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *387 examples: - default: *391 + default: *388 '404': *6 '422': *15 x-github: @@ -53132,7 +52818,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '204': description: Response @@ -53158,7 +52844,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response @@ -53194,7 +52880,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: false content: @@ -53263,7 +52949,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: false content: @@ -53329,7 +53015,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: content: application/json: @@ -53397,13 +53083,13 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response content: application/json: - schema: *384 + schema: *381 examples: default: value: @@ -53496,7 +53182,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '204': description: Response @@ -53521,7 +53207,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response @@ -53531,7 +53217,7 @@ paths: type: array items: *5 examples: - default: &392 + default: &389 value: - id: 1 slug: octoapp @@ -53590,7 +53276,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: true content: @@ -53624,7 +53310,7 @@ paths: type: array items: *5 examples: - default: *392 + default: *389 '422': *15 x-github: githubCloudOnly: false @@ -53647,7 +53333,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: true content: @@ -53681,7 +53367,7 @@ paths: type: array items: *5 examples: - default: *392 + default: *389 '422': *15 x-github: githubCloudOnly: false @@ -53704,7 +53390,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: true content: @@ -53738,7 +53424,7 @@ paths: type: array items: *5 examples: - default: *392 + default: *389 '422': *15 x-github: githubCloudOnly: false @@ -53762,7 +53448,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response @@ -53794,7 +53480,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: false content: @@ -53855,7 +53541,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: false content: @@ -53916,7 +53602,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: content: application/json: @@ -53977,7 +53663,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 responses: '200': description: Response @@ -54013,7 +53699,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: true content: @@ -54073,7 +53759,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: true content: @@ -54133,7 +53819,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: true content: @@ -54195,7 +53881,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 requestBody: required: true content: @@ -54217,7 +53903,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *390 examples: default: value: @@ -54613,7 +54299,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &392 title: CheckRun description: A check performed on the code of a given code change type: object @@ -54732,8 +54418,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *394 - deployment: &696 + items: *391 + deployment: &693 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -55015,7 +54701,7 @@ paths: parameters: - *310 - *311 - - &396 + - &393 name: check_run_id description: The unique identifier of the check run. in: path @@ -55027,9 +54713,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *392 examples: - default: &397 + default: &394 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -55131,7 +54817,7 @@ paths: parameters: - *310 - *311 - - *396 + - *393 requestBody: required: true content: @@ -55371,9 +55057,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *392 examples: - default: *397 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55395,7 +55081,7 @@ paths: parameters: - *310 - *311 - - *396 + - *393 - *17 - *19 responses: @@ -55492,7 +55178,7 @@ paths: parameters: - *310 - *311 - - *396 + - *393 responses: '201': description: Response @@ -55559,7 +55245,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &400 + schema: &397 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -55623,7 +55309,7 @@ paths: nullable: true pull_requests: type: array - items: *394 + items: *391 nullable: true app: title: GitHub app @@ -55645,12 +55331,12 @@ paths: type: string format: date-time nullable: true - head_commit: &722 + head_commit: &719 title: Simple Commit description: A commit. type: object - properties: *398 - required: *399 + properties: *395 + required: *396 latest_check_runs_count: type: integer check_runs_url: @@ -55678,7 +55364,7 @@ paths: - check_runs_url - pull_requests examples: - default: &401 + default: &398 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -55969,9 +55655,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *400 + schema: *397 examples: - default: *401 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56302,7 +55988,7 @@ paths: parameters: - *310 - *311 - - &402 + - &399 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -56314,9 +56000,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *397 examples: - default: *401 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56341,15 +56027,15 @@ paths: parameters: - *310 - *311 - - *402 - - &454 + - *399 + - &451 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &455 + - &452 name: status description: Returns check runs with the specified `status`. in: query @@ -56388,9 +56074,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *392 examples: - default: &456 + default: &453 value: total_count: 1 check_runs: @@ -56494,7 +56180,7 @@ paths: parameters: - *310 - *311 - - *402 + - *399 responses: '201': description: Response @@ -56529,19 +56215,19 @@ paths: parameters: - *310 - *311 - - *403 - - *404 + - *400 + - *401 - *19 - *17 - - &421 + - &418 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: *405 - - &422 + schema: *402 + - &419 name: pr description: The number of the pull request for the results you want to list. in: query @@ -56566,13 +56252,13 @@ paths: be returned. in: query required: false - schema: *406 + schema: *403 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *407 + schema: *404 responses: '200': description: Response @@ -56588,7 +56274,7 @@ paths: updated_at: *143 url: *56 html_url: *57 - instances_url: *408 + instances_url: *405 state: *148 fixed_at: *144 dismissed_by: @@ -56599,11 +56285,11 @@ paths: required: *21 nullable: true dismissed_at: *145 - dismissed_reason: *409 - dismissed_comment: *410 - rule: *411 - tool: *412 - most_recent_instance: *413 + dismissed_reason: *406 + dismissed_comment: *407 + rule: *408 + tool: *409 + most_recent_instance: *410 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -56726,7 +56412,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &414 + '403': &411 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -56755,7 +56441,7 @@ paths: parameters: - *310 - *311 - - &415 + - &412 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -56769,7 +56455,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &413 type: object properties: number: *54 @@ -56777,7 +56463,7 @@ paths: updated_at: *143 url: *56 html_url: *57 - instances_url: *408 + instances_url: *405 state: *148 fixed_at: *144 dismissed_by: @@ -56788,8 +56474,8 @@ paths: required: *21 nullable: true dismissed_at: *145 - dismissed_reason: *409 - dismissed_comment: *410 + dismissed_reason: *406 + dismissed_comment: *407 rule: type: object properties: @@ -56843,8 +56529,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *412 - most_recent_instance: *413 + tool: *409 + most_recent_instance: *410 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -56940,7 +56626,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *414 + '403': *411 '404': *6 '503': *65 x-github: @@ -56962,7 +56648,7 @@ paths: parameters: - *310 - *311 - - *415 + - *412 requestBody: required: true content: @@ -56977,8 +56663,8 @@ paths: enum: - open - dismissed - dismissed_reason: *409 - dismissed_comment: *410 + dismissed_reason: *406 + dismissed_comment: *407 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -56997,7 +56683,7 @@ paths: description: Response content: application/json: - schema: *416 + schema: *413 examples: default: value: @@ -57073,7 +56759,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &420 + '403': &417 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -57102,13 +56788,13 @@ paths: parameters: - *310 - *311 - - *415 + - *412 responses: '200': description: Response content: application/json: - schema: &417 + schema: &414 type: object properties: status: @@ -57134,13 +56820,13 @@ paths: - description - started_at examples: - default: &418 + default: &415 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &419 + '400': &416 description: Bad Request content: application/json: @@ -57151,7 +56837,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': *414 + '403': *411 '404': *6 '503': *65 x-github: @@ -57178,27 +56864,27 @@ paths: parameters: - *310 - *311 - - *415 + - *412 responses: '200': description: OK content: application/json: - schema: *417 + schema: *414 examples: - default: *418 + default: *415 '202': description: Accepted content: application/json: - schema: *417 + schema: *414 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *419 + '400': *416 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -57232,7 +56918,7 @@ paths: parameters: - *310 - *311 - - *415 + - *412 requestBody: required: false content: @@ -57277,8 +56963,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *419 - '403': *420 + '400': *416 + '403': *417 '404': *6 '422': description: Unprocessable Entity @@ -57304,11 +56990,11 @@ paths: parameters: - *310 - *311 - - *415 + - *412 - *19 - *17 - - *421 - - *422 + - *418 + - *419 responses: '200': description: Response @@ -57316,7 +57002,7 @@ paths: application/json: schema: type: array - items: *413 + items: *410 examples: default: value: @@ -57355,7 +57041,7 @@ paths: end_column: 50 classifications: - source - '403': *414 + '403': *411 '404': *6 '503': *65 x-github: @@ -57391,23 +57077,23 @@ paths: parameters: - *310 - *311 - - *403 - - *404 + - *400 + - *401 - *19 - *17 - - *422 + - *419 - 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: *405 + schema: *402 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &425 + schema: &422 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -57428,23 +57114,23 @@ paths: application/json: schema: type: array - items: &426 + items: &423 type: object properties: - ref: *405 - commit_sha: &434 + ref: *402 + commit_sha: &431 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: *423 + analysis_key: *420 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *424 + category: *421 error: type: string example: error reading field xyz @@ -57468,8 +57154,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *425 - tool: *412 + sarif_id: *422 + tool: *409 deletable: type: boolean warning: @@ -57530,7 +57216,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *414 + '403': *411 '404': *6 '503': *65 x-github: @@ -57580,7 +57266,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *423 examples: response: summary: application/json response @@ -57634,7 +57320,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *414 + '403': *411 '404': *6 '422': description: Response if analysis could not be processed @@ -57775,7 +57461,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': *420 + '403': *417 '404': *6 '503': *65 x-github: @@ -57806,7 +57492,7 @@ paths: application/json: schema: type: array - items: &427 + items: &424 title: CodeQL Database description: A CodeQL database. type: object @@ -57917,7 +57603,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': *414 + '403': *411 '404': *6 '503': *65 x-github: @@ -57959,7 +57645,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: default: value: @@ -57991,9 +57677,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': &463 + '302': &460 description: Found - '403': *414 + '403': *411 '404': *6 '503': *65 x-github: @@ -58026,7 +57712,7 @@ paths: responses: '204': description: Response - '403': *420 + '403': *417 '404': *6 '503': *65 x-github: @@ -58064,7 +57750,7 @@ paths: type: object additionalProperties: false properties: - language: &428 + language: &425 type: string description: The language targeted by the CodeQL query enum: @@ -58143,7 +57829,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &432 + schema: &429 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -58153,7 +57839,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *428 + query_language: *425 query_pack_url: type: string description: The download url for the query pack. @@ -58200,7 +57886,7 @@ paths: items: type: object properties: - repository: &429 + repository: &426 title: Repository Identifier description: Repository Identifier type: object @@ -58236,7 +57922,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &433 + analysis_status: &430 type: string description: The new status of the CodeQL variant analysis repository task. @@ -58268,7 +57954,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &430 + access_mismatch_repos: &427 type: object properties: repository_count: @@ -58282,7 +57968,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: *429 + items: *426 required: - repository_count - repositories @@ -58304,8 +57990,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *430 - over_limit_repos: *430 + no_codeql_db_repos: *427 + over_limit_repos: *427 required: - access_mismatch_repos - not_found_repos @@ -58321,7 +58007,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &431 + value: &428 summary: Default response value: id: 1 @@ -58473,10 +58159,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *431 + value: *428 repository_lists: summary: Response for a successful variant analysis submission - value: *431 + value: *428 '404': *6 '422': description: Unable to process variant analysis submission @@ -58517,9 +58203,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *429 examples: - default: *431 + default: *428 '404': *6 '503': *65 x-github: @@ -58577,7 +58263,7 @@ paths: type: object properties: repository: *53 - analysis_status: *433 + analysis_status: *430 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -58788,7 +58474,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *414 + '403': *411 '404': *6 '503': *65 x-github: @@ -58902,7 +58588,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *420 + '403': *417 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -58982,7 +58668,7 @@ paths: schema: type: object properties: - commit_sha: *434 + commit_sha: *431 ref: type: string description: |- @@ -59040,7 +58726,7 @@ paths: schema: type: object properties: - id: *425 + id: *422 url: type: string description: The REST API URL for checking the status of the upload. @@ -59054,7 +58740,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': *420 + '403': *417 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -59124,7 +58810,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': *414 + '403': *411 '404': description: Not Found if the sarif id does not match any upload '503': *65 @@ -59733,7 +59419,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -59741,7 +59427,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '400': *14 '401': *25 '403': *29 @@ -59871,14 +59557,14 @@ paths: type: integer machines: type: array - items: &647 + items: &644 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *436 - required: *437 + properties: *433 + required: *434 examples: - default: &648 + default: &645 value: total_count: 2 machines: @@ -60089,7 +59775,7 @@ paths: type: integer secrets: type: array - items: &441 + items: &438 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -60109,7 +59795,7 @@ paths: - created_at - updated_at examples: - default: *438 + default: *435 headers: Link: *58 x-github: @@ -60139,9 +59825,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *436 examples: - default: *440 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -60169,9 +59855,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *438 examples: - default: *442 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60318,7 +60004,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &443 + properties: &440 login: type: string example: octocat @@ -60411,7 +60097,7 @@ paths: user_view_type: type: string example: public - required: &444 + required: &441 - avatar_url - events_url - followers_url @@ -60561,7 +60247,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &511 + schema: &508 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -60845,8 +60531,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *443 - required: *444 + properties: *440 + required: *441 nullable: true required: - permission @@ -60912,7 +60598,7 @@ paths: application/json: schema: type: array - items: &445 + items: &442 title: Commit Comment description: Commit Comment type: object @@ -60970,7 +60656,7 @@ paths: - created_at - updated_at examples: - default: &448 + default: &445 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61037,9 +60723,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *442 examples: - default: &449 + default: &446 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61120,7 +60806,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *442 examples: default: value: @@ -61419,9 +61105,9 @@ paths: application/json: schema: type: array - items: *446 + items: *443 examples: - default: &562 + default: &559 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61517,7 +61203,7 @@ paths: parameters: - *310 - *311 - - &447 + - &444 name: commit_sha description: The SHA of the commit. in: path @@ -61591,7 +61277,7 @@ paths: parameters: - *310 - *311 - - *447 + - *444 - *17 - *19 responses: @@ -61601,9 +61287,9 @@ paths: application/json: schema: type: array - items: *445 + items: *442 examples: - default: *448 + default: *445 headers: Link: *58 x-github: @@ -61633,7 +61319,7 @@ paths: parameters: - *310 - *311 - - *447 + - *444 requestBody: required: true content: @@ -61668,9 +61354,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *442 examples: - default: *449 + default: *446 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61700,7 +61386,7 @@ paths: parameters: - *310 - *311 - - *447 + - *444 - *17 - *19 responses: @@ -61710,7 +61396,7 @@ paths: application/json: schema: type: array - items: &553 + items: &550 title: Pull Request Simple description: Pull Request Simple type: object @@ -61816,8 +61502,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *450 - required: *451 + properties: *447 + required: *448 nullable: true active_lock_reason: type: string @@ -61913,7 +61599,7 @@ paths: _links: type: object properties: - comments: &452 + comments: &449 title: Link description: Hypermedia Link type: object @@ -61922,13 +61608,13 @@ paths: type: string required: - href - commits: *452 - statuses: *452 - html: *452 - issue: *452 - review_comments: *452 - review_comment: *452 - self: *452 + commits: *449 + statuses: *449 + html: *449 + issue: *449 + review_comments: *449 + review_comment: *449 + self: *449 required: - comments - commits @@ -61939,7 +61625,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: &555 + auto_merge: &552 title: Auto merge description: The status of auto merging a pull request. type: object @@ -62002,7 +61688,7 @@ paths: - author_association - auto_merge examples: - default: &554 + default: &551 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -62543,7 +62229,7 @@ paths: - *311 - *19 - *17 - - &453 + - &450 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)" @@ -62558,9 +62244,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *443 examples: - default: &540 + default: &537 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -62675,9 +62361,9 @@ paths: parameters: - *310 - *311 - - *453 - - *454 - - *455 + - *450 + - *451 + - *452 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -62711,9 +62397,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *392 examples: - default: *456 + default: *453 headers: Link: *58 x-github: @@ -62740,7 +62426,7 @@ paths: parameters: - *310 - *311 - - *453 + - *450 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -62748,7 +62434,7 @@ paths: schema: type: integer example: 1 - - *454 + - *451 - *17 - *19 responses: @@ -62766,7 +62452,7 @@ paths: type: integer check_suites: type: array - items: *400 + items: *397 examples: default: value: @@ -62968,7 +62654,7 @@ paths: parameters: - *310 - *311 - - *453 + - *450 - *17 - *19 responses: @@ -63168,7 +62854,7 @@ paths: parameters: - *310 - *311 - - *453 + - *450 - *17 - *19 responses: @@ -63178,7 +62864,7 @@ paths: application/json: schema: type: array - items: &618 + items: &615 title: Status description: The status of a commit. type: object @@ -63259,7 +62945,7 @@ paths: site_admin: false headers: Link: *58 - '301': *322 + '301': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63317,20 +63003,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *457 - required: *458 + properties: *454 + required: *455 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &459 + properties: &456 url: type: string format: uri html_url: type: string format: uri - required: &460 + required: &457 - url - html_url nullable: true @@ -63344,26 +63030,26 @@ paths: contributing: title: Community Health File type: object - properties: *459 - required: *460 + properties: *456 + required: *457 nullable: true readme: title: Community Health File type: object - properties: *459 - required: *460 + properties: *456 + required: *457 nullable: true issue_template: title: Community Health File type: object - properties: *459 - required: *460 + properties: *456 + required: *457 nullable: true pull_request_template: title: Community Health File type: object - properties: *459 - required: *460 + properties: *456 + required: *457 nullable: true required: - code_of_conduct @@ -63534,8 +63220,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *446 - merge_base_commit: *446 + base_commit: *443 + merge_base_commit: *443 status: type: string enum: @@ -63555,10 +63241,10 @@ paths: example: 6 commits: type: array - items: *446 + items: *443 files: type: array - items: *461 + items: *458 required: - url - html_url @@ -63988,7 +63674,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &462 + response-if-content-is-a-file: &459 summary: Response if content is a file value: type: file @@ -64120,7 +63806,7 @@ paths: - size - type - url - - &567 + - &564 title: Content File description: Content File type: object @@ -64321,7 +64007,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *462 + response-if-content-is-a-file: *459 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -64390,7 +64076,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *463 + '302': *460 '304': *37 x-github: githubCloudOnly: false @@ -64507,7 +64193,7 @@ paths: description: Response content: application/json: - schema: &464 + schema: &461 title: File Commit description: File Commit type: object @@ -64659,7 +64345,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *461 examples: example-for-creating-a-file: value: @@ -64713,7 +64399,7 @@ paths: schema: oneOf: - *3 - - &493 + - &490 description: Repository rule violation was detected type: object properties: @@ -64734,7 +64420,7 @@ paths: items: type: object properties: - placeholder_id: &610 + placeholder_id: &607 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -64828,7 +64514,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *461 examples: default: value: @@ -65051,7 +64737,7 @@ paths: application/json: schema: type: array - items: &467 + items: &464 type: object description: A Dependabot alert. properties: @@ -65097,7 +64783,7 @@ paths: - unknown - direct - transitive - security_advisory: *465 + security_advisory: *462 security_vulnerability: *52 url: *56 html_url: *57 @@ -65128,7 +64814,7 @@ paths: nullable: true maxLength: 280 fixed_at: *144 - auto_dismissed_at: *466 + auto_dismissed_at: *463 required: - number - state @@ -65360,7 +65046,7 @@ paths: parameters: - *310 - *311 - - &468 + - &465 name: alert_number in: path description: |- @@ -65375,7 +65061,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *464 examples: default: value: @@ -65490,7 +65176,7 @@ paths: parameters: - *310 - *311 - - *468 + - *465 requestBody: required: true content: @@ -65535,7 +65221,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *464 examples: default: value: @@ -65683,7 +65369,7 @@ paths: type: integer secrets: type: array - items: &471 + items: &468 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -65743,9 +65429,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *466 examples: - default: *470 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65773,7 +65459,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *468 examples: default: value: @@ -66354,7 +66040,7 @@ paths: - version - url additionalProperties: false - metadata: &472 + metadata: &469 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -66387,7 +66073,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *472 + metadata: *469 resolved: type: object description: A collection of resolved package dependencies. @@ -66400,7 +66086,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *472 + metadata: *469 relationship: type: string description: A notation of whether a dependency is requested @@ -66570,9 +66256,9 @@ paths: application/json: schema: type: array - items: *473 + items: *470 examples: - default: *474 + default: *471 headers: Link: *58 x-github: @@ -66720,7 +66406,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *470 examples: simple-example: summary: Simple example @@ -66795,7 +66481,7 @@ paths: parameters: - *310 - *311 - - &475 + - &472 name: deployment_id description: deployment_id parameter in: path @@ -66807,7 +66493,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *470 examples: default: value: @@ -66874,7 +66560,7 @@ paths: parameters: - *310 - *311 - - *475 + - *472 responses: '204': description: Response @@ -66898,7 +66584,7 @@ paths: parameters: - *310 - *311 - - *475 + - *472 - *17 - *19 responses: @@ -66908,7 +66594,7 @@ paths: application/json: schema: type: array - items: &476 + items: &473 title: Deployment Status description: The status of a deployment. type: object @@ -67071,7 +66757,7 @@ paths: parameters: - *310 - *311 - - *475 + - *472 requestBody: required: true content: @@ -67146,9 +66832,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *473 examples: - default: &477 + default: &474 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -67206,7 +66892,7 @@ paths: parameters: - *310 - *311 - - *475 + - *472 - name: status_id in: path required: true @@ -67217,9 +66903,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *473 examples: - default: *477 + default: *474 '404': *6 x-github: githubCloudOnly: false @@ -67320,7 +67006,7 @@ paths: type: integer environments: type: array - items: &479 + items: &476 title: Environment description: Details of a deployment environment type: object @@ -67372,7 +67058,7 @@ paths: type: type: string example: wait_timer - wait_timer: &481 + wait_timer: &478 type: integer example: 30 description: The amount of time to delay a job after @@ -67409,7 +67095,7 @@ paths: items: type: object properties: - type: *478 + type: *475 reviewer: anyOf: - *4 @@ -67433,7 +67119,7 @@ paths: - id - node_id - type - deployment_branch_policy: &482 + deployment_branch_policy: &479 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -67551,7 +67237,7 @@ paths: parameters: - *310 - *311 - - &480 + - &477 name: environment_name in: path required: true @@ -67564,9 +67250,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *476 examples: - default: &483 + default: &480 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -67652,7 +67338,7 @@ paths: parameters: - *310 - *311 - - *480 + - *477 requestBody: required: false content: @@ -67661,7 +67347,7 @@ paths: type: object nullable: true properties: - wait_timer: *481 + wait_timer: *478 prevent_self_review: type: boolean example: false @@ -67678,13 +67364,13 @@ paths: items: type: object properties: - type: *478 + type: *475 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *482 + deployment_branch_policy: *479 additionalProperties: false examples: default: @@ -67704,9 +67390,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *476 examples: - default: *483 + default: *480 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -67732,7 +67418,7 @@ paths: parameters: - *310 - *311 - - *480 + - *477 responses: '204': description: Default response @@ -67759,7 +67445,7 @@ paths: parameters: - *310 - *311 - - *480 + - *477 - *17 - *19 responses: @@ -67777,7 +67463,7 @@ paths: example: 2 branch_policies: type: array - items: &484 + items: &481 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -67836,7 +67522,7 @@ paths: parameters: - *310 - *311 - - *480 + - *477 requestBody: required: true content: @@ -67882,9 +67568,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *481 examples: - example-wildcard: &485 + example-wildcard: &482 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -67928,8 +67614,8 @@ paths: parameters: - *310 - *311 - - *480 - - &486 + - *477 + - &483 name: branch_policy_id in: path required: true @@ -67941,9 +67627,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *481 examples: - default: *485 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67964,8 +67650,8 @@ paths: parameters: - *310 - *311 - - *480 - - *486 + - *477 + - *483 requestBody: required: true content: @@ -67993,9 +67679,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *481 examples: - default: *485 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68016,8 +67702,8 @@ paths: parameters: - *310 - *311 - - *480 - - *486 + - *477 + - *483 responses: '204': description: Response @@ -68042,7 +67728,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *480 + - *477 - *311 - *310 responses: @@ -68060,7 +67746,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &487 + items: &484 title: Deployment protection rule description: Deployment protection rule type: object @@ -68079,7 +67765,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &488 + app: &485 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -68178,7 +67864,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *480 + - *477 - *311 - *310 requestBody: @@ -68201,9 +67887,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *487 + schema: *484 examples: - default: &489 + default: &486 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -68238,7 +67924,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *480 + - *477 - *311 - *310 - *19 @@ -68259,7 +67945,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *488 + items: *485 examples: default: value: @@ -68296,8 +67982,8 @@ paths: parameters: - *310 - *311 - - *480 - - &490 + - *477 + - &487 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -68309,9 +67995,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *484 examples: - default: *489 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68332,10 +68018,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *480 + - *477 - *311 - *310 - - *490 + - *487 responses: '204': description: Response @@ -68363,7 +68049,7 @@ paths: parameters: - *310 - *311 - - *480 + - *477 - *17 - *19 responses: @@ -68381,9 +68067,9 @@ paths: type: integer secrets: type: array - items: *361 + items: *358 examples: - default: *362 + default: *359 headers: Link: *58 x-github: @@ -68410,15 +68096,15 @@ paths: parameters: - *310 - *311 - - *480 + - *477 responses: '200': description: Response content: application/json: - schema: *363 + schema: *360 examples: - default: *364 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68442,16 +68128,16 @@ paths: parameters: - *310 - *311 - - *480 + - *477 - *134 responses: '200': description: Response content: application/json: - schema: *361 + schema: *358 examples: - default: *491 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68475,7 +68161,7 @@ paths: parameters: - *310 - *311 - - *480 + - *477 - *134 requestBody: required: true @@ -68535,7 +68221,7 @@ paths: parameters: - *310 - *311 - - *480 + - *477 - *134 responses: '204': @@ -68563,8 +68249,8 @@ paths: parameters: - *310 - *311 - - *480 - - *332 + - *477 + - *329 - *19 responses: '200': @@ -68581,9 +68267,9 @@ paths: type: integer variables: type: array - items: *365 + items: *362 examples: - default: *366 + default: *363 headers: Link: *58 x-github: @@ -68608,7 +68294,7 @@ paths: parameters: - *310 - *311 - - *480 + - *477 requestBody: required: true content: @@ -68662,16 +68348,16 @@ paths: parameters: - *310 - *311 - - *480 + - *477 - *137 responses: '200': description: Response content: application/json: - schema: *365 + schema: *362 examples: - default: *492 + default: *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68695,7 +68381,7 @@ paths: - *310 - *311 - *137 - - *480 + - *477 requestBody: required: true content: @@ -68740,7 +68426,7 @@ paths: - *310 - *311 - *137 - - *480 + - *477 responses: '204': description: Response @@ -69033,9 +68719,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *318 examples: - default: *323 + default: *320 '400': *14 '422': *15 '403': *29 @@ -69117,7 +68803,7 @@ paths: schema: oneOf: - *100 - - *493 + - *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69352,7 +69038,7 @@ paths: description: Response content: application/json: - schema: &494 + schema: &491 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -69568,13 +69254,13 @@ paths: parameters: - *310 - *311 - - *447 + - *444 responses: '200': description: Response content: application/json: - schema: *494 + schema: *491 examples: default: value: @@ -69632,7 +69318,7 @@ paths: parameters: - *310 - *311 - - &495 + - &492 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. @@ -69649,7 +69335,7 @@ paths: application/json: schema: type: array - items: &496 + items: &493 title: Git Reference description: Git references within a repository type: object @@ -69726,15 +69412,15 @@ paths: parameters: - *310 - *311 - - *495 + - *492 responses: '200': description: Response content: application/json: - schema: *496 + schema: *493 examples: - default: &497 + default: &494 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -69793,9 +69479,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *493 examples: - default: *497 + default: *494 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -69823,7 +69509,7 @@ paths: parameters: - *310 - *311 - - *495 + - *492 requestBody: required: true content: @@ -69852,9 +69538,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *493 examples: - default: *497 + default: *494 '422': *15 '409': *47 x-github: @@ -69874,7 +69560,7 @@ paths: parameters: - *310 - *311 - - *495 + - *492 responses: '204': description: Response @@ -69997,7 +69683,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &496 title: Git Tag description: Metadata for a Git tag type: object @@ -70048,7 +69734,7 @@ paths: - sha - type - url - verification: *498 + verification: *495 required: - sha - url @@ -70058,7 +69744,7 @@ paths: - tag - message examples: - default: &500 + default: &497 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -70143,9 +69829,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *496 examples: - default: *500 + default: *497 '404': *6 '409': *47 x-github: @@ -70243,7 +69929,7 @@ paths: description: Response content: application/json: - schema: &501 + schema: &498 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -70363,7 +70049,7 @@ paths: description: Response content: application/json: - schema: *501 + schema: *498 examples: default-response: summary: Default response @@ -70433,7 +70119,7 @@ paths: application/json: schema: type: array - items: &502 + items: &499 title: Webhook description: Webhooks for repositories. type: object @@ -70487,7 +70173,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &730 + last_response: &727 title: Hook Response type: object properties: @@ -70614,9 +70300,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *499 examples: - default: &503 + default: &500 value: type: Repository id: 12345678 @@ -70672,9 +70358,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *499 examples: - default: *503 + default: *500 '404': *6 x-github: githubCloudOnly: false @@ -70741,9 +70427,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *499 examples: - default: *503 + default: *500 '422': *15 '404': *6 x-github: @@ -71047,7 +70733,7 @@ paths: description: Response content: application/json: - schema: &504 + schema: &501 title: Import description: A repository import from an external source. type: object @@ -71146,7 +70832,7 @@ paths: - html_url - authors_url examples: - default: &507 + default: &504 value: vcs: subversion use_lfs: true @@ -71162,7 +70848,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': &505 + '503': &502 description: Unavailable due to service under maintenance. content: application/json: @@ -71240,7 +70926,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *501 examples: default: value: @@ -71265,7 +70951,7 @@ paths: type: string '422': *15 '404': *6 - '503': *505 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71343,7 +71029,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *501 examples: example-1: summary: Example 1 @@ -71391,7 +71077,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': *505 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71419,7 +71105,7 @@ paths: responses: '204': description: Response - '503': *505 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71447,7 +71133,7 @@ paths: parameters: - *310 - *311 - - &670 + - &667 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -71461,7 +71147,7 @@ paths: application/json: schema: type: array - items: &506 + items: &503 title: Porter Author description: Porter Author type: object @@ -71515,7 +71201,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': *505 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71571,7 +71257,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *503 examples: default: value: @@ -71584,7 +71270,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *505 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71650,7 +71336,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *505 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71706,11 +71392,11 @@ paths: description: Response content: application/json: - schema: *504 + schema: *501 examples: - default: *507 + default: *504 '422': *15 - '503': *505 + '503': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71742,8 +71428,8 @@ paths: application/json: schema: *22 examples: - default: *508 - '301': *322 + default: *505 + '301': *319 '404': *6 x-github: githubCloudOnly: false @@ -71777,7 +71463,7 @@ paths: properties: {} additionalProperties: false examples: - default: &510 + default: &507 value: limit: collaborators_only origin: repository @@ -71808,7 +71494,7 @@ paths: required: true content: application/json: - schema: *509 + schema: *506 examples: default: summary: Example request body @@ -71822,7 +71508,7 @@ paths: application/json: schema: *195 examples: - default: *510 + default: *507 '409': description: Response x-github: @@ -71879,9 +71565,9 @@ paths: application/json: schema: type: array - items: *511 + items: *508 examples: - default: &663 + default: &660 value: - id: 1 repository: @@ -72043,7 +71729,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *508 examples: default: value: @@ -72281,7 +71967,7 @@ paths: type: array items: *77 examples: - default: &520 + default: &517 value: - id: 1 node_id: MDU6SXNzdWUx @@ -72429,7 +72115,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *322 + '301': *319 '422': *15 '404': *6 x-github: @@ -72543,7 +72229,7 @@ paths: application/json: schema: *77 examples: - default: &517 + default: &514 value: id: 1 node_id: MDU6SXNzdWUx @@ -72699,7 +72385,7 @@ paths: '422': *15 '503': *65 '404': *6 - '410': *319 + '410': *316 x-github: triggersNotification: true githubCloudOnly: false @@ -72749,9 +72435,9 @@ paths: application/json: schema: type: array - items: *512 + items: *509 examples: - default: &519 + default: &516 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72817,9 +72503,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *509 examples: - default: &513 + default: &510 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72897,9 +72583,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *509 examples: - default: *513 + default: *510 '422': *15 x-github: githubCloudOnly: false @@ -73089,7 +72775,7 @@ paths: application/json: schema: type: array - items: &516 + items: &513 title: Issue Event description: Issue Event type: object @@ -73132,8 +72818,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *514 - required: *515 + properties: *511 + required: *512 nullable: true label: title: Issue Event Label @@ -73452,7 +73138,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *513 examples: default: value: @@ -73645,7 +73331,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *319 + '410': *316 '403': *29 x-github: githubCloudOnly: false @@ -73681,7 +73367,7 @@ paths: parameters: - *310 - *311 - - &518 + - &515 name: issue_number description: The number that identifies the issue. in: path @@ -73695,10 +73381,10 @@ paths: application/json: schema: *77 examples: - default: *517 - '301': *322 + default: *514 + '301': *319 '404': *6 - '410': *319 + '410': *316 '304': *37 x-github: githubCloudOnly: false @@ -73725,7 +73411,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: false content: @@ -73831,13 +73517,13 @@ paths: application/json: schema: *77 examples: - default: *517 + default: *514 '422': *15 '503': *65 '403': *29 - '301': *322 + '301': *319 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73857,7 +73543,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: false content: @@ -73885,7 +73571,7 @@ paths: application/json: schema: *77 examples: - default: *517 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73903,7 +73589,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: content: application/json: @@ -73930,7 +73616,7 @@ paths: application/json: schema: *77 examples: - default: *517 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73954,7 +73640,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - name: assignee in: path required: true @@ -73996,7 +73682,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - *67 - *17 - *19 @@ -74007,13 +73693,13 @@ paths: application/json: schema: type: array - items: *512 + items: *509 examples: - default: *519 + default: *516 headers: Link: *58 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74044,7 +73730,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: true content: @@ -74066,16 +73752,16 @@ paths: description: Response content: application/json: - schema: *512 + schema: *509 examples: - default: *513 + default: *510 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *319 + '410': *316 '422': *15 '404': *6 x-github: @@ -74105,7 +73791,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - *17 - *19 responses: @@ -74117,12 +73803,12 @@ paths: type: array items: *77 examples: - default: *520 + default: *517 headers: Link: *58 - '301': *322 + '301': *319 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74152,7 +73838,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: true content: @@ -74176,15 +73862,15 @@ paths: application/json: schema: *77 examples: - default: *517 + default: *514 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *322 + '301': *319 '403': *29 - '410': *319 + '410': *316 '422': *15 '404': *6 x-github: @@ -74217,7 +73903,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -74231,13 +73917,13 @@ paths: application/json: schema: *77 examples: - default: *517 - '301': *322 + default: *514 + '301': *319 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *319 + '410': *316 x-github: triggersNotification: true githubCloudOnly: false @@ -74265,7 +73951,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - *17 - *19 responses: @@ -74277,12 +73963,12 @@ paths: type: array items: *77 examples: - default: *520 + default: *517 headers: Link: *58 - '301': *322 + '301': *319 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74301,7 +73987,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - *17 - *19 responses: @@ -74315,7 +74001,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &523 + - &520 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -74369,7 +74055,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &521 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -74505,7 +74191,7 @@ paths: - performed_via_github_app - assignee - assigner - - &525 + - &522 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -74556,7 +74242,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &523 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -74607,7 +74293,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &527 + - &524 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -74661,7 +74347,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &528 + - &525 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -74708,7 +74394,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &529 + - &526 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -74755,7 +74441,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &530 + - &527 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -74815,7 +74501,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &531 + - &528 title: Locked Issue Event description: Locked Issue Event type: object @@ -74863,7 +74549,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &532 + - &529 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -74929,7 +74615,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &533 + - &530 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -74995,7 +74681,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &534 + - &531 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -75061,7 +74747,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &535 + - &532 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -75152,7 +74838,7 @@ paths: color: red headers: Link: *58 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75171,7 +74857,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - *17 - *19 responses: @@ -75181,7 +74867,7 @@ paths: application/json: schema: type: array - items: &521 + items: &518 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -75228,7 +74914,7 @@ paths: - color - default examples: - default: &522 + default: &519 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -75246,9 +74932,9 @@ paths: default: false headers: Link: *58 - '301': *322 + '301': *319 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75267,7 +74953,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: false content: @@ -75326,12 +75012,12 @@ paths: application/json: schema: type: array - items: *521 + items: *518 examples: - default: *522 - '301': *322 + default: *519 + '301': *319 '404': *6 - '410': *319 + '410': *316 '422': *15 x-github: githubCloudOnly: false @@ -75350,7 +75036,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: false content: @@ -75410,12 +75096,12 @@ paths: application/json: schema: type: array - items: *521 + items: *518 examples: - default: *522 - '301': *322 + default: *519 + '301': *319 '404': *6 - '410': *319 + '410': *316 '422': *15 x-github: githubCloudOnly: false @@ -75434,13 +75120,13 @@ paths: parameters: - *310 - *311 - - *518 + - *515 responses: '204': description: Response - '301': *322 + '301': *319 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75461,7 +75147,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - name: name in: path required: true @@ -75474,7 +75160,7 @@ paths: application/json: schema: type: array - items: *521 + items: *518 examples: default: value: @@ -75485,9 +75171,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *322 + '301': *319 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75509,7 +75195,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: false content: @@ -75537,7 +75223,7 @@ paths: '204': description: Response '403': *29 - '410': *319 + '410': *316 '404': *6 '422': *15 x-github: @@ -75557,7 +75243,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 responses: '204': description: Response @@ -75589,7 +75275,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 responses: '200': description: Response @@ -75597,10 +75283,10 @@ paths: application/json: schema: *77 examples: - default: *517 - '301': *322 + default: *514 + '301': *319 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75619,7 +75305,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - 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. @@ -75651,7 +75337,7 @@ paths: headers: Link: *58 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75671,7 +75357,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: true content: @@ -75736,7 +75422,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - *306 responses: '204': @@ -75768,7 +75454,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: true content: @@ -75792,7 +75478,7 @@ paths: application/json: schema: *77 examples: - default: *517 + default: *514 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -75827,7 +75513,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - *17 - *19 responses: @@ -75839,11 +75525,11 @@ paths: type: array items: *77 examples: - default: *520 + default: *517 headers: Link: *58 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75873,7 +75559,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: true content: @@ -75902,14 +75588,14 @@ paths: application/json: schema: *77 examples: - default: *517 + default: *514 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *319 + '410': *316 '422': *15 '404': *6 x-github: @@ -75931,7 +75617,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 requestBody: required: true content: @@ -75964,7 +75650,7 @@ paths: application/json: schema: *77 examples: - default: *517 + default: *514 '403': *29 '404': *6 '422': *7 @@ -75988,7 +75674,7 @@ paths: parameters: - *310 - *311 - - *518 + - *515 - *17 - *19 responses: @@ -76003,6 +75689,9 @@ paths: description: Timeline Event type: object anyOf: + - *520 + - *521 + - *522 - *523 - *524 - *525 @@ -76013,9 +75702,6 @@ paths: - *530 - *531 - *532 - - *533 - - *534 - - *535 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -76324,7 +76010,7 @@ paths: type: string comments: type: array - items: &556 + items: &553 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -76533,7 +76219,7 @@ paths: type: string comments: type: array - items: *445 + items: *442 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -76822,7 +76508,7 @@ paths: headers: Link: *58 '404': *6 - '410': *319 + '410': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76850,7 +76536,7 @@ paths: application/json: schema: type: array - items: &536 + items: &533 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -76953,9 +76639,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *533 examples: - default: &537 + default: &534 value: id: 1 key: ssh-rsa AAA... @@ -76991,7 +76677,7 @@ paths: parameters: - *310 - *311 - - &538 + - &535 name: key_id description: The unique identifier of the key. in: path @@ -77003,9 +76689,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *533 examples: - default: *537 + default: *534 '404': *6 x-github: githubCloudOnly: false @@ -77025,7 +76711,7 @@ paths: parameters: - *310 - *311 - - *538 + - *535 responses: '204': description: Response @@ -77056,9 +76742,9 @@ paths: application/json: schema: type: array - items: *521 + items: *518 examples: - default: *522 + default: *519 headers: Link: *58 '404': *6 @@ -77116,9 +76802,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *518 examples: - default: &539 + default: &536 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -77162,9 +76848,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *518 examples: - default: *539 + default: *536 '404': *6 x-github: githubCloudOnly: false @@ -77221,7 +76907,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *518 examples: default: value: @@ -77316,7 +77002,7 @@ paths: parameters: - *310 - *311 - - *421 + - *418 responses: '200': description: Response @@ -77562,9 +77248,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *446 + schema: *443 examples: - default: *540 + default: *537 '204': description: Response when already merged '404': @@ -77631,12 +77317,12 @@ paths: application/json: schema: type: array - items: &541 + items: &538 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *450 - required: *451 + properties: *447 + required: *448 examples: default: value: @@ -77733,9 +77419,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *538 examples: - default: &542 + default: &539 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -77796,7 +77482,7 @@ paths: parameters: - *310 - *311 - - &543 + - &540 name: milestone_number description: The number that identifies the milestone. in: path @@ -77808,9 +77494,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *538 examples: - default: *542 + default: *539 '404': *6 x-github: githubCloudOnly: false @@ -77829,7 +77515,7 @@ paths: parameters: - *310 - *311 - - *543 + - *540 requestBody: required: false content: @@ -77867,9 +77553,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *538 examples: - default: *542 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77887,7 +77573,7 @@ paths: parameters: - *310 - *311 - - *543 + - *540 responses: '204': description: Response @@ -77910,7 +77596,7 @@ paths: parameters: - *310 - *311 - - *543 + - *540 - *17 - *19 responses: @@ -77920,9 +77606,9 @@ paths: application/json: schema: type: array - items: *521 + items: *518 examples: - default: *522 + default: *519 headers: Link: *58 x-github: @@ -77943,10 +77629,10 @@ paths: parameters: - *310 - *311 - - *544 - - *545 + - *541 + - *542 - *67 - - *546 + - *543 - *17 - *19 responses: @@ -77958,7 +77644,7 @@ paths: type: array items: *90 examples: - default: *547 + default: *544 headers: Link: *58 x-github: @@ -78048,7 +77734,7 @@ paths: description: Response content: application/json: - schema: &548 + schema: &545 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -78173,7 +77859,7 @@ paths: - custom_404 - public examples: - default: &549 + default: &546 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -78269,9 +77955,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *545 examples: - default: *549 + default: *546 '422': *15 '409': *47 x-github: @@ -78432,7 +78118,7 @@ paths: application/json: schema: type: array - items: &550 + items: &547 title: Page Build description: Page Build type: object @@ -78579,9 +78265,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *547 examples: - default: &551 + default: &548 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -78641,9 +78327,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *547 examples: - default: *551 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78771,7 +78457,7 @@ paths: parameters: - *310 - *311 - - &552 + - &549 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -78831,7 +78517,7 @@ paths: parameters: - *310 - *311 - - *552 + - *549 responses: '204': *153 '404': *6 @@ -79263,7 +78949,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *319 + '410': *316 '422': *7 x-github: githubCloudOnly: false @@ -79315,11 +79001,11 @@ paths: application/json: schema: *237 examples: - default: *318 + default: *315 '401': *25 '403': *29 '404': *6 - '410': *319 + '410': *316 '422': *7 x-github: githubCloudOnly: false @@ -79506,9 +79192,9 @@ paths: application/json: schema: type: array - items: *553 + items: *550 examples: - default: *554 + default: *551 headers: Link: *58 '304': *37 @@ -79606,7 +79292,7 @@ paths: description: Response content: application/json: - schema: &558 + schema: &555 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -79717,8 +79403,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *450 - required: *451 + properties: *447 + required: *448 nullable: true active_lock_reason: type: string @@ -79802,14 +79488,14 @@ paths: _links: type: object properties: - comments: *452 - commits: *452 - statuses: *452 - html: *452 - issue: *452 - review_comments: *452 - review_comment: *452 - self: *452 + comments: *449 + commits: *449 + statuses: *449 + html: *449 + issue: *449 + review_comments: *449 + review_comment: *449 + self: *449 required: - comments - commits @@ -79820,7 +79506,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: *555 + auto_merge: *552 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -79912,7 +79598,7 @@ paths: - merged_by - review_comments examples: - default: &559 + default: &556 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -80469,9 +80155,9 @@ paths: application/json: schema: type: array - items: *556 + items: *553 examples: - default: &561 + default: &558 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80556,9 +80242,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *553 examples: - default: &557 + default: &554 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80657,9 +80343,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *553 examples: - default: *557 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80862,7 +80548,7 @@ paths: parameters: - *310 - *311 - - &560 + - &557 name: pull_number description: The number that identifies the pull request. in: path @@ -80875,9 +80561,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *558 + schema: *555 examples: - default: *559 + default: *556 '304': *37 '404': *6 '406': @@ -80914,7 +80600,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 requestBody: required: false content: @@ -80956,9 +80642,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *555 examples: - default: *559 + default: *556 '422': *15 '403': *29 x-github: @@ -80982,7 +80668,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 requestBody: required: true content: @@ -81044,7 +80730,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -81052,7 +80738,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '401': *25 '403': *29 '404': *6 @@ -81084,7 +80770,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 - *87 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -81105,9 +80791,9 @@ paths: application/json: schema: type: array - items: *556 + items: *553 examples: - default: *561 + default: *558 headers: Link: *58 x-github: @@ -81142,7 +80828,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 requestBody: required: true content: @@ -81247,7 +80933,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *553 examples: example-for-a-multi-line-comment: value: @@ -81337,7 +81023,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 - *76 requestBody: required: true @@ -81360,7 +81046,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *553 examples: default: value: @@ -81448,7 +81134,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 - *17 - *19 responses: @@ -81458,9 +81144,9 @@ paths: application/json: schema: type: array - items: *446 + items: *443 examples: - default: *562 + default: *559 headers: Link: *58 x-github: @@ -81492,7 +81178,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 - *17 - *19 responses: @@ -81502,7 +81188,7 @@ paths: application/json: schema: type: array - items: *461 + items: *458 examples: default: value: @@ -81542,7 +81228,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 responses: '204': description: Response if pull request has been merged @@ -81567,7 +81253,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 requestBody: required: false content: @@ -81680,7 +81366,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 responses: '200': description: Response @@ -81757,7 +81443,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 requestBody: required: false content: @@ -81794,7 +81480,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *550 examples: default: value: @@ -82332,7 +82018,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 requestBody: required: true content: @@ -82366,7 +82052,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *550 examples: default: value: @@ -82873,7 +82559,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 - *17 - *19 responses: @@ -82883,7 +82569,7 @@ paths: application/json: schema: type: array - items: &563 + items: &560 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -83036,7 +82722,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 requestBody: required: false content: @@ -83122,9 +82808,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *560 examples: - default: &565 + default: &562 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -83189,8 +82875,8 @@ paths: parameters: - *310 - *311 - - *560 - - &564 + - *557 + - &561 name: review_id description: The unique identifier of the review. in: path @@ -83202,9 +82888,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *560 examples: - default: &566 + default: &563 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -83265,8 +82951,8 @@ paths: parameters: - *310 - *311 - - *560 - - *564 + - *557 + - *561 requestBody: required: true content: @@ -83289,7 +82975,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *560 examples: default: value: @@ -83353,16 +83039,16 @@ paths: parameters: - *310 - *311 - - *560 - - *564 + - *557 + - *561 responses: '200': description: Response content: application/json: - schema: *563 + schema: *560 examples: - default: *565 + default: *562 '422': *7 '404': *6 x-github: @@ -83391,8 +83077,8 @@ paths: parameters: - *310 - *311 - - *560 - - *564 + - *557 + - *561 - *17 - *19 responses: @@ -83475,9 +83161,9 @@ paths: _links: type: object properties: - self: *452 - html: *452 - pull_request: *452 + self: *449 + html: *449 + pull_request: *449 required: - self - html @@ -83629,8 +83315,8 @@ paths: parameters: - *310 - *311 - - *560 - - *564 + - *557 + - *561 requestBody: required: true content: @@ -83658,7 +83344,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *560 examples: default: value: @@ -83723,8 +83409,8 @@ paths: parameters: - *310 - *311 - - *560 - - *564 + - *557 + - *561 requestBody: required: true content: @@ -83759,9 +83445,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *560 examples: - default: *566 + default: *563 '404': *6 '422': *7 '403': *29 @@ -83785,7 +83471,7 @@ paths: parameters: - *310 - *311 - - *560 + - *557 requestBody: required: false content: @@ -83862,9 +83548,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *564 examples: - default: &568 + default: &565 value: type: file encoding: base64 @@ -83927,9 +83613,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *564 examples: - default: *568 + default: *565 '404': *6 '422': *15 x-github: @@ -83962,7 +83648,7 @@ paths: application/json: schema: type: array - items: &569 + items: &566 title: Release description: A release. type: object @@ -84033,7 +83719,7 @@ paths: author: *4 assets: type: array - items: &570 + items: &567 title: Release Asset description: Data related to a release. type: object @@ -84297,9 +83983,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *566 examples: - default: &573 + default: &570 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -84406,7 +84092,7 @@ paths: parameters: - *310 - *311 - - &571 + - &568 name: asset_id description: The unique identifier of the asset. in: path @@ -84418,9 +84104,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *567 examples: - default: &572 + default: &569 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 @@ -84455,7 +84141,7 @@ paths: type: User site_admin: false '404': *6 - '302': *463 + '302': *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84473,7 +84159,7 @@ paths: parameters: - *310 - *311 - - *571 + - *568 requestBody: required: false content: @@ -84501,9 +84187,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *567 examples: - default: *572 + default: *569 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84521,7 +84207,7 @@ paths: parameters: - *310 - *311 - - *571 + - *568 responses: '204': description: Response @@ -84638,9 +84324,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *566 examples: - default: *573 + default: *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84671,9 +84357,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *566 examples: - default: *573 + default: *570 '404': *6 x-github: githubCloudOnly: false @@ -84697,7 +84383,7 @@ paths: parameters: - *310 - *311 - - &574 + - &571 name: release_id description: The unique identifier of the release. in: path @@ -84711,9 +84397,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: *569 + schema: *566 examples: - default: *573 + default: *570 '401': description: Unauthorized x-github: @@ -84733,7 +84419,7 @@ paths: parameters: - *310 - *311 - - *574 + - *571 requestBody: required: false content: @@ -84797,9 +84483,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *566 examples: - default: *573 + default: *570 '404': description: Not Found if the discussion category name is invalid content: @@ -84822,7 +84508,7 @@ paths: parameters: - *310 - *311 - - *574 + - *571 responses: '204': description: Response @@ -84844,7 +84530,7 @@ paths: parameters: - *310 - *311 - - *574 + - *571 - *17 - *19 responses: @@ -84854,7 +84540,7 @@ paths: application/json: schema: type: array - items: *570 + items: *567 examples: default: value: @@ -84937,7 +84623,7 @@ paths: parameters: - *310 - *311 - - *574 + - *571 - name: name in: query required: true @@ -84963,7 +84649,7 @@ paths: description: Response for successful upload content: application/json: - schema: *570 + schema: *567 examples: response-for-successful-upload: value: @@ -85020,7 +84706,7 @@ paths: parameters: - *310 - *311 - - *574 + - *571 - 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. @@ -85069,7 +84755,7 @@ paths: parameters: - *310 - *311 - - *574 + - *571 requestBody: required: true content: @@ -85132,7 +84818,7 @@ paths: parameters: - *310 - *311 - - *574 + - *571 - *306 responses: '204': @@ -85159,7 +84845,7 @@ paths: parameters: - *310 - *311 - - *383 + - *380 - *17 - *19 responses: @@ -85176,7 +84862,7 @@ paths: oneOf: - allOf: - *251 - - &575 + - &572 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -85197,64 +84883,64 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *252 - - *575 + - *572 - allOf: - *253 - - *575 + - *572 - allOf: - *254 - - *575 + - *572 - allOf: - - *576 - - *575 + - *573 + - *572 - allOf: - *255 - - *575 + - *572 - allOf: - *256 - - *575 + - *572 - allOf: - *257 - - *575 + - *572 - allOf: - *258 - - *575 + - *572 - allOf: - *259 - - *575 + - *572 - allOf: - *260 - - *575 + - *572 - allOf: - *261 - - *575 + - *572 - allOf: - *262 - - *575 + - *572 - allOf: - *263 - - *575 + - *572 - allOf: - *264 - - *575 + - *572 - allOf: - *265 - - *575 + - *572 - allOf: - *266 - - *575 + - *572 - allOf: - *267 - - *575 + - *572 - allOf: - *268 - - *575 + - *572 - allOf: - *269 - - *575 + - *572 - allOf: - *270 - - *575 + - *572 examples: default: value: @@ -85305,7 +84991,7 @@ paths: schema: type: boolean default: true - - *577 + - *574 responses: '200': description: Response @@ -85390,7 +85076,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *578 + items: *575 required: - name - enforcement @@ -85423,7 +85109,7 @@ paths: application/json: schema: *271 examples: - default: &588 + default: &585 value: id: 42 name: super cool ruleset @@ -85472,10 +85158,10 @@ paths: parameters: - *310 - *311 + - *576 + - *577 + - *578 - *579 - - *580 - - *581 - - *582 - *17 - *19 responses: @@ -85483,9 +85169,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *580 examples: - default: *584 + default: *581 '404': *6 '500': *97 x-github: @@ -85508,15 +85194,15 @@ paths: parameters: - *310 - *311 - - *585 + - *582 responses: '200': description: Response content: application/json: - schema: *586 + schema: *583 examples: - default: *587 + default: *584 '404': *6 '500': *97 x-github: @@ -85567,7 +85253,7 @@ paths: application/json: schema: *271 examples: - default: *588 + default: *585 '404': *6 '500': *97 put: @@ -85620,7 +85306,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *578 + items: *575 examples: default: value: @@ -85650,7 +85336,7 @@ paths: application/json: schema: *271 examples: - default: *588 + default: *585 '404': *6 '500': *97 delete: @@ -85711,7 +85397,7 @@ paths: type: array items: *274 examples: - default: *589 + default: *586 '404': *6 '500': *97 x-github: @@ -85749,7 +85435,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *587 examples: default: value: @@ -85813,8 +85499,8 @@ paths: - *48 - *19 - *17 - - *591 - - *592 + - *588 + - *589 - *279 - *280 - *281 @@ -85826,7 +85512,7 @@ paths: application/json: schema: type: array - items: &596 + items: &593 type: object properties: number: *54 @@ -85845,8 +85531,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *593 - resolution: *594 + state: *590 + resolution: *591 resolved_at: type: string format: date-time @@ -85942,7 +85628,7 @@ paths: pull request. ' - oneOf: *595 + oneOf: *592 nullable: true has_more_locations: type: boolean @@ -86067,14 +85753,14 @@ paths: parameters: - *310 - *311 - - *415 + - *412 - *282 responses: '200': description: Response content: application/json: - schema: *596 + schema: *593 examples: default: value: @@ -86128,7 +85814,7 @@ paths: parameters: - *310 - *311 - - *415 + - *412 requestBody: required: true content: @@ -86136,8 +85822,8 @@ paths: schema: type: object properties: - state: *593 - resolution: *594 + state: *590 + resolution: *591 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -86155,7 +85841,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *593 examples: default: value: @@ -86232,7 +85918,7 @@ paths: parameters: - *310 - *311 - - *415 + - *412 - *19 - *17 responses: @@ -86243,7 +85929,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &753 + items: &750 type: object properties: type: @@ -86269,6 +85955,9 @@ paths: example: commit details: oneOf: + - *594 + - *595 + - *596 - *597 - *598 - *599 @@ -86279,9 +85968,6 @@ paths: - *604 - *605 - *606 - - *607 - - *608 - - *609 examples: default: value: @@ -86376,14 +86062,14 @@ paths: schema: type: object properties: - reason: &611 + reason: &608 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *610 + placeholder_id: *607 required: - reason - placeholder_id @@ -86400,7 +86086,7 @@ paths: schema: type: object properties: - reason: *611 + reason: *608 expire_at: type: string format: date-time @@ -86459,7 +86145,7 @@ paths: properties: incremental_scans: type: array - items: &612 + items: &609 description: Information on a single scan performed by secret scanning on the repository type: object @@ -86485,15 +86171,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *612 + items: *609 backfill_scans: type: array - items: *612 + items: *609 custom_pattern_backfill_scans: type: array items: allOf: - - *612 + - *609 - type: object properties: pattern_name: @@ -86608,9 +86294,9 @@ paths: application/json: schema: type: array - items: *613 + items: *610 examples: - default: *614 + default: *611 '400': *14 '404': *6 x-github: @@ -86794,9 +86480,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *610 examples: - default: &616 + default: &613 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -87134,7 +86820,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *610 examples: default: value: @@ -87283,15 +86969,15 @@ paths: parameters: - *310 - *311 - - *615 + - *612 responses: '200': description: Response content: application/json: - schema: *613 + schema: *610 examples: - default: *616 + default: *613 '403': *29 '404': *6 x-github: @@ -87317,7 +87003,7 @@ paths: parameters: - *310 - *311 - - *615 + - *612 requestBody: required: true content: @@ -87476,10 +87162,10 @@ paths: description: Response content: application/json: - schema: *613 + schema: *610 examples: - default: *616 - add_credit: *616 + default: *613 + add_credit: *613 '403': *29 '404': *6 '422': @@ -87519,7 +87205,7 @@ paths: parameters: - *310 - *311 - - *615 + - *612 responses: '202': *39 '400': *14 @@ -87548,15 +87234,15 @@ paths: parameters: - *310 - *311 - - *615 + - *612 responses: '202': description: Response content: application/json: - schema: *321 + schema: *318 examples: - default: *323 + default: *320 '400': *14 '422': *15 '403': *29 @@ -87692,7 +87378,7 @@ paths: application/json: schema: type: array - items: &617 + items: &614 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -88065,7 +87751,7 @@ paths: application/json: schema: type: array - items: *617 + items: *614 examples: default: value: @@ -88153,7 +87839,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *615 examples: default: value: @@ -88247,7 +87933,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &619 + schema: &616 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -88342,7 +88028,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *616 examples: default: value: @@ -88479,7 +88165,7 @@ paths: application/json: schema: type: array - items: &620 + items: &617 title: Tag protection description: Tag protection type: object @@ -88555,7 +88241,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *617 examples: default: value: @@ -88703,7 +88389,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &618 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -88715,7 +88401,7 @@ paths: required: - names examples: - default: &622 + default: &619 value: names: - octocat @@ -88770,9 +88456,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *618 examples: - default: *622 + default: *619 '404': *6 '422': *7 x-github: @@ -88795,7 +88481,7 @@ paths: parameters: - *310 - *311 - - &623 + - &620 name: per description: The time frame to display results for. in: query @@ -88824,7 +88510,7 @@ paths: example: 128 clones: type: array - items: &624 + items: &621 title: Traffic type: object properties: @@ -89065,7 +88751,7 @@ paths: parameters: - *310 - *311 - - *623 + - *620 responses: '200': description: Response @@ -89084,7 +88770,7 @@ paths: example: 3782 views: type: array - items: *624 + items: *621 required: - uniques - count @@ -89603,9 +89289,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *318 examples: - default: *323 + default: *320 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -89853,7 +89539,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &625 + text_matches: &622 title: Search Result Text Matches type: array items: @@ -90015,7 +89701,7 @@ paths: enum: - author-date - committer-date - - &626 + - &623 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 @@ -90086,7 +89772,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *381 + properties: *378 nullable: true comment_count: type: integer @@ -90106,7 +89792,7 @@ paths: url: type: string format: uri - verification: *498 + verification: *495 required: - author - committer @@ -90125,7 +89811,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *381 + properties: *378 nullable: true parents: type: array @@ -90143,7 +89829,7 @@ paths: type: number node_id: type: string - text_matches: *625 + text_matches: *622 required: - sha - node_id @@ -90283,7 +89969,7 @@ paths: summary: Search issues and pull requests description: |- > [!WARNING] - > **Notice:** Search for issues and pull requests will be overridden by advanced search on September 4, 2025. + > **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025. > You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/). tags: - search @@ -90325,7 +90011,7 @@ paths: - interactions - created - updated - - *626 + - *623 - *17 - *19 - name: advanced_search @@ -90422,11 +90108,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: type: string state_reason: @@ -90443,8 +90129,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *450 - required: *451 + properties: *447 + required: *448 nullable: true comments: type: integer @@ -90458,7 +90144,7 @@ paths: type: string format: date-time nullable: true - text_matches: *625 + text_matches: *622 pull_request: type: object properties: @@ -90640,7 +90326,7 @@ paths: category: search subcategory: search deprecationDate: '2025-03-04' - removalDate: '2025-09-04' + removalDate: '2025-11-04' deprecated: true "/search/labels": get: @@ -90686,7 +90372,7 @@ paths: enum: - created - updated - - *626 + - *623 - *17 - *19 responses: @@ -90730,7 +90416,7 @@ paths: nullable: true score: type: number - text_matches: *625 + text_matches: *622 required: - id - node_id @@ -90815,7 +90501,7 @@ paths: - forks - help-wanted-issues - updated - - *626 + - *623 - *17 - *19 responses: @@ -91054,7 +90740,7 @@ paths: - admin - pull - push - text_matches: *625 + text_matches: *622 temp_clone_token: type: string allow_merge_commit: @@ -91354,7 +91040,7 @@ paths: type: string format: uri nullable: true - text_matches: *625 + text_matches: *622 related: type: array nullable: true @@ -91545,7 +91231,7 @@ paths: - followers - repositories - joined - - *626 + - *623 - *17 - *19 responses: @@ -91649,7 +91335,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *625 + text_matches: *622 blog: type: string nullable: true @@ -91728,7 +91414,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &630 + - &627 name: team_id description: The unique identifier of the team. in: path @@ -91769,7 +91455,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *630 + - *627 requestBody: required: true content: @@ -91869,7 +91555,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *630 + - *627 responses: '204': description: Response @@ -91900,7 +91586,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *630 + - *627 - *48 - *17 - *19 @@ -91913,7 +91599,7 @@ paths: type: array items: *297 examples: - default: *631 + default: *628 headers: Link: *58 x-github: @@ -91942,7 +91628,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *630 + - *627 requestBody: required: true content: @@ -92005,7 +91691,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *630 + - *627 - *299 responses: '200': @@ -92039,7 +91725,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *630 + - *627 - *299 requestBody: required: false @@ -92065,7 +91751,7 @@ paths: application/json: schema: *297 examples: - default: *632 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92090,7 +91776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *630 + - *627 - *299 responses: '204': @@ -92120,7 +91806,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *630 + - *627 - *299 - *48 - *17 @@ -92134,7 +91820,7 @@ paths: type: array items: *300 examples: - default: *633 + default: *630 headers: Link: *58 x-github: @@ -92163,7 +91849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *630 + - *627 - *299 requestBody: required: true @@ -92215,7 +91901,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *630 + - *627 - *299 - *302 responses: @@ -92250,7 +91936,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *630 + - *627 - *299 - *302 requestBody: @@ -92276,7 +91962,7 @@ paths: application/json: schema: *300 examples: - default: *634 + default: *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92301,7 +91987,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *630 + - *627 - *299 - *302 responses: @@ -92332,7 +92018,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *630 + - *627 - *299 - *302 - name: content @@ -92391,7 +92077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *630 + - *627 - *299 - *302 requestBody: @@ -92453,7 +92139,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *630 + - *627 - *299 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -92511,7 +92197,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *630 + - *627 - *299 requestBody: required: true @@ -92570,7 +92256,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *630 + - *627 - *17 - *19 responses: @@ -92608,7 +92294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *630 + - *627 - name: role description: Filters members returned by their role in the team. in: query @@ -92659,7 +92345,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *630 + - *627 - *139 responses: '204': @@ -92696,7 +92382,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *630 + - *627 - *139 responses: '204': @@ -92736,7 +92422,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *630 + - *627 - *139 responses: '204': @@ -92773,7 +92459,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *630 + - *627 - *139 responses: '200': @@ -92782,7 +92468,7 @@ paths: application/json: schema: *307 examples: - response-if-user-is-a-team-maintainer: *635 + response-if-user-is-a-team-maintainer: *632 '404': *6 x-github: githubCloudOnly: false @@ -92815,7 +92501,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *630 + - *627 - *139 requestBody: required: false @@ -92843,7 +92529,7 @@ paths: application/json: schema: *307 examples: - response-if-users-membership-with-team-is-now-pending: *636 + response-if-users-membership-with-team-is-now-pending: *633 '403': description: Forbidden if team synchronization is set up '422': @@ -92877,7 +92563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *630 + - *627 - *139 responses: '204': @@ -92906,7 +92592,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *630 + - *627 - *17 - *19 responses: @@ -92918,7 +92604,7 @@ paths: type: array items: *308 examples: - default: *637 + default: *634 headers: Link: *58 '404': *6 @@ -92944,7 +92630,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *630 + - *627 - *309 responses: '200': @@ -92953,7 +92639,7 @@ paths: application/json: schema: *308 examples: - default: *638 + default: *635 '404': description: Not Found if project is not managed by this team x-github: @@ -92977,7 +92663,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *630 + - *627 - *309 requestBody: required: false @@ -93045,7 +92731,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *630 + - *627 - *309 responses: '204': @@ -93073,7 +92759,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *630 + - *627 - *17 - *19 responses: @@ -93115,7 +92801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *630 + - *627 - *310 - *311 responses: @@ -93123,7 +92809,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *639 + schema: *636 examples: alternative-response-with-extra-repository-information: value: @@ -93274,7 +92960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *630 + - *627 - *310 - *311 requestBody: @@ -93326,7 +93012,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *630 + - *627 - *310 - *311 responses: @@ -93353,7 +93039,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *630 + - *627 - *17 - *19 responses: @@ -93365,7 +93051,7 @@ paths: type: array items: *159 examples: - response-if-child-teams-exist: *640 + response-if-child-teams-exist: *637 headers: Link: *58 '404': *6 @@ -93398,7 +93084,7 @@ paths: application/json: schema: oneOf: - - &642 + - &639 title: Private User description: Private User type: object @@ -93601,7 +93287,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *641 + - *638 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -93754,7 +93440,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *639 examples: default: value: @@ -94100,7 +93786,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -94108,7 +93794,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '401': *25 '403': *29 '404': *6 @@ -94152,7 +93838,7 @@ paths: type: integer secrets: type: array - items: &643 + items: &640 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -94192,7 +93878,7 @@ paths: - visibility - selected_repositories_url examples: - default: *438 + default: *435 headers: Link: *58 x-github: @@ -94268,7 +93954,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *640 examples: default: value: @@ -94414,7 +94100,7 @@ paths: type: array items: *126 examples: - default: *644 + default: *641 '401': *25 '403': *29 '404': *6 @@ -94566,7 +94252,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '304': *37 '500': *97 '401': *25 @@ -94624,7 +94310,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '401': *25 '403': *29 '404': *6 @@ -94681,7 +94367,7 @@ paths: description: Response content: application/json: - schema: &645 + schema: &642 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -94722,7 +94408,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &646 + default: &643 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -94767,9 +94453,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *642 examples: - default: *646 + default: *643 '404': *6 x-github: githubCloudOnly: false @@ -94806,9 +94492,9 @@ paths: type: integer machines: type: array - items: *647 + items: *644 examples: - default: *648 + default: *645 '304': *37 '500': *97 '401': *25 @@ -94887,13 +94573,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *321 + repository: *318 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *436 - required: *437 + properties: *433 + required: *434 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -95675,7 +95361,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '304': *37 '500': *97 '400': *14 @@ -95715,7 +95401,7 @@ paths: application/json: schema: *206 examples: - default: *435 + default: *432 '500': *97 '401': *25 '403': *29 @@ -95747,7 +95433,7 @@ paths: type: array items: *221 examples: - default: &660 + default: &657 value: - id: 197 name: hello_docker @@ -95848,7 +95534,7 @@ paths: application/json: schema: type: array - items: &649 + items: &646 title: Email description: Email type: object @@ -95913,9 +95599,9 @@ paths: application/json: schema: type: array - items: *649 + items: *646 examples: - default: &662 + default: &659 value: - email: octocat@github.com verified: true @@ -95990,7 +95676,7 @@ paths: application/json: schema: type: array - items: *649 + items: *646 examples: default: value: @@ -96246,7 +95932,7 @@ paths: application/json: schema: type: array - items: &650 + items: &647 title: GPG Key description: A unique encryption key type: object @@ -96377,7 +96063,7 @@ paths: - subkeys - revoked examples: - default: &676 + default: &673 value: - id: 3 name: Octocat's GPG Key @@ -96462,9 +96148,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *647 examples: - default: &651 + default: &648 value: id: 3 name: Octocat's GPG Key @@ -96521,7 +96207,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &652 + - &649 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -96533,9 +96219,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *647 examples: - default: *651 + default: *648 '404': *6 '304': *37 '403': *29 @@ -96558,7 +96244,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *652 + - *649 responses: '204': description: Response @@ -96863,7 +96549,7 @@ paths: required: true content: application/json: - schema: *509 + schema: *506 examples: default: value: @@ -97013,7 +96699,7 @@ paths: application/json: schema: type: array - items: &653 + items: &650 title: Key description: Key type: object @@ -97114,9 +96800,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *650 examples: - default: &654 + default: &651 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97149,15 +96835,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *538 + - *535 responses: '200': description: Response content: application/json: - schema: *653 + schema: *650 examples: - default: *654 + default: *651 '404': *6 '304': *37 '403': *29 @@ -97180,7 +96866,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *538 + - *535 responses: '204': description: Response @@ -97213,7 +96899,7 @@ paths: application/json: schema: type: array - items: &655 + items: &652 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -97281,7 +96967,7 @@ paths: - account - plan examples: - default: &656 + default: &653 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -97343,9 +97029,9 @@ paths: application/json: schema: type: array - items: *655 + items: *652 examples: - default: *656 + default: *653 headers: Link: *58 '304': *37 @@ -98340,7 +98026,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *214 - - *657 + - *654 responses: '204': description: Response @@ -98413,7 +98099,7 @@ paths: type: array items: *210 examples: - default: *658 + default: *655 headers: Link: *58 '304': *37 @@ -98455,7 +98141,7 @@ paths: - docker - nuget - container - - *659 + - *656 - *19 - *17 responses: @@ -98467,8 +98153,8 @@ paths: type: array items: *221 examples: - default: *660 - '400': *661 + default: *657 + '400': *658 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98497,7 +98183,7 @@ paths: application/json: schema: *221 examples: - default: &677 + default: &674 value: id: 40201 name: octo-name @@ -98950,9 +98636,9 @@ paths: application/json: schema: type: array - items: *649 + items: *646 examples: - default: *662 + default: *659 headers: Link: *58 '304': *37 @@ -99065,7 +98751,7 @@ paths: type: array items: *60 examples: - default: &669 + default: &666 summary: Default response value: - id: 1296269 @@ -99369,9 +99055,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *318 examples: - default: *323 + default: *320 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -99409,9 +99095,9 @@ paths: application/json: schema: type: array - items: *511 + items: *508 examples: - default: *663 + default: *660 headers: Link: *58 '304': *37 @@ -99490,7 +99176,7 @@ paths: application/json: schema: type: array - items: &664 + items: &661 title: Social account description: Social media account type: object @@ -99505,7 +99191,7 @@ paths: - provider - url examples: - default: &665 + default: &662 value: - provider: twitter url: https://twitter.com/github @@ -99567,9 +99253,9 @@ paths: application/json: schema: type: array - items: *664 + items: *661 examples: - default: *665 + default: *662 '422': *15 '304': *37 '404': *6 @@ -99656,7 +99342,7 @@ paths: application/json: schema: type: array - items: &666 + items: &663 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -99676,7 +99362,7 @@ paths: - title - created_at examples: - default: &688 + default: &685 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99742,9 +99428,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *663 examples: - default: &667 + default: &664 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99775,7 +99461,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: - - &668 + - &665 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -99787,9 +99473,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *663 examples: - default: *667 + default: *664 '404': *6 '304': *37 '403': *29 @@ -99812,7 +99498,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: - - *668 + - *665 responses: '204': description: Response @@ -99841,7 +99527,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &689 + - &686 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 @@ -99866,11 +99552,11 @@ paths: type: array items: *60 examples: - default-response: *669 + default-response: *666 application/vnd.github.v3.star+json: schema: type: array - items: &690 + items: &687 title: Starred Repository description: Starred Repository type: object @@ -100239,10 +99925,10 @@ paths: application/json: schema: oneOf: - - *642 - - *641 + - *639 + - *638 examples: - default-response: &671 + default-response: &668 summary: Default response value: login: octocat @@ -100277,7 +99963,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &672 + response-with-git-hub-plan-information: &669 summary: Response with GitHub plan information value: login: octocat @@ -100337,7 +100023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *670 + - *667 - *17 responses: '200': @@ -100386,11 +100072,11 @@ paths: application/json: schema: oneOf: - - *642 - - *641 + - *639 + - *638 examples: - default-response: *671 - response-with-git-hub-plan-information: *672 + default-response: *668 + response-with-git-hub-plan-information: *669 '404': *6 x-github: githubCloudOnly: false @@ -100439,8 +100125,8 @@ paths: required: - subject_digests examples: - default: *673 - withPredicateType: *674 + default: *670 + withPredicateType: *671 responses: '200': description: Response @@ -100493,7 +100179,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *675 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100695,7 +100381,7 @@ paths: bundle_url: type: string examples: - default: *377 + default: *374 '201': description: Response content: @@ -100736,7 +100422,7 @@ paths: type: array items: *221 examples: - default: *660 + default: *657 '403': *29 '401': *25 x-github: @@ -101140,9 +100826,9 @@ paths: application/json: schema: type: array - items: *650 + items: *647 examples: - default: *676 + default: *673 headers: Link: *58 x-github: @@ -101246,7 +100932,7 @@ paths: application/json: schema: *22 examples: - default: *508 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101331,7 +101017,7 @@ paths: type: array items: *210 examples: - default: *658 + default: *655 headers: Link: *58 x-github: @@ -101370,7 +101056,7 @@ paths: - docker - nuget - container - - *659 + - *656 - *139 - *19 - *17 @@ -101383,10 +101069,10 @@ paths: type: array items: *221 examples: - default: *660 + default: *657 '403': *29 '401': *25 - '400': *661 + '400': *658 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101416,7 +101102,7 @@ paths: application/json: schema: *221 examples: - default: *677 + default: *674 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102015,9 +101701,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *675 examples: - default: *679 + default: *676 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102045,9 +101731,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *677 examples: - default: *681 + default: *678 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102075,9 +101761,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *679 examples: - default: *683 + default: *680 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102098,10 +101784,10 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - *139 + - *681 + - *682 + - *683 - *684 - - *685 - - *686 - - *687 responses: '200': description: Response when getting a billing usage report @@ -102200,9 +101886,9 @@ paths: application/json: schema: type: array - items: *664 + items: *661 examples: - default: *665 + default: *662 headers: Link: *58 x-github: @@ -102232,9 +101918,9 @@ paths: application/json: schema: type: array - items: *666 + items: *663 examples: - default: *688 + default: *685 headers: Link: *58 x-github: @@ -102259,7 +101945,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *139 - - *689 + - *686 - *48 - *17 - *19 @@ -102271,11 +101957,11 @@ paths: schema: anyOf: - type: array - items: *690 + items: *687 - type: array items: *60 examples: - default-response: *669 + default-response: *666 headers: Link: *58 x-github: @@ -102434,7 +102120,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &691 + enterprise: &688 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -102492,7 +102178,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &692 + installation: &689 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -102511,7 +102197,7 @@ x-webhooks: required: - id - node_id - organization: &693 + organization: &690 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -102571,13 +102257,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &694 + repository: &691 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: &724 + properties: &721 id: description: Unique identifier of the repository example: 42 @@ -103260,7 +102946,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &725 + required: &722 - archive_url - assignees_url - blobs_url @@ -103411,10 +103097,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -103490,11 +103176,11 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 - rule: &695 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 + rule: &692 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) @@ -103717,11 +103403,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 - rule: *695 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 + rule: *692 sender: *4 required: - action @@ -103904,11 +103590,11 @@ x-webhooks: - everyone required: - from - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 - rule: *695 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 + rule: *692 sender: *4 required: - action @@ -103992,7 +103678,7 @@ x-webhooks: type: string enum: - completed - check_run: &697 + check_run: &694 title: CheckRun description: A check performed on the code of a given code change type: object @@ -104045,7 +103731,7 @@ x-webhooks: type: string pull_requests: type: array - items: *394 + items: *391 repository: *126 status: example: completed @@ -104083,7 +103769,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *696 + deployment: *693 details_url: example: https://example.com type: string @@ -104133,7 +103819,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *394 + items: *391 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -104168,9 +103854,10 @@ x-webhooks: - output - app - pull_requests - installation: *692 - organization: *693 - repository: *694 + installation: *689 + enterprise: *688 + organization: *690 + repository: *691 sender: *4 required: - check_run @@ -104563,10 +104250,11 @@ x-webhooks: type: string enum: - created - check_run: *697 - installation: *692 - organization: *693 - repository: *694 + check_run: *694 + installation: *689 + enterprise: *688 + organization: *690 + repository: *691 sender: *4 required: - check_run @@ -104962,10 +104650,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *697 - installation: *692 - organization: *693 - repository: *694 + check_run: *694 + installation: *689 + enterprise: *688 + organization: *690 + repository: *691 requested_action: description: The action requested by the user. type: object @@ -105370,10 +105059,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *697 - installation: *692 - organization: *693 - repository: *694 + check_run: *694 + installation: *689 + enterprise: *688 + organization: *690 + repository: *691 sender: *4 required: - check_run @@ -106350,10 +106040,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -107023,10 +106713,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -107690,10 +107380,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -107856,7 +107546,7 @@ x-webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *407 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -108001,20 +107691,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &698 + commit_oid: &695 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: *691 - installation: *692 - organization: *693 - ref: &699 + enterprise: *688 + installation: *689 + organization: *690 + ref: &696 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: *694 + repository: *691 sender: *4 required: - action @@ -108176,7 +107866,7 @@ x-webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *407 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -108406,12 +108096,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *698 - enterprise: *691 - installation: *692 - organization: *693 - ref: *699 - repository: *694 + commit_oid: *695 + enterprise: *688 + installation: *689 + organization: *690 + ref: *696 + repository: *691 sender: *4 required: - action @@ -108506,7 +108196,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *410 + dismissed_comment: *407 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -108674,12 +108364,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *698 - enterprise: *691 - installation: *692 - organization: *693 - ref: *699 - repository: *694 + commit_oid: *695 + enterprise: *688 + installation: *689 + organization: *690 + ref: *696 + repository: *691 sender: *4 required: - action @@ -108842,7 +108532,7 @@ x-webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *407 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -109008,12 +108698,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *698 - enterprise: *691 - installation: *692 - organization: *693 - ref: *699 - repository: *694 + commit_oid: *695 + enterprise: *688 + installation: *689 + organization: *690 + ref: *696 + repository: *691 sender: *4 required: - action @@ -109110,7 +108800,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *410 + dismissed_comment: *407 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -109278,16 +108968,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 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: *694 + repository: *691 sender: *4 required: - action @@ -109381,7 +109071,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *410 + dismissed_comment: *407 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -109521,12 +109211,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *698 - enterprise: *691 - installation: *692 - organization: *693 - ref: *699 - repository: *694 + commit_oid: *695 + enterprise: *688 + installation: *689 + organization: *690 + ref: *696 + repository: *691 sender: *4 required: - action @@ -109783,10 +109473,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -109866,18 +109556,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *693 - pusher_type: &700 + organization: *690 + pusher_type: &697 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &701 + ref: &698 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -109887,7 +109577,7 @@ x-webhooks: enum: - tag - branch - repository: *694 + repository: *691 sender: *4 required: - ref @@ -109970,9 +109660,9 @@ x-webhooks: enum: - created definition: *238 - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 sender: *4 required: - action @@ -110057,9 +109747,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 sender: *4 required: - action @@ -110137,9 +109827,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *238 - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 sender: *4 required: - action @@ -110217,9 +109907,9 @@ x-webhooks: enum: - updated definition: *238 - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 sender: *4 required: - action @@ -110296,10 +109986,10 @@ x-webhooks: type: string enum: - updated - enterprise: *691 - installation: *692 - repository: *694 - organization: *693 + enterprise: *688 + installation: *689 + repository: *691 + organization: *690 sender: *4 new_property_values: type: array @@ -110384,18 +110074,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *691 - installation: *692 - organization: *693 - pusher_type: *700 - ref: *701 + enterprise: *688 + installation: *689 + organization: *690 + pusher_type: *697 + ref: *698 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *694 + repository: *691 sender: *4 required: - ref @@ -110479,11 +110169,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *467 - installation: *692 - organization: *693 - enterprise: *691 - repository: *694 + alert: *464 + installation: *689 + organization: *690 + enterprise: *688 + repository: *691 sender: *4 required: - action @@ -110567,11 +110257,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *467 - installation: *692 - organization: *693 - enterprise: *691 - repository: *694 + alert: *464 + installation: *689 + organization: *690 + enterprise: *688 + repository: *691 sender: *4 required: - action @@ -110655,11 +110345,11 @@ x-webhooks: type: string enum: - created - alert: *467 - installation: *692 - organization: *693 - enterprise: *691 - repository: *694 + alert: *464 + installation: *689 + organization: *690 + enterprise: *688 + repository: *691 sender: *4 required: - action @@ -110741,11 +110431,11 @@ x-webhooks: type: string enum: - dismissed - alert: *467 - installation: *692 - organization: *693 - enterprise: *691 - repository: *694 + alert: *464 + installation: *689 + organization: *690 + enterprise: *688 + repository: *691 sender: *4 required: - action @@ -110827,11 +110517,11 @@ x-webhooks: type: string enum: - fixed - alert: *467 - installation: *692 - organization: *693 - enterprise: *691 - repository: *694 + alert: *464 + installation: *689 + organization: *690 + enterprise: *688 + repository: *691 sender: *4 required: - action @@ -110914,11 +110604,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *467 - installation: *692 - organization: *693 - enterprise: *691 - repository: *694 + alert: *464 + installation: *689 + organization: *690 + enterprise: *688 + repository: *691 sender: *4 required: - action @@ -111000,11 +110690,11 @@ x-webhooks: type: string enum: - reopened - alert: *467 - installation: *692 - organization: *693 - enterprise: *691 - repository: *694 + alert: *464 + installation: *689 + organization: *690 + enterprise: *688 + repository: *691 sender: *4 required: - action @@ -111081,9 +110771,9 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - key: &702 + enterprise: *688 + installation: *689 + key: &699 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -111119,8 +110809,8 @@ x-webhooks: - verified - created_at - read_only - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -111197,11 +110887,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - key: *702 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + key: *699 + organization: *690 + repository: *691 sender: *4 required: - action @@ -111762,12 +111452,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - workflow: &706 + workflow: &703 title: Workflow type: object nullable: true @@ -112493,13 +112183,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *473 + deployment: *470 pull_requests: type: array - items: *558 - repository: *694 - organization: *693 - installation: *692 + items: *555 + repository: *691 + organization: *690 + installation: *689 sender: *4 responses: '200': @@ -112570,7 +112260,7 @@ x-webhooks: type: string enum: - approved - approver: &703 + approver: &700 type: object properties: avatar_url: @@ -112613,11 +112303,11 @@ x-webhooks: type: string comment: type: string - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 - reviewers: &704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 + reviewers: &701 type: array items: type: object @@ -112696,7 +112386,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &705 + workflow_job_run: &702 type: object properties: conclusion: @@ -113427,18 +113117,18 @@ x-webhooks: type: string enum: - rejected - approver: *703 + approver: *700 comment: type: string - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 - reviewers: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 + reviewers: *701 sender: *4 since: type: string - workflow_job_run: *705 + workflow_job_run: *702 workflow_job_runs: type: array items: @@ -114142,13 +113832,13 @@ x-webhooks: type: string enum: - requested - enterprise: *691 + enterprise: *688 environment: type: string - installation: *692 - organization: *693 - repository: *694 - requestor: &711 + installation: *689 + organization: *690 + repository: *691 + requestor: &708 title: User type: object nullable: true @@ -116047,12 +115737,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - workflow: *706 + workflow: *703 workflow_run: title: Deployment Workflow Run type: object @@ -116732,7 +116422,7 @@ x-webhooks: type: string enum: - answered - answer: &709 + answer: &706 type: object properties: author_association: @@ -116889,7 +116579,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &707 + discussion: &704 title: Discussion description: A Discussion in a repository. type: object @@ -117175,7 +116865,7 @@ x-webhooks: - id labels: type: array - items: *521 + items: *518 required: - repository_url - category @@ -117197,10 +116887,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -117327,11 +117017,11 @@ x-webhooks: - from required: - category - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -117414,11 +117104,11 @@ x-webhooks: type: string enum: - closed - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -117500,7 +117190,7 @@ x-webhooks: type: string enum: - created - comment: &708 + comment: &705 type: object properties: author_association: @@ -117657,11 +117347,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -117744,12 +117434,12 @@ x-webhooks: type: string enum: - deleted - comment: *708 - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + comment: *705 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -117844,12 +117534,12 @@ x-webhooks: - from required: - body - comment: *708 - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + comment: *705 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -117933,11 +117623,11 @@ x-webhooks: type: string enum: - created - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118019,11 +117709,11 @@ x-webhooks: type: string enum: - deleted - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118123,11 +117813,11 @@ x-webhooks: type: string required: - from - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118209,10 +117899,10 @@ x-webhooks: type: string enum: - labeled - discussion: *707 - enterprise: *691 - installation: *692 - label: &710 + discussion: *704 + enterprise: *688 + installation: *689 + label: &707 title: Label type: object properties: @@ -118244,8 +117934,8 @@ x-webhooks: - color - default - description - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118328,11 +118018,11 @@ x-webhooks: type: string enum: - locked - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118414,11 +118104,11 @@ x-webhooks: type: string enum: - pinned - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118500,11 +118190,11 @@ x-webhooks: type: string enum: - reopened - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118589,16 +118279,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *707 - new_repository: *694 + new_discussion: *704 + new_repository: *691 required: - new_discussion - new_repository - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118681,10 +118371,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *707 - old_answer: *709 - organization: *693 - repository: *694 + discussion: *704 + old_answer: *706 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118766,12 +118456,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *707 - enterprise: *691 - installation: *692 - label: *710 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + label: *707 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118854,11 +118544,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -118940,11 +118630,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *707 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + discussion: *704 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -119017,7 +118707,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *691 + enterprise: *688 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -119677,9 +119367,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - forkee @@ -119825,9 +119515,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 pages: description: The pages that were updated. type: array @@ -119864,7 +119554,7 @@ x-webhooks: - action - sha - html_url - repository: *694 + repository: *691 sender: *4 required: - pages @@ -119940,10 +119630,10 @@ x-webhooks: type: string enum: - created - enterprise: *691 + enterprise: *688 installation: *22 - organization: *693 - repositories: &712 + organization: *690 + repositories: &709 description: An array of repository objects that the installation can access. type: array @@ -119969,8 +119659,8 @@ x-webhooks: - name - full_name - private - repository: *694 - requester: *711 + repository: *691 + requester: *708 sender: *4 required: - action @@ -120045,11 +119735,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 + enterprise: *688 installation: *22 - organization: *693 - repositories: *712 - repository: *694 + organization: *690 + repositories: *709 + repository: *691 requester: nullable: true sender: *4 @@ -120125,11 +119815,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *691 + enterprise: *688 installation: *22 - organization: *693 - repositories: *712 - repository: *694 + organization: *690 + repositories: *709 + repository: *691 requester: nullable: true sender: *4 @@ -120205,10 +119895,10 @@ x-webhooks: type: string enum: - added - enterprise: *691 + enterprise: *688 installation: *22 - organization: *693 - repositories_added: &713 + organization: *690 + repositories_added: &710 description: An array of repository objects, which were added to the installation. type: array @@ -120254,15 +119944,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *694 - repository_selection: &714 + repository: *691 + repository_selection: &711 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *711 + requester: *708 sender: *4 required: - action @@ -120341,10 +120031,10 @@ x-webhooks: type: string enum: - removed - enterprise: *691 + enterprise: *688 installation: *22 - organization: *693 - repositories_added: *713 + organization: *690 + repositories_added: *710 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -120371,9 +120061,9 @@ x-webhooks: - name - full_name - private - repository: *694 - repository_selection: *714 - requester: *711 + repository: *691 + repository_selection: *711 + requester: *708 sender: *4 required: - action @@ -120452,11 +120142,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *691 + enterprise: *688 installation: *22 - organization: *693 - repositories: *712 - repository: *694 + organization: *690 + repositories: *709 + repository: *691 requester: nullable: true sender: *4 @@ -120634,10 +120324,10 @@ x-webhooks: type: string required: - from - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 target_type: type: string @@ -120716,11 +120406,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *691 + enterprise: *688 installation: *22 - organization: *693 - repositories: *712 - repository: *694 + organization: *690 + repositories: *709 + repository: *691 requester: nullable: true sender: *4 @@ -120972,8 +120662,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121767,8 +121457,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -122117,8 +121807,8 @@ x-webhooks: - state - locked - assignee - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -122198,7 +121888,7 @@ x-webhooks: type: string enum: - deleted - comment: &715 + comment: &712 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -122363,8 +122053,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -123154,8 +122844,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -123506,8 +123196,8 @@ x-webhooks: - state - locked - assignee - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -123587,7 +123277,7 @@ x-webhooks: type: string enum: - edited - changes: &745 + changes: &742 description: The changes to the comment. type: object properties: @@ -123599,9 +123289,9 @@ x-webhooks: type: string required: - from - comment: *715 - enterprise: *691 - installation: *692 + comment: *712 + enterprise: *688 + installation: *689 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -124394,8 +124084,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124744,8 +124434,8 @@ x-webhooks: - state - locked - assignee - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -124835,9 +124525,9 @@ x-webhooks: type: number blocking_issue: *77 blocking_issue_repo: *60 - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -124931,9 +124621,9 @@ x-webhooks: type: number blocking_issue: *77 blocking_issue_repo: *60 - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -125026,9 +124716,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *77 - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -125122,9 +124812,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *77 - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -125209,10 +124899,10 @@ x-webhooks: type: string enum: - assigned - assignee: *711 - enterprise: *691 - installation: *692 - issue: &718 + assignee: *708 + enterprise: *688 + installation: *689 + issue: &715 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -126001,11 +125691,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126122,8 +125812,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -126203,8 +125893,8 @@ x-webhooks: type: string enum: - closed - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -126998,11 +126688,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127254,8 +126944,8 @@ x-webhooks: required: - state - closed_at - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -127334,8 +127024,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128120,11 +127810,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128240,8 +127930,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -128320,8 +128010,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129128,11 +128818,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129227,7 +128917,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &716 + milestone: &713 title: Milestone description: A collection of related issues and pull requests. type: object @@ -129365,8 +129055,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -129465,8 +129155,8 @@ x-webhooks: type: string required: - from - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130255,11 +129945,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130376,9 +130066,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *710 - organization: *693 - repository: *694 + label: *707 + organization: *690 + repository: *691 sender: *4 required: - action @@ -130458,8 +130148,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131247,11 +130937,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131368,9 +131058,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *710 - organization: *693 - repository: *694 + label: *707 + organization: *690 + repository: *691 sender: *4 required: - action @@ -131450,8 +131140,8 @@ x-webhooks: type: string enum: - locked - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132263,11 +131953,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132361,8 +132051,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -132441,8 +132131,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133248,11 +132938,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133346,9 +133036,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *716 - organization: *693 - repository: *694 + milestone: *713 + organization: *690 + repository: *691 sender: *4 required: - action @@ -134216,11 +133906,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134782,8 +134472,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135572,11 +135262,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135692,8 +135382,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -135773,9 +135463,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *691 - installation: *692 - issue: &717 + enterprise: *688 + installation: *689 + issue: &714 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -136558,11 +136248,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136678,8 +136368,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -136758,8 +136448,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137569,11 +137259,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137668,8 +137358,8 @@ x-webhooks: user_view_type: type: string type: *200 - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -138535,11 +138225,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139123,11 +138813,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *691 - installation: *692 - issue: *717 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + issue: *714 + organization: *690 + repository: *691 sender: *4 required: - action @@ -139207,12 +138897,12 @@ x-webhooks: type: string enum: - typed - enterprise: *691 - installation: *692 - issue: *718 + enterprise: *688 + installation: *689 + issue: *715 type: *200 - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -139293,7 +138983,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &748 + assignee: &745 title: User type: object nullable: true @@ -139363,11 +139053,11 @@ x-webhooks: required: - login - id - enterprise: *691 - installation: *692 - issue: *718 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + issue: *715 + organization: *690 + repository: *691 sender: *4 required: - action @@ -139446,12 +139136,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *691 - installation: *692 - issue: *718 - label: *710 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + issue: *715 + label: *707 + organization: *690 + repository: *691 sender: *4 required: - action @@ -139531,8 +139221,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140342,11 +140032,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *624 + issue_dependencies_summary: *625 issue_field_values: type: array - items: *629 + items: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140440,8 +140130,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -140521,11 +140211,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *691 - installation: *692 - issue: *717 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + issue: *714 + organization: *690 + repository: *691 sender: *4 required: - action @@ -140604,12 +140294,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *691 - installation: *692 - issue: *718 + enterprise: *688 + installation: *689 + issue: *715 type: *200 - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -140689,11 +140379,11 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - label: *710 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + label: *707 + organization: *690 + repository: *691 sender: *4 required: - action @@ -140771,11 +140461,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - label: *710 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + label: *707 + organization: *690 + repository: *691 sender: *4 required: - action @@ -140885,11 +140575,11 @@ x-webhooks: type: string required: - from - enterprise: *691 - installation: *692 - label: *710 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + label: *707 + organization: *690 + repository: *691 sender: *4 required: - action @@ -140971,9 +140661,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *691 - installation: *692 - marketplace_purchase: &719 + enterprise: *688 + installation: *689 + marketplace_purchase: &716 title: Marketplace Purchase type: object required: @@ -141056,8 +140746,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *693 - previous_marketplace_purchase: &720 + organization: *690 + previous_marketplace_purchase: &717 title: Marketplace Purchase type: object properties: @@ -141137,7 +140827,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *694 + repository: *691 sender: *4 required: - action @@ -141217,10 +140907,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *691 - installation: *692 - marketplace_purchase: *719 - organization: *693 + enterprise: *688 + installation: *689 + marketplace_purchase: *716 + organization: *690 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141303,7 +140993,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *694 + repository: *691 sender: *4 required: - action @@ -141385,10 +141075,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *691 - installation: *692 - marketplace_purchase: *719 - organization: *693 + enterprise: *688 + installation: *689 + marketplace_purchase: *716 + organization: *690 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141470,7 +141160,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *694 + repository: *691 sender: *4 required: - action @@ -141551,8 +141241,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 marketplace_purchase: title: Marketplace Purchase type: object @@ -141634,9 +141324,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *693 - previous_marketplace_purchase: *720 - repository: *694 + organization: *690 + previous_marketplace_purchase: *717 + repository: *691 sender: *4 required: - action @@ -141716,12 +141406,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *691 - installation: *692 - marketplace_purchase: *719 - organization: *693 - previous_marketplace_purchase: *720 - repository: *694 + enterprise: *688 + installation: *689 + marketplace_purchase: *716 + organization: *690 + previous_marketplace_purchase: *717 + repository: *691 sender: *4 required: - action @@ -141823,11 +141513,11 @@ x-webhooks: type: string required: - to - enterprise: *691 - installation: *692 - member: *711 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + member: *708 + organization: *690 + repository: *691 sender: *4 required: - action @@ -141927,11 +141617,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *691 - installation: *692 - member: *711 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + member: *708 + organization: *690 + repository: *691 sender: *4 required: - action @@ -142010,11 +141700,11 @@ x-webhooks: type: string enum: - removed - enterprise: *691 - installation: *692 - member: *711 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + member: *708 + organization: *690 + repository: *691 sender: *4 required: - action @@ -142092,11 +141782,11 @@ x-webhooks: type: string enum: - added - enterprise: *691 - installation: *692 - member: *711 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + member: *708 + organization: *690 + repository: *691 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142172,7 +141862,7 @@ x-webhooks: required: - login - id - team: &721 + team: &718 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -142362,11 +142052,11 @@ x-webhooks: type: string enum: - removed - enterprise: *691 - installation: *692 - member: *711 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + member: *708 + organization: *690 + repository: *691 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142443,7 +142133,7 @@ x-webhooks: required: - login - id - team: *721 + team: *718 required: - action - scope @@ -142525,8 +142215,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *692 - merge_group: &723 + installation: *689 + merge_group: &720 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -142545,15 +142235,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *722 + head_commit: *719 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -142639,10 +142329,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *692 - merge_group: *723 - organization: *693 - repository: *694 + installation: *689 + merge_group: *720 + organization: *690 + repository: *691 sender: *4 required: - action @@ -142715,7 +142405,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 + enterprise: *688 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -142824,16 +142514,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *692 - organization: *693 + installation: *689 + organization: *690 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: *724 - required: *725 + properties: *721 + required: *722 nullable: true sender: *4 required: @@ -142914,11 +142604,11 @@ x-webhooks: type: string enum: - closed - enterprise: *691 - installation: *692 - milestone: *716 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + milestone: *713 + organization: *690 + repository: *691 sender: *4 required: - action @@ -142997,9 +142687,9 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - milestone: &726 + enterprise: *688 + installation: *689 + milestone: &723 title: Milestone description: A collection of related issues and pull requests. type: object @@ -143136,8 +142826,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -143216,11 +142906,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - milestone: *716 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + milestone: *713 + organization: *690 + repository: *691 sender: *4 required: - action @@ -143330,11 +143020,11 @@ x-webhooks: type: string required: - from - enterprise: *691 - installation: *692 - milestone: *716 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + milestone: *713 + organization: *690 + repository: *691 sender: *4 required: - action @@ -143414,11 +143104,11 @@ x-webhooks: type: string enum: - opened - enterprise: *691 - installation: *692 - milestone: *726 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + milestone: *723 + organization: *690 + repository: *691 sender: *4 required: - action @@ -143497,11 +143187,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *711 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + blocked_user: *708 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -143580,11 +143270,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *711 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + blocked_user: *708 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -143663,9 +143353,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - membership: &727 + enterprise: *688 + installation: *689 + membership: &724 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -143772,8 +143462,8 @@ x-webhooks: - role - organization_url - user - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 required: - action @@ -143851,11 +143541,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *691 - installation: *692 - membership: *727 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + membership: *724 + organization: *690 + repository: *691 sender: *4 required: - action @@ -143934,8 +143624,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -144051,10 +143741,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 - user: *711 + user: *708 required: - action - invitation @@ -144132,11 +143822,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *691 - installation: *692 - membership: *727 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + membership: *724 + organization: *690 + repository: *691 sender: *4 required: - action @@ -144223,11 +143913,11 @@ x-webhooks: properties: from: type: string - enterprise: *691 - installation: *692 - membership: *727 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + membership: *724 + organization: *690 + repository: *691 sender: *4 required: - action @@ -144303,9 +143993,9 @@ x-webhooks: type: string enum: - published - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 package: description: Information about the package. type: object @@ -144804,7 +144494,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &728 + items: &725 title: Ruby Gems metadata type: object properties: @@ -144899,7 +144589,7 @@ x-webhooks: - owner - package_version - registry - repository: *694 + repository: *691 sender: *4 required: - action @@ -144975,9 +144665,9 @@ x-webhooks: type: string enum: - updated - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 package: description: Information about the package. type: object @@ -145330,7 +145020,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *728 + items: *725 source_url: type: string format: uri @@ -145400,7 +145090,7 @@ x-webhooks: - owner - package_version - registry - repository: *694 + repository: *691 sender: *4 required: - action @@ -145577,12 +145267,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *691 + enterprise: *688 id: type: integer - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - id @@ -145659,7 +145349,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &729 + personal_access_token_request: &726 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -145805,10 +145495,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *691 - organization: *693 + enterprise: *688 + organization: *690 sender: *4 - installation: *692 + installation: *689 required: - action - personal_access_token_request @@ -145885,11 +145575,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *729 - enterprise: *691 - organization: *693 + personal_access_token_request: *726 + enterprise: *688 + organization: *690 sender: *4 - installation: *692 + installation: *689 required: - action - personal_access_token_request @@ -145965,11 +145655,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *729 - enterprise: *691 - organization: *693 + personal_access_token_request: *726 + enterprise: *688 + organization: *690 sender: *4 - installation: *692 + installation: *689 required: - action - personal_access_token_request @@ -146044,11 +145734,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *729 - organization: *693 - enterprise: *691 + personal_access_token_request: *726 + organization: *690 + enterprise: *688 sender: *4 - installation: *692 + installation: *689 required: - action - personal_access_token_request @@ -146153,7 +145843,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *730 + last_response: *727 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -146185,8 +145875,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 zen: description: Random string of GitHub zen. @@ -146431,10 +146121,10 @@ x-webhooks: - from required: - note - enterprise: *691 - installation: *692 - organization: *693 - project_card: &731 + enterprise: *688 + installation: *689 + organization: *690 + project_card: &728 title: Project Card type: object properties: @@ -146553,7 +146243,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *694 + repository: *691 sender: *4 required: - action @@ -146634,11 +146324,11 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 - project_card: *731 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + project_card: *728 + repository: *691 sender: *4 required: - action @@ -146718,9 +146408,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 project_card: title: Project Card type: object @@ -146848,8 +146538,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: *724 - required: *725 + properties: *721 + required: *722 nullable: true sender: *4 required: @@ -146943,11 +146633,11 @@ x-webhooks: - from required: - note - enterprise: *691 - installation: *692 - organization: *693 - project_card: *731 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + project_card: *728 + repository: *691 sender: *4 required: - action @@ -147041,9 +146731,9 @@ x-webhooks: - from required: - column_id - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 project_card: allOf: - title: Project Card @@ -147233,7 +146923,7 @@ x-webhooks: type: string required: - after_id - repository: *694 + repository: *691 sender: *4 required: - action @@ -147313,10 +147003,10 @@ x-webhooks: type: string enum: - closed - enterprise: *691 - installation: *692 - organization: *693 - project: &733 + enterprise: *688 + installation: *689 + organization: *690 + project: &730 title: Project type: object properties: @@ -147440,7 +147130,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *694 + repository: *691 sender: *4 required: - action @@ -147520,10 +147210,10 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 - project_column: &732 + enterprise: *688 + installation: *689 + organization: *690 + project_column: &729 title: Project Column type: object properties: @@ -147562,7 +147252,7 @@ x-webhooks: - name - created_at - updated_at - repository: *694 + repository: *691 sender: *4 required: - action @@ -147641,18 +147331,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - organization: *693 - project_column: *732 + enterprise: *688 + installation: *689 + organization: *690 + project_column: *729 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: *724 - required: *725 + properties: *721 + required: *722 nullable: true sender: *4 required: @@ -147742,11 +147432,11 @@ x-webhooks: type: string required: - from - enterprise: *691 - installation: *692 - organization: *693 - project_column: *732 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + project_column: *729 + repository: *691 sender: *4 required: - action @@ -147826,11 +147516,11 @@ x-webhooks: type: string enum: - moved - enterprise: *691 - installation: *692 - organization: *693 - project_column: *732 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + project_column: *729 + repository: *691 sender: *4 required: - action @@ -147910,11 +147600,11 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 - project: *733 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + project: *730 + repository: *691 sender: *4 required: - action @@ -147994,18 +147684,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - organization: *693 - project: *733 + enterprise: *688 + installation: *689 + organization: *690 + project: *730 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: *724 - required: *725 + properties: *721 + required: *722 nullable: true sender: *4 required: @@ -148107,11 +147797,11 @@ x-webhooks: type: string required: - from - enterprise: *691 - installation: *692 - organization: *693 - project: *733 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + project: *730 + repository: *691 sender: *4 required: - action @@ -148190,11 +147880,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *691 - installation: *692 - organization: *693 - project: *733 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + project: *730 + repository: *691 sender: *4 required: - action @@ -148275,9 +147965,9 @@ x-webhooks: type: string enum: - closed - installation: *692 - organization: *693 - projects_v2: &734 + installation: *689 + organization: *690 + projects_v2: &731 title: Projects v2 Project description: A projects v2 project type: object @@ -148334,7 +148024,7 @@ x-webhooks: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &739 + properties: &736 id: type: number node_id: @@ -148372,7 +148062,7 @@ x-webhooks: example: The project is off to a great start! type: string nullable: true - required: &740 + required: &737 - id - node_id - created_at @@ -148476,9 +148166,9 @@ x-webhooks: type: string enum: - created - installation: *692 - organization: *693 - projects_v2: *734 + installation: *689 + organization: *690 + projects_v2: *731 sender: *4 required: - action @@ -148559,9 +148249,9 @@ x-webhooks: type: string enum: - deleted - installation: *692 - organization: *693 - projects_v2: *734 + installation: *689 + organization: *690 + projects_v2: *731 sender: *4 required: - action @@ -148678,9 +148368,9 @@ x-webhooks: type: string to: type: string - installation: *692 - organization: *693 - projects_v2: *734 + installation: *689 + organization: *690 + projects_v2: *731 sender: *4 required: - action @@ -148763,7 +148453,7 @@ x-webhooks: type: string enum: - archived - changes: &738 + changes: &735 type: object properties: archived_at: @@ -148777,9 +148467,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *692 - organization: *693 - projects_v2_item: &735 + installation: *689 + organization: *690 + projects_v2_item: &732 title: Projects v2 Item description: An item belonging to a project type: object @@ -148913,9 +148603,9 @@ x-webhooks: nullable: true to: type: string - installation: *692 - organization: *693 - projects_v2_item: *735 + installation: *689 + organization: *690 + projects_v2_item: *732 sender: *4 required: - action @@ -148997,9 +148687,9 @@ x-webhooks: type: string enum: - created - installation: *692 - organization: *693 - projects_v2_item: *735 + installation: *689 + organization: *690 + projects_v2_item: *732 sender: *4 required: - action @@ -149080,9 +148770,9 @@ x-webhooks: type: string enum: - deleted - installation: *692 - organization: *693 - projects_v2_item: *735 + installation: *689 + organization: *690 + projects_v2_item: *732 sender: *4 required: - action @@ -149188,7 +148878,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &736 + - &733 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -149206,7 +148896,7 @@ x-webhooks: required: - id - name - - &737 + - &734 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -149233,8 +148923,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *736 - - *737 + - *733 + - *734 required: - field_value - type: object @@ -149250,9 +148940,9 @@ x-webhooks: nullable: true required: - body - installation: *692 - organization: *693 - projects_v2_item: *735 + installation: *689 + organization: *690 + projects_v2_item: *732 sender: *4 required: - action @@ -149347,9 +149037,9 @@ x-webhooks: to: type: string nullable: true - installation: *692 - organization: *693 - projects_v2_item: *735 + installation: *689 + organization: *690 + projects_v2_item: *732 sender: *4 required: - action @@ -149432,10 +149122,10 @@ x-webhooks: type: string enum: - restored - changes: *738 - installation: *692 - organization: *693 - projects_v2_item: *735 + changes: *735 + installation: *689 + organization: *690 + projects_v2_item: *732 sender: *4 required: - action @@ -149517,9 +149207,9 @@ x-webhooks: type: string enum: - reopened - installation: *692 - organization: *693 - projects_v2: *734 + installation: *689 + organization: *690 + projects_v2: *731 sender: *4 required: - action @@ -149600,14 +149290,14 @@ x-webhooks: type: string enum: - created - installation: *692 - organization: *693 - projects_v2_status_update: &741 + installation: *689 + organization: *690 + projects_v2_status_update: &738 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *739 - required: *740 + properties: *736 + required: *737 sender: *4 required: - action @@ -149688,9 +149378,9 @@ x-webhooks: type: string enum: - deleted - installation: *692 - organization: *693 - projects_v2_status_update: *741 + installation: *689 + organization: *690 + projects_v2_status_update: *738 sender: *4 required: - action @@ -149826,9 +149516,9 @@ x-webhooks: type: string format: date nullable: true - installation: *692 - organization: *693 - projects_v2_status_update: *741 + installation: *689 + organization: *690 + projects_v2_status_update: *738 sender: *4 required: - action @@ -149899,10 +149589,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - repository @@ -149979,13 +149669,13 @@ x-webhooks: type: string enum: - assigned - assignee: *711 - enterprise: *691 - installation: *692 - number: &742 + assignee: *708 + enterprise: *688 + installation: *689 + number: &739 description: The pull request number. type: integer - organization: *693 + organization: *690 pull_request: title: Pull Request type: object @@ -152268,7 +151958,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 sender: *4 required: - action @@ -152350,11 +152040,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 number: type: integer - organization: *693 + organization: *690 pull_request: title: Pull Request type: object @@ -154632,7 +154322,7 @@ x-webhooks: - draft reason: type: string - repository: *694 + repository: *691 sender: *4 required: - action @@ -154714,11 +154404,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 number: type: integer - organization: *693 + organization: *690 pull_request: title: Pull Request type: object @@ -156996,7 +156686,7 @@ x-webhooks: - draft reason: type: string - repository: *694 + repository: *691 sender: *4 required: - action @@ -157078,13 +156768,13 @@ x-webhooks: type: string enum: - closed - enterprise: *691 - installation: *692 - number: *742 - organization: *693 - pull_request: &743 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 + pull_request: &740 allOf: - - *558 + - *555 - type: object properties: allow_auto_merge: @@ -157146,7 +156836,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *694 + repository: *691 sender: *4 required: - action @@ -157227,12 +156917,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *691 - installation: *692 - number: *742 - organization: *693 - pull_request: *743 - repository: *694 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 + pull_request: *740 + repository: *691 sender: *4 required: - action @@ -157312,11 +157002,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *691 - milestone: *541 - number: *742 - organization: *693 - pull_request: &744 + enterprise: *688 + milestone: *538 + number: *739 + organization: *690 + pull_request: &741 title: Pull Request type: object properties: @@ -159579,7 +159269,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 sender: *4 required: - action @@ -159658,11 +159348,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 number: type: integer - organization: *693 + organization: *690 pull_request: title: Pull Request type: object @@ -161944,7 +161634,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *694 + repository: *691 sender: *4 required: - action @@ -162068,12 +161758,12 @@ x-webhooks: type: string required: - from - enterprise: *691 - installation: *692 - number: *742 - organization: *693 - pull_request: *743 - repository: *694 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 + pull_request: *740 + repository: *691 sender: *4 required: - action @@ -162153,11 +161843,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 number: type: integer - organization: *693 + organization: *690 pull_request: title: Pull Request type: object @@ -164424,7 +164114,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 sender: *4 required: - action @@ -164504,11 +164194,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *691 - installation: *692 - label: *710 - number: *742 - organization: *693 + enterprise: *688 + installation: *689 + label: *707 + number: *739 + organization: *690 pull_request: title: Pull Request type: object @@ -166790,7 +166480,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 sender: *4 required: - action @@ -166871,10 +166561,10 @@ x-webhooks: type: string enum: - locked - enterprise: *691 - installation: *692 - number: *742 - organization: *693 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 pull_request: title: Pull Request type: object @@ -169154,7 +168844,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 sender: *4 required: - action @@ -169234,12 +168924,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *691 - milestone: *541 - number: *742 - organization: *693 - pull_request: *744 - repository: *694 + enterprise: *688 + milestone: *538 + number: *739 + organization: *690 + pull_request: *741 + repository: *691 sender: *4 required: - action @@ -169318,12 +169008,12 @@ x-webhooks: type: string enum: - opened - enterprise: *691 - installation: *692 - number: *742 - organization: *693 - pull_request: *743 - repository: *694 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 + pull_request: *740 + repository: *691 sender: *4 required: - action @@ -169404,12 +169094,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *691 - installation: *692 - number: *742 - organization: *693 - pull_request: *743 - repository: *694 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 + pull_request: *740 + repository: *691 sender: *4 required: - action @@ -169489,12 +169179,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *691 - installation: *692 - number: *742 - organization: *693 - pull_request: *743 - repository: *694 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 + pull_request: *740 + repository: *691 sender: *4 required: - action @@ -169860,9 +169550,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 pull_request: type: object properties: @@ -172032,7 +171722,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *694 + repository: *691 sender: *4 required: - action @@ -172112,7 +171802,7 @@ x-webhooks: type: string enum: - deleted - comment: &746 + comment: &743 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -172397,9 +172087,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 pull_request: type: object properties: @@ -174557,7 +174247,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *694 + repository: *691 sender: *4 required: - action @@ -174637,11 +174327,11 @@ x-webhooks: type: string enum: - edited - changes: *745 - comment: *746 - enterprise: *691 - installation: *692 - organization: *693 + changes: *742 + comment: *743 + enterprise: *688 + installation: *689 + organization: *690 pull_request: type: object properties: @@ -176802,7 +176492,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *694 + repository: *691 sender: *4 required: - action @@ -176883,9 +176573,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 pull_request: title: Simple Pull Request type: object @@ -179058,7 +178748,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *694 + repository: *691 review: description: The review that was affected. type: object @@ -179305,9 +178995,9 @@ x-webhooks: type: string required: - from - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 pull_request: title: Simple Pull Request type: object @@ -181361,8 +181051,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *694 - review: &747 + repository: *691 + review: &744 description: The review that was affected. type: object properties: @@ -181595,12 +181285,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 number: description: The pull request number. type: integer - organization: *693 + organization: *690 pull_request: title: Pull Request type: object @@ -183883,7 +183573,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 requested_reviewer: title: User type: object @@ -183967,12 +183657,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 number: description: The pull request number. type: integer - organization: *693 + organization: *690 pull_request: title: Pull Request type: object @@ -186262,7 +185952,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 requested_team: title: Team description: Groups of organization members that gives permissions @@ -186454,12 +186144,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 number: description: The pull request number. type: integer - organization: *693 + organization: *690 pull_request: title: Pull Request type: object @@ -188744,7 +188434,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 requested_reviewer: title: User type: object @@ -188829,12 +188519,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *691 - installation: *692 + enterprise: *688 + installation: *689 number: description: The pull request number. type: integer - organization: *693 + organization: *690 pull_request: title: Pull Request type: object @@ -191110,7 +190800,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 requested_team: title: Team description: Groups of organization members that gives permissions @@ -191291,9 +190981,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 pull_request: title: Simple Pull Request type: object @@ -193468,8 +193158,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *694 - review: *747 + repository: *691 + review: *744 sender: *4 required: - action @@ -193549,9 +193239,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 pull_request: title: Simple Pull Request type: object @@ -195621,7 +195311,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *694 + repository: *691 sender: *4 thread: type: object @@ -196008,9 +195698,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 pull_request: title: Simple Pull Request type: object @@ -198066,7 +197756,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *694 + repository: *691 sender: *4 thread: type: object @@ -198456,10 +198146,10 @@ x-webhooks: type: string before: type: string - enterprise: *691 - installation: *692 - number: *742 - organization: *693 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 pull_request: title: Pull Request type: object @@ -200730,7 +200420,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 sender: *4 required: - action @@ -200812,11 +200502,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *748 - enterprise: *691 - installation: *692 - number: *742 - organization: *693 + assignee: *745 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 pull_request: title: Pull Request type: object @@ -203099,7 +202789,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 sender: *4 required: - action @@ -203178,11 +202868,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *691 - installation: *692 - label: *710 - number: *742 - organization: *693 + enterprise: *688 + installation: *689 + label: *707 + number: *739 + organization: *690 pull_request: title: Pull Request type: object @@ -205455,7 +205145,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 sender: *4 required: - action @@ -205536,10 +205226,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *691 - installation: *692 - number: *742 - organization: *693 + enterprise: *688 + installation: *689 + number: *739 + organization: *690 pull_request: title: Pull Request type: object @@ -207804,7 +207494,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *694 + repository: *691 sender: *4 required: - action @@ -208004,7 +207694,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *691 + enterprise: *688 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -208096,8 +207786,8 @@ x-webhooks: - url - author - committer - installation: *692 - organization: *693 + installation: *689 + organization: *690 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -208672,9 +208362,9 @@ x-webhooks: type: string enum: - published - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 registry_package: type: object properties: @@ -209120,7 +208810,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *728 + items: *725 summary: type: string tag_name: @@ -209174,7 +208864,7 @@ x-webhooks: - owner - package_version - registry - repository: *694 + repository: *691 sender: *4 required: - action @@ -209252,9 +208942,9 @@ x-webhooks: type: string enum: - updated - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 registry_package: type: object properties: @@ -209562,7 +209252,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *728 + items: *725 summary: type: string tag_name: @@ -209611,7 +209301,7 @@ x-webhooks: - owner - package_version - registry - repository: *694 + repository: *691 sender: *4 required: - action @@ -209688,10 +209378,10 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 - release: &749 + enterprise: *688 + installation: *689 + organization: *690 + release: &746 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -210009,7 +209699,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *694 + repository: *691 sender: *4 required: - action @@ -210086,11 +209776,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - organization: *693 - release: *749 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + release: *746 + repository: *691 sender: *4 required: - action @@ -210207,11 +209897,11 @@ x-webhooks: type: boolean required: - to - enterprise: *691 - installation: *692 - organization: *693 - release: *749 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + release: *746 + repository: *691 sender: *4 required: - action @@ -210289,9 +209979,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -210613,7 +210303,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *694 + repository: *691 sender: *4 required: - action @@ -210689,10 +210379,10 @@ x-webhooks: type: string enum: - published - enterprise: *691 - installation: *692 - organization: *693 - release: &750 + enterprise: *688 + installation: *689 + organization: *690 + release: &747 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -211011,7 +210701,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *694 + repository: *691 sender: *4 required: - action @@ -211087,11 +210777,11 @@ x-webhooks: type: string enum: - released - enterprise: *691 - installation: *692 - organization: *693 - release: *749 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + release: *746 + repository: *691 sender: *4 required: - action @@ -211167,11 +210857,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *691 - installation: *692 - organization: *693 - release: *750 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + release: *747 + repository: *691 sender: *4 required: - action @@ -211247,11 +210937,11 @@ x-webhooks: type: string enum: - published - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 - repository_advisory: *613 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 + repository_advisory: *610 sender: *4 required: - action @@ -211327,11 +211017,11 @@ x-webhooks: type: string enum: - reported - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 - repository_advisory: *613 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 + repository_advisory: *610 sender: *4 required: - action @@ -211407,10 +211097,10 @@ x-webhooks: type: string enum: - archived - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -211487,10 +211177,10 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -211568,10 +211258,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -211655,10 +211345,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -211770,10 +211460,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -211845,10 +211535,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 status: type: string @@ -211929,10 +211619,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -212009,10 +211699,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -212106,10 +211796,10 @@ x-webhooks: - name required: - repository - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -212189,10 +211879,10 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 repository_ruleset: *271 sender: *4 required: @@ -212271,10 +211961,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 repository_ruleset: *271 sender: *4 required: @@ -212353,10 +212043,10 @@ x-webhooks: type: string enum: - edited - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 repository_ruleset: *271 changes: type: object @@ -212418,16 +212108,16 @@ x-webhooks: properties: added: type: array - items: *578 + items: *575 deleted: type: array - items: *578 + items: *575 updated: type: array items: type: object properties: - rule: *578 + rule: *575 changes: type: object properties: @@ -212661,10 +212351,10 @@ x-webhooks: - from required: - owner - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -212742,10 +212432,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -212823,7 +212513,7 @@ x-webhooks: type: string enum: - create - alert: &751 + alert: &748 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -212944,10 +212634,10 @@ x-webhooks: type: string enum: - open - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -213153,10 +212843,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -213234,11 +212924,11 @@ x-webhooks: type: string enum: - reopen - alert: *751 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + alert: *748 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -213437,10 +213127,10 @@ x-webhooks: enum: - fixed - open - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -213518,7 +213208,7 @@ x-webhooks: type: string enum: - created - alert: &752 + alert: &749 type: object properties: number: *54 @@ -213629,10 +213319,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -213713,11 +213403,11 @@ x-webhooks: type: string enum: - created - alert: *752 - installation: *692 - location: *753 - organization: *693 - repository: *694 + alert: *749 + installation: *689 + location: *750 + organization: *690 + repository: *691 sender: *4 required: - location @@ -213955,11 +213645,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *752 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + alert: *749 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -214037,11 +213727,11 @@ x-webhooks: type: string enum: - reopened - alert: *752 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + alert: *749 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -214119,11 +213809,11 @@ x-webhooks: type: string enum: - resolved - alert: *752 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + alert: *749 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -214201,11 +213891,11 @@ x-webhooks: type: string enum: - validated - alert: *752 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + alert: *749 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -214331,10 +214021,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *694 - enterprise: *691 - installation: *692 - organization: *693 + repository: *691 + enterprise: *688 + installation: *689 + organization: *690 sender: *4 required: - action @@ -214412,11 +214102,11 @@ x-webhooks: type: string enum: - published - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 - security_advisory: &754 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 + security_advisory: &751 description: The details of the security advisory, including summary, description, and severity. type: object @@ -214599,11 +214289,11 @@ x-webhooks: type: string enum: - updated - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 - security_advisory: *754 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 + security_advisory: *751 sender: *4 required: - action @@ -214676,10 +214366,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -214864,10 +214554,10 @@ x-webhooks: type: object properties: security_and_analysis: *245 - enterprise: *691 - installation: *692 - organization: *693 - repository: *321 + enterprise: *688 + installation: *689 + organization: *690 + repository: *318 sender: *4 required: - changes @@ -214945,12 +214635,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - sponsorship: &755 + sponsorship: &752 type: object properties: created_at: @@ -215251,12 +214941,12 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - sponsorship: *755 + sponsorship: *752 required: - action - sponsorship @@ -215344,12 +215034,12 @@ x-webhooks: type: string required: - from - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - sponsorship: *755 + sponsorship: *752 required: - action - changes @@ -215426,17 +215116,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &756 + effective_date: &753 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: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - sponsorship: *755 + sponsorship: *752 required: - action - sponsorship @@ -215510,7 +215200,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &757 + changes: &754 type: object properties: tier: @@ -215554,13 +215244,13 @@ x-webhooks: - from required: - tier - effective_date: *756 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + effective_date: *753 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - sponsorship: *755 + sponsorship: *752 required: - action - changes @@ -215637,13 +215327,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *757 - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + changes: *754 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - sponsorship: *755 + sponsorship: *752 required: - action - changes @@ -215717,10 +215407,10 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -215803,10 +215493,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -216226,15 +215916,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *691 + enterprise: *688 id: description: The unique identifier of the status. type: integer - installation: *692 + installation: *689 name: type: string - organization: *693 - repository: *694 + organization: *690 + repository: *691 sender: *4 sha: description: The Commit SHA. @@ -216349,9 +216039,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -216441,9 +216131,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -216533,9 +216223,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -216625,9 +216315,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *692 - organization: *693 - repository: *694 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -216704,12 +216394,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - team: &758 + team: &755 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -216899,9 +216589,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 repository: title: Repository description: A git repository @@ -217359,7 +217049,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *758 + team: *755 required: - action - team @@ -217435,9 +217125,9 @@ x-webhooks: type: string enum: - created - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 repository: title: Repository description: A git repository @@ -217895,7 +217585,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *758 + team: *755 required: - action - team @@ -217972,9 +217662,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 repository: title: Repository description: A git repository @@ -218432,7 +218122,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *758 + team: *755 required: - action - team @@ -218576,9 +218266,9 @@ x-webhooks: - from required: - permissions - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 repository: title: Repository description: A git repository @@ -219036,7 +218726,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *758 + team: *755 required: - action - changes @@ -219114,9 +218804,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *691 - installation: *692 - organization: *693 + enterprise: *688 + installation: *689 + organization: *690 repository: title: Repository description: A git repository @@ -219574,7 +219264,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *758 + team: *755 required: - action - team @@ -219650,10 +219340,10 @@ x-webhooks: type: string enum: - started - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 required: - action @@ -219726,16 +219416,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *691 + enterprise: *688 inputs: type: object nullable: true additionalProperties: true - installation: *692 - organization: *693 + installation: *689 + organization: *690 ref: type: string - repository: *694 + repository: *691 sender: *4 workflow: type: string @@ -219817,10 +219507,10 @@ x-webhooks: type: string enum: - completed - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 workflow_job: allOf: @@ -220057,7 +219747,7 @@ x-webhooks: type: string required: - conclusion - deployment: *473 + deployment: *470 required: - action - repository @@ -220136,10 +219826,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 workflow_job: allOf: @@ -220399,7 +220089,7 @@ x-webhooks: required: - status - steps - deployment: *473 + deployment: *470 required: - action - repository @@ -220478,10 +220168,10 @@ x-webhooks: type: string enum: - queued - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 workflow_job: type: object @@ -220616,7 +220306,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *473 + deployment: *470 required: - action - repository @@ -220695,10 +220385,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 workflow_job: type: object @@ -220834,7 +220524,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *473 + deployment: *470 required: - action - repository @@ -220914,12 +220604,12 @@ x-webhooks: type: string enum: - completed - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - workflow: *706 + workflow: *703 workflow_run: title: Workflow Run type: object @@ -221918,12 +221608,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - workflow: *706 + workflow: *703 workflow_run: title: Workflow Run type: object @@ -222907,12 +222597,12 @@ x-webhooks: type: string enum: - requested - enterprise: *691 - installation: *692 - organization: *693 - repository: *694 + enterprise: *688 + installation: *689 + organization: *690 + repository: *691 sender: *4 - workflow: *706 + workflow: *703 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 c750502920..875935e7b9 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -38667,6 +38667,824 @@ } } }, + "/enterprises/{enterprise}/copilot/billing/selected_enterprise_teams": { + "post": { + "summary": "Add enterprise teams to the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified enterprise team. The enterprise will be billed accordingly.\n\nOnly enterprise owners can purchase Copilot seats for their enterprise members.\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-copilot-seats-for-enterprise-teams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-enterprise-teams-to-the-copilot-subscription-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_enterprise_teams": { + "type": "array", + "description": "List of enterprise team names within the enterprise to which to grant access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_enterprise_teams" + ] + }, + "examples": { + "default": { + "value": { + "selected_enterprise_teams": [ + "engteam1", + "engteam2", + "engteam3" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats created for the members of the specified enterprise team(s).", + "properties": { + "seats_created": { + "type": "integer" + } + }, + "required": [ + "seats_created" + ] + }, + "examples": { + "default": { + "value": { + "seats_created": 5 + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": "Copilot Business is not enabled for this enterprise, billing has not been set up for this enterprise or a public code suggestions policy has not been set for this enterprise." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove enterprise teams from the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each enterprise team specified to \"pending cancellation\".\nThis will cause the members of the specified enterprise team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another enterprise team.\n\nOnly enterprise owners can cancel Copilot seats for their enterprise members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seats-for-enterprise-teams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-enterprise-teams-from-the-copilot-subscription-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_enterprise_teams": { + "type": "array", + "description": "List of enterprise team names within the enterprise to which to grant access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_enterprise_teams" + ] + }, + "examples": { + "default": { + "value": { + "selected_enterprise_teams": [ + "engteam1", + "engteam2", + "engteam3" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for the members of the specified enterprise team(s).", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "202": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + }, + "examples": { + "response": { + "value": { + "message": "Status for delete command" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": "Copilot Business is not enabled for this enterprise, billing has not been set up for this enterprise or a public code suggestions policy has not been set for this enterprise." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, + "/enterprises/{enterprise}/copilot/billing/selected_users": { + "post": { + "summary": "Add users to the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe enterprise will be billed accordingly.\n\nOnly enterprise owners can purchase Copilot seats for their enterprise members.\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-copilot-seats-for-enterprise-users", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_usernames": { + "type": "array", + "description": "The usernames of the enterprise members to be granted access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_usernames" + ] + }, + "examples": { + "default": { + "value": { + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats created for the specified user(s).", + "properties": { + "seats_created": { + "type": "integer" + } + }, + "required": [ + "seats_created" + ] + }, + "examples": { + "default": { + "value": { + "seats_created": 5 + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": "Copilot is not enabled for this enterprise, billing has not been set up for this enterprise, a public code suggestions policy has not been set for this enterprise, or the enterprise's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove users from the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team or organization membership.\n\nOnly enterprise owners can cancel Copilot seats for their enterprise members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seats-for-enterprise-users", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_usernames": { + "type": "array", + "description": "The usernames of the enterprise members for which to revoke access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_usernames" + ] + }, + "examples": { + "default": { + "value": { + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for the specified users.", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": "Copilot is not enabled for this enterprise, billing has not been set up for this enterprise, a public code suggestions policy has not been set for this enterprise, or the enterprise's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, "/enterprises/{enterprise}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise", @@ -59226,7 +60044,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -74479,7 +75296,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -80368,7 +81184,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -102848,6 +103663,306 @@ } } }, + "/orgs/{org}/artifacts/metadata/storage-records": { + "post": { + "summary": "Create artifact metadata storage records", + "description": "Create metadata storage records for artifacts associated with an organization.\nThis endpoint will create a new artifact storage record on behalf of any artifact matching the provided digest and\nassociated with a repository owned by the organization.", + "tags": [ + "orgs" + ], + "operationId": "orgs/create-artifact-storage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#create-artifact-metadata-storage-records" + }, + "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 artifact.", + "example": "libfoo-1.2.3", + "minLength": 1 + }, + "digest": { + "type": "string", + "description": "The digest of the artifact (algorithm:hex-encoded-digest).", + "example": "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0...", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "artifact_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The URL where the artifact is stored.", + "example": "https://reg.example.com/artifactory/bar/libfoo-1.2.3" + }, + "path": { + "type": "string", + "format": "uri", + "description": "The path of the artifact.", + "example": "com/github/bar/libfoo-1.2.3" + }, + "registry_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The base URL of the artifact registry.", + "example": "https://reg.example.com/artifactory/", + "minLength": 1 + }, + "repository": { + "type": "string", + "description": "The repository name within the registry.", + "example": "bar" + }, + "status": { + "type": "string", + "description": "The status of the artifact (e.g., active, inactive).", + "example": "active", + "enum": [ + "active", + "eol", + "deleted" + ], + "default": "active" + } + }, + "required": [ + "name", + "digest", + "registry_url" + ] + }, + "examples": { + "default": { + "value": { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Artifact metadata storage record stored successfully.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "type": "integer", + "example": 1 + }, + "storage_records": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "artifact_url": { + "type": "string" + }, + "registry_url": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "status": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "storage_records": [ + { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active", + "created_at": "2023-10-01T12:00:00Z", + "updated_at": "2023-10-01T12:00:00Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, + "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { + "get": { + "summary": "List artifact storage records", + "description": "List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-artifact-storage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#list-artifact-storage-records" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "subject_digest", + "description": "The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`.", + "in": "path", + "required": true, + "example": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "schema": { + "type": "string", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "x-multi-segment": true + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of storage records for this digest and organization", + "example": 3, + "type": "integer" + }, + "storage_records": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "artifact_url": { + "type": "string" + }, + "registry_url": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "status": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "storage_records": [ + { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active", + "created_at": "2023-10-01T12:00:00Z", + "updated_at": "2023-10-01T12:00:00Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, "/orgs/{org}/attestations/bulk-list": { "post": { "summary": "List attestations by bulk subject digests", @@ -131032,7 +132147,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -142560,7 +143674,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -201355,7 +202468,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -201773,7 +202886,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -201889,7 +203002,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -202148,7 +203261,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -203007,7 +204120,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -203521,7 +204634,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -206755,7 +207868,7 @@ "/repos/{owner}/{repo}": { "get": { "summary": "Get a repository", - "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n> [!NOTE]\n> In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"", + "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n> [!NOTE]\n> - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n> - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions.", "tags": [ "repos" ], @@ -329005,7 +330118,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -349006,7 +350118,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -351692,7 +352803,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -357812,7 +358922,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ], @@ -361645,7 +362754,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ], @@ -365354,7 +366462,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -368018,7 +369125,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -370701,7 +371807,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -373187,7 +374292,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -377336,7 +378440,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -379909,7 +381012,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -382560,7 +383662,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -385231,7 +386332,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -398268,7 +399368,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -401814,7 +402913,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -404389,7 +405487,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -406940,7 +408037,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -409590,7 +410686,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -420247,7 +421342,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -528529,7 +529623,7 @@ "/search/issues": { "get": { "summary": "Search issues and pull requests", - "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on September 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", + "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", "tags": [ "search" ], @@ -530989,7 +532083,7 @@ "category": "search", "subcategory": "search", "deprecationDate": "2025-03-04", - "removalDate": "2025-09-04" + "removalDate": "2025-11-04" }, "deprecated": true } @@ -573924,7 +575018,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -603798,7 +604891,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -606892,7 +607984,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -609988,7 +611079,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -619490,7 +620580,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -622586,7 +623675,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -658360,6 +659448,74 @@ "node_id" ] }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -662350,6 +663506,74 @@ "node_id" ] }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -666340,6 +667564,74 @@ "node_id" ] }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -670343,6 +671635,74 @@ "node_id" ] }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -830460,7 +831820,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -832704,7 +834063,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -837225,7 +838583,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -839469,7 +840826,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -843990,7 +845346,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -846963,7 +848318,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -850755,7 +852109,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -853728,7 +855081,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1262468,7 +1263820,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1265441,7 +1266792,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1269230,7 +1270580,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1272203,7 +1273552,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1275992,7 +1277340,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1278965,7 +1280312,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1282754,7 +1284100,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1285727,7 +1287072,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 81ccd9a728..794b6c2234 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -14974,6 +14974,325 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/enterprises/{enterprise}/copilot/billing/selected_enterprise_teams": + post: + summary: Add enterprise teams to the Copilot subscription for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Purchases a GitHub Copilot seat for all users within each specified enterprise team. The enterprise will be billed accordingly. + + Only enterprise owners can purchase Copilot seats for their enterprise members. + + The response contains the total number of new seats that were created and existing seats that were refreshed. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/add-copilot-seats-for-enterprise-teams + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-enterprise-teams-to-the-copilot-subscription-for-an-enterprise + parameters: + - *41 + requestBody: + content: + application/json: + schema: + type: object + properties: + selected_enterprise_teams: + type: array + description: List of enterprise team names within the enterprise + to which to grant access to GitHub Copilot. + items: + type: string + minItems: 1 + required: + - selected_enterprise_teams + examples: + default: + value: + selected_enterprise_teams: + - engteam1 + - engteam2 + - engteam3 + required: true + responses: + '201': + description: OK + content: + application/json: + schema: + type: object + description: The total number of seats created for the members of + the specified enterprise team(s). + properties: + seats_created: + type: integer + required: + - seats_created + examples: + default: + value: + seats_created: 5 + '500': *91 + '401': *25 + '403': *29 + '404': *6 + '422': + description: Copilot Business is not enabled for this enterprise, billing + has not been set up for this enterprise or a public code suggestions policy + has not been set for this enterprise. + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-user-management + delete: + summary: Remove enterprise teams from the Copilot subscription for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets seats for all members of each enterprise team specified to "pending cancellation". + This will cause the members of the specified enterprise team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another enterprise team. + + Only enterprise owners can cancel Copilot seats for their enterprise members. + + The response contains the total number of seats set to "pending cancellation". + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/cancel-copilot-seats-for-enterprise-teams + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-enterprise-teams-from-the-copilot-subscription-for-an-enterprise + parameters: + - *41 + requestBody: + content: + application/json: + schema: + type: object + properties: + selected_enterprise_teams: + type: array + description: List of enterprise team names within the enterprise + to which to grant access to GitHub Copilot. + items: + type: string + minItems: 1 + required: + - selected_enterprise_teams + examples: + default: + value: + selected_enterprise_teams: + - engteam1 + - engteam2 + - engteam3 + required: true + responses: + '200': + description: OK + content: + application/json: + schema: + type: object + description: The total number of seats set to "pending cancellation" + for the members of the specified enterprise team(s). + properties: + seats_cancelled: + type: integer + required: + - seats_cancelled + examples: + default: + value: + seats_cancelled: 5 + '202': + description: Response + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + response: + value: + message: Status for delete command + '500': *91 + '401': *25 + '403': *29 + '404': *6 + '422': + description: Copilot Business is not enabled for this enterprise, billing + has not been set up for this enterprise or a public code suggestions policy + has not been set for this enterprise. + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-user-management + "/enterprises/{enterprise}/copilot/billing/selected_users": + post: + summary: Add users to the Copilot subscription for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Purchases a GitHub Copilot seat for each user specified. + The enterprise will be billed accordingly. + + Only enterprise owners can purchase Copilot seats for their enterprise members. + + The response contains the total number of new seats that were created and existing seats that were refreshed. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/add-copilot-seats-for-enterprise-users + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-enterprise + parameters: + - *41 + requestBody: + content: + application/json: + schema: + type: object + properties: + selected_usernames: + type: array + description: The usernames of the enterprise members to be granted + access to GitHub Copilot. + items: + type: string + minItems: 1 + required: + - selected_usernames + examples: + default: + value: + selected_usernames: + - cooluser1 + - hacker2 + - octocat + required: true + responses: + '201': + description: OK + content: + application/json: + schema: + type: object + description: The total number of seats created for the specified user(s). + properties: + seats_created: + type: integer + required: + - seats_created + examples: + default: + value: + seats_created: 5 + '500': *91 + '401': *25 + '403': *29 + '404': *6 + '422': + description: Copilot is not enabled for this enterprise, billing has not + been set up for this enterprise, a public code suggestions policy has + not been set for this enterprise, or the enterprise's Copilot access setting + is set to enable Copilot for all users or is unconfigured. + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-user-management + delete: + summary: Remove users from the Copilot subscription for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets seats for all users specified to "pending cancellation". + This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team or organization membership. + + Only enterprise owners can cancel Copilot seats for their enterprise members. + + The response contains the total number of seats set to "pending cancellation". + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/cancel-copilot-seats-for-enterprise-users + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-enterprise + parameters: + - *41 + requestBody: + content: + application/json: + schema: + type: object + properties: + selected_usernames: + type: array + description: The usernames of the enterprise members for which to + revoke access to GitHub Copilot. + items: + type: string + minItems: 1 + required: + - selected_usernames + examples: + default: + value: + selected_usernames: + - cooluser1 + - hacker2 + - octocat + required: true + responses: + '200': + description: OK + content: + application/json: + schema: + type: object + description: The total number of seats set to "pending cancellation" + for the specified users. + properties: + seats_cancelled: + type: integer + required: + - seats_cancelled + examples: + default: + value: + seats_cancelled: 5 + '500': *91 + '401': *25 + '403': *29 + '404': *6 + '422': + description: Copilot is not enabled for this enterprise, billing has not + been set up for this enterprise, a public code suggestions policy has + not been set for this enterprise, or the enterprise's Copilot access setting + is set to enable Copilot for all users or is unconfigured. + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-user-management "/enterprises/{enterprise}/copilot/metrics": get: summary: Get Copilot metrics for an enterprise @@ -21172,7 +21491,6 @@ paths: - title - url - user - - author_association - created_at - updated_at comment: &616 @@ -31374,6 +31692,216 @@ paths: enabledForGitHubApps: true category: announcement-banners subcategory: organizations + "/orgs/{org}/artifacts/metadata/storage-records": + post: + summary: Create artifact metadata storage records + description: |- + Create metadata storage records for artifacts associated with an organization. + This endpoint will create a new artifact storage record on behalf of any artifact matching the provided digest and + associated with a repository owned by the organization. + tags: + - orgs + operationId: orgs/create-artifact-storage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#create-artifact-metadata-storage-records + parameters: + - *76 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the artifact. + example: libfoo-1.2.3 + minLength: 1 + digest: + type: string + description: The digest of the artifact (algorithm:hex-encoded-digest). + example: sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + artifact_url: + type: string + format: uri + pattern: "^https://" + description: The URL where the artifact is stored. + example: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + path: + type: string + format: uri + description: The path of the artifact. + example: com/github/bar/libfoo-1.2.3 + registry_url: + type: string + format: uri + pattern: "^https://" + description: The base URL of the artifact registry. + example: https://reg.example.com/artifactory/ + minLength: 1 + repository: + type: string + description: The repository name within the registry. + example: bar + status: + type: string + description: The status of the artifact (e.g., active, inactive). + example: active + enum: + - active + - eol + - deleted + default: active + required: + - name + - digest + - registry_url + examples: + default: + value: + name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + responses: + '200': + description: Artifact metadata storage record stored successfully. + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + example: 1 + storage_records: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + digest: + type: string + artifact_url: + type: string + registry_url: + type: string + repository: + type: string + status: + type: string + created_at: + type: string + updated_at: + type: string + examples: + default: + value: + total_count: 1 + storage_records: + - name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + created_at: '2023-10-01T12:00:00Z' + updated_at: '2023-10-01T12:00:00Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata + "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": + get: + summary: List artifact storage records + description: |- + List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. + + The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required. + tags: + - orgs + operationId: orgs/list-artifact-storage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#list-artifact-storage-records + parameters: + - *76 + - name: subject_digest + description: The parameter should be set to the attestation's subject's SHA256 + digest, in the form `sha256:HEX_DIGEST`. + in: path + required: true + example: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + schema: + type: string + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + x-multi-segment: true + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of storage records for this digest and + organization + example: 3 + type: integer + storage_records: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + digest: + type: string + artifact_url: + type: string + registry_url: + type: string + repository: + type: string + status: + type: string + created_at: + type: string + updated_at: + type: string + examples: + default: + value: + storage_records: + - name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + created_at: '2023-10-01T12:00:00Z' + updated_at: '2023-10-01T12:00:00Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata "/orgs/{org}/attestations/bulk-list": post: summary: List attestations by bulk subject digests @@ -52585,7 +53113,7 @@ paths: '401': *25 '404': *6 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -52641,7 +53169,7 @@ paths: '404': *6 '422': *7 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -52684,7 +53212,7 @@ paths: '401': *25 '404': *6 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -52795,7 +53323,7 @@ paths: type: string '422': *15 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -53049,7 +53577,7 @@ paths: '403': *29 '401': *25 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -53146,7 +53674,7 @@ paths: message: type: string x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -53908,7 +54436,8 @@ paths: The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network. > [!NOTE] - > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions. tags: - repos operationId: repos/get @@ -102685,7 +103214,7 @@ paths: summary: Search issues and pull requests description: |- > [!WARNING] - > **Notice:** Search for issues and pull requests will be overridden by advanced search on September 4, 2025. + > **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025. > You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/). tags: - search @@ -103043,7 +103572,7 @@ paths: category: search subcategory: search deprecationDate: '2025-03-04' - removalDate: '2025-09-04' + removalDate: '2025-11-04' deprecated: true "/search/labels": get: @@ -117725,6 +118254,7 @@ x-webhooks: - app - pull_requests installation: *809 + enterprise: *808 organization: *810 repository: *811 sender: *4 @@ -118121,6 +118651,7 @@ x-webhooks: - created check_run: *821 installation: *809 + enterprise: *808 organization: *810 repository: *811 sender: *4 @@ -118520,6 +119051,7 @@ x-webhooks: - requested_action check_run: *821 installation: *809 + enterprise: *808 organization: *810 repository: *811 requested_action: @@ -118928,6 +119460,7 @@ x-webhooks: - rerequested check_run: *821 installation: *809 + enterprise: *808 organization: *810 repository: *811 sender: *4 diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index c750502920..875935e7b9 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -38667,6 +38667,824 @@ } } }, + "/enterprises/{enterprise}/copilot/billing/selected_enterprise_teams": { + "post": { + "summary": "Add enterprise teams to the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified enterprise team. The enterprise will be billed accordingly.\n\nOnly enterprise owners can purchase Copilot seats for their enterprise members.\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-copilot-seats-for-enterprise-teams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-enterprise-teams-to-the-copilot-subscription-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_enterprise_teams": { + "type": "array", + "description": "List of enterprise team names within the enterprise to which to grant access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_enterprise_teams" + ] + }, + "examples": { + "default": { + "value": { + "selected_enterprise_teams": [ + "engteam1", + "engteam2", + "engteam3" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats created for the members of the specified enterprise team(s).", + "properties": { + "seats_created": { + "type": "integer" + } + }, + "required": [ + "seats_created" + ] + }, + "examples": { + "default": { + "value": { + "seats_created": 5 + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": "Copilot Business is not enabled for this enterprise, billing has not been set up for this enterprise or a public code suggestions policy has not been set for this enterprise." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove enterprise teams from the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each enterprise team specified to \"pending cancellation\".\nThis will cause the members of the specified enterprise team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another enterprise team.\n\nOnly enterprise owners can cancel Copilot seats for their enterprise members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seats-for-enterprise-teams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-enterprise-teams-from-the-copilot-subscription-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_enterprise_teams": { + "type": "array", + "description": "List of enterprise team names within the enterprise to which to grant access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_enterprise_teams" + ] + }, + "examples": { + "default": { + "value": { + "selected_enterprise_teams": [ + "engteam1", + "engteam2", + "engteam3" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for the members of the specified enterprise team(s).", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "202": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + }, + "examples": { + "response": { + "value": { + "message": "Status for delete command" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": "Copilot Business is not enabled for this enterprise, billing has not been set up for this enterprise or a public code suggestions policy has not been set for this enterprise." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, + "/enterprises/{enterprise}/copilot/billing/selected_users": { + "post": { + "summary": "Add users to the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe enterprise will be billed accordingly.\n\nOnly enterprise owners can purchase Copilot seats for their enterprise members.\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-copilot-seats-for-enterprise-users", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_usernames": { + "type": "array", + "description": "The usernames of the enterprise members to be granted access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_usernames" + ] + }, + "examples": { + "default": { + "value": { + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats created for the specified user(s).", + "properties": { + "seats_created": { + "type": "integer" + } + }, + "required": [ + "seats_created" + ] + }, + "examples": { + "default": { + "value": { + "seats_created": 5 + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": "Copilot is not enabled for this enterprise, billing has not been set up for this enterprise, a public code suggestions policy has not been set for this enterprise, or the enterprise's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove users from the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team or organization membership.\n\nOnly enterprise owners can cancel Copilot seats for their enterprise members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seats-for-enterprise-users", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_usernames": { + "type": "array", + "description": "The usernames of the enterprise members for which to revoke access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_usernames" + ] + }, + "examples": { + "default": { + "value": { + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for the specified users.", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": "Copilot is not enabled for this enterprise, billing has not been set up for this enterprise, a public code suggestions policy has not been set for this enterprise, or the enterprise's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, "/enterprises/{enterprise}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise", @@ -59226,7 +60044,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -74479,7 +75296,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -80368,7 +81184,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -102848,6 +103663,306 @@ } } }, + "/orgs/{org}/artifacts/metadata/storage-records": { + "post": { + "summary": "Create artifact metadata storage records", + "description": "Create metadata storage records for artifacts associated with an organization.\nThis endpoint will create a new artifact storage record on behalf of any artifact matching the provided digest and\nassociated with a repository owned by the organization.", + "tags": [ + "orgs" + ], + "operationId": "orgs/create-artifact-storage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#create-artifact-metadata-storage-records" + }, + "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 artifact.", + "example": "libfoo-1.2.3", + "minLength": 1 + }, + "digest": { + "type": "string", + "description": "The digest of the artifact (algorithm:hex-encoded-digest).", + "example": "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0...", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "artifact_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The URL where the artifact is stored.", + "example": "https://reg.example.com/artifactory/bar/libfoo-1.2.3" + }, + "path": { + "type": "string", + "format": "uri", + "description": "The path of the artifact.", + "example": "com/github/bar/libfoo-1.2.3" + }, + "registry_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The base URL of the artifact registry.", + "example": "https://reg.example.com/artifactory/", + "minLength": 1 + }, + "repository": { + "type": "string", + "description": "The repository name within the registry.", + "example": "bar" + }, + "status": { + "type": "string", + "description": "The status of the artifact (e.g., active, inactive).", + "example": "active", + "enum": [ + "active", + "eol", + "deleted" + ], + "default": "active" + } + }, + "required": [ + "name", + "digest", + "registry_url" + ] + }, + "examples": { + "default": { + "value": { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Artifact metadata storage record stored successfully.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "type": "integer", + "example": 1 + }, + "storage_records": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "artifact_url": { + "type": "string" + }, + "registry_url": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "status": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "storage_records": [ + { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active", + "created_at": "2023-10-01T12:00:00Z", + "updated_at": "2023-10-01T12:00:00Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, + "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { + "get": { + "summary": "List artifact storage records", + "description": "List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-artifact-storage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#list-artifact-storage-records" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "subject_digest", + "description": "The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`.", + "in": "path", + "required": true, + "example": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "schema": { + "type": "string", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "x-multi-segment": true + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of storage records for this digest and organization", + "example": 3, + "type": "integer" + }, + "storage_records": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "artifact_url": { + "type": "string" + }, + "registry_url": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "status": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "storage_records": [ + { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active", + "created_at": "2023-10-01T12:00:00Z", + "updated_at": "2023-10-01T12:00:00Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, "/orgs/{org}/attestations/bulk-list": { "post": { "summary": "List attestations by bulk subject digests", @@ -131032,7 +132147,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -142560,7 +143674,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -201355,7 +202468,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -201773,7 +202886,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -201889,7 +203002,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -202148,7 +203261,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -203007,7 +204120,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -203521,7 +204634,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -206755,7 +207868,7 @@ "/repos/{owner}/{repo}": { "get": { "summary": "Get a repository", - "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n> [!NOTE]\n> In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"", + "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n> [!NOTE]\n> - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n> - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions.", "tags": [ "repos" ], @@ -329005,7 +330118,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -349006,7 +350118,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -351692,7 +352803,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -357812,7 +358922,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ], @@ -361645,7 +362754,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ], @@ -365354,7 +366462,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -368018,7 +369125,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -370701,7 +371807,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -373187,7 +374292,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -377336,7 +378440,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -379909,7 +381012,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -382560,7 +383662,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -385231,7 +386332,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -398268,7 +399368,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -401814,7 +402913,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -404389,7 +405487,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -406940,7 +408037,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -409590,7 +410686,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -420247,7 +421342,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -528529,7 +529623,7 @@ "/search/issues": { "get": { "summary": "Search issues and pull requests", - "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on September 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", + "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", "tags": [ "search" ], @@ -530989,7 +532083,7 @@ "category": "search", "subcategory": "search", "deprecationDate": "2025-03-04", - "removalDate": "2025-09-04" + "removalDate": "2025-11-04" }, "deprecated": true } @@ -573924,7 +575018,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -603798,7 +604891,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -606892,7 +607984,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -609988,7 +611079,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -619490,7 +620580,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -622586,7 +623675,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -658360,6 +659448,74 @@ "node_id" ] }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -662350,6 +663506,74 @@ "node_id" ] }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -666340,6 +667564,74 @@ "node_id" ] }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -670343,6 +671635,74 @@ "node_id" ] }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -830460,7 +831820,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -832704,7 +834063,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -837225,7 +838583,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -839469,7 +840826,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -843990,7 +845346,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -846963,7 +848318,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -850755,7 +852109,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -853728,7 +855081,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1262468,7 +1263820,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1265441,7 +1266792,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1269230,7 +1270580,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1272203,7 +1273552,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1275992,7 +1277340,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1278965,7 +1280312,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1282754,7 +1284100,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1285727,7 +1287072,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 81ccd9a728..794b6c2234 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -14974,6 +14974,325 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/enterprises/{enterprise}/copilot/billing/selected_enterprise_teams": + post: + summary: Add enterprise teams to the Copilot subscription for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Purchases a GitHub Copilot seat for all users within each specified enterprise team. The enterprise will be billed accordingly. + + Only enterprise owners can purchase Copilot seats for their enterprise members. + + The response contains the total number of new seats that were created and existing seats that were refreshed. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/add-copilot-seats-for-enterprise-teams + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-enterprise-teams-to-the-copilot-subscription-for-an-enterprise + parameters: + - *41 + requestBody: + content: + application/json: + schema: + type: object + properties: + selected_enterprise_teams: + type: array + description: List of enterprise team names within the enterprise + to which to grant access to GitHub Copilot. + items: + type: string + minItems: 1 + required: + - selected_enterprise_teams + examples: + default: + value: + selected_enterprise_teams: + - engteam1 + - engteam2 + - engteam3 + required: true + responses: + '201': + description: OK + content: + application/json: + schema: + type: object + description: The total number of seats created for the members of + the specified enterprise team(s). + properties: + seats_created: + type: integer + required: + - seats_created + examples: + default: + value: + seats_created: 5 + '500': *91 + '401': *25 + '403': *29 + '404': *6 + '422': + description: Copilot Business is not enabled for this enterprise, billing + has not been set up for this enterprise or a public code suggestions policy + has not been set for this enterprise. + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-user-management + delete: + summary: Remove enterprise teams from the Copilot subscription for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets seats for all members of each enterprise team specified to "pending cancellation". + This will cause the members of the specified enterprise team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another enterprise team. + + Only enterprise owners can cancel Copilot seats for their enterprise members. + + The response contains the total number of seats set to "pending cancellation". + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/cancel-copilot-seats-for-enterprise-teams + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-enterprise-teams-from-the-copilot-subscription-for-an-enterprise + parameters: + - *41 + requestBody: + content: + application/json: + schema: + type: object + properties: + selected_enterprise_teams: + type: array + description: List of enterprise team names within the enterprise + to which to grant access to GitHub Copilot. + items: + type: string + minItems: 1 + required: + - selected_enterprise_teams + examples: + default: + value: + selected_enterprise_teams: + - engteam1 + - engteam2 + - engteam3 + required: true + responses: + '200': + description: OK + content: + application/json: + schema: + type: object + description: The total number of seats set to "pending cancellation" + for the members of the specified enterprise team(s). + properties: + seats_cancelled: + type: integer + required: + - seats_cancelled + examples: + default: + value: + seats_cancelled: 5 + '202': + description: Response + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + response: + value: + message: Status for delete command + '500': *91 + '401': *25 + '403': *29 + '404': *6 + '422': + description: Copilot Business is not enabled for this enterprise, billing + has not been set up for this enterprise or a public code suggestions policy + has not been set for this enterprise. + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-user-management + "/enterprises/{enterprise}/copilot/billing/selected_users": + post: + summary: Add users to the Copilot subscription for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Purchases a GitHub Copilot seat for each user specified. + The enterprise will be billed accordingly. + + Only enterprise owners can purchase Copilot seats for their enterprise members. + + The response contains the total number of new seats that were created and existing seats that were refreshed. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/add-copilot-seats-for-enterprise-users + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-enterprise + parameters: + - *41 + requestBody: + content: + application/json: + schema: + type: object + properties: + selected_usernames: + type: array + description: The usernames of the enterprise members to be granted + access to GitHub Copilot. + items: + type: string + minItems: 1 + required: + - selected_usernames + examples: + default: + value: + selected_usernames: + - cooluser1 + - hacker2 + - octocat + required: true + responses: + '201': + description: OK + content: + application/json: + schema: + type: object + description: The total number of seats created for the specified user(s). + properties: + seats_created: + type: integer + required: + - seats_created + examples: + default: + value: + seats_created: 5 + '500': *91 + '401': *25 + '403': *29 + '404': *6 + '422': + description: Copilot is not enabled for this enterprise, billing has not + been set up for this enterprise, a public code suggestions policy has + not been set for this enterprise, or the enterprise's Copilot access setting + is set to enable Copilot for all users or is unconfigured. + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-user-management + delete: + summary: Remove users from the Copilot subscription for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets seats for all users specified to "pending cancellation". + This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team or organization membership. + + Only enterprise owners can cancel Copilot seats for their enterprise members. + + The response contains the total number of seats set to "pending cancellation". + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/cancel-copilot-seats-for-enterprise-users + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-enterprise + parameters: + - *41 + requestBody: + content: + application/json: + schema: + type: object + properties: + selected_usernames: + type: array + description: The usernames of the enterprise members for which to + revoke access to GitHub Copilot. + items: + type: string + minItems: 1 + required: + - selected_usernames + examples: + default: + value: + selected_usernames: + - cooluser1 + - hacker2 + - octocat + required: true + responses: + '200': + description: OK + content: + application/json: + schema: + type: object + description: The total number of seats set to "pending cancellation" + for the specified users. + properties: + seats_cancelled: + type: integer + required: + - seats_cancelled + examples: + default: + value: + seats_cancelled: 5 + '500': *91 + '401': *25 + '403': *29 + '404': *6 + '422': + description: Copilot is not enabled for this enterprise, billing has not + been set up for this enterprise, a public code suggestions policy has + not been set for this enterprise, or the enterprise's Copilot access setting + is set to enable Copilot for all users or is unconfigured. + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-user-management "/enterprises/{enterprise}/copilot/metrics": get: summary: Get Copilot metrics for an enterprise @@ -21172,7 +21491,6 @@ paths: - title - url - user - - author_association - created_at - updated_at comment: &616 @@ -31374,6 +31692,216 @@ paths: enabledForGitHubApps: true category: announcement-banners subcategory: organizations + "/orgs/{org}/artifacts/metadata/storage-records": + post: + summary: Create artifact metadata storage records + description: |- + Create metadata storage records for artifacts associated with an organization. + This endpoint will create a new artifact storage record on behalf of any artifact matching the provided digest and + associated with a repository owned by the organization. + tags: + - orgs + operationId: orgs/create-artifact-storage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#create-artifact-metadata-storage-records + parameters: + - *76 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the artifact. + example: libfoo-1.2.3 + minLength: 1 + digest: + type: string + description: The digest of the artifact (algorithm:hex-encoded-digest). + example: sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + artifact_url: + type: string + format: uri + pattern: "^https://" + description: The URL where the artifact is stored. + example: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + path: + type: string + format: uri + description: The path of the artifact. + example: com/github/bar/libfoo-1.2.3 + registry_url: + type: string + format: uri + pattern: "^https://" + description: The base URL of the artifact registry. + example: https://reg.example.com/artifactory/ + minLength: 1 + repository: + type: string + description: The repository name within the registry. + example: bar + status: + type: string + description: The status of the artifact (e.g., active, inactive). + example: active + enum: + - active + - eol + - deleted + default: active + required: + - name + - digest + - registry_url + examples: + default: + value: + name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + responses: + '200': + description: Artifact metadata storage record stored successfully. + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + example: 1 + storage_records: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + digest: + type: string + artifact_url: + type: string + registry_url: + type: string + repository: + type: string + status: + type: string + created_at: + type: string + updated_at: + type: string + examples: + default: + value: + total_count: 1 + storage_records: + - name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + created_at: '2023-10-01T12:00:00Z' + updated_at: '2023-10-01T12:00:00Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata + "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": + get: + summary: List artifact storage records + description: |- + List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. + + The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required. + tags: + - orgs + operationId: orgs/list-artifact-storage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#list-artifact-storage-records + parameters: + - *76 + - name: subject_digest + description: The parameter should be set to the attestation's subject's SHA256 + digest, in the form `sha256:HEX_DIGEST`. + in: path + required: true + example: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + schema: + type: string + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + x-multi-segment: true + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of storage records for this digest and + organization + example: 3 + type: integer + storage_records: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + digest: + type: string + artifact_url: + type: string + registry_url: + type: string + repository: + type: string + status: + type: string + created_at: + type: string + updated_at: + type: string + examples: + default: + value: + storage_records: + - name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + created_at: '2023-10-01T12:00:00Z' + updated_at: '2023-10-01T12:00:00Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata "/orgs/{org}/attestations/bulk-list": post: summary: List attestations by bulk subject digests @@ -52585,7 +53113,7 @@ paths: '401': *25 '404': *6 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -52641,7 +53169,7 @@ paths: '404': *6 '422': *7 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -52684,7 +53212,7 @@ paths: '401': *25 '404': *6 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -52795,7 +53323,7 @@ paths: type: string '422': *15 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -53049,7 +53577,7 @@ paths: '403': *29 '401': *25 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -53146,7 +53674,7 @@ paths: message: type: string x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -53908,7 +54436,8 @@ paths: The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network. > [!NOTE] - > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions. tags: - repos operationId: repos/get @@ -102685,7 +103214,7 @@ paths: summary: Search issues and pull requests description: |- > [!WARNING] - > **Notice:** Search for issues and pull requests will be overridden by advanced search on September 4, 2025. + > **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025. > You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/). tags: - search @@ -103043,7 +103572,7 @@ paths: category: search subcategory: search deprecationDate: '2025-03-04' - removalDate: '2025-09-04' + removalDate: '2025-11-04' deprecated: true "/search/labels": get: @@ -117725,6 +118254,7 @@ x-webhooks: - app - pull_requests installation: *809 + enterprise: *808 organization: *810 repository: *811 sender: *4 @@ -118121,6 +118651,7 @@ x-webhooks: - created check_run: *821 installation: *809 + enterprise: *808 organization: *810 repository: *811 sender: *4 @@ -118520,6 +119051,7 @@ x-webhooks: - requested_action check_run: *821 installation: *809 + enterprise: *808 organization: *810 repository: *811 requested_action: @@ -118928,6 +119460,7 @@ x-webhooks: - rerequested check_run: *821 installation: *809 + enterprise: *808 organization: *810 repository: *811 sender: *4 diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 44c40f60bd..8f377d3575 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -7968,6 +7968,432 @@ } } }, + "/enterprises/{enterprise}/copilot/billing/selected_enterprise_teams": { + "post": { + "summary": "Add enterprise teams to the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified enterprise team. The enterprise will be billed accordingly.\n\nOnly enterprise owners can purchase Copilot seats for their enterprise members.\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-copilot-seats-for-enterprise-teams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-enterprise-teams-to-the-copilot-subscription-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_enterprise_teams": { + "type": "array", + "description": "List of enterprise team names within the enterprise to which to grant access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_enterprise_teams" + ] + }, + "examples": { + "default": { + "value": { + "selected_enterprise_teams": [ + "engteam1", + "engteam2", + "engteam3" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats created for the members of the specified enterprise team(s).", + "properties": { + "seats_created": { + "type": "integer" + } + }, + "required": [ + "seats_created" + ] + }, + "examples": { + "default": { + "value": { + "seats_created": 5 + } + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Copilot Business is not enabled for this enterprise, billing has not been set up for this enterprise or a public code suggestions policy has not been set for this enterprise." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove enterprise teams from the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each enterprise team specified to \"pending cancellation\".\nThis will cause the members of the specified enterprise team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another enterprise team.\n\nOnly enterprise owners can cancel Copilot seats for their enterprise members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seats-for-enterprise-teams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-enterprise-teams-from-the-copilot-subscription-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_enterprise_teams": { + "type": "array", + "description": "List of enterprise team names within the enterprise to which to grant access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_enterprise_teams" + ] + }, + "examples": { + "default": { + "value": { + "selected_enterprise_teams": [ + "engteam1", + "engteam2", + "engteam3" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for the members of the specified enterprise team(s).", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "202": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + }, + "examples": { + "response": { + "value": { + "message": "Status for delete command" + } + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Copilot Business is not enabled for this enterprise, billing has not been set up for this enterprise or a public code suggestions policy has not been set for this enterprise." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, + "/enterprises/{enterprise}/copilot/billing/selected_users": { + "post": { + "summary": "Add users to the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe enterprise will be billed accordingly.\n\nOnly enterprise owners can purchase Copilot seats for their enterprise members.\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-copilot-seats-for-enterprise-users", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_usernames": { + "type": "array", + "description": "The usernames of the enterprise members to be granted access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_usernames" + ] + }, + "examples": { + "default": { + "value": { + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats created for the specified user(s).", + "properties": { + "seats_created": { + "type": "integer" + } + }, + "required": [ + "seats_created" + ] + }, + "examples": { + "default": { + "value": { + "seats_created": 5 + } + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Copilot is not enabled for this enterprise, billing has not been set up for this enterprise, a public code suggestions policy has not been set for this enterprise, or the enterprise's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove users from the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team or organization membership.\n\nOnly enterprise owners can cancel Copilot seats for their enterprise members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seats-for-enterprise-users", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_usernames": { + "type": "array", + "description": "The usernames of the enterprise members for which to revoke access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_usernames" + ] + }, + "examples": { + "default": { + "value": { + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for the specified users.", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Copilot is not enabled for this enterprise, billing has not been set up for this enterprise, a public code suggestions policy has not been set for this enterprise, or the enterprise's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, "/enterprises/{enterprise}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise", @@ -18995,6 +19421,294 @@ } } }, + "/orgs/{org}/artifacts/metadata/storage-records": { + "post": { + "summary": "Create artifact metadata storage records", + "description": "Create metadata storage records for artifacts associated with an organization.\nThis endpoint will create a new artifact storage record on behalf of any artifact matching the provided digest and\nassociated with a repository owned by the organization.", + "tags": [ + "orgs" + ], + "operationId": "orgs/create-artifact-storage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#create-artifact-metadata-storage-records" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact.", + "example": "libfoo-1.2.3", + "minLength": 1 + }, + "digest": { + "type": "string", + "description": "The digest of the artifact (algorithm:hex-encoded-digest).", + "example": "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0...", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "artifact_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The URL where the artifact is stored.", + "example": "https://reg.example.com/artifactory/bar/libfoo-1.2.3" + }, + "path": { + "type": "string", + "format": "uri", + "description": "The path of the artifact.", + "example": "com/github/bar/libfoo-1.2.3" + }, + "registry_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The base URL of the artifact registry.", + "example": "https://reg.example.com/artifactory/", + "minLength": 1 + }, + "repository": { + "type": "string", + "description": "The repository name within the registry.", + "example": "bar" + }, + "status": { + "type": "string", + "description": "The status of the artifact (e.g., active, inactive).", + "example": "active", + "enum": [ + "active", + "eol", + "deleted" + ], + "default": "active" + } + }, + "required": [ + "name", + "digest", + "registry_url" + ] + }, + "examples": { + "default": { + "value": { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Artifact metadata storage record stored successfully.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "type": "integer", + "example": 1 + }, + "storage_records": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "artifact_url": { + "type": "string" + }, + "registry_url": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "status": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "storage_records": [ + { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active", + "created_at": "2023-10-01T12:00:00Z", + "updated_at": "2023-10-01T12:00:00Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, + "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { + "get": { + "summary": "List artifact storage records", + "description": "List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-artifact-storage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#list-artifact-storage-records" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "subject_digest", + "description": "The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`.", + "in": "path", + "required": true, + "example": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "schema": { + "type": "string", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "x-multi-segment": true + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of storage records for this digest and organization", + "example": 3, + "type": "integer" + }, + "storage_records": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "artifact_url": { + "type": "string" + }, + "registry_url": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "status": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "storage_records": [ + { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active", + "created_at": "2023-10-01T12:00:00Z", + "updated_at": "2023-10-01T12:00:00Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, "/orgs/{org}/attestations/bulk-list": { "post": { "summary": "List attestations by bulk subject digests", @@ -36218,7 +36932,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -36307,7 +37021,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -36371,7 +37085,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -36535,7 +37249,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -36795,7 +37509,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -36951,7 +37665,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -37805,7 +38519,7 @@ "/repos/{owner}/{repo}": { "get": { "summary": "Get a repository", - "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n> [!NOTE]\n> In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"", + "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n> [!NOTE]\n> - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n> - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions.", "tags": [ "repos" ], @@ -74562,7 +75276,7 @@ "/search/issues": { "get": { "summary": "Search issues and pull requests", - "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on September 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", + "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", "tags": [ "search" ], @@ -74670,7 +75384,7 @@ "category": "search", "subcategory": "search", "deprecationDate": "2025-03-04", - "removalDate": "2025-09-04" + "removalDate": "2025-11-04" }, "deprecated": true } @@ -122880,7 +123594,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -141757,7 +142470,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ], @@ -164827,6 +165539,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -164873,6 +165588,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -164919,6 +165637,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -164976,6 +165697,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 32884adf82..b00396a923 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -5661,6 +5661,341 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/enterprises/{enterprise}/copilot/billing/selected_enterprise_teams": + post: + summary: Add enterprise teams to the Copilot subscription for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Purchases a GitHub Copilot seat for all users within each specified enterprise team. The enterprise will be billed accordingly. + + Only enterprise owners can purchase Copilot seats for their enterprise members. + + The response contains the total number of new seats that were created and existing seats that were refreshed. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/add-copilot-seats-for-enterprise-teams + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-enterprise-teams-to-the-copilot-subscription-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + content: + application/json: + schema: + type: object + properties: + selected_enterprise_teams: + type: array + description: List of enterprise team names within the enterprise + to which to grant access to GitHub Copilot. + items: + type: string + minItems: 1 + required: + - selected_enterprise_teams + examples: + default: + value: + selected_enterprise_teams: + - engteam1 + - engteam2 + - engteam3 + required: true + responses: + '201': + description: OK + content: + application/json: + schema: + type: object + description: The total number of seats created for the members of + the specified enterprise team(s). + properties: + seats_created: + type: integer + required: + - seats_created + examples: + default: + value: + seats_created: 5 + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Copilot Business is not enabled for this enterprise, billing + has not been set up for this enterprise or a public code suggestions policy + has not been set for this enterprise. + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-user-management + delete: + summary: Remove enterprise teams from the Copilot subscription for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets seats for all members of each enterprise team specified to "pending cancellation". + This will cause the members of the specified enterprise team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another enterprise team. + + Only enterprise owners can cancel Copilot seats for their enterprise members. + + The response contains the total number of seats set to "pending cancellation". + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/cancel-copilot-seats-for-enterprise-teams + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-enterprise-teams-from-the-copilot-subscription-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + content: + application/json: + schema: + type: object + properties: + selected_enterprise_teams: + type: array + description: List of enterprise team names within the enterprise + to which to grant access to GitHub Copilot. + items: + type: string + minItems: 1 + required: + - selected_enterprise_teams + examples: + default: + value: + selected_enterprise_teams: + - engteam1 + - engteam2 + - engteam3 + required: true + responses: + '200': + description: OK + content: + application/json: + schema: + type: object + description: The total number of seats set to "pending cancellation" + for the members of the specified enterprise team(s). + properties: + seats_cancelled: + type: integer + required: + - seats_cancelled + examples: + default: + value: + seats_cancelled: 5 + '202': + description: Response + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + response: + value: + message: Status for delete command + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Copilot Business is not enabled for this enterprise, billing + has not been set up for this enterprise or a public code suggestions policy + has not been set for this enterprise. + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-user-management + "/enterprises/{enterprise}/copilot/billing/selected_users": + post: + summary: Add users to the Copilot subscription for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Purchases a GitHub Copilot seat for each user specified. + The enterprise will be billed accordingly. + + Only enterprise owners can purchase Copilot seats for their enterprise members. + + The response contains the total number of new seats that were created and existing seats that were refreshed. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/add-copilot-seats-for-enterprise-users + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + content: + application/json: + schema: + type: object + properties: + selected_usernames: + type: array + description: The usernames of the enterprise members to be granted + access to GitHub Copilot. + items: + type: string + minItems: 1 + required: + - selected_usernames + examples: + default: + value: + selected_usernames: + - cooluser1 + - hacker2 + - octocat + required: true + responses: + '201': + description: OK + content: + application/json: + schema: + type: object + description: The total number of seats created for the specified user(s). + properties: + seats_created: + type: integer + required: + - seats_created + examples: + default: + value: + seats_created: 5 + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Copilot is not enabled for this enterprise, billing has not + been set up for this enterprise, a public code suggestions policy has + not been set for this enterprise, or the enterprise's Copilot access setting + is set to enable Copilot for all users or is unconfigured. + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-user-management + delete: + summary: Remove users from the Copilot subscription for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets seats for all users specified to "pending cancellation". + This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team or organization membership. + + Only enterprise owners can cancel Copilot seats for their enterprise members. + + The response contains the total number of seats set to "pending cancellation". + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/cancel-copilot-seats-for-enterprise-users + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + content: + application/json: + schema: + type: object + properties: + selected_usernames: + type: array + description: The usernames of the enterprise members for which to + revoke access to GitHub Copilot. + items: + type: string + minItems: 1 + required: + - selected_usernames + examples: + default: + value: + selected_usernames: + - cooluser1 + - hacker2 + - octocat + required: true + responses: + '200': + description: OK + content: + application/json: + schema: + type: object + description: The total number of seats set to "pending cancellation" + for the specified users. + properties: + seats_cancelled: + type: integer + required: + - seats_cancelled + examples: + default: + value: + seats_cancelled: 5 + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Copilot is not enabled for this enterprise, billing has not + been set up for this enterprise, a public code suggestions policy has + not been set for this enterprise, or the enterprise's Copilot access setting + is set to enable Copilot for all users or is unconfigured. + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-user-management "/enterprises/{enterprise}/copilot/metrics": get: summary: Get Copilot metrics for an enterprise @@ -13632,6 +13967,216 @@ paths: enabledForGitHubApps: true category: announcement-banners subcategory: organizations + "/orgs/{org}/artifacts/metadata/storage-records": + post: + summary: Create artifact metadata storage records + description: |- + Create metadata storage records for artifacts associated with an organization. + This endpoint will create a new artifact storage record on behalf of any artifact matching the provided digest and + associated with a repository owned by the organization. + tags: + - orgs + operationId: orgs/create-artifact-storage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#create-artifact-metadata-storage-records + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the artifact. + example: libfoo-1.2.3 + minLength: 1 + digest: + type: string + description: The digest of the artifact (algorithm:hex-encoded-digest). + example: sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + artifact_url: + type: string + format: uri + pattern: "^https://" + description: The URL where the artifact is stored. + example: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + path: + type: string + format: uri + description: The path of the artifact. + example: com/github/bar/libfoo-1.2.3 + registry_url: + type: string + format: uri + pattern: "^https://" + description: The base URL of the artifact registry. + example: https://reg.example.com/artifactory/ + minLength: 1 + repository: + type: string + description: The repository name within the registry. + example: bar + status: + type: string + description: The status of the artifact (e.g., active, inactive). + example: active + enum: + - active + - eol + - deleted + default: active + required: + - name + - digest + - registry_url + examples: + default: + value: + name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + responses: + '200': + description: Artifact metadata storage record stored successfully. + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + example: 1 + storage_records: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + digest: + type: string + artifact_url: + type: string + registry_url: + type: string + repository: + type: string + status: + type: string + created_at: + type: string + updated_at: + type: string + examples: + default: + value: + total_count: 1 + storage_records: + - name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + created_at: '2023-10-01T12:00:00Z' + updated_at: '2023-10-01T12:00:00Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata + "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": + get: + summary: List artifact storage records + description: |- + List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. + + The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required. + tags: + - orgs + operationId: orgs/list-artifact-storage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#list-artifact-storage-records + parameters: + - "$ref": "#/components/parameters/org" + - name: subject_digest + description: The parameter should be set to the attestation's subject's SHA256 + digest, in the form `sha256:HEX_DIGEST`. + in: path + required: true + example: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + schema: + type: string + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + x-multi-segment: true + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of storage records for this digest and + organization + example: 3 + type: integer + storage_records: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + digest: + type: string + artifact_url: + type: string + registry_url: + type: string + repository: + type: string + status: + type: string + created_at: + type: string + updated_at: + type: string + examples: + default: + value: + storage_records: + - name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + created_at: '2023-10-01T12:00:00Z' + updated_at: '2023-10-01T12:00:00Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata "/orgs/{org}/attestations/bulk-list": post: summary: List attestations by bulk subject digests @@ -26163,7 +26708,7 @@ paths: '404': "$ref": "#/components/responses/not_found" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26226,7 +26771,7 @@ paths: '422': "$ref": "#/components/responses/validation_failed_simple" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26272,7 +26817,7 @@ paths: '404': "$ref": "#/components/responses/not_found" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26386,7 +26931,7 @@ paths: '422': "$ref": "#/components/responses/validation_failed" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26571,7 +27116,7 @@ paths: '401': "$ref": "#/components/responses/requires_authentication" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26673,7 +27218,7 @@ paths: message: type: string x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -27305,7 +27850,8 @@ paths: The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network. > [!NOTE] - > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions. tags: - repos operationId: repos/get @@ -53906,7 +54452,7 @@ paths: summary: Search issues and pull requests description: |- > [!WARNING] - > **Notice:** Search for issues and pull requests will be overridden by advanced search on September 4, 2025. + > **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025. > You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/). tags: - search @@ -53990,7 +54536,7 @@ paths: category: search subcategory: search deprecationDate: '2025-03-04' - removalDate: '2025-09-04' + removalDate: '2025-11-04' deprecated: true "/search/labels": get: @@ -89436,7 +89982,6 @@ components: - title - url - user - - author_association - created_at - updated_at issue-comment: @@ -104292,7 +104837,6 @@ components: - title - url - user - - author_association - created_at - updated_at nullable: true @@ -121677,6 +122221,8 @@ components: "$ref": "#/components/schemas/check-run-with-simple-check-suite" installation: "$ref": "#/components/schemas/simple-installation" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" organization: "$ref": "#/components/schemas/organization-simple-webhooks" repository: @@ -121710,6 +122256,8 @@ components: "$ref": "#/components/schemas/check-run-with-simple-check-suite" installation: "$ref": "#/components/schemas/simple-installation" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" organization: "$ref": "#/components/schemas/organization-simple-webhooks" repository: @@ -121743,6 +122291,8 @@ components: "$ref": "#/components/schemas/check-run-with-simple-check-suite" installation: "$ref": "#/components/schemas/simple-installation" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" organization: "$ref": "#/components/schemas/organization-simple-webhooks" repository: @@ -121785,6 +122335,8 @@ components: "$ref": "#/components/schemas/check-run-with-simple-check-suite" installation: "$ref": "#/components/schemas/simple-installation" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" organization: "$ref": "#/components/schemas/organization-simple-webhooks" repository: diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index 44c40f60bd..8f377d3575 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -7968,6 +7968,432 @@ } } }, + "/enterprises/{enterprise}/copilot/billing/selected_enterprise_teams": { + "post": { + "summary": "Add enterprise teams to the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified enterprise team. The enterprise will be billed accordingly.\n\nOnly enterprise owners can purchase Copilot seats for their enterprise members.\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-copilot-seats-for-enterprise-teams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-enterprise-teams-to-the-copilot-subscription-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_enterprise_teams": { + "type": "array", + "description": "List of enterprise team names within the enterprise to which to grant access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_enterprise_teams" + ] + }, + "examples": { + "default": { + "value": { + "selected_enterprise_teams": [ + "engteam1", + "engteam2", + "engteam3" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats created for the members of the specified enterprise team(s).", + "properties": { + "seats_created": { + "type": "integer" + } + }, + "required": [ + "seats_created" + ] + }, + "examples": { + "default": { + "value": { + "seats_created": 5 + } + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Copilot Business is not enabled for this enterprise, billing has not been set up for this enterprise or a public code suggestions policy has not been set for this enterprise." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove enterprise teams from the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each enterprise team specified to \"pending cancellation\".\nThis will cause the members of the specified enterprise team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another enterprise team.\n\nOnly enterprise owners can cancel Copilot seats for their enterprise members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seats-for-enterprise-teams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-enterprise-teams-from-the-copilot-subscription-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_enterprise_teams": { + "type": "array", + "description": "List of enterprise team names within the enterprise to which to grant access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_enterprise_teams" + ] + }, + "examples": { + "default": { + "value": { + "selected_enterprise_teams": [ + "engteam1", + "engteam2", + "engteam3" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for the members of the specified enterprise team(s).", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "202": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + }, + "examples": { + "response": { + "value": { + "message": "Status for delete command" + } + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Copilot Business is not enabled for this enterprise, billing has not been set up for this enterprise or a public code suggestions policy has not been set for this enterprise." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, + "/enterprises/{enterprise}/copilot/billing/selected_users": { + "post": { + "summary": "Add users to the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe enterprise will be billed accordingly.\n\nOnly enterprise owners can purchase Copilot seats for their enterprise members.\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-copilot-seats-for-enterprise-users", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_usernames": { + "type": "array", + "description": "The usernames of the enterprise members to be granted access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_usernames" + ] + }, + "examples": { + "default": { + "value": { + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats created for the specified user(s).", + "properties": { + "seats_created": { + "type": "integer" + } + }, + "required": [ + "seats_created" + ] + }, + "examples": { + "default": { + "value": { + "seats_created": 5 + } + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Copilot is not enabled for this enterprise, billing has not been set up for this enterprise, a public code suggestions policy has not been set for this enterprise, or the enterprise's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove users from the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team or organization membership.\n\nOnly enterprise owners can cancel Copilot seats for their enterprise members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seats-for-enterprise-users", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_usernames": { + "type": "array", + "description": "The usernames of the enterprise members for which to revoke access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_usernames" + ] + }, + "examples": { + "default": { + "value": { + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for the specified users.", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Copilot is not enabled for this enterprise, billing has not been set up for this enterprise, a public code suggestions policy has not been set for this enterprise, or the enterprise's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, "/enterprises/{enterprise}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise", @@ -18995,6 +19421,294 @@ } } }, + "/orgs/{org}/artifacts/metadata/storage-records": { + "post": { + "summary": "Create artifact metadata storage records", + "description": "Create metadata storage records for artifacts associated with an organization.\nThis endpoint will create a new artifact storage record on behalf of any artifact matching the provided digest and\nassociated with a repository owned by the organization.", + "tags": [ + "orgs" + ], + "operationId": "orgs/create-artifact-storage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#create-artifact-metadata-storage-records" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact.", + "example": "libfoo-1.2.3", + "minLength": 1 + }, + "digest": { + "type": "string", + "description": "The digest of the artifact (algorithm:hex-encoded-digest).", + "example": "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0...", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "artifact_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The URL where the artifact is stored.", + "example": "https://reg.example.com/artifactory/bar/libfoo-1.2.3" + }, + "path": { + "type": "string", + "format": "uri", + "description": "The path of the artifact.", + "example": "com/github/bar/libfoo-1.2.3" + }, + "registry_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The base URL of the artifact registry.", + "example": "https://reg.example.com/artifactory/", + "minLength": 1 + }, + "repository": { + "type": "string", + "description": "The repository name within the registry.", + "example": "bar" + }, + "status": { + "type": "string", + "description": "The status of the artifact (e.g., active, inactive).", + "example": "active", + "enum": [ + "active", + "eol", + "deleted" + ], + "default": "active" + } + }, + "required": [ + "name", + "digest", + "registry_url" + ] + }, + "examples": { + "default": { + "value": { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Artifact metadata storage record stored successfully.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "type": "integer", + "example": 1 + }, + "storage_records": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "artifact_url": { + "type": "string" + }, + "registry_url": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "status": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "storage_records": [ + { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active", + "created_at": "2023-10-01T12:00:00Z", + "updated_at": "2023-10-01T12:00:00Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, + "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { + "get": { + "summary": "List artifact storage records", + "description": "List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization.\n\nThe collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-artifact-storage-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#list-artifact-storage-records" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "subject_digest", + "description": "The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`.", + "in": "path", + "required": true, + "example": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "schema": { + "type": "string", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "x-multi-segment": true + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of storage records for this digest and organization", + "example": 3, + "type": "integer" + }, + "storage_records": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "artifact_url": { + "type": "string" + }, + "registry_url": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "status": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "storage_records": [ + { + "name": "libfoo-1.2.3", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3", + "registry_url": "https://reg.example.com/artifactory/", + "repository": "bar", + "status": "active", + "created_at": "2023-10-01T12:00:00Z", + "updated_at": "2023-10-01T12:00:00Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, "/orgs/{org}/attestations/bulk-list": { "post": { "summary": "List attestations by bulk subject digests", @@ -36218,7 +36932,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -36307,7 +37021,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -36371,7 +37085,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -36535,7 +37249,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -36795,7 +37509,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -36951,7 +37665,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -37805,7 +38519,7 @@ "/repos/{owner}/{repo}": { "get": { "summary": "Get a repository", - "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n> [!NOTE]\n> In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"", + "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n> [!NOTE]\n> - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n> - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions.", "tags": [ "repos" ], @@ -74562,7 +75276,7 @@ "/search/issues": { "get": { "summary": "Search issues and pull requests", - "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on September 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", + "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", "tags": [ "search" ], @@ -74670,7 +75384,7 @@ "category": "search", "subcategory": "search", "deprecationDate": "2025-03-04", - "removalDate": "2025-09-04" + "removalDate": "2025-11-04" }, "deprecated": true } @@ -122880,7 +123594,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -141757,7 +142470,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ], @@ -164827,6 +165539,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -164873,6 +165588,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -164919,6 +165637,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -164976,6 +165697,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 32884adf82..b00396a923 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -5661,6 +5661,341 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/enterprises/{enterprise}/copilot/billing/selected_enterprise_teams": + post: + summary: Add enterprise teams to the Copilot subscription for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Purchases a GitHub Copilot seat for all users within each specified enterprise team. The enterprise will be billed accordingly. + + Only enterprise owners can purchase Copilot seats for their enterprise members. + + The response contains the total number of new seats that were created and existing seats that were refreshed. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/add-copilot-seats-for-enterprise-teams + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-enterprise-teams-to-the-copilot-subscription-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + content: + application/json: + schema: + type: object + properties: + selected_enterprise_teams: + type: array + description: List of enterprise team names within the enterprise + to which to grant access to GitHub Copilot. + items: + type: string + minItems: 1 + required: + - selected_enterprise_teams + examples: + default: + value: + selected_enterprise_teams: + - engteam1 + - engteam2 + - engteam3 + required: true + responses: + '201': + description: OK + content: + application/json: + schema: + type: object + description: The total number of seats created for the members of + the specified enterprise team(s). + properties: + seats_created: + type: integer + required: + - seats_created + examples: + default: + value: + seats_created: 5 + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Copilot Business is not enabled for this enterprise, billing + has not been set up for this enterprise or a public code suggestions policy + has not been set for this enterprise. + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-user-management + delete: + summary: Remove enterprise teams from the Copilot subscription for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets seats for all members of each enterprise team specified to "pending cancellation". + This will cause the members of the specified enterprise team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another enterprise team. + + Only enterprise owners can cancel Copilot seats for their enterprise members. + + The response contains the total number of seats set to "pending cancellation". + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/cancel-copilot-seats-for-enterprise-teams + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-enterprise-teams-from-the-copilot-subscription-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + content: + application/json: + schema: + type: object + properties: + selected_enterprise_teams: + type: array + description: List of enterprise team names within the enterprise + to which to grant access to GitHub Copilot. + items: + type: string + minItems: 1 + required: + - selected_enterprise_teams + examples: + default: + value: + selected_enterprise_teams: + - engteam1 + - engteam2 + - engteam3 + required: true + responses: + '200': + description: OK + content: + application/json: + schema: + type: object + description: The total number of seats set to "pending cancellation" + for the members of the specified enterprise team(s). + properties: + seats_cancelled: + type: integer + required: + - seats_cancelled + examples: + default: + value: + seats_cancelled: 5 + '202': + description: Response + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + response: + value: + message: Status for delete command + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Copilot Business is not enabled for this enterprise, billing + has not been set up for this enterprise or a public code suggestions policy + has not been set for this enterprise. + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-user-management + "/enterprises/{enterprise}/copilot/billing/selected_users": + post: + summary: Add users to the Copilot subscription for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Purchases a GitHub Copilot seat for each user specified. + The enterprise will be billed accordingly. + + Only enterprise owners can purchase Copilot seats for their enterprise members. + + The response contains the total number of new seats that were created and existing seats that were refreshed. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/add-copilot-seats-for-enterprise-users + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + content: + application/json: + schema: + type: object + properties: + selected_usernames: + type: array + description: The usernames of the enterprise members to be granted + access to GitHub Copilot. + items: + type: string + minItems: 1 + required: + - selected_usernames + examples: + default: + value: + selected_usernames: + - cooluser1 + - hacker2 + - octocat + required: true + responses: + '201': + description: OK + content: + application/json: + schema: + type: object + description: The total number of seats created for the specified user(s). + properties: + seats_created: + type: integer + required: + - seats_created + examples: + default: + value: + seats_created: 5 + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Copilot is not enabled for this enterprise, billing has not + been set up for this enterprise, a public code suggestions policy has + not been set for this enterprise, or the enterprise's Copilot access setting + is set to enable Copilot for all users or is unconfigured. + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-user-management + delete: + summary: Remove users from the Copilot subscription for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets seats for all users specified to "pending cancellation". + This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team or organization membership. + + Only enterprise owners can cancel Copilot seats for their enterprise members. + + The response contains the total number of seats set to "pending cancellation". + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/cancel-copilot-seats-for-enterprise-users + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + content: + application/json: + schema: + type: object + properties: + selected_usernames: + type: array + description: The usernames of the enterprise members for which to + revoke access to GitHub Copilot. + items: + type: string + minItems: 1 + required: + - selected_usernames + examples: + default: + value: + selected_usernames: + - cooluser1 + - hacker2 + - octocat + required: true + responses: + '200': + description: OK + content: + application/json: + schema: + type: object + description: The total number of seats set to "pending cancellation" + for the specified users. + properties: + seats_cancelled: + type: integer + required: + - seats_cancelled + examples: + default: + value: + seats_cancelled: 5 + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Copilot is not enabled for this enterprise, billing has not + been set up for this enterprise, a public code suggestions policy has + not been set for this enterprise, or the enterprise's Copilot access setting + is set to enable Copilot for all users or is unconfigured. + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-user-management "/enterprises/{enterprise}/copilot/metrics": get: summary: Get Copilot metrics for an enterprise @@ -13632,6 +13967,216 @@ paths: enabledForGitHubApps: true category: announcement-banners subcategory: organizations + "/orgs/{org}/artifacts/metadata/storage-records": + post: + summary: Create artifact metadata storage records + description: |- + Create metadata storage records for artifacts associated with an organization. + This endpoint will create a new artifact storage record on behalf of any artifact matching the provided digest and + associated with a repository owned by the organization. + tags: + - orgs + operationId: orgs/create-artifact-storage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#create-artifact-metadata-storage-records + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the artifact. + example: libfoo-1.2.3 + minLength: 1 + digest: + type: string + description: The digest of the artifact (algorithm:hex-encoded-digest). + example: sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + artifact_url: + type: string + format: uri + pattern: "^https://" + description: The URL where the artifact is stored. + example: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + path: + type: string + format: uri + description: The path of the artifact. + example: com/github/bar/libfoo-1.2.3 + registry_url: + type: string + format: uri + pattern: "^https://" + description: The base URL of the artifact registry. + example: https://reg.example.com/artifactory/ + minLength: 1 + repository: + type: string + description: The repository name within the registry. + example: bar + status: + type: string + description: The status of the artifact (e.g., active, inactive). + example: active + enum: + - active + - eol + - deleted + default: active + required: + - name + - digest + - registry_url + examples: + default: + value: + name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + responses: + '200': + description: Artifact metadata storage record stored successfully. + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + example: 1 + storage_records: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + digest: + type: string + artifact_url: + type: string + registry_url: + type: string + repository: + type: string + status: + type: string + created_at: + type: string + updated_at: + type: string + examples: + default: + value: + total_count: 1 + storage_records: + - name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + created_at: '2023-10-01T12:00:00Z' + updated_at: '2023-10-01T12:00:00Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata + "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": + get: + summary: List artifact storage records + description: |- + List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. + + The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required. + tags: + - orgs + operationId: orgs/list-artifact-storage-records + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#list-artifact-storage-records + parameters: + - "$ref": "#/components/parameters/org" + - name: subject_digest + description: The parameter should be set to the attestation's subject's SHA256 + digest, in the form `sha256:HEX_DIGEST`. + in: path + required: true + example: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + schema: + type: string + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + x-multi-segment: true + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of storage records for this digest and + organization + example: 3 + type: integer + storage_records: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + digest: + type: string + artifact_url: + type: string + registry_url: + type: string + repository: + type: string + status: + type: string + created_at: + type: string + updated_at: + type: string + examples: + default: + value: + storage_records: + - name: libfoo-1.2.3 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3 + registry_url: https://reg.example.com/artifactory/ + repository: bar + status: active + created_at: '2023-10-01T12:00:00Z' + updated_at: '2023-10-01T12:00:00Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata "/orgs/{org}/attestations/bulk-list": post: summary: List attestations by bulk subject digests @@ -26163,7 +26708,7 @@ paths: '404': "$ref": "#/components/responses/not_found" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26226,7 +26771,7 @@ paths: '422': "$ref": "#/components/responses/validation_failed_simple" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26272,7 +26817,7 @@ paths: '404': "$ref": "#/components/responses/not_found" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26386,7 +26931,7 @@ paths: '422': "$ref": "#/components/responses/validation_failed" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26571,7 +27116,7 @@ paths: '401': "$ref": "#/components/responses/requires_authentication" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26673,7 +27218,7 @@ paths: message: type: string x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -27305,7 +27850,8 @@ paths: The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network. > [!NOTE] - > In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > - In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + > - To view merge-related settings, you must have the `contents:read` and `contents:write` permissions. tags: - repos operationId: repos/get @@ -53906,7 +54452,7 @@ paths: summary: Search issues and pull requests description: |- > [!WARNING] - > **Notice:** Search for issues and pull requests will be overridden by advanced search on September 4, 2025. + > **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025. > You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/). {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}