diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index ccfd6d680b..ec78529635 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -11451,6 +11451,312 @@ } } }, + "/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.", + "minLength": 1, + "examples": [ + "libfoo-1.2.3" + ] + }, + "digest": { + "type": "string", + "description": "The digest of the artifact (algorithm:hex-encoded-digest).", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$", + "examples": [ + "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0..." + ] + }, + "artifact_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The URL where the artifact is stored.", + "examples": [ + "https://reg.example.com/artifactory/bar/libfoo-1.2.3" + ] + }, + "path": { + "type": "string", + "format": "uri", + "description": "The path of the artifact.", + "examples": [ + "com/github/bar/libfoo-1.2.3" + ] + }, + "registry_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The base URL of the artifact registry.", + "minLength": 1, + "examples": [ + "https://reg.example.com/artifactory/" + ] + }, + "repository": { + "type": "string", + "description": "The repository name within the registry.", + "examples": [ + "bar" + ] + }, + "status": { + "type": "string", + "description": "The status of the artifact (e.g., active, inactive).", + "enum": [ + "active", + "eol", + "deleted" + ], + "default": "active", + "examples": [ + "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", + "examples": [ + 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", + "type": "integer", + "examples": [ + 3 + ] + }, + "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", @@ -26804,21 +27110,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": { @@ -26827,11 +27133,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" } } } @@ -26843,70 +27149,63 @@ "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", - "type": [ - "string", - "null" - ], - "examples": [ - "Update all gems" - ] - }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean", + "name": { + "description": "Name of the project column", + "type": "string", "examples": [ - false + "Remaining tasks" ] } - } + }, + "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" } } } @@ -26919,11 +27218,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" } } } @@ -26937,38 +27236,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": { @@ -26979,62 +27272,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": { @@ -27044,18 +27313,11 @@ "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.", + "description": "The position of the column in a project. Can be one of: `first`, `last`, or `after:` to place after the specified column.", "type": "string", - "pattern": "^(?:top|bottom|after:\\d+)$", - "examples": [ - "bottom" - ] - }, - "column_id": { - "description": "The unique identifier of the column the card should be moved to", - "type": "integer", + "pattern": "^(?:first|last|after:\\d+)$", "examples": [ - 42 + "last" ] } }, @@ -27066,596 +27328,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", - "type": "string", - "examples": [ - "Remaining tasks" - ] - } - }, - "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", - "type": [ - "string", - "null" - ], - "examples": [ - "Update all gems" - ] - } - }, - "required": [ - "note" - ] - }, - { - "type": "object", - "properties": { - "content_id": { - "description": "The unique identifier of the content associated with the card", - "type": "integer", - "examples": [ - 42 - ] - }, - "content_type": { - "description": "The piece of content associated with the card", - "type": "string", - "examples": [ - "PullRequest" - ] - } - }, - "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.", - "type": "string", - "pattern": "^(?:first|last|after:\\d+)$", - "examples": [ - "last" - ] - } - }, - "required": [ - "position" - ], - "type": "object" - }, - "examples": { - "default": { - "summary": "Move the column to the end of the board", - "value": { - "position": "last" + "position": "last" } } } @@ -28474,7 +28149,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" ], @@ -62684,7 +62359,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" ], @@ -62792,7 +62467,7 @@ "category": "search", "subcategory": "search", "deprecationDate": "2025-03-04", - "removalDate": "2025-09-04" + "removalDate": "2025-11-04" }, "deprecated": true } @@ -104671,7 +104346,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -117715,112 +117389,6 @@ "updated_at" ] }, - "project-card": { - "title": "Project Card", - "description": "Project cards represent a scope of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/columns/cards/1478" - ] - }, - "id": { - "description": "The project card's ID", - "type": "integer", - "format": "int64", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOlByb2plY3RDYXJkMTQ3OA==" - ] - }, - "note": { - "type": [ - "string", - "null" - ], - "examples": [ - "Add payload for delete Project column" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-09-05T14:21:06Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-09-05T14:20:22Z" - ] - }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean", - "examples": [ - false - ] - }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/columns/367" - ] - }, - "content_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test/issues/3" - ] - }, - "project_url": { - "type": "string", - "format": "uri", - "examples": [ - "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.", @@ -150256,6 +149824,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -150302,6 +149873,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -150348,6 +149922,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -150405,6 +149982,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -292684,40 +292264,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", @@ -292730,42 +292276,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", @@ -313668,15 +313178,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-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 399b1d536e..f5e6a07fdc 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -8301,6 +8301,225 @@ 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. + minLength: 1 + examples: + - libfoo-1.2.3 + digest: + type: string + description: The digest of the artifact (algorithm:hex-encoded-digest). + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + examples: + - sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + artifact_url: + type: string + format: uri + pattern: "^https://" + description: The URL where the artifact is stored. + examples: + - https://reg.example.com/artifactory/bar/libfoo-1.2.3 + path: + type: string + format: uri + description: The path of the artifact. + examples: + - com/github/bar/libfoo-1.2.3 + registry_url: + type: string + format: uri + pattern: "^https://" + description: The base URL of the artifact registry. + minLength: 1 + examples: + - https://reg.example.com/artifactory/ + repository: + type: string + description: The repository name within the registry. + examples: + - bar + status: + type: string + description: The status of the artifact (e.g., active, inactive). + enum: + - active + - eol + - deleted + default: active + examples: + - 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 + examples: + - 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 + type: integer + examples: + - 3 + 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 @@ -19464,275 +19683,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 - type: - - string - - 'null' - examples: - - Update all gems - archived: - description: Whether or not the card is archived - type: boolean - examples: - - false - 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.' - type: string - pattern: "^(?:top|bottom|after:\\d+)$" - examples: - - bottom - column_id: - description: The unique identifier of the column the card should - be moved to - type: integer - examples: - - 42 - 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 @@ -19862,169 +19812,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 - type: - - string - - 'null' - examples: - - Update all gems - required: - - note - - type: object - properties: - content_id: - description: The unique identifier of the content associated with - the card - type: integer - examples: - - 42 - content_type: - description: The piece of content associated with the card - type: string - examples: - - PullRequest - 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 @@ -20657,7 +20444,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 @@ -45452,7 +45240,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 @@ -45535,7 +45323,7 @@ paths: category: search subcategory: search deprecationDate: '2025-03-04' - removalDate: '2025-09-04' + removalDate: '2025-11-04' deprecated: true "/search/labels": get: @@ -75849,7 +75637,6 @@ components: - title - url - user - - author_association - created_at - updated_at issue-comment: @@ -85548,80 +85335,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 - examples: - - https://api.github.com/projects/columns/cards/1478 - id: - description: The project card's ID - type: integer - format: int64 - examples: - - 42 - node_id: - type: string - examples: - - MDExOlByb2plY3RDYXJkMTQ3OA== - note: - type: - - string - - 'null' - examples: - - Add payload for delete Project column - creator: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - created_at: - type: string - format: date-time - examples: - - '2016-09-05T14:21:06Z' - updated_at: - type: string - format: date-time - examples: - - '2016-09-05T14:20:22Z' - archived: - description: Whether or not the card is archived - type: boolean - examples: - - false - column_name: - type: string - project_id: - type: string - column_url: - type: string - format: uri - examples: - - https://api.github.com/projects/columns/367 - content_url: - type: string - format: uri - examples: - - https://api.github.com/repos/api-playground/projects-test/issues/3 - project_url: - type: string - format: uri - examples: - - 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. @@ -109128,6 +108841,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: @@ -109161,6 +108876,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: @@ -109194,6 +108911,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: @@ -109236,6 +108955,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: @@ -216696,37 +216417,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 @@ -216737,37 +216427,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 @@ -234833,13 +234492,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-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index ccfd6d680b..ec78529635 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -11451,6 +11451,312 @@ } } }, + "/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.", + "minLength": 1, + "examples": [ + "libfoo-1.2.3" + ] + }, + "digest": { + "type": "string", + "description": "The digest of the artifact (algorithm:hex-encoded-digest).", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$", + "examples": [ + "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0..." + ] + }, + "artifact_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The URL where the artifact is stored.", + "examples": [ + "https://reg.example.com/artifactory/bar/libfoo-1.2.3" + ] + }, + "path": { + "type": "string", + "format": "uri", + "description": "The path of the artifact.", + "examples": [ + "com/github/bar/libfoo-1.2.3" + ] + }, + "registry_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The base URL of the artifact registry.", + "minLength": 1, + "examples": [ + "https://reg.example.com/artifactory/" + ] + }, + "repository": { + "type": "string", + "description": "The repository name within the registry.", + "examples": [ + "bar" + ] + }, + "status": { + "type": "string", + "description": "The status of the artifact (e.g., active, inactive).", + "enum": [ + "active", + "eol", + "deleted" + ], + "default": "active", + "examples": [ + "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", + "examples": [ + 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", + "type": "integer", + "examples": [ + 3 + ] + }, + "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", @@ -26804,21 +27110,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": { @@ -26827,11 +27133,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" } } } @@ -26843,70 +27149,63 @@ "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", - "type": [ - "string", - "null" - ], - "examples": [ - "Update all gems" - ] - }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean", + "name": { + "description": "Name of the project column", + "type": "string", "examples": [ - false + "Remaining tasks" ] } - } + }, + "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" } } } @@ -26919,11 +27218,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" } } } @@ -26937,38 +27236,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": { @@ -26979,62 +27272,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": { @@ -27044,18 +27313,11 @@ "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.", + "description": "The position of the column in a project. Can be one of: `first`, `last`, or `after:` to place after the specified column.", "type": "string", - "pattern": "^(?:top|bottom|after:\\d+)$", - "examples": [ - "bottom" - ] - }, - "column_id": { - "description": "The unique identifier of the column the card should be moved to", - "type": "integer", + "pattern": "^(?:first|last|after:\\d+)$", "examples": [ - 42 + "last" ] } }, @@ -27066,596 +27328,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", - "type": "string", - "examples": [ - "Remaining tasks" - ] - } - }, - "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", - "type": [ - "string", - "null" - ], - "examples": [ - "Update all gems" - ] - } - }, - "required": [ - "note" - ] - }, - { - "type": "object", - "properties": { - "content_id": { - "description": "The unique identifier of the content associated with the card", - "type": "integer", - "examples": [ - 42 - ] - }, - "content_type": { - "description": "The piece of content associated with the card", - "type": "string", - "examples": [ - "PullRequest" - ] - } - }, - "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.", - "type": "string", - "pattern": "^(?:first|last|after:\\d+)$", - "examples": [ - "last" - ] - } - }, - "required": [ - "position" - ], - "type": "object" - }, - "examples": { - "default": { - "summary": "Move the column to the end of the board", - "value": { - "position": "last" + "position": "last" } } } @@ -28474,7 +28149,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" ], @@ -62684,7 +62359,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" ], @@ -62792,7 +62467,7 @@ "category": "search", "subcategory": "search", "deprecationDate": "2025-03-04", - "removalDate": "2025-09-04" + "removalDate": "2025-11-04" }, "deprecated": true } @@ -104671,7 +104346,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -117715,112 +117389,6 @@ "updated_at" ] }, - "project-card": { - "title": "Project Card", - "description": "Project cards represent a scope of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/columns/cards/1478" - ] - }, - "id": { - "description": "The project card's ID", - "type": "integer", - "format": "int64", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOlByb2plY3RDYXJkMTQ3OA==" - ] - }, - "note": { - "type": [ - "string", - "null" - ], - "examples": [ - "Add payload for delete Project column" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-09-05T14:21:06Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-09-05T14:20:22Z" - ] - }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean", - "examples": [ - false - ] - }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/columns/367" - ] - }, - "content_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test/issues/3" - ] - }, - "project_url": { - "type": "string", - "format": "uri", - "examples": [ - "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.", @@ -150256,6 +149824,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -150302,6 +149873,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -150348,6 +149922,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -150405,6 +149982,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -292684,40 +292264,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", @@ -292730,42 +292276,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", @@ -313668,15 +313178,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-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 399b1d536e..f5e6a07fdc 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -8301,6 +8301,225 @@ 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. + minLength: 1 + examples: + - libfoo-1.2.3 + digest: + type: string + description: The digest of the artifact (algorithm:hex-encoded-digest). + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + examples: + - sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + artifact_url: + type: string + format: uri + pattern: "^https://" + description: The URL where the artifact is stored. + examples: + - https://reg.example.com/artifactory/bar/libfoo-1.2.3 + path: + type: string + format: uri + description: The path of the artifact. + examples: + - com/github/bar/libfoo-1.2.3 + registry_url: + type: string + format: uri + pattern: "^https://" + description: The base URL of the artifact registry. + minLength: 1 + examples: + - https://reg.example.com/artifactory/ + repository: + type: string + description: The repository name within the registry. + examples: + - bar + status: + type: string + description: The status of the artifact (e.g., active, inactive). + enum: + - active + - eol + - deleted + default: active + examples: + - 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 + examples: + - 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 + type: integer + examples: + - 3 + 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 @@ -19464,275 +19683,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 - type: - - string - - 'null' - examples: - - Update all gems - archived: - description: Whether or not the card is archived - type: boolean - examples: - - false - 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.' - type: string - pattern: "^(?:top|bottom|after:\\d+)$" - examples: - - bottom - column_id: - description: The unique identifier of the column the card should - be moved to - type: integer - examples: - - 42 - 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 @@ -19862,169 +19812,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 - type: - - string - - 'null' - examples: - - Update all gems - required: - - note - - type: object - properties: - content_id: - description: The unique identifier of the content associated with - the card - type: integer - examples: - - 42 - content_type: - description: The piece of content associated with the card - type: string - examples: - - PullRequest - 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 @@ -20657,7 +20444,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 @@ -45452,7 +45240,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 @@ -45535,7 +45323,7 @@ paths: category: search subcategory: search deprecationDate: '2025-03-04' - removalDate: '2025-09-04' + removalDate: '2025-11-04' deprecated: true "/search/labels": get: @@ -75849,7 +75637,6 @@ components: - title - url - user - - author_association - created_at - updated_at issue-comment: @@ -85548,80 +85335,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 - examples: - - https://api.github.com/projects/columns/cards/1478 - id: - description: The project card's ID - type: integer - format: int64 - examples: - - 42 - node_id: - type: string - examples: - - MDExOlByb2plY3RDYXJkMTQ3OA== - note: - type: - - string - - 'null' - examples: - - Add payload for delete Project column - creator: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - created_at: - type: string - format: date-time - examples: - - '2016-09-05T14:21:06Z' - updated_at: - type: string - format: date-time - examples: - - '2016-09-05T14:20:22Z' - archived: - description: Whether or not the card is archived - type: boolean - examples: - - false - column_name: - type: string - project_id: - type: string - column_url: - type: string - format: uri - examples: - - https://api.github.com/projects/columns/367 - content_url: - type: string - format: uri - examples: - - https://api.github.com/repos/api-playground/projects-test/issues/3 - project_url: - type: string - format: uri - examples: - - 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. @@ -109128,6 +108841,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: @@ -109161,6 +108876,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: @@ -109194,6 +108911,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: @@ -109236,6 +108955,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: @@ -216696,37 +216417,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 @@ -216737,37 +216427,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 @@ -234833,13 +234492,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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 9935f1a71c..c57c90ef8b 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -29493,7 +29493,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -47775,7 +47774,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -54690,7 +54688,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -79482,6 +79479,324 @@ } } }, + "/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.", + "minLength": 1, + "examples": [ + "libfoo-1.2.3" + ] + }, + "digest": { + "type": "string", + "description": "The digest of the artifact (algorithm:hex-encoded-digest).", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$", + "examples": [ + "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0..." + ] + }, + "artifact_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The URL where the artifact is stored.", + "examples": [ + "https://reg.example.com/artifactory/bar/libfoo-1.2.3" + ] + }, + "path": { + "type": "string", + "format": "uri", + "description": "The path of the artifact.", + "examples": [ + "com/github/bar/libfoo-1.2.3" + ] + }, + "registry_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The base URL of the artifact registry.", + "minLength": 1, + "examples": [ + "https://reg.example.com/artifactory/" + ] + }, + "repository": { + "type": "string", + "description": "The repository name within the registry.", + "examples": [ + "bar" + ] + }, + "status": { + "type": "string", + "description": "The status of the artifact (e.g., active, inactive).", + "enum": [ + "active", + "eol", + "deleted" + ], + "default": "active", + "examples": [ + "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", + "examples": [ + 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", + "type": "integer", + "examples": [ + 3 + ] + }, + "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", @@ -105560,7 +105875,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -118320,7 +118634,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -182745,22 +183058,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": { @@ -182774,272 +183087,73 @@ "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", "examples": [ - "https://api.github.com/projects/columns/cards/1478" - ] - }, - "id": { - "description": "The project card's ID", - "type": "integer", - "format": "int64", - "examples": [ - 42 + "https://api.github.com/projects/columns/367" ] }, - "node_id": { + "project_url": { "type": "string", + "format": "uri", "examples": [ - "MDExOlByb2plY3RDYXJkMTQ3OA==" - ] - }, - "note": { - "type": [ - "string", - "null" - ], - "examples": [ - "Add payload for delete Project column" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } + "https://api.github.com/projects/120" ] }, - "created_at": { + "cards_url": { "type": "string", - "format": "date-time", + "format": "uri", "examples": [ - "2016-09-05T14:21:06Z" + "https://api.github.com/projects/columns/367/cards" ] }, - "updated_at": { - "type": "string", - "format": "date-time", + "id": { + "description": "The unique identifier of the project column", + "type": "integer", "examples": [ - "2016-09-05T14:20:22Z" + 42 ] }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean", + "node_id": { + "type": "string", "examples": [ - false + "MDEzOlByb2plY3RDb2x1bW4zNjc=" ] }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { + "name": { + "description": "Name of the project column", "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/projects/columns/367" + "Remaining tasks" ] }, - "content_url": { + "created_at": { "type": "string", - "format": "uri", + "format": "date-time", "examples": [ - "https://api.github.com/repos/api-playground/projects-test/issues/3" + "2016-09-05T14:18:44Z" ] }, - "project_url": { + "updated_at": { "type": "string", - "format": "uri", + "format": "date-time", "examples": [ - "https://api.github.com/projects/120" + "2016-09-05T14:22:28Z" ] } }, "required": [ "id", "node_id", - "note", "url", - "column_url", "project_url", - "creator", + "cards_url", + "name", "created_at", "updated_at" ] @@ -183047,1127 +183161,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", - "type": [ - "string", - "null" - ], - "examples": [ - "Update all gems" - ] - }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean", - "examples": [ - false - ] - } - } - }, - "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", - "examples": [ - "https://api.github.com/projects/columns/cards/1478" - ] - }, - "id": { - "description": "The project card's ID", - "type": "integer", - "format": "int64", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOlByb2plY3RDYXJkMTQ3OA==" - ] - }, - "note": { - "type": [ - "string", - "null" - ], - "examples": [ - "Add payload for delete Project column" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-09-05T14:21:06Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-09-05T14:20:22Z" - ] - }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean", - "examples": [ - false - ] - }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/columns/367" - ] - }, - "content_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test/issues/3" - ] - }, - "project_url": { - "type": "string", - "format": "uri", - "examples": [ - "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.", - "type": "string", - "pattern": "^(?:top|bottom|after:\\d+)$", - "examples": [ - "bottom" - ] - }, - "column_id": { - "description": "The unique identifier of the column the card should be moved to", - "type": "integer", - "examples": [ - 42 - ] - } - }, - "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", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "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", - "examples": [ - "https://api.github.com/projects/columns/367" - ] - }, - "project_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/120" - ] - }, - "cards_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/columns/367/cards" - ] - }, - "id": { - "description": "The unique identifier of the project column", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEzOlByb2plY3RDb2x1bW4zNjc=" - ] - }, - "name": { - "description": "Name of the project column", - "type": "string", - "examples": [ - "Remaining tasks" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-09-05T14:18:44Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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" } } } @@ -184466,989 +183467,49 @@ } } } - } - }, - "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", - "examples": [ - "https://api.github.com/projects/columns/cards/1478" - ] - }, - "id": { - "description": "The project card's ID", - "type": "integer", - "format": "int64", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOlByb2plY3RDYXJkMTQ3OA==" - ] - }, - "note": { - "type": [ - "string", - "null" - ], - "examples": [ - "Add payload for delete Project column" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-09-05T14:21:06Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-09-05T14:20:22Z" - ] - }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean", - "examples": [ - false - ] - }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/columns/367" - ] - }, - "content_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test/issues/3" - ] - }, - "project_url": { - "type": "string", - "format": "uri", - "examples": [ - "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", - "type": [ - "string", - "null" - ], - "examples": [ - "Update all gems" - ] - } - }, - "required": [ - "note" - ] - }, - { - "type": "object", - "properties": { - "content_id": { - "description": "The unique identifier of the content associated with the card", - "type": "integer", - "examples": [ - 42 - ] - }, - "content_type": { - "description": "The piece of content associated with the card", - "type": "string", - "examples": [ - "PullRequest" - ] - } - }, - "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", - "examples": [ - "https://api.github.com/projects/columns/cards/1478" - ] - }, - "id": { - "description": "The project card's ID", - "type": "integer", - "format": "int64", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOlByb2plY3RDYXJkMTQ3OA==" - ] - }, - "note": { - "type": [ - "string", - "null" - ], - "examples": [ - "Add payload for delete Project column" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-09-05T14:21:06Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-09-05T14:20:22Z" - ] - }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean", - "examples": [ - false - ] - }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/columns/367" - ] - }, - "content_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test/issues/3" - ] - }, - "project_url": { - "type": "string", - "format": "uri", - "examples": [ - "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" - } - } - } - } - } + } + }, + "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" }, - "401": { - "description": "Requires authentication", + "304": { + "description": "Not modified" + }, + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -185473,137 +183534,26 @@ } } }, - "422": { - "description": "Validation failed", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - }, - { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - ] - } - } - } - }, - "503": { - "description": "Response", + "401": { + "description": "Requires authentication", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "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" - } - } - } + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -185615,7 +183565,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "cards", + "subcategory": "columns", "deprecationDate": "2024-05-23", "removalDate": "2025-04-01" }, @@ -189164,7 +187114,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" ], @@ -327520,7 +325470,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -350745,7 +348694,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -354129,7 +352077,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -361689,7 +359636,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -366629,7 +364575,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -371366,7 +369311,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -374733,7 +372677,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -378100,7 +376043,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -381264,7 +379206,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -386419,7 +384360,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -389670,7 +387610,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -393005,7 +390944,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -396362,7 +394300,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -412786,7 +410723,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -417190,7 +415126,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -420451,7 +418386,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -423680,7 +421614,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -427014,7 +424947,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -440754,7 +438686,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -556616,7 +554547,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" ], @@ -559693,7 +557624,7 @@ "category": "search", "subcategory": "search", "deprecationDate": "2025-03-04", - "removalDate": "2025-09-04" + "removalDate": "2025-11-04" }, "deprecated": true } @@ -609939,7 +607870,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -645365,7 +643295,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -649308,7 +647237,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -653253,7 +651181,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -664573,7 +662500,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -668518,7 +666444,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -687928,6 +685853,96 @@ "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", @@ -692799,6 +690814,96 @@ "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", @@ -697670,6 +695775,96 @@ "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", @@ -702554,6 +700749,96 @@ "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", @@ -876844,7 +875129,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -879766,7 +878050,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -885531,7 +883814,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -888453,7 +886735,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -894218,7 +892499,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -898089,7 +896369,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -902905,7 +901184,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -906776,7 +905054,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1388072,7 +1386349,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1391943,7 +1390219,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1396756,7 +1395031,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1400627,7 +1398901,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1405440,7 +1403713,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1409311,7 +1407583,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1414124,7 +1412395,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1417995,7 +1416265,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index b6642ef6a6..df0d11cede 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -1069,7 +1069,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &591 + - &588 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -9101,7 +9101,7 @@ paths: - direct - transitive - - security_advisory: &444 + security_advisory: &441 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9369,7 +9369,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &445 + auto_dismissed_at: &442 type: - string - 'null' @@ -9848,14 +9848,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &569 + state: &566 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: &570 + resolution: &567 type: - string - 'null' @@ -9962,14 +9962,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &571 + - &568 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &573 + - &570 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -10026,7 +10026,7 @@ paths: - blob_url - commit_sha - commit_url - - &574 + - &571 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. @@ -10087,7 +10087,7 @@ paths: - page_url - commit_sha - commit_url - - &575 + - &572 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -10102,7 +10102,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &576 + - &573 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -10117,7 +10117,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &577 + - &574 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -10132,7 +10132,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &578 + - &575 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -10147,7 +10147,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &579 + - &576 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -10162,7 +10162,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &580 + - &577 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -10177,7 +10177,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &581 + - &578 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. @@ -10192,7 +10192,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &582 + - &579 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. @@ -10207,7 +10207,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &583 + - &580 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. @@ -10222,7 +10222,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &584 + - &581 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. @@ -10237,7 +10237,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &585 + - &582 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 @@ -10636,7 +10636,7 @@ paths: milestone: anyOf: - type: 'null' - - &432 + - &429 title: Milestone description: A collection of related issues and pull requests. @@ -10917,7 +10917,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &603 + sub_issues_summary: &600 title: Sub-issues Summary type: object properties: @@ -10938,7 +10938,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &604 + issue_dependencies_summary: &601 title: Issue Dependencies Summary type: object properties: @@ -10957,7 +10957,7 @@ paths: - total_blocking issue_field_values: type: array - items: &605 + items: &602 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11050,10 +11050,9 @@ paths: - title - url - user - - author_association - created_at - updated_at - comment: &491 + comment: &488 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11628,7 +11627,7 @@ paths: url: type: string format: uri - user: &617 + user: &614 title: Public User description: Public User type: object @@ -15064,7 +15063,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &307 + '301': &304 description: Moved permanently content: application/json: @@ -15086,7 +15085,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &520 + - &517 name: all description: If `true`, show notifications marked as read. in: query @@ -15094,7 +15093,7 @@ paths: schema: type: boolean default: false - - &521 + - &518 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -15104,7 +15103,7 @@ paths: type: boolean default: false - *64 - - &522 + - &519 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: @@ -15640,7 +15639,7 @@ paths: - url - subscription_url examples: - default: &523 + default: &520 value: - id: '1' repository: @@ -16261,7 +16260,7 @@ paths: - avatar_url - description examples: - default: &633 + default: &630 value: - login: github id: 1 @@ -16573,7 +16572,7 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *90 - - &659 + - &656 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, @@ -16582,7 +16581,7 @@ paths: required: false schema: type: integer - - &660 + - &657 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 @@ -16591,7 +16590,7 @@ paths: required: false schema: type: integer - - &661 + - &658 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 @@ -16600,7 +16599,7 @@ paths: required: false schema: type: integer - - &662 + - &659 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 @@ -17552,7 +17551,7 @@ paths: type: integer repository_cache_usages: type: array - items: &312 + items: &309 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -18449,7 +18448,7 @@ paths: - all - local_only - selected - selected_actions_url: &318 + selected_actions_url: &315 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` @@ -18532,7 +18531,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &319 type: object properties: days: @@ -18574,7 +18573,7 @@ paths: required: true content: application/json: - schema: &323 + schema: &320 type: object properties: days: @@ -18631,7 +18630,7 @@ paths: required: - approval_policy examples: - default: &324 + default: &321 value: approval_policy: first_time_contributors '404': *6 @@ -18690,7 +18689,7 @@ paths: description: Response content: application/json: - schema: &325 + schema: &322 type: object required: - run_workflows_from_fork_pull_requests @@ -18744,7 +18743,7 @@ paths: required: true content: application/json: - schema: &326 + schema: &323 type: object required: - run_workflows_from_fork_pull_requests @@ -19379,7 +19378,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &324 type: object properties: default_workflow_permissions: &113 @@ -19430,7 +19429,7 @@ paths: required: false content: application/json: - schema: &328 + schema: &325 type: object properties: default_workflow_permissions: *113 @@ -19923,7 +19922,7 @@ paths: type: array items: *120 examples: - default: &620 + default: &617 value: total_count: 1 repositories: @@ -20570,7 +20569,7 @@ paths: application/json: schema: type: array - items: &329 + items: &326 title: Runner Application description: Runner Application type: object @@ -20595,7 +20594,7 @@ paths: - download_url - filename examples: - default: &330 + default: &327 value: - os: osx architecture: x64 @@ -20681,7 +20680,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &331 + '201': &328 description: Response content: application/json: @@ -20796,7 +20795,7 @@ paths: - token - expires_at examples: - default: &332 + default: &329 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20835,7 +20834,7 @@ paths: application/json: schema: *124 examples: - default: &333 + default: &330 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20869,7 +20868,7 @@ paths: application/json: schema: *122 examples: - default: &334 + default: &331 value: id: 23 name: MBP @@ -21095,7 +21094,7 @@ paths: - *90 - *121 responses: - '200': &335 + '200': &332 description: Response content: application/json: @@ -21152,7 +21151,7 @@ paths: parameters: - *90 - *121 - - &336 + - &333 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21284,7 +21283,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &345 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21319,7 +21318,7 @@ paths: - key_id - key examples: - default: &349 + default: &346 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21732,7 +21731,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *90 - - &317 + - &314 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)." @@ -22202,6 +22201,225 @@ 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: + - *90 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the artifact. + minLength: 1 + examples: + - libfoo-1.2.3 + digest: + type: string + description: The digest of the artifact (algorithm:hex-encoded-digest). + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + examples: + - sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + artifact_url: + type: string + format: uri + pattern: "^https://" + description: The URL where the artifact is stored. + examples: + - https://reg.example.com/artifactory/bar/libfoo-1.2.3 + path: + type: string + format: uri + description: The path of the artifact. + examples: + - com/github/bar/libfoo-1.2.3 + registry_url: + type: string + format: uri + pattern: "^https://" + description: The base URL of the artifact registry. + minLength: 1 + examples: + - https://reg.example.com/artifactory/ + repository: + type: string + description: The repository name within the registry. + examples: + - bar + status: + type: string + description: The status of the artifact (e.g., active, inactive). + enum: + - active + - eol + - deleted + default: active + examples: + - 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 + examples: + - 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: + - *90 + - 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 + type: integer + examples: + - 3 + 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 @@ -22244,12 +22462,12 @@ paths: required: - subject_digests examples: - default: &648 + default: &645 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &649 + withPredicateType: &646 value: subject_digests: - sha256:abc123 @@ -22308,7 +22526,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &650 + default: &647 value: attestations_subject_digests: - sha256:abc: @@ -22602,7 +22820,7 @@ paths: bundle_url: type: string examples: - default: &362 + default: &359 value: attestations: - bundle: @@ -23539,7 +23757,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *90 - - &387 + - &384 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`, @@ -23549,7 +23767,7 @@ paths: schema: &139 type: string description: The name of the tool used to generate the code scanning analysis. - - &388 + - &385 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 @@ -23573,7 +23791,7 @@ paths: be returned. in: query required: false - schema: &390 + schema: &387 type: string description: State of a code scanning alert. enum: @@ -23596,7 +23814,7 @@ paths: be returned. in: query required: false - schema: &391 + schema: &388 type: string description: Severity of a code scanning alert. enum: @@ -23622,7 +23840,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: &392 + instances_url: &389 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -23644,7 +23862,7 @@ paths: - type: 'null' - *4 dismissed_at: *138 - dismissed_reason: &393 + dismissed_reason: &390 type: - string - 'null' @@ -23655,14 +23873,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &394 + dismissed_comment: &391 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &395 + rule: &392 type: object properties: id: @@ -23723,7 +23941,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &396 + tool: &393 type: object properties: name: *139 @@ -23734,15 +23952,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *140 - most_recent_instance: &397 + most_recent_instance: &394 type: object properties: - ref: &389 + ref: &386 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &407 + analysis_key: &404 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -23753,7 +23971,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &408 + category: &405 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -25078,7 +25296,7 @@ paths: machine: anyOf: - type: 'null' - - &420 + - &417 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -26030,7 +26248,7 @@ paths: - updated_at - visibility examples: - default: &421 + default: &418 value: total_count: 2 secrets: @@ -26068,7 +26286,7 @@ paths: description: Response content: application/json: - schema: &422 + schema: &419 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26103,7 +26321,7 @@ paths: - key_id - key examples: - default: &423 + default: &420 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26135,7 +26353,7 @@ paths: application/json: schema: *149 examples: - default: &425 + default: &422 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27796,7 +28014,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &445 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -27815,7 +28033,7 @@ paths: - key_id - key examples: - default: &449 + default: &446 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29636,7 +29854,7 @@ paths: application/json: schema: *20 examples: - default: &487 + default: &484 value: id: 1 account: @@ -29864,7 +30082,7 @@ paths: required: true content: application/json: - schema: &488 + schema: &485 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -30724,7 +30942,7 @@ paths: application/json: schema: *196 examples: - default: &419 + default: &416 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31982,7 +32200,7 @@ paths: parameters: - *90 - *203 - - &632 + - &629 name: repo_name description: repo_name parameter in: path @@ -33028,7 +33246,7 @@ paths: - nuget - container - *90 - - &634 + - &631 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33069,7 +33287,7 @@ paths: default: *210 '403': *27 '401': *23 - '400': &636 + '400': &633 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -35001,7 +35219,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &304 + '410': &301 description: Gone content: application/json: @@ -35927,7 +36145,7 @@ paths: description: Response content: application/json: - schema: &306 + schema: &303 title: Full Repository description: Full Repository type: object @@ -36392,7 +36610,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &438 + code_of_conduct: &435 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -36506,7 +36724,7 @@ paths: - network_count - subscribers_count examples: - default: &308 + default: &305 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37027,7 +37245,7 @@ paths: - *90 - *17 - *19 - - &553 + - &550 name: targets description: | A comma-separated list of rule targets to filter by. @@ -37309,7 +37527,7 @@ paths: - object rules: type: array - items: &554 + items: &551 title: Repository Rule type: object description: A repository rule. @@ -37371,7 +37589,7 @@ paths: type: string enum: - required_linear_history - - &552 + - &549 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -38196,7 +38414,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *90 - - &555 + - &552 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 @@ -38211,7 +38429,7 @@ paths: in: query schema: type: string - - &556 + - &553 name: time_period description: |- The time period to filter by. @@ -38227,14 +38445,14 @@ paths: - week - month default: day - - &557 + - &554 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 - - &558 + - &555 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -38254,7 +38472,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &556 title: Rule Suites description: Response type: array @@ -38310,7 +38528,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &560 + default: &557 value: - id: 21 actor_id: 12 @@ -38354,7 +38572,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *90 - - &561 + - &558 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -38370,7 +38588,7 @@ paths: description: Response content: application/json: - schema: &562 + schema: &559 title: Rule Suite description: Response type: object @@ -38477,7 +38695,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &563 + default: &560 value: id: 21 actor_id: 12 @@ -38723,7 +38941,7 @@ paths: type: string format: date-time examples: - default: &565 + default: &562 value: - version_id: 3 actor: @@ -38776,7 +38994,7 @@ paths: description: Response content: application/json: - schema: &566 + schema: &563 allOf: - *260 - type: object @@ -38855,7 +39073,7 @@ paths: - *46 - *19 - *17 - - &567 + - &564 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 @@ -38865,7 +39083,7 @@ paths: required: false schema: type: string - - &568 + - &565 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 @@ -39189,7 +39407,7 @@ paths: application/json: schema: type: array - items: &589 + items: &586 description: A repository security advisory. type: object properties: @@ -39508,7 +39726,7 @@ paths: - private_fork additionalProperties: false examples: - default: &590 + default: &587 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -39982,7 +40200,7 @@ paths: description: Response content: application/json: - schema: &653 + schema: &650 type: object properties: total_minutes_used: @@ -40052,7 +40270,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &654 + default: &651 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -40088,7 +40306,7 @@ paths: description: Response content: application/json: - schema: &655 + schema: &652 type: object properties: total_gigabytes_bandwidth_used: @@ -40106,7 +40324,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &656 + default: &653 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -40138,7 +40356,7 @@ paths: description: Response content: application/json: - schema: &657 + schema: &654 type: object properties: days_left_in_billing_cycle: @@ -40156,7 +40374,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &658 + default: &655 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -41460,7 +41678,7 @@ paths: - updated_at - url examples: - default: &607 + default: &604 value: - author: login: octocat @@ -41708,7 +41926,7 @@ paths: application/json: schema: *282 examples: - default: &608 + default: &605 value: author: login: octocat @@ -41899,7 +42117,7 @@ paths: - updated_at - url examples: - default: &609 + default: &606 value: - author: login: octocat @@ -42125,7 +42343,7 @@ paths: application/json: schema: *285 examples: - default: &610 + default: &607 value: author: login: octocat @@ -42743,7 +42961,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &611 + response-if-user-is-a-team-maintainer: &608 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -42808,7 +43026,7 @@ paths: application/json: schema: *292 examples: - response-if-users-membership-with-team-is-now-pending: &612 + response-if-users-membership-with-team-is-now-pending: &609 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -42950,7 +43168,7 @@ paths: - updated_at - permissions examples: - default: &613 + default: &610 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -43029,7 +43247,7 @@ paths: application/json: schema: *293 examples: - default: &614 + default: &611 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -43240,7 +43458,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &615 + schema: &612 title: Team Repository description: A team's access to a repository. type: object @@ -43969,7 +44187,7 @@ paths: type: array items: *151 examples: - response-if-child-teams-exist: &616 + response-if-child-teams-exist: &613 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -44082,365 +44300,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: - - &297 - 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: &298 - title: Project Card - description: Project cards represent a scope of work. - type: object - properties: - url: - type: string - format: uri - examples: - - https://api.github.com/projects/columns/cards/1478 - id: - description: The project card's ID - type: integer - format: int64 - examples: - - 42 - node_id: - type: string - examples: - - MDExOlByb2plY3RDYXJkMTQ3OA== - note: - type: - - string - - 'null' - examples: - - Add payload for delete Project column - creator: - anyOf: - - type: 'null' - - *4 - created_at: - type: string - format: date-time - examples: - - '2016-09-05T14:21:06Z' - updated_at: - type: string - format: date-time - examples: - - '2016-09-05T14:20:22Z' - archived: - description: Whether or not the card is archived - type: boolean - examples: - - false - column_name: - type: string - project_id: - type: string - column_url: - type: string - format: uri - examples: - - https://api.github.com/projects/columns/367 - content_url: - type: string - format: uri - examples: - - https://api.github.com/repos/api-playground/projects-test/issues/3 - project_url: - type: string - format: uri - examples: - - https://api.github.com/projects/120 - required: - - id - - node_id - - note - - url - - column_url - - project_url - - creator - - created_at - - updated_at - examples: - default: &299 - 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': *35 - '403': *27 - '401': *23 - '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: - - *297 - requestBody: - required: false - content: - application/json: - schema: - type: object - properties: - note: - description: The project card's note - type: - - string - - 'null' - examples: - - Update all gems - archived: - description: Whether or not the card is archived - type: boolean - examples: - - false - 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: *298 - examples: - default: *299 - '304': *35 - '403': *27 - '401': *23 - '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: - - *297 - responses: - '204': - description: Response - '304': *35 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *23 - '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: - - *297 - 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.' - type: string - pattern: "^(?:top|bottom|after:\\d+)$" - examples: - - bottom - column_id: - description: The unique identifier of the column the card should - be moved to - type: integer - examples: - - 42 - 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': *35 - '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': *23 - '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 @@ -44455,7 +44314,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &300 + - &297 name: column_id description: The unique identifier of the column. in: path @@ -44467,7 +44326,7 @@ paths: description: Response content: application/json: - schema: &301 + schema: &298 title: Project Column description: Project columns contain cards of work. type: object @@ -44521,7 +44380,7 @@ paths: - created_at - updated_at examples: - default: &302 + default: &299 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -44556,7 +44415,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *300 + - *297 requestBody: required: true content: @@ -44581,9 +44440,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *298 examples: - default: *302 + default: *299 '304': *35 '403': *27 '401': *23 @@ -44608,7 +44467,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *300 + - *297 responses: '204': description: Response @@ -44623,188 +44482,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: - - *300 - - 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: *298 - 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: *57 - '304': *35 - '403': *27 - '401': *23 - 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: - - *300 - requestBody: - required: true - content: - application/json: - schema: - oneOf: - - type: object - properties: - note: - description: The project card's note - type: - - string - - 'null' - examples: - - Update all gems - required: - - note - - type: object - properties: - content_id: - description: The unique identifier of the content associated with - the card - type: integer - examples: - - 42 - content_type: - description: The piece of content associated with the card - type: string - examples: - - PullRequest - 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: *298 - examples: - default: *299 - '304': *35 - '403': *27 - '401': *23 - '422': - description: Validation failed - content: - application/json: - schema: - oneOf: - - *94 - - *95 - '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 @@ -44819,7 +44496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *300 + - *297 requestBody: required: true content: @@ -44888,7 +44565,7 @@ paths: application/json: schema: *225 examples: - default: &303 + default: &300 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -44996,7 +44673,7 @@ paths: application/json: schema: *225 examples: - default: *303 + default: *300 '404': description: Not Found if the authenticated user does not have access to the project @@ -45017,7 +44694,7 @@ paths: items: type: string '401': *23 - '410': *304 + '410': *301 '422': *7 x-github: githubCloudOnly: false @@ -45061,7 +44738,7 @@ paths: items: type: string '401': *23 - '410': *304 + '410': *301 '404': *6 x-github: githubCloudOnly: false @@ -45310,7 +44987,7 @@ paths: application/json: schema: type: array - items: *301 + items: *298 examples: default: value: @@ -45372,7 +45049,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *298 examples: default: value: @@ -45437,7 +45114,7 @@ paths: resources: type: object properties: - core: &305 + core: &302 title: Rate Limit type: object properties: @@ -45454,21 +45131,21 @@ paths: - remaining - reset - used - graphql: *305 - search: *305 - code_search: *305 - source_import: *305 - integration_manifest: *305 - code_scanning_upload: *305 - actions_runner_registration: *305 - scim: *305 - dependency_snapshots: *305 - dependency_sbom: *305 - code_scanning_autofix: *305 + graphql: *302 + search: *302 + code_search: *302 + source_import: *302 + integration_manifest: *302 + code_scanning_upload: *302 + actions_runner_registration: *302 + scim: *302 + dependency_snapshots: *302 + dependency_sbom: *302 + code_scanning_autofix: *302 required: - core - search - rate: *305 + rate: *302 required: - rate - resources @@ -45564,7 +45241,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 @@ -45579,7 +45257,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *303 examples: default-response: summary: Default response @@ -46080,7 +45758,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *307 + '301': *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46347,10 +46025,10 @@ paths: description: Response content: application/json: - schema: *306 + schema: *303 examples: - default: *308 - '307': &309 + default: *305 + '307': &306 description: Temporary Redirect content: application/json: @@ -46402,7 +46080,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *309 + '307': *306 '404': *6 '409': *45 x-github: @@ -46430,7 +46108,7 @@ paths: - *296 - *17 - *19 - - &340 + - &337 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -46453,7 +46131,7 @@ paths: type: integer artifacts: type: array - items: &310 + items: &307 title: Artifact description: An artifact type: object @@ -46548,7 +46226,7 @@ paths: - expires_at - updated_at examples: - default: &341 + default: &338 value: total_count: 2 artifacts: @@ -46611,7 +46289,7 @@ paths: parameters: - *295 - *296 - - &311 + - &308 name: artifact_id description: The unique identifier of the artifact. in: path @@ -46623,7 +46301,7 @@ paths: description: Response content: application/json: - schema: *310 + schema: *307 examples: default: value: @@ -46663,7 +46341,7 @@ paths: parameters: - *295 - *296 - - *311 + - *308 responses: '204': description: Response @@ -46689,7 +46367,7 @@ paths: parameters: - *295 - *296 - - *311 + - *308 - name: archive_format in: path required: true @@ -46703,7 +46381,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': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46733,7 +46411,7 @@ paths: description: Response content: application/json: - schema: *312 + schema: *309 examples: default: value: @@ -46763,7 +46441,7 @@ paths: - *296 - *17 - *19 - - &313 + - &310 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 @@ -46797,7 +46475,7 @@ paths: description: Response content: application/json: - schema: &314 + schema: &311 title: Repository actions caches description: Repository actions caches type: object @@ -46847,7 +46525,7 @@ paths: - total_count - actions_caches examples: - default: &315 + default: &312 value: total_count: 1 actions_caches: @@ -46887,15 +46565,15 @@ paths: required: true schema: type: string - - *313 + - *310 responses: '200': description: Response content: application/json: - schema: *314 + schema: *311 examples: - default: *315 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46949,7 +46627,7 @@ paths: parameters: - *295 - *296 - - &316 + - &313 name: job_id description: The unique identifier of the job. in: path @@ -46961,7 +46639,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &341 title: Job description: Information of a job execution in a workflow run type: object @@ -47310,7 +46988,7 @@ paths: parameters: - *295 - *296 - - *316 + - *313 responses: '302': description: Response @@ -47340,7 +47018,7 @@ paths: parameters: - *295 - *296 - - *316 + - *313 requestBody: required: false content: @@ -47520,7 +47198,7 @@ paths: type: integer secrets: type: array - items: &346 + items: &343 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -47541,7 +47219,7 @@ paths: - created_at - updated_at examples: - default: &347 + default: &344 value: total_count: 2 secrets: @@ -47576,7 +47254,7 @@ paths: parameters: - *295 - *296 - - *317 + - *314 - *19 responses: '200': @@ -47593,7 +47271,7 @@ paths: type: integer variables: type: array - items: &350 + items: &347 title: Actions Variable type: object properties: @@ -47627,7 +47305,7 @@ paths: - created_at - updated_at examples: - default: &351 + default: &348 value: total_count: 2 variables: @@ -47670,11 +47348,11 @@ paths: schema: type: object properties: - enabled: &319 + enabled: &316 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *105 - selected_actions_url: *318 + selected_actions_url: *315 sha_pinning_required: *106 required: - enabled @@ -47715,7 +47393,7 @@ paths: schema: type: object properties: - enabled: *319 + enabled: *316 allowed_actions: *105 sha_pinning_required: *106 required: @@ -47754,7 +47432,7 @@ paths: description: Response content: application/json: - schema: &320 + schema: &317 type: object properties: access_level: @@ -47771,7 +47449,7 @@ paths: required: - access_level examples: - default: &321 + default: &318 value: access_level: organization x-github: @@ -47801,9 +47479,9 @@ paths: required: true content: application/json: - schema: *320 + schema: *317 examples: - default: *321 + default: *318 responses: '204': description: Response @@ -47834,7 +47512,7 @@ paths: description: Response content: application/json: - schema: *322 + schema: *319 examples: default: value: @@ -47869,7 +47547,7 @@ paths: required: true content: application/json: - schema: *323 + schema: *320 examples: default: summary: Set retention days @@ -47902,7 +47580,7 @@ paths: application/json: schema: *107 examples: - default: *324 + default: *321 '404': *6 x-github: enabledForGitHubApps: true @@ -47963,7 +47641,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *322 examples: default: *108 '403': *27 @@ -47991,7 +47669,7 @@ paths: required: true content: application/json: - schema: *326 + schema: *323 examples: default: *108 responses: @@ -48085,7 +47763,7 @@ paths: description: Response content: application/json: - schema: *327 + schema: *324 examples: default: *115 x-github: @@ -48120,7 +47798,7 @@ paths: required: true content: application/json: - schema: *328 + schema: *325 examples: default: *115 x-github: @@ -48203,9 +47881,9 @@ paths: application/json: schema: type: array - items: *329 + items: *326 examples: - default: *330 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48271,7 +47949,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *331 + '201': *328 '404': *6 '422': *7 '409': *45 @@ -48311,7 +47989,7 @@ paths: application/json: schema: *124 examples: - default: *332 + default: *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48348,7 +48026,7 @@ paths: application/json: schema: *124 examples: - default: *333 + default: *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48380,7 +48058,7 @@ paths: application/json: schema: *122 examples: - default: *334 + default: *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48560,7 +48238,7 @@ paths: - *296 - *121 responses: - '200': *335 + '200': *332 '404': *6 x-github: githubCloudOnly: false @@ -48590,7 +48268,7 @@ paths: - *295 - *296 - *121 - - *336 + - *333 responses: '200': *126 '404': *6 @@ -48620,7 +48298,7 @@ paths: parameters: - *295 - *296 - - &354 + - &351 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. @@ -48628,7 +48306,7 @@ paths: required: false schema: type: string - - &355 + - &352 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -48636,7 +48314,7 @@ paths: required: false schema: type: string - - &356 + - &353 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -48645,7 +48323,7 @@ paths: required: false schema: type: string - - &357 + - &354 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 @@ -48672,7 +48350,7 @@ paths: - pending - *17 - *19 - - &358 + - &355 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)." @@ -48681,7 +48359,7 @@ paths: schema: type: string format: date-time - - &337 + - &334 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -48690,13 +48368,13 @@ paths: schema: type: boolean default: false - - &359 + - &356 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &360 + - &357 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -48719,7 +48397,7 @@ paths: type: integer workflow_runs: type: array - items: &338 + items: &335 title: Workflow Run description: An invocation of a workflow type: object @@ -48836,7 +48514,7 @@ paths: type: - array - 'null' - items: &379 + items: &376 title: Pull Request Minimal type: object properties: @@ -48963,7 +48641,7 @@ paths: head_commit: anyOf: - type: 'null' - - &383 + - &380 title: Simple Commit description: A commit. type: object @@ -49078,7 +48756,7 @@ paths: - workflow_url - pull_requests examples: - default: &361 + default: &358 value: total_count: 1 workflow_runs: @@ -49316,22 +48994,22 @@ paths: parameters: - *295 - *296 - - &339 + - &336 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *337 + - *334 responses: '200': description: Response content: application/json: - schema: *338 + schema: *335 examples: - default: &342 + default: &339 value: id: 30433642 name: Build @@ -49574,7 +49252,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 responses: '204': description: Response @@ -49599,7 +49277,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 responses: '200': description: Response @@ -49729,7 +49407,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 responses: '201': description: Response @@ -49764,10 +49442,10 @@ paths: parameters: - *295 - *296 - - *339 + - *336 - *17 - *19 - - *340 + - *337 responses: '200': description: Response @@ -49783,9 +49461,9 @@ paths: type: integer artifacts: type: array - items: *310 + items: *307 examples: - default: *341 + default: *338 headers: Link: *57 x-github: @@ -49811,23 +49489,23 @@ paths: parameters: - *295 - *296 - - *339 - - &343 + - *336 + - &340 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *337 + - *334 responses: '200': description: Response content: application/json: - schema: *338 + schema: *335 examples: - default: *342 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49852,8 +49530,8 @@ paths: parameters: - *295 - *296 - - *339 - - *343 + - *336 + - *340 - *17 - *19 responses: @@ -49871,9 +49549,9 @@ paths: type: integer jobs: type: array - items: *344 + items: *341 examples: - default: &345 + default: &342 value: total_count: 1 jobs: @@ -49988,8 +49666,8 @@ paths: parameters: - *295 - *296 - - *339 - - *343 + - *336 + - *340 responses: '302': description: Response @@ -50019,7 +49697,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 responses: '202': description: Response @@ -50054,7 +49732,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 requestBody: required: true content: @@ -50123,7 +49801,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 responses: '202': description: Response @@ -50158,7 +49836,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 - 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 @@ -50188,9 +49866,9 @@ paths: type: integer jobs: type: array - items: *344 + items: *341 examples: - default: *345 + default: *342 headers: Link: *57 x-github: @@ -50217,7 +49895,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 responses: '302': description: Response @@ -50246,7 +49924,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 responses: '204': description: Response @@ -50275,7 +49953,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 responses: '200': description: Response @@ -50344,7 +50022,7 @@ paths: items: type: object properties: - type: &457 + type: &454 type: string description: The type of reviewer. enum: @@ -50432,7 +50110,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 requestBody: required: true content: @@ -50482,7 +50160,7 @@ paths: application/json: schema: type: array - items: &452 + items: &449 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -50594,7 +50272,7 @@ paths: - created_at - updated_at examples: - default: &453 + default: &450 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -50652,7 +50330,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 requestBody: required: false content: @@ -50699,7 +50377,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 requestBody: required: false content: @@ -50755,7 +50433,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 responses: '200': description: Response @@ -50911,9 +50589,9 @@ paths: type: integer secrets: type: array - items: *346 + items: *343 examples: - default: *347 + default: *344 headers: Link: *57 x-github: @@ -50945,9 +50623,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *345 examples: - default: *349 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50977,9 +50655,9 @@ paths: description: Response content: application/json: - schema: *346 + schema: *343 examples: - default: &470 + default: &467 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -51093,7 +50771,7 @@ paths: parameters: - *295 - *296 - - *317 + - *314 - *19 responses: '200': @@ -51110,9 +50788,9 @@ paths: type: integer variables: type: array - items: *350 + items: *347 examples: - default: *351 + default: *348 headers: Link: *57 x-github: @@ -51196,9 +50874,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *347 examples: - default: &471 + default: &468 value: name: USERNAME value: octocat @@ -51314,7 +50992,7 @@ paths: type: integer workflows: type: array - items: &352 + items: &349 title: Workflow description: A GitHub Actions workflow type: object @@ -51434,7 +51112,7 @@ paths: parameters: - *295 - *296 - - &353 + - &350 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -51449,7 +51127,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *349 examples: default: value: @@ -51484,7 +51162,7 @@ paths: parameters: - *295 - *296 - - *353 + - *350 responses: '204': description: Response @@ -51511,7 +51189,7 @@ paths: parameters: - *295 - *296 - - *353 + - *350 responses: '204': description: Response @@ -51564,7 +51242,7 @@ paths: parameters: - *295 - *296 - - *353 + - *350 responses: '204': description: Response @@ -51593,17 +51271,17 @@ paths: parameters: - *295 - *296 + - *350 + - *351 + - *352 - *353 - *354 + - *17 + - *19 - *355 + - *334 - *356 - *357 - - *17 - - *19 - - *358 - - *337 - - *359 - - *360 responses: '200': description: Response @@ -51619,9 +51297,9 @@ paths: type: integer workflow_runs: type: array - items: *338 + items: *335 examples: - default: *361 + default: *358 headers: Link: *57 x-github: @@ -51655,7 +51333,7 @@ paths: parameters: - *295 - *296 - - *353 + - *350 responses: '200': description: Response @@ -52128,7 +51806,7 @@ paths: bundle_url: type: string examples: - default: *362 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52157,7 +51835,7 @@ paths: application/json: schema: type: array - items: &363 + items: &360 title: Autolink reference description: An autolink reference. type: object @@ -52256,9 +51934,9 @@ paths: description: response content: application/json: - schema: *363 + schema: *360 examples: - default: &364 + default: &361 value: id: 1 key_prefix: TICKET- @@ -52291,7 +51969,7 @@ paths: parameters: - *295 - *296 - - &365 + - &362 name: autolink_id description: The unique identifier of the autolink. in: path @@ -52303,9 +51981,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *360 examples: - default: *364 + default: *361 '404': *6 x-github: githubCloudOnly: false @@ -52327,7 +52005,7 @@ paths: parameters: - *295 - *296 - - *365 + - *362 responses: '204': description: Response @@ -52484,7 +52162,7 @@ paths: - url protected: type: boolean - protection: &367 + protection: &364 title: Branch Protection description: Branch Protection type: object @@ -52527,7 +52205,7 @@ paths: required: - contexts - checks - enforce_admins: &370 + enforce_admins: &367 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -52544,7 +52222,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &372 + required_pull_request_reviews: &369 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -52628,7 +52306,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &369 + restrictions: &366 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -52955,7 +52633,7 @@ paths: parameters: - *295 - *296 - - &368 + - &365 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). @@ -52969,14 +52647,14 @@ paths: description: Response content: application/json: - schema: &378 + schema: &375 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &428 + commit: &425 title: Commit description: Commit type: object @@ -53015,7 +52693,7 @@ paths: author: anyOf: - type: 'null' - - &366 + - &363 title: Git User description: Metaproperties for Git author/committer information. @@ -53036,7 +52714,7 @@ paths: committer: anyOf: - type: 'null' - - *366 + - *363 message: type: string examples: @@ -53060,7 +52738,7 @@ paths: required: - sha - url - verification: &477 + verification: &474 title: Verification type: object properties: @@ -53140,7 +52818,7 @@ paths: type: integer files: type: array - items: &440 + items: &437 title: Diff Entry description: Diff Entry type: object @@ -53234,7 +52912,7 @@ paths: - self protected: type: boolean - protection: *367 + protection: *364 protection_url: type: string format: uri @@ -53343,7 +53021,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *307 + '301': *304 '404': *6 x-github: githubCloudOnly: false @@ -53367,13 +53045,13 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response content: application/json: - schema: *367 + schema: *364 examples: default: value: @@ -53569,7 +53247,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: true content: @@ -53829,7 +53507,7 @@ paths: url: type: string format: uri - required_status_checks: &375 + required_status_checks: &372 title: Status Check Policy description: Status Check Policy type: object @@ -53988,7 +53666,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *369 + restrictions: *366 required_conversation_resolution: type: object properties: @@ -54102,7 +53780,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '204': description: Response @@ -54129,15 +53807,15 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response content: application/json: - schema: *370 + schema: *367 examples: - default: &371 + default: &368 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -54161,15 +53839,15 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response content: application/json: - schema: *370 + schema: *367 examples: - default: *371 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54190,7 +53868,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '204': description: Response @@ -54217,15 +53895,15 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response content: application/json: - schema: *372 + schema: *369 examples: - default: &373 + default: &370 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -54323,7 +54001,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: false content: @@ -54421,9 +54099,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *369 examples: - default: *373 + default: *370 '422': *15 x-github: githubCloudOnly: false @@ -54446,7 +54124,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '204': description: Response @@ -54475,15 +54153,15 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response content: application/json: - schema: *370 + schema: *367 examples: - default: &374 + default: &371 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -54508,15 +54186,15 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response content: application/json: - schema: *370 + schema: *367 examples: - default: *374 + default: *371 '404': *6 x-github: githubCloudOnly: false @@ -54538,7 +54216,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '204': description: Response @@ -54565,15 +54243,15 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response content: application/json: - schema: *375 + schema: *372 examples: - default: &376 + default: &373 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -54601,7 +54279,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: false content: @@ -54653,9 +54331,9 @@ paths: description: Response content: application/json: - schema: *375 + schema: *372 examples: - default: *376 + default: *373 '404': *6 '422': *15 x-github: @@ -54679,7 +54357,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '204': description: Response @@ -54705,7 +54383,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response @@ -54741,7 +54419,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: false content: @@ -54810,7 +54488,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: false content: @@ -54876,7 +54554,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: content: application/json: @@ -54944,13 +54622,13 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response content: application/json: - schema: *369 + schema: *366 examples: default: value: @@ -55043,7 +54721,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '204': description: Response @@ -55068,7 +54746,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response @@ -55078,7 +54756,7 @@ paths: type: array items: *5 examples: - default: &377 + default: &374 value: - id: 1 slug: octoapp @@ -55137,7 +54815,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: true content: @@ -55171,7 +54849,7 @@ paths: type: array items: *5 examples: - default: *377 + default: *374 '422': *15 x-github: githubCloudOnly: false @@ -55194,7 +54872,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: true content: @@ -55228,7 +54906,7 @@ paths: type: array items: *5 examples: - default: *377 + default: *374 '422': *15 x-github: githubCloudOnly: false @@ -55251,7 +54929,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: true content: @@ -55285,7 +54963,7 @@ paths: type: array items: *5 examples: - default: *377 + default: *374 '422': *15 x-github: githubCloudOnly: false @@ -55309,7 +54987,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response @@ -55341,7 +55019,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: false content: @@ -55402,7 +55080,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: false content: @@ -55463,7 +55141,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: content: application/json: @@ -55524,7 +55202,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response @@ -55560,7 +55238,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: true content: @@ -55620,7 +55298,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: true content: @@ -55680,7 +55358,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: true content: @@ -55742,7 +55420,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: true content: @@ -55764,7 +55442,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *375 examples: default: value: @@ -56160,7 +55838,7 @@ paths: description: Response content: application/json: - schema: &380 + schema: &377 title: CheckRun description: A check performed on the code of a given code change type: object @@ -56295,8 +55973,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *379 - deployment: &671 + items: *376 + deployment: &668 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -56585,7 +56263,7 @@ paths: parameters: - *295 - *296 - - &381 + - &378 name: check_run_id description: The unique identifier of the check run. in: path @@ -56597,9 +56275,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *377 examples: - default: &382 + default: &379 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -56701,7 +56379,7 @@ paths: parameters: - *295 - *296 - - *381 + - *378 requestBody: required: true content: @@ -56941,9 +56619,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *377 examples: - default: *382 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56965,7 +56643,7 @@ paths: parameters: - *295 - *296 - - *381 + - *378 - *17 - *19 responses: @@ -57077,7 +56755,7 @@ paths: parameters: - *295 - *296 - - *381 + - *378 responses: '201': description: Response @@ -57144,7 +56822,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &384 + schema: &381 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -57226,7 +56904,7 @@ paths: type: - array - 'null' - items: *379 + items: *376 app: anyOf: - type: 'null' @@ -57242,7 +56920,7 @@ paths: - string - 'null' format: date-time - head_commit: *383 + head_commit: *380 latest_check_runs_count: type: integer check_runs_url: @@ -57270,7 +56948,7 @@ paths: - check_runs_url - pull_requests examples: - default: &385 + default: &382 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -57561,9 +57239,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *384 + schema: *381 examples: - default: *385 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57894,7 +57572,7 @@ paths: parameters: - *295 - *296 - - &386 + - &383 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -57906,9 +57584,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *381 examples: - default: *385 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57933,15 +57611,15 @@ paths: parameters: - *295 - *296 - - *386 - - &435 + - *383 + - &432 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &436 + - &433 name: status description: Returns check runs with the specified `status`. in: query @@ -57980,9 +57658,9 @@ paths: type: integer check_runs: type: array - items: *380 + items: *377 examples: - default: &437 + default: &434 value: total_count: 1 check_runs: @@ -58086,7 +57764,7 @@ paths: parameters: - *295 - *296 - - *386 + - *383 responses: '201': description: Response @@ -58121,19 +57799,19 @@ paths: parameters: - *295 - *296 - - *387 - - *388 + - *384 + - *385 - *19 - *17 - - &405 + - &402 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: *389 - - &406 + schema: *386 + - &403 name: pr description: The number of the pull request for the results you want to list. in: query @@ -58158,13 +57836,13 @@ paths: be returned. in: query required: false - schema: *390 + schema: *387 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *391 + schema: *388 responses: '200': description: Response @@ -58180,7 +57858,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *392 + instances_url: *389 state: *141 fixed_at: *137 dismissed_by: @@ -58188,11 +57866,11 @@ paths: - type: 'null' - *4 dismissed_at: *138 - dismissed_reason: *393 - dismissed_comment: *394 - rule: *395 - tool: *396 - most_recent_instance: *397 + dismissed_reason: *390 + dismissed_comment: *391 + rule: *392 + tool: *393 + most_recent_instance: *394 dismissal_approved_by: anyOf: - type: 'null' @@ -58312,7 +57990,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &398 + '403': &395 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -58341,7 +58019,7 @@ paths: parameters: - *295 - *296 - - &399 + - &396 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -58355,7 +58033,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &397 type: object properties: number: *52 @@ -58363,7 +58041,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *392 + instances_url: *389 state: *141 fixed_at: *137 dismissed_by: @@ -58371,8 +58049,8 @@ paths: - type: 'null' - *4 dismissed_at: *138 - dismissed_reason: *393 - dismissed_comment: *394 + dismissed_reason: *390 + dismissed_comment: *391 rule: type: object properties: @@ -58434,8 +58112,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *396 - most_recent_instance: *397 + tool: *393 + most_recent_instance: *394 dismissal_approved_by: anyOf: - type: 'null' @@ -58528,7 +58206,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *398 + '403': *395 '404': *6 '503': *62 x-github: @@ -58550,7 +58228,7 @@ paths: parameters: - *295 - *296 - - *399 + - *396 requestBody: required: true content: @@ -58565,8 +58243,8 @@ paths: enum: - open - dismissed - dismissed_reason: *393 - dismissed_comment: *394 + dismissed_reason: *390 + dismissed_comment: *391 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -58585,7 +58263,7 @@ paths: description: Response content: application/json: - schema: *400 + schema: *397 examples: default: value: @@ -58661,7 +58339,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &404 + '403': &401 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -58690,13 +58368,13 @@ paths: parameters: - *295 - *296 - - *399 + - *396 responses: '200': description: Response content: application/json: - schema: &401 + schema: &398 type: object properties: status: @@ -58723,13 +58401,13 @@ paths: - description - started_at examples: - default: &402 + default: &399 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &403 + '400': &400 description: Bad Request content: application/json: @@ -58740,7 +58418,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': *398 + '403': *395 '404': *6 '503': *62 x-github: @@ -58767,27 +58445,27 @@ paths: parameters: - *295 - *296 - - *399 + - *396 responses: '200': description: OK content: application/json: - schema: *401 + schema: *398 examples: - default: *402 + default: *399 '202': description: Accepted content: application/json: - schema: *401 + schema: *398 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *403 + '400': *400 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -58821,7 +58499,7 @@ paths: parameters: - *295 - *296 - - *399 + - *396 requestBody: required: false content: @@ -58867,8 +58545,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *403 - '403': *404 + '400': *400 + '403': *401 '404': *6 '422': description: Unprocessable Entity @@ -58894,11 +58572,11 @@ paths: parameters: - *295 - *296 - - *399 + - *396 - *19 - *17 - - *405 - - *406 + - *402 + - *403 responses: '200': description: Response @@ -58906,7 +58584,7 @@ paths: application/json: schema: type: array - items: *397 + items: *394 examples: default: value: @@ -58945,7 +58623,7 @@ paths: end_column: 50 classifications: - source - '403': *398 + '403': *395 '404': *6 '503': *62 x-github: @@ -58981,23 +58659,23 @@ paths: parameters: - *295 - *296 - - *387 - - *388 + - *384 + - *385 - *19 - *17 - - *406 + - *403 - 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: *389 + schema: *386 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &409 + schema: &406 type: string description: An identifier for the upload. examples: @@ -59019,23 +58697,23 @@ paths: application/json: schema: type: array - items: &410 + items: &407 type: object properties: - ref: *389 - commit_sha: &418 + ref: *386 + commit_sha: &415 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: *407 + analysis_key: *404 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *408 + category: *405 error: type: string examples: @@ -59060,8 +58738,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *409 - tool: *396 + sarif_id: *406 + tool: *393 deletable: type: boolean warning: @@ -59123,7 +58801,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *398 + '403': *395 '404': *6 '503': *62 x-github: @@ -59173,7 +58851,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *407 examples: response: summary: application/json response @@ -59227,7 +58905,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *398 + '403': *395 '404': *6 '422': description: Response if analysis could not be processed @@ -59371,7 +59049,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': *404 + '403': *401 '404': *6 '503': *62 x-github: @@ -59402,7 +59080,7 @@ paths: application/json: schema: type: array - items: &411 + items: &408 title: CodeQL Database description: A CodeQL database. type: object @@ -59514,7 +59192,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': *398 + '403': *395 '404': *6 '503': *62 x-github: @@ -59556,7 +59234,7 @@ paths: description: Response content: application/json: - schema: *411 + schema: *408 examples: default: value: @@ -59588,9 +59266,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': &442 + '302': &439 description: Found - '403': *398 + '403': *395 '404': *6 '503': *62 x-github: @@ -59623,7 +59301,7 @@ paths: responses: '204': description: Response - '403': *404 + '403': *401 '404': *6 '503': *62 x-github: @@ -59661,7 +59339,7 @@ paths: type: object additionalProperties: false properties: - language: &412 + language: &409 type: string description: The language targeted by the CodeQL query enum: @@ -59740,7 +59418,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &416 + schema: &413 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -59750,7 +59428,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *412 + query_language: *409 query_pack_url: type: string description: The download url for the query pack. @@ -59798,7 +59476,7 @@ paths: items: type: object properties: - repository: &413 + repository: &410 title: Repository Identifier description: Repository Identifier type: object @@ -59840,7 +59518,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &417 + analysis_status: &414 type: string description: The new status of the CodeQL variant analysis repository task. @@ -59872,7 +59550,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &414 + access_mismatch_repos: &411 type: object properties: repository_count: @@ -59887,7 +59565,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: *413 + items: *410 required: - repository_count - repositories @@ -59910,8 +59588,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *414 - over_limit_repos: *414 + no_codeql_db_repos: *411 + over_limit_repos: *411 required: - access_mismatch_repos - not_found_repos @@ -59927,7 +59605,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &415 + value: &412 summary: Default response value: id: 1 @@ -60079,10 +59757,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *415 + value: *412 repository_lists: summary: Response for a successful variant analysis submission - value: *415 + value: *412 '404': *6 '422': description: Unable to process variant analysis submission @@ -60123,9 +59801,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *413 examples: - default: *415 + default: *412 '404': *6 '503': *62 x-github: @@ -60183,7 +59861,7 @@ paths: type: object properties: repository: *51 - analysis_status: *417 + analysis_status: *414 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -60402,7 +60080,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *398 + '403': *395 '404': *6 '503': *62 x-github: @@ -60518,7 +60196,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *404 + '403': *401 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -60598,7 +60276,7 @@ paths: schema: type: object properties: - commit_sha: *418 + commit_sha: *415 ref: type: string description: |- @@ -60658,7 +60336,7 @@ paths: schema: type: object properties: - id: *409 + id: *406 url: type: string description: The REST API URL for checking the status of the upload. @@ -60672,7 +60350,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': *404 + '403': *401 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -60744,7 +60422,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': *398 + '403': *395 '404': description: Not Found if the sarif id does not match any upload '503': *62 @@ -61362,7 +61040,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -61370,7 +61048,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '400': *14 '401': *23 '403': *27 @@ -61502,9 +61180,9 @@ paths: type: integer machines: type: array - items: *420 + items: *417 examples: - default: &623 + default: &620 value: total_count: 2 machines: @@ -61721,7 +61399,7 @@ paths: type: integer secrets: type: array - items: &424 + items: &421 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -61742,7 +61420,7 @@ paths: - created_at - updated_at examples: - default: *421 + default: *418 headers: Link: *57 x-github: @@ -61772,9 +61450,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *419 examples: - default: *423 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -61802,9 +61480,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *421 examples: - default: *425 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61947,7 +61625,7 @@ paths: application/json: schema: type: array - items: &426 + items: &423 title: Collaborator description: Collaborator type: object @@ -62216,7 +61894,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &490 + schema: &487 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -62499,7 +62177,7 @@ paths: user: anyOf: - type: 'null' - - *426 + - *423 required: - permission - role_name @@ -62564,7 +62242,7 @@ paths: application/json: schema: type: array - items: &427 + items: &424 title: Commit Comment description: Commit Comment type: object @@ -62622,7 +62300,7 @@ paths: - created_at - updated_at examples: - default: &430 + default: &427 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62689,9 +62367,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: - default: &431 + default: &428 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62772,7 +62450,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: default: value: @@ -63071,9 +62749,9 @@ paths: application/json: schema: type: array - items: *428 + items: *425 examples: - default: &538 + default: &535 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -63169,7 +62847,7 @@ paths: parameters: - *295 - *296 - - &429 + - &426 name: commit_sha description: The SHA of the commit. in: path @@ -63243,7 +62921,7 @@ paths: parameters: - *295 - *296 - - *429 + - *426 - *17 - *19 responses: @@ -63253,9 +62931,9 @@ paths: application/json: schema: type: array - items: *427 + items: *424 examples: - default: *430 + default: *427 headers: Link: *57 x-github: @@ -63285,7 +62963,7 @@ paths: parameters: - *295 - *296 - - *429 + - *426 requestBody: required: true content: @@ -63320,9 +62998,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: - default: *431 + default: *428 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63352,7 +63030,7 @@ paths: parameters: - *295 - *296 - - *429 + - *426 - *17 - *19 responses: @@ -63362,7 +63040,7 @@ paths: application/json: schema: type: array - items: &529 + items: &526 title: Pull Request Simple description: Pull Request Simple type: object @@ -63482,7 +63160,7 @@ paths: milestone: anyOf: - type: 'null' - - *432 + - *429 active_lock_reason: type: - string @@ -63581,7 +63259,7 @@ paths: _links: type: object properties: - comments: &433 + comments: &430 title: Link description: Hypermedia Link type: object @@ -63590,13 +63268,13 @@ paths: type: string required: - href - commits: *433 - statuses: *433 - html: *433 - issue: *433 - review_comments: *433 - review_comment: *433 - self: *433 + commits: *430 + statuses: *430 + html: *430 + issue: *430 + review_comments: *430 + review_comment: *430 + self: *430 required: - comments - commits @@ -63607,7 +63285,7 @@ paths: - review_comment - self author_association: *60 - auto_merge: &531 + auto_merge: &528 title: Auto merge description: The status of auto merging a pull request. type: @@ -63672,7 +63350,7 @@ paths: - author_association - auto_merge examples: - default: &530 + default: &527 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -64213,7 +63891,7 @@ paths: - *296 - *19 - *17 - - &434 + - &431 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)" @@ -64228,9 +63906,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *425 examples: - default: &517 + default: &514 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -64345,9 +64023,9 @@ paths: parameters: - *295 - *296 - - *434 - - *435 - - *436 + - *431 + - *432 + - *433 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -64381,9 +64059,9 @@ paths: type: integer check_runs: type: array - items: *380 + items: *377 examples: - default: *437 + default: *434 headers: Link: *57 x-github: @@ -64410,7 +64088,7 @@ paths: parameters: - *295 - *296 - - *434 + - *431 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -64418,7 +64096,7 @@ paths: schema: type: integer example: 1 - - *435 + - *432 - *17 - *19 responses: @@ -64436,7 +64114,7 @@ paths: type: integer check_suites: type: array - items: *384 + items: *381 examples: default: value: @@ -64638,7 +64316,7 @@ paths: parameters: - *295 - *296 - - *434 + - *431 - *17 - *19 responses: @@ -64842,7 +64520,7 @@ paths: parameters: - *295 - *296 - - *434 + - *431 - *17 - *19 responses: @@ -64852,7 +64530,7 @@ paths: application/json: schema: type: array - items: &594 + items: &591 title: Status description: The status of a commit. type: object @@ -64933,7 +64611,7 @@ paths: site_admin: false headers: Link: *57 - '301': *307 + '301': *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64995,11 +64673,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *438 + - *435 code_of_conduct_file: anyOf: - type: 'null' - - &439 + - &436 title: Community Health File type: object properties: @@ -65019,19 +64697,19 @@ paths: contributing: anyOf: - type: 'null' - - *439 + - *436 readme: anyOf: - type: 'null' - - *439 + - *436 issue_template: anyOf: - type: 'null' - - *439 + - *436 pull_request_template: anyOf: - type: 'null' - - *439 + - *436 required: - code_of_conduct - code_of_conduct_file @@ -65209,8 +64887,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *428 - merge_base_commit: *428 + base_commit: *425 + merge_base_commit: *425 status: type: string enum: @@ -65234,10 +64912,10 @@ paths: - 6 commits: type: array - items: *428 + items: *425 files: type: array - items: *440 + items: *437 required: - url - html_url @@ -65677,7 +65355,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &441 + response-if-content-is-a-file: &438 summary: Response if content is a file value: type: file @@ -65814,7 +65492,7 @@ paths: - size - type - url - - &543 + - &540 title: Content File description: Content File type: object @@ -66032,7 +65710,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *441 + response-if-content-is-a-file: *438 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -66101,7 +65779,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *442 + '302': *439 '304': *35 x-github: githubCloudOnly: false @@ -66220,7 +65898,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &440 title: File Commit description: File Commit type: object @@ -66376,7 +66054,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *440 examples: example-for-creating-a-file: value: @@ -66430,7 +66108,7 @@ paths: schema: oneOf: - *3 - - &472 + - &469 description: Repository rule violation was detected type: object properties: @@ -66451,7 +66129,7 @@ paths: items: type: object properties: - placeholder_id: &586 + placeholder_id: &583 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -66545,7 +66223,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *440 examples: default: value: @@ -66769,7 +66447,7 @@ paths: application/json: schema: type: array - items: &446 + items: &443 type: object description: A Dependabot alert. properties: @@ -66819,7 +66497,7 @@ paths: - direct - transitive - - security_advisory: *444 + security_advisory: *441 security_vulnerability: *50 url: *55 html_url: *56 @@ -66850,7 +66528,7 @@ paths: dismissal. maxLength: 280 fixed_at: *137 - auto_dismissed_at: *445 + auto_dismissed_at: *442 required: - number - state @@ -67082,7 +66760,7 @@ paths: parameters: - *295 - *296 - - &447 + - &444 name: alert_number in: path description: |- @@ -67097,7 +66775,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *443 examples: default: value: @@ -67212,7 +66890,7 @@ paths: parameters: - *295 - *296 - - *447 + - *444 requestBody: required: true content: @@ -67257,7 +66935,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *443 examples: default: value: @@ -67405,7 +67083,7 @@ paths: type: integer secrets: type: array - items: &450 + items: &447 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -67466,9 +67144,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *445 examples: - default: *449 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67496,7 +67174,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *447 examples: default: value: @@ -68120,7 +67798,7 @@ paths: - version - url additionalProperties: false - metadata: &451 + metadata: &448 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -68159,7 +67837,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *451 + metadata: *448 resolved: type: object description: A collection of resolved package dependencies. @@ -68173,7 +67851,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *451 + metadata: *448 relationship: type: string description: A notation of whether a dependency is requested @@ -68348,9 +68026,9 @@ paths: application/json: schema: type: array - items: *452 + items: *449 examples: - default: *453 + default: *450 headers: Link: *57 x-github: @@ -68499,7 +68177,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *449 examples: simple-example: summary: Simple example @@ -68574,7 +68252,7 @@ paths: parameters: - *295 - *296 - - &454 + - &451 name: deployment_id description: deployment_id parameter in: path @@ -68586,7 +68264,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *449 examples: default: value: @@ -68653,7 +68331,7 @@ paths: parameters: - *295 - *296 - - *454 + - *451 responses: '204': description: Response @@ -68677,7 +68355,7 @@ paths: parameters: - *295 - *296 - - *454 + - *451 - *17 - *19 responses: @@ -68687,7 +68365,7 @@ paths: application/json: schema: type: array - items: &455 + items: &452 title: Deployment Status description: The status of a deployment. type: object @@ -68853,7 +68531,7 @@ paths: parameters: - *295 - *296 - - *454 + - *451 requestBody: required: true content: @@ -68928,9 +68606,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *452 examples: - default: &456 + default: &453 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -68988,7 +68666,7 @@ paths: parameters: - *295 - *296 - - *454 + - *451 - name: status_id in: path required: true @@ -68999,9 +68677,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *452 examples: - default: *456 + default: *453 '404': *6 x-github: githubCloudOnly: false @@ -69103,7 +68781,7 @@ paths: - 5 environments: type: array - items: &458 + items: &455 title: Environment description: Details of a deployment environment type: object @@ -69165,7 +68843,7 @@ paths: type: string examples: - wait_timer - wait_timer: &460 + wait_timer: &457 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -69207,7 +68885,7 @@ paths: items: type: object properties: - type: *457 + type: *454 reviewer: anyOf: - *4 @@ -69234,7 +68912,7 @@ paths: - id - node_id - type - deployment_branch_policy: &461 + deployment_branch_policy: &458 type: - object - 'null' @@ -69353,7 +69031,7 @@ paths: parameters: - *295 - *296 - - &459 + - &456 name: environment_name in: path required: true @@ -69366,9 +69044,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *455 examples: - default: &462 + default: &459 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -69454,7 +69132,7 @@ paths: parameters: - *295 - *296 - - *459 + - *456 requestBody: required: false content: @@ -69464,7 +69142,7 @@ paths: - object - 'null' properties: - wait_timer: *460 + wait_timer: *457 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -69483,14 +69161,14 @@ paths: items: type: object properties: - type: *457 + type: *454 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *461 + deployment_branch_policy: *458 additionalProperties: false examples: default: @@ -69510,9 +69188,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *455 examples: - default: *462 + default: *459 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -69538,7 +69216,7 @@ paths: parameters: - *295 - *296 - - *459 + - *456 responses: '204': description: Default response @@ -69565,7 +69243,7 @@ paths: parameters: - *295 - *296 - - *459 + - *456 - *17 - *19 responses: @@ -69584,7 +69262,7 @@ paths: - 2 branch_policies: type: array - items: &463 + items: &460 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -69647,7 +69325,7 @@ paths: parameters: - *295 - *296 - - *459 + - *456 requestBody: required: true content: @@ -69695,9 +69373,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *460 examples: - example-wildcard: &464 + example-wildcard: &461 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -69741,8 +69419,8 @@ paths: parameters: - *295 - *296 - - *459 - - &465 + - *456 + - &462 name: branch_policy_id in: path required: true @@ -69754,9 +69432,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *460 examples: - default: *464 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69777,8 +69455,8 @@ paths: parameters: - *295 - *296 - - *459 - - *465 + - *456 + - *462 requestBody: required: true content: @@ -69807,9 +69485,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *460 examples: - default: *464 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69830,8 +69508,8 @@ paths: parameters: - *295 - *296 - - *459 - - *465 + - *456 + - *462 responses: '204': description: Response @@ -69856,7 +69534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *459 + - *456 - *296 - *295 responses: @@ -69875,7 +69553,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &466 + items: &463 title: Deployment protection rule description: Deployment protection rule type: object @@ -69897,7 +69575,7 @@ paths: for the environment. examples: - true - app: &467 + app: &464 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -70000,7 +69678,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: - - *459 + - *456 - *296 - *295 requestBody: @@ -70023,9 +69701,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *466 + schema: *463 examples: - default: &468 + default: &465 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -70060,7 +69738,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: - - *459 + - *456 - *296 - *295 - *19 @@ -70082,7 +69760,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *467 + items: *464 examples: default: value: @@ -70119,8 +69797,8 @@ paths: parameters: - *295 - *296 - - *459 - - &469 + - *456 + - &466 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -70132,9 +69810,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *463 examples: - default: *468 + default: *465 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70155,10 +69833,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *459 + - *456 - *296 - *295 - - *469 + - *466 responses: '204': description: Response @@ -70186,7 +69864,7 @@ paths: parameters: - *295 - *296 - - *459 + - *456 - *17 - *19 responses: @@ -70204,9 +69882,9 @@ paths: type: integer secrets: type: array - items: *346 + items: *343 examples: - default: *347 + default: *344 headers: Link: *57 x-github: @@ -70233,15 +69911,15 @@ paths: parameters: - *295 - *296 - - *459 + - *456 responses: '200': description: Response content: application/json: - schema: *348 + schema: *345 examples: - default: *349 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70265,16 +69943,16 @@ paths: parameters: - *295 - *296 - - *459 + - *456 - *128 responses: '200': description: Response content: application/json: - schema: *346 + schema: *343 examples: - default: *470 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70298,7 +69976,7 @@ paths: parameters: - *295 - *296 - - *459 + - *456 - *128 requestBody: required: true @@ -70358,7 +70036,7 @@ paths: parameters: - *295 - *296 - - *459 + - *456 - *128 responses: '204': @@ -70386,8 +70064,8 @@ paths: parameters: - *295 - *296 - - *459 - - *317 + - *456 + - *314 - *19 responses: '200': @@ -70404,9 +70082,9 @@ paths: type: integer variables: type: array - items: *350 + items: *347 examples: - default: *351 + default: *348 headers: Link: *57 x-github: @@ -70431,7 +70109,7 @@ paths: parameters: - *295 - *296 - - *459 + - *456 requestBody: required: true content: @@ -70485,16 +70163,16 @@ paths: parameters: - *295 - *296 - - *459 + - *456 - *131 responses: '200': description: Response content: application/json: - schema: *350 + schema: *347 examples: - default: *471 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70518,7 +70196,7 @@ paths: - *295 - *296 - *131 - - *459 + - *456 requestBody: required: true content: @@ -70563,7 +70241,7 @@ paths: - *295 - *296 - *131 - - *459 + - *456 responses: '204': description: Response @@ -70857,9 +70535,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *303 examples: - default: *308 + default: *305 '400': *14 '422': *15 '403': *27 @@ -70941,7 +70619,7 @@ paths: schema: oneOf: - *94 - - *472 + - *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71177,7 +70855,7 @@ paths: description: Response content: application/json: - schema: &473 + schema: &470 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -71406,13 +71084,13 @@ paths: parameters: - *295 - *296 - - *429 + - *426 responses: '200': description: Response content: application/json: - schema: *473 + schema: *470 examples: default: value: @@ -71470,7 +71148,7 @@ paths: parameters: - *295 - *296 - - &474 + - &471 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. @@ -71487,7 +71165,7 @@ paths: application/json: schema: type: array - items: &475 + items: &472 title: Git Reference description: Git references within a repository type: object @@ -71565,15 +71243,15 @@ paths: parameters: - *295 - *296 - - *474 + - *471 responses: '200': description: Response content: application/json: - schema: *475 + schema: *472 examples: - default: &476 + default: &473 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -71632,9 +71310,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *472 examples: - default: *476 + default: *473 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -71662,7 +71340,7 @@ paths: parameters: - *295 - *296 - - *474 + - *471 requestBody: required: true content: @@ -71691,9 +71369,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *472 examples: - default: *476 + default: *473 '422': *15 '409': *45 x-github: @@ -71713,7 +71391,7 @@ paths: parameters: - *295 - *296 - - *474 + - *471 responses: '204': description: Response @@ -71836,7 +71514,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &475 title: Git Tag description: Metadata for a Git tag type: object @@ -71892,7 +71570,7 @@ paths: - sha - type - url - verification: *477 + verification: *474 required: - sha - url @@ -71902,7 +71580,7 @@ paths: - tag - message examples: - default: &479 + default: &476 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -71987,9 +71665,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *475 examples: - default: *479 + default: *476 '404': *6 '409': *45 x-github: @@ -72088,7 +71766,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &477 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -72214,7 +71892,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *477 examples: default-response: summary: Default response @@ -72284,7 +71962,7 @@ paths: application/json: schema: type: array - items: &481 + items: &478 title: Webhook description: Webhooks for repositories. type: object @@ -72347,7 +72025,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &702 + last_response: &699 title: Hook Response type: object properties: @@ -72478,9 +72156,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *478 examples: - default: &482 + default: &479 value: type: Repository id: 12345678 @@ -72536,9 +72214,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *478 examples: - default: *482 + default: *479 '404': *6 x-github: githubCloudOnly: false @@ -72605,9 +72283,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *478 examples: - default: *482 + default: *479 '422': *15 '404': *6 x-github: @@ -72911,7 +72589,7 @@ paths: description: Response content: application/json: - schema: &483 + schema: &480 title: Import description: A repository import from an external source. type: object @@ -73018,7 +72696,7 @@ paths: - html_url - authors_url examples: - default: &486 + default: &483 value: vcs: subversion use_lfs: true @@ -73034,7 +72712,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': &484 + '503': &481 description: Unavailable due to service under maintenance. content: application/json: @@ -73112,7 +72790,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *480 examples: default: value: @@ -73137,7 +72815,7 @@ paths: type: string '422': *15 '404': *6 - '503': *484 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73218,7 +72896,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *480 examples: example-1: summary: Example 1 @@ -73266,7 +72944,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': *484 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73294,7 +72972,7 @@ paths: responses: '204': description: Response - '503': *484 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73322,7 +73000,7 @@ paths: parameters: - *295 - *296 - - &645 + - &642 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -73336,7 +73014,7 @@ paths: application/json: schema: type: array - items: &485 + items: &482 title: Porter Author description: Porter Author type: object @@ -73390,7 +73068,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': *484 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73446,7 +73124,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *482 examples: default: value: @@ -73459,7 +73137,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *484 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73525,7 +73203,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *484 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73581,11 +73259,11 @@ paths: description: Response content: application/json: - schema: *483 + schema: *480 examples: - default: *486 + default: *483 '422': *15 - '503': *484 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73617,8 +73295,8 @@ paths: application/json: schema: *20 examples: - default: *487 - '301': *307 + default: *484 + '301': *304 '404': *6 x-github: githubCloudOnly: false @@ -73652,7 +73330,7 @@ paths: properties: {} additionalProperties: false examples: - default: &489 + default: &486 value: limit: collaborators_only origin: repository @@ -73683,7 +73361,7 @@ paths: required: true content: application/json: - schema: *488 + schema: *485 examples: default: summary: Example request body @@ -73697,7 +73375,7 @@ paths: application/json: schema: *185 examples: - default: *489 + default: *486 '409': description: Response x-github: @@ -73754,9 +73432,9 @@ paths: application/json: schema: type: array - items: *490 + items: *487 examples: - default: &638 + default: &635 value: - id: 1 repository: @@ -73918,7 +73596,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *487 examples: default: value: @@ -74156,7 +73834,7 @@ paths: type: array items: *74 examples: - default: &497 + default: &494 value: - id: 1 node_id: MDU6SXNzdWUx @@ -74304,7 +73982,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *307 + '301': *304 '422': *15 '404': *6 x-github: @@ -74426,7 +74104,7 @@ paths: application/json: schema: *74 examples: - default: &494 + default: &491 value: id: 1 node_id: MDU6SXNzdWUx @@ -74582,7 +74260,7 @@ paths: '422': *15 '503': *62 '404': *6 - '410': *304 + '410': *301 x-github: triggersNotification: true githubCloudOnly: false @@ -74632,9 +74310,9 @@ paths: application/json: schema: type: array - items: *491 + items: *488 examples: - default: &496 + default: &493 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74700,9 +74378,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: - default: &492 + default: &489 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74780,9 +74458,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: - default: *492 + default: *489 '422': *15 x-github: githubCloudOnly: false @@ -74972,7 +74650,7 @@ paths: application/json: schema: type: array - items: &493 + items: &490 title: Issue Event description: Issue Event type: object @@ -75323,7 +75001,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *490 examples: default: value: @@ -75516,7 +75194,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *304 + '410': *301 '403': *27 x-github: githubCloudOnly: false @@ -75552,7 +75230,7 @@ paths: parameters: - *295 - *296 - - &495 + - &492 name: issue_number description: The number that identifies the issue. in: path @@ -75566,10 +75244,10 @@ paths: application/json: schema: *74 examples: - default: *494 - '301': *307 + default: *491 + '301': *304 '404': *6 - '410': *304 + '410': *301 '304': *35 x-github: githubCloudOnly: false @@ -75596,7 +75274,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: false content: @@ -75717,13 +75395,13 @@ paths: application/json: schema: *74 examples: - default: *494 + default: *491 '422': *15 '503': *62 '403': *27 - '301': *307 + '301': *304 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75743,7 +75421,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: false content: @@ -75771,7 +75449,7 @@ paths: application/json: schema: *74 examples: - default: *494 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75789,7 +75467,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: content: application/json: @@ -75816,7 +75494,7 @@ paths: application/json: schema: *74 examples: - default: *494 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75840,7 +75518,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - name: assignee in: path required: true @@ -75882,7 +75560,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - *64 - *17 - *19 @@ -75893,13 +75571,13 @@ paths: application/json: schema: type: array - items: *491 + items: *488 examples: - default: *496 + default: *493 headers: Link: *57 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75930,7 +75608,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: true content: @@ -75952,16 +75630,16 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: - default: *492 + default: *489 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *304 + '410': *301 '422': *15 '404': *6 x-github: @@ -75991,7 +75669,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - *17 - *19 responses: @@ -76003,12 +75681,12 @@ paths: type: array items: *74 examples: - default: *497 + default: *494 headers: Link: *57 - '301': *307 + '301': *304 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76038,7 +75716,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: true content: @@ -76062,15 +75740,15 @@ paths: application/json: schema: *74 examples: - default: *494 + default: *491 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *307 + '301': *304 '403': *27 - '410': *304 + '410': *301 '422': *15 '404': *6 x-github: @@ -76103,7 +75781,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -76117,13 +75795,13 @@ paths: application/json: schema: *74 examples: - default: *494 - '301': *307 + default: *491 + '301': *304 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *304 + '410': *301 x-github: triggersNotification: true githubCloudOnly: false @@ -76151,7 +75829,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - *17 - *19 responses: @@ -76163,12 +75841,12 @@ paths: type: array items: *74 examples: - default: *497 + default: *494 headers: Link: *57 - '301': *307 + '301': *304 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76187,7 +75865,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - *17 - *19 responses: @@ -76201,7 +75879,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &500 + - &497 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -76250,7 +75928,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &501 + - &498 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -76378,7 +76056,7 @@ paths: - performed_via_github_app - assignee - assigner - - &502 + - &499 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -76424,7 +76102,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &503 + - &500 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -76470,7 +76148,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &504 + - &501 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -76519,7 +76197,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &505 + - &502 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -76561,7 +76239,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &506 + - &503 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -76603,7 +76281,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &507 + - &504 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -76659,7 +76337,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &508 + - &505 title: Locked Issue Event description: Locked Issue Event type: object @@ -76704,7 +76382,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &509 + - &506 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -76765,7 +76443,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &510 + - &507 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -76826,7 +76504,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &511 + - &508 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -76887,7 +76565,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &512 + - &509 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -76980,7 +76658,7 @@ paths: color: red headers: Link: *57 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76999,7 +76677,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - *17 - *19 responses: @@ -77009,7 +76687,7 @@ paths: application/json: schema: type: array - items: &498 + items: &495 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -77064,7 +76742,7 @@ paths: - color - default examples: - default: &499 + default: &496 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -77082,9 +76760,9 @@ paths: default: false headers: Link: *57 - '301': *307 + '301': *304 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77103,7 +76781,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: false content: @@ -77162,12 +76840,12 @@ paths: application/json: schema: type: array - items: *498 + items: *495 examples: - default: *499 - '301': *307 + default: *496 + '301': *304 '404': *6 - '410': *304 + '410': *301 '422': *15 x-github: githubCloudOnly: false @@ -77186,7 +76864,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: false content: @@ -77246,12 +76924,12 @@ paths: application/json: schema: type: array - items: *498 + items: *495 examples: - default: *499 - '301': *307 + default: *496 + '301': *304 '404': *6 - '410': *304 + '410': *301 '422': *15 x-github: githubCloudOnly: false @@ -77270,13 +76948,13 @@ paths: parameters: - *295 - *296 - - *495 + - *492 responses: '204': description: Response - '301': *307 + '301': *304 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77297,7 +76975,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - name: name in: path required: true @@ -77310,7 +76988,7 @@ paths: application/json: schema: type: array - items: *498 + items: *495 examples: default: value: @@ -77321,9 +76999,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *307 + '301': *304 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77345,7 +77023,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: false content: @@ -77374,7 +77052,7 @@ paths: '204': description: Response '403': *27 - '410': *304 + '410': *301 '404': *6 '422': *15 x-github: @@ -77394,7 +77072,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 responses: '204': description: Response @@ -77426,7 +77104,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 responses: '200': description: Response @@ -77434,10 +77112,10 @@ paths: application/json: schema: *74 examples: - default: *494 - '301': *307 + default: *491 + '301': *304 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77456,7 +77134,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - 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. @@ -77488,7 +77166,7 @@ paths: headers: Link: *57 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77508,7 +77186,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: true content: @@ -77573,7 +77251,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - *291 responses: '204': @@ -77605,7 +77283,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: true content: @@ -77629,7 +77307,7 @@ paths: application/json: schema: *74 examples: - default: *494 + default: *491 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -77664,7 +77342,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - *17 - *19 responses: @@ -77676,11 +77354,11 @@ paths: type: array items: *74 examples: - default: *497 + default: *494 headers: Link: *57 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77710,7 +77388,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: true content: @@ -77739,14 +77417,14 @@ paths: application/json: schema: *74 examples: - default: *494 + default: *491 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *304 + '410': *301 '422': *15 '404': *6 x-github: @@ -77768,7 +77446,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: true content: @@ -77801,7 +77479,7 @@ paths: application/json: schema: *74 examples: - default: *494 + default: *491 '403': *27 '404': *6 '422': *7 @@ -77825,7 +77503,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - *17 - *19 responses: @@ -77840,6 +77518,9 @@ paths: description: Timeline Event type: object anyOf: + - *497 + - *498 + - *499 - *500 - *501 - *502 @@ -77850,9 +77531,6 @@ paths: - *507 - *508 - *509 - - *510 - - *511 - - *512 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -78181,7 +77859,7 @@ paths: type: string comments: type: array - items: &532 + items: &529 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -78419,7 +78097,7 @@ paths: type: string comments: type: array - items: *427 + items: *424 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -78694,7 +78372,7 @@ paths: headers: Link: *57 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78722,7 +78400,7 @@ paths: application/json: schema: type: array - items: &513 + items: &510 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -78827,9 +78505,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *510 examples: - default: &514 + default: &511 value: id: 1 key: ssh-rsa AAA... @@ -78865,7 +78543,7 @@ paths: parameters: - *295 - *296 - - &515 + - &512 name: key_id description: The unique identifier of the key. in: path @@ -78877,9 +78555,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *510 examples: - default: *514 + default: *511 '404': *6 x-github: githubCloudOnly: false @@ -78899,7 +78577,7 @@ paths: parameters: - *295 - *296 - - *515 + - *512 responses: '204': description: Response @@ -78930,9 +78608,9 @@ paths: application/json: schema: type: array - items: *498 + items: *495 examples: - default: *499 + default: *496 headers: Link: *57 '404': *6 @@ -78990,9 +78668,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *495 examples: - default: &516 + default: &513 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -79036,9 +78714,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *495 examples: - default: *516 + default: *513 '404': *6 x-github: githubCloudOnly: false @@ -79095,7 +78773,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *495 examples: default: value: @@ -79190,7 +78868,7 @@ paths: parameters: - *295 - *296 - - *405 + - *402 responses: '200': description: Response @@ -79438,9 +79116,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *428 + schema: *425 examples: - default: *517 + default: *514 '204': description: Response when already merged '404': @@ -79507,7 +79185,7 @@ paths: application/json: schema: type: array - items: *432 + items: *429 examples: default: value: @@ -79604,9 +79282,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *429 examples: - default: &518 + default: &515 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -79667,7 +79345,7 @@ paths: parameters: - *295 - *296 - - &519 + - &516 name: milestone_number description: The number that identifies the milestone. in: path @@ -79679,9 +79357,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *429 examples: - default: *518 + default: *515 '404': *6 x-github: githubCloudOnly: false @@ -79700,7 +79378,7 @@ paths: parameters: - *295 - *296 - - *519 + - *516 requestBody: required: false content: @@ -79738,9 +79416,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *429 examples: - default: *518 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79758,7 +79436,7 @@ paths: parameters: - *295 - *296 - - *519 + - *516 responses: '204': description: Response @@ -79781,7 +79459,7 @@ paths: parameters: - *295 - *296 - - *519 + - *516 - *17 - *19 responses: @@ -79791,9 +79469,9 @@ paths: application/json: schema: type: array - items: *498 + items: *495 examples: - default: *499 + default: *496 headers: Link: *57 x-github: @@ -79814,10 +79492,10 @@ paths: parameters: - *295 - *296 - - *520 - - *521 + - *517 + - *518 - *64 - - *522 + - *519 - *17 - *19 responses: @@ -79829,7 +79507,7 @@ paths: type: array items: *86 examples: - default: *523 + default: *520 headers: Link: *57 x-github: @@ -79919,7 +79597,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &521 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -80063,7 +79741,7 @@ paths: - custom_404 - public examples: - default: &525 + default: &522 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -80160,9 +79838,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *521 examples: - default: *525 + default: *522 '422': *15 '409': *45 x-github: @@ -80324,7 +80002,7 @@ paths: application/json: schema: type: array - items: &526 + items: &523 title: Page Build description: Page Build type: object @@ -80471,9 +80149,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *523 examples: - default: &527 + default: &524 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -80533,9 +80211,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *523 examples: - default: *527 + default: *524 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80666,7 +80344,7 @@ paths: parameters: - *295 - *296 - - &528 + - &525 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -80726,7 +80404,7 @@ paths: parameters: - *295 - *296 - - *528 + - *525 responses: '204': *146 '404': *6 @@ -81195,7 +80873,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *304 + '410': *301 '422': *7 x-github: githubCloudOnly: false @@ -81247,11 +80925,11 @@ paths: application/json: schema: *225 examples: - default: *303 + default: *300 '401': *23 '403': *27 '404': *6 - '410': *304 + '410': *301 '422': *7 x-github: githubCloudOnly: false @@ -81438,9 +81116,9 @@ paths: application/json: schema: type: array - items: *529 + items: *526 examples: - default: *530 + default: *527 headers: Link: *57 '304': *35 @@ -81540,7 +81218,7 @@ paths: description: Response content: application/json: - schema: &534 + schema: &531 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -81669,7 +81347,7 @@ paths: milestone: anyOf: - type: 'null' - - *432 + - *429 active_lock_reason: type: - string @@ -81762,14 +81440,14 @@ paths: _links: type: object properties: - comments: *433 - commits: *433 - statuses: *433 - html: *433 - issue: *433 - review_comments: *433 - review_comment: *433 - self: *433 + comments: *430 + commits: *430 + statuses: *430 + html: *430 + issue: *430 + review_comments: *430 + review_comment: *430 + self: *430 required: - comments - commits @@ -81780,7 +81458,7 @@ paths: - review_comment - self author_association: *60 - auto_merge: *531 + auto_merge: *528 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -81882,7 +81560,7 @@ paths: - merged_by - review_comments examples: - default: &535 + default: &532 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -82439,9 +82117,9 @@ paths: application/json: schema: type: array - items: *532 + items: *529 examples: - default: &537 + default: &534 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -82526,9 +82204,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *529 examples: - default: &533 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -82627,9 +82305,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *529 examples: - default: *533 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82832,7 +82510,7 @@ paths: parameters: - *295 - *296 - - &536 + - &533 name: pull_number description: The number that identifies the pull request. in: path @@ -82845,9 +82523,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *534 + schema: *531 examples: - default: *535 + default: *532 '304': *35 '404': *6 '406': @@ -82884,7 +82562,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 requestBody: required: false content: @@ -82926,9 +82604,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *531 examples: - default: *535 + default: *532 '422': *15 '403': *27 x-github: @@ -82952,7 +82630,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 requestBody: required: true content: @@ -83015,7 +82693,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -83023,7 +82701,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '401': *23 '403': *27 '404': *6 @@ -83055,7 +82733,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 - *83 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -83076,9 +82754,9 @@ paths: application/json: schema: type: array - items: *532 + items: *529 examples: - default: *537 + default: *534 headers: Link: *57 x-github: @@ -83113,7 +82791,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 requestBody: required: true content: @@ -83219,7 +82897,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *529 examples: example-for-a-multi-line-comment: value: @@ -83309,7 +82987,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 - *73 requestBody: required: true @@ -83332,7 +83010,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *529 examples: default: value: @@ -83420,7 +83098,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 - *17 - *19 responses: @@ -83430,9 +83108,9 @@ paths: application/json: schema: type: array - items: *428 + items: *425 examples: - default: *538 + default: *535 headers: Link: *57 x-github: @@ -83464,7 +83142,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 - *17 - *19 responses: @@ -83474,7 +83152,7 @@ paths: application/json: schema: type: array - items: *440 + items: *437 examples: default: value: @@ -83514,7 +83192,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 responses: '204': description: Response if pull request has been merged @@ -83539,7 +83217,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 requestBody: required: false content: @@ -83653,7 +83331,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 responses: '200': description: Response @@ -83730,7 +83408,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 requestBody: required: false content: @@ -83767,7 +83445,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *526 examples: default: value: @@ -84305,7 +83983,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 requestBody: required: true content: @@ -84339,7 +84017,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *526 examples: default: value: @@ -84846,7 +84524,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 - *17 - *19 responses: @@ -84856,7 +84534,7 @@ paths: application/json: schema: type: array - items: &539 + items: &536 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -85014,7 +84692,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 requestBody: required: false content: @@ -85104,9 +84782,9 @@ paths: description: Response content: application/json: - schema: *539 + schema: *536 examples: - default: &541 + default: &538 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -85171,8 +84849,8 @@ paths: parameters: - *295 - *296 - - *536 - - &540 + - *533 + - &537 name: review_id description: The unique identifier of the review. in: path @@ -85184,9 +84862,9 @@ paths: description: Response content: application/json: - schema: *539 + schema: *536 examples: - default: &542 + default: &539 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -85247,8 +84925,8 @@ paths: parameters: - *295 - *296 - - *536 - - *540 + - *533 + - *537 requestBody: required: true content: @@ -85271,7 +84949,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *536 examples: default: value: @@ -85335,16 +85013,16 @@ paths: parameters: - *295 - *296 - - *536 - - *540 + - *533 + - *537 responses: '200': description: Response content: application/json: - schema: *539 + schema: *536 examples: - default: *541 + default: *538 '422': *7 '404': *6 x-github: @@ -85373,8 +85051,8 @@ paths: parameters: - *295 - *296 - - *536 - - *540 + - *533 + - *537 - *17 - *19 responses: @@ -85472,9 +85150,9 @@ paths: _links: type: object properties: - self: *433 - html: *433 - pull_request: *433 + self: *430 + html: *430 + pull_request: *430 required: - self - html @@ -85634,8 +85312,8 @@ paths: parameters: - *295 - *296 - - *536 - - *540 + - *533 + - *537 requestBody: required: true content: @@ -85664,7 +85342,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *536 examples: default: value: @@ -85729,8 +85407,8 @@ paths: parameters: - *295 - *296 - - *536 - - *540 + - *533 + - *537 requestBody: required: true content: @@ -85765,9 +85443,9 @@ paths: description: Response content: application/json: - schema: *539 + schema: *536 examples: - default: *542 + default: *539 '404': *6 '422': *7 '403': *27 @@ -85791,7 +85469,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 requestBody: required: false content: @@ -85869,9 +85547,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *540 examples: - default: &544 + default: &541 value: type: file encoding: base64 @@ -85934,9 +85612,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *540 examples: - default: *544 + default: *541 '404': *6 '422': *15 x-github: @@ -85969,7 +85647,7 @@ paths: application/json: schema: type: array - items: &545 + items: &542 title: Release description: A release. type: object @@ -86051,7 +85729,7 @@ paths: author: *4 assets: type: array - items: &546 + items: &543 title: Release Asset description: Data related to a release. type: object @@ -86315,9 +85993,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *542 examples: - default: &549 + default: &546 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -86424,7 +86102,7 @@ paths: parameters: - *295 - *296 - - &547 + - &544 name: asset_id description: The unique identifier of the asset. in: path @@ -86436,9 +86114,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *543 examples: - default: &548 + default: &545 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 @@ -86473,7 +86151,7 @@ paths: type: User site_admin: false '404': *6 - '302': *442 + '302': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86491,7 +86169,7 @@ paths: parameters: - *295 - *296 - - *547 + - *544 requestBody: required: false content: @@ -86520,9 +86198,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *543 examples: - default: *548 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86540,7 +86218,7 @@ paths: parameters: - *295 - *296 - - *547 + - *544 responses: '204': description: Response @@ -86658,9 +86336,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *542 examples: - default: *549 + default: *546 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86691,9 +86369,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *542 examples: - default: *549 + default: *546 '404': *6 x-github: githubCloudOnly: false @@ -86717,7 +86395,7 @@ paths: parameters: - *295 - *296 - - &550 + - &547 name: release_id description: The unique identifier of the release. in: path @@ -86731,9 +86409,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: *545 + schema: *542 examples: - default: *549 + default: *546 '401': description: Unauthorized x-github: @@ -86753,7 +86431,7 @@ paths: parameters: - *295 - *296 - - *550 + - *547 requestBody: required: false content: @@ -86817,9 +86495,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *542 examples: - default: *549 + default: *546 '404': description: Not Found if the discussion category name is invalid content: @@ -86842,7 +86520,7 @@ paths: parameters: - *295 - *296 - - *550 + - *547 responses: '204': description: Response @@ -86864,7 +86542,7 @@ paths: parameters: - *295 - *296 - - *550 + - *547 - *17 - *19 responses: @@ -86874,7 +86552,7 @@ paths: application/json: schema: type: array - items: *546 + items: *543 examples: default: value: @@ -86957,7 +86635,7 @@ paths: parameters: - *295 - *296 - - *550 + - *547 - name: name in: query required: true @@ -86983,7 +86661,7 @@ paths: description: Response for successful upload content: application/json: - schema: *546 + schema: *543 examples: response-for-successful-upload: value: @@ -87040,7 +86718,7 @@ paths: parameters: - *295 - *296 - - *550 + - *547 - 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. @@ -87089,7 +86767,7 @@ paths: parameters: - *295 - *296 - - *550 + - *547 requestBody: required: true content: @@ -87152,7 +86830,7 @@ paths: parameters: - *295 - *296 - - *550 + - *547 - *291 responses: '204': @@ -87179,7 +86857,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 - *17 - *19 responses: @@ -87196,7 +86874,7 @@ paths: oneOf: - allOf: - *237 - - &551 + - &548 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -87217,64 +86895,64 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *238 - - *551 + - *548 - allOf: - *239 - - *551 + - *548 - allOf: - *240 - - *551 + - *548 - allOf: - - *552 - - *551 + - *549 + - *548 - allOf: - *241 - - *551 + - *548 - allOf: - *242 - - *551 + - *548 - allOf: - *243 - - *551 + - *548 - allOf: - *244 - - *551 + - *548 - allOf: - *245 - - *551 + - *548 - allOf: - *246 - - *551 + - *548 - allOf: - *247 - - *551 + - *548 - allOf: - *248 - - *551 + - *548 - allOf: - *249 - - *551 + - *548 - allOf: - *250 - - *551 + - *548 - allOf: - *251 - - *551 + - *548 - allOf: - *252 - - *551 + - *548 - allOf: - *253 - - *551 + - *548 - allOf: - *254 - - *551 + - *548 - allOf: - *255 - - *551 + - *548 - allOf: - *256 - - *551 + - *548 examples: default: value: @@ -87325,7 +87003,7 @@ paths: schema: type: boolean default: true - - *553 + - *550 responses: '200': description: Response @@ -87410,7 +87088,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *554 + items: *551 required: - name - enforcement @@ -87443,7 +87121,7 @@ paths: application/json: schema: *257 examples: - default: &564 + default: &561 value: id: 42 name: super cool ruleset @@ -87492,10 +87170,10 @@ paths: parameters: - *295 - *296 + - *552 + - *553 + - *554 - *555 - - *556 - - *557 - - *558 - *17 - *19 responses: @@ -87503,9 +87181,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *556 examples: - default: *560 + default: *557 '404': *6 '500': *91 x-github: @@ -87528,15 +87206,15 @@ paths: parameters: - *295 - *296 - - *561 + - *558 responses: '200': description: Response content: application/json: - schema: *562 + schema: *559 examples: - default: *563 + default: *560 '404': *6 '500': *91 x-github: @@ -87587,7 +87265,7 @@ paths: application/json: schema: *257 examples: - default: *564 + default: *561 '404': *6 '500': *91 put: @@ -87640,7 +87318,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *554 + items: *551 examples: default: value: @@ -87670,7 +87348,7 @@ paths: application/json: schema: *257 examples: - default: *564 + default: *561 '404': *6 '500': *91 delete: @@ -87731,7 +87409,7 @@ paths: type: array items: *260 examples: - default: *565 + default: *562 '404': *6 '500': *91 x-github: @@ -87769,7 +87447,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *563 examples: default: value: @@ -87833,8 +87511,8 @@ paths: - *46 - *19 - *17 - - *567 - - *568 + - *564 + - *565 - *265 - *266 - *267 @@ -87846,7 +87524,7 @@ paths: application/json: schema: type: array - items: &572 + items: &569 type: object properties: number: *52 @@ -87862,8 +87540,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *569 - resolution: *570 + state: *566 + resolution: *567 resolved_at: type: - string @@ -87957,7 +87635,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *571 + - *568 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -88081,14 +87759,14 @@ paths: parameters: - *295 - *296 - - *399 + - *396 - *268 responses: '200': description: Response content: application/json: - schema: *572 + schema: *569 examples: default: value: @@ -88142,7 +87820,7 @@ paths: parameters: - *295 - *296 - - *399 + - *396 requestBody: required: true content: @@ -88150,8 +87828,8 @@ paths: schema: type: object properties: - state: *569 - resolution: *570 + state: *566 + resolution: *567 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -88170,7 +87848,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *569 examples: default: value: @@ -88247,7 +87925,7 @@ paths: parameters: - *295 - *296 - - *399 + - *396 - *19 - *17 responses: @@ -88258,7 +87936,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &723 + items: &720 type: object properties: type: @@ -88285,6 +87963,9 @@ paths: - commit details: oneOf: + - *570 + - *571 + - *572 - *573 - *574 - *575 @@ -88295,9 +87976,6 @@ paths: - *580 - *581 - *582 - - *583 - - *584 - - *585 examples: default: value: @@ -88392,14 +88070,14 @@ paths: schema: type: object properties: - reason: &587 + reason: &584 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *586 + placeholder_id: *583 required: - reason - placeholder_id @@ -88416,7 +88094,7 @@ paths: schema: type: object properties: - reason: *587 + reason: *584 expire_at: type: - string @@ -88476,7 +88154,7 @@ paths: properties: incremental_scans: type: array - items: &588 + items: &585 description: Information on a single scan performed by secret scanning on the repository type: object @@ -88504,15 +88182,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *588 + items: *585 backfill_scans: type: array - items: *588 + items: *585 custom_pattern_backfill_scans: type: array items: allOf: - - *588 + - *585 - type: object properties: pattern_name: @@ -88627,9 +88305,9 @@ paths: application/json: schema: type: array - items: *589 + items: *586 examples: - default: *590 + default: *587 '400': *14 '404': *6 x-github: @@ -88823,9 +88501,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *586 examples: - default: &592 + default: &589 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -89172,7 +88850,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *586 examples: default: value: @@ -89321,15 +88999,15 @@ paths: parameters: - *295 - *296 - - *591 + - *588 responses: '200': description: Response content: application/json: - schema: *589 + schema: *586 examples: - default: *592 + default: *589 '403': *27 '404': *6 x-github: @@ -89355,7 +89033,7 @@ paths: parameters: - *295 - *296 - - *591 + - *588 requestBody: required: true content: @@ -89526,10 +89204,10 @@ paths: description: Response content: application/json: - schema: *589 + schema: *586 examples: - default: *592 - add_credit: *592 + default: *589 + add_credit: *589 '403': *27 '404': *6 '422': @@ -89569,7 +89247,7 @@ paths: parameters: - *295 - *296 - - *591 + - *588 responses: '202': *37 '400': *14 @@ -89598,15 +89276,15 @@ paths: parameters: - *295 - *296 - - *591 + - *588 responses: '202': description: Response content: application/json: - schema: *306 + schema: *303 examples: - default: *308 + default: *305 '400': *14 '422': *15 '403': *27 @@ -89739,7 +89417,7 @@ paths: application/json: schema: type: array - items: &593 + items: &590 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -90112,7 +89790,7 @@ paths: application/json: schema: type: array - items: *593 + items: *590 examples: default: value: @@ -90202,7 +89880,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *591 examples: default: value: @@ -90296,7 +89974,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &595 + schema: &592 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -90396,7 +90074,7 @@ paths: description: Response content: application/json: - schema: *595 + schema: *592 examples: default: value: @@ -90536,7 +90214,7 @@ paths: application/json: schema: type: array - items: &596 + items: &593 title: Tag protection description: Tag protection type: object @@ -90617,7 +90295,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *593 examples: default: value: @@ -90765,7 +90443,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &594 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -90777,7 +90455,7 @@ paths: required: - names examples: - default: &598 + default: &595 value: names: - octocat @@ -90832,9 +90510,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *594 examples: - default: *598 + default: *595 '404': *6 '422': *7 x-github: @@ -90857,7 +90535,7 @@ paths: parameters: - *295 - *296 - - &599 + - &596 name: per description: The time frame to display results for. in: query @@ -90888,7 +90566,7 @@ paths: - 128 clones: type: array - items: &600 + items: &597 title: Traffic type: object properties: @@ -91136,7 +90814,7 @@ paths: parameters: - *295 - *296 - - *599 + - *596 responses: '200': description: Response @@ -91157,7 +90835,7 @@ paths: - 3782 views: type: array - items: *600 + items: *597 required: - uniques - count @@ -91676,9 +91354,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *303 examples: - default: *308 + default: *305 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -91927,7 +91605,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &601 + text_matches: &598 title: Search Result Text Matches type: array items: @@ -92090,7 +91768,7 @@ paths: enum: - author-date - committer-date - - &602 + - &599 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 @@ -92159,7 +91837,7 @@ paths: committer: anyOf: - type: 'null' - - *366 + - *363 comment_count: type: integer message: @@ -92178,7 +91856,7 @@ paths: url: type: string format: uri - verification: *477 + verification: *474 required: - author - committer @@ -92193,7 +91871,7 @@ paths: committer: anyOf: - type: 'null' - - *366 + - *363 parents: type: array items: @@ -92210,7 +91888,7 @@ paths: type: number node_id: type: string - text_matches: *601 + text_matches: *598 required: - sha - node_id @@ -92350,7 +92028,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 @@ -92392,7 +92070,7 @@ paths: - interactions - created - updated - - *602 + - *599 - *17 - *19 - name: advanced_search @@ -92489,11 +92167,11 @@ paths: type: - string - 'null' - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: type: string state_reason: @@ -92507,7 +92185,7 @@ paths: milestone: anyOf: - type: 'null' - - *432 + - *429 comments: type: integer created_at: @@ -92521,7 +92199,7 @@ paths: - string - 'null' format: date-time - text_matches: *601 + text_matches: *598 pull_request: type: object properties: @@ -92701,7 +92379,7 @@ paths: category: search subcategory: search deprecationDate: '2025-03-04' - removalDate: '2025-09-04' + removalDate: '2025-11-04' deprecated: true "/search/labels": get: @@ -92747,7 +92425,7 @@ paths: enum: - created - updated - - *602 + - *599 - *17 - *19 responses: @@ -92792,7 +92470,7 @@ paths: - 'null' score: type: number - text_matches: *601 + text_matches: *598 required: - id - node_id @@ -92877,7 +92555,7 @@ paths: - forks - help-wanted-issues - updated - - *602 + - *599 - *17 - *19 responses: @@ -93114,7 +92792,7 @@ paths: - admin - pull - push - text_matches: *601 + text_matches: *598 temp_clone_token: type: string allow_merge_commit: @@ -93422,7 +93100,7 @@ paths: - string - 'null' format: uri - text_matches: *601 + text_matches: *598 related: type: - array @@ -93615,7 +93293,7 @@ paths: - followers - repositories - joined - - *602 + - *599 - *17 - *19 responses: @@ -93725,7 +93403,7 @@ paths: type: - boolean - 'null' - text_matches: *601 + text_matches: *598 blog: type: - string @@ -93807,7 +93485,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &606 + - &603 name: team_id description: The unique identifier of the team. in: path @@ -93848,7 +93526,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *606 + - *603 requestBody: required: true content: @@ -93949,7 +93627,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *606 + - *603 responses: '204': description: Response @@ -93980,7 +93658,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *606 + - *603 - *46 - *17 - *19 @@ -93993,7 +93671,7 @@ paths: type: array items: *282 examples: - default: *607 + default: *604 headers: Link: *57 x-github: @@ -94022,7 +93700,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *606 + - *603 requestBody: required: true content: @@ -94085,7 +93763,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *606 + - *603 - *284 responses: '200': @@ -94119,7 +93797,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *606 + - *603 - *284 requestBody: required: false @@ -94145,7 +93823,7 @@ paths: application/json: schema: *282 examples: - default: *608 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94170,7 +93848,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *606 + - *603 - *284 responses: '204': @@ -94200,7 +93878,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *606 + - *603 - *284 - *46 - *17 @@ -94214,7 +93892,7 @@ paths: type: array items: *285 examples: - default: *609 + default: *606 headers: Link: *57 x-github: @@ -94243,7 +93921,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *606 + - *603 - *284 requestBody: required: true @@ -94295,7 +93973,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *606 + - *603 - *284 - *287 responses: @@ -94330,7 +94008,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *606 + - *603 - *284 - *287 requestBody: @@ -94356,7 +94034,7 @@ paths: application/json: schema: *285 examples: - default: *610 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94381,7 +94059,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *606 + - *603 - *284 - *287 responses: @@ -94412,7 +94090,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *606 + - *603 - *284 - *287 - name: content @@ -94471,7 +94149,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *606 + - *603 - *284 - *287 requestBody: @@ -94533,7 +94211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *606 + - *603 - *284 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -94591,7 +94269,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *606 + - *603 - *284 requestBody: required: true @@ -94650,7 +94328,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *606 + - *603 - *17 - *19 responses: @@ -94688,7 +94366,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *606 + - *603 - name: role description: Filters members returned by their role in the team. in: query @@ -94739,7 +94417,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *606 + - *603 - *133 responses: '204': @@ -94776,7 +94454,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *606 + - *603 - *133 responses: '204': @@ -94816,7 +94494,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *606 + - *603 - *133 responses: '204': @@ -94853,7 +94531,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *606 + - *603 - *133 responses: '200': @@ -94862,7 +94540,7 @@ paths: application/json: schema: *292 examples: - response-if-user-is-a-team-maintainer: *611 + response-if-user-is-a-team-maintainer: *608 '404': *6 x-github: githubCloudOnly: false @@ -94895,7 +94573,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *606 + - *603 - *133 requestBody: required: false @@ -94923,7 +94601,7 @@ paths: application/json: schema: *292 examples: - response-if-users-membership-with-team-is-now-pending: *612 + response-if-users-membership-with-team-is-now-pending: *609 '403': description: Forbidden if team synchronization is set up '422': @@ -94957,7 +94635,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *606 + - *603 - *133 responses: '204': @@ -94986,7 +94664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *606 + - *603 - *17 - *19 responses: @@ -94998,7 +94676,7 @@ paths: type: array items: *293 examples: - default: *613 + default: *610 headers: Link: *57 '404': *6 @@ -95024,7 +94702,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *606 + - *603 - *294 responses: '200': @@ -95033,7 +94711,7 @@ paths: application/json: schema: *293 examples: - default: *614 + default: *611 '404': description: Not Found if project is not managed by this team x-github: @@ -95057,7 +94735,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *606 + - *603 - *294 requestBody: required: false @@ -95125,7 +94803,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *606 + - *603 - *294 responses: '204': @@ -95153,7 +94831,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *606 + - *603 - *17 - *19 responses: @@ -95195,7 +94873,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *606 + - *603 - *295 - *296 responses: @@ -95203,7 +94881,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *615 + schema: *612 examples: alternative-response-with-extra-repository-information: value: @@ -95354,7 +95032,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *606 + - *603 - *295 - *296 requestBody: @@ -95406,7 +95084,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *606 + - *603 - *295 - *296 responses: @@ -95433,7 +95111,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *606 + - *603 - *17 - *19 responses: @@ -95445,7 +95123,7 @@ paths: type: array items: *151 examples: - response-if-child-teams-exist: *616 + response-if-child-teams-exist: *613 headers: Link: *57 '404': *6 @@ -95478,7 +95156,7 @@ paths: application/json: schema: oneOf: - - &618 + - &615 title: Private User description: Private User type: object @@ -95728,7 +95406,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *617 + - *614 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -95888,7 +95566,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *615 examples: default: value: @@ -96234,7 +95912,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -96242,7 +95920,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '401': *23 '403': *27 '404': *6 @@ -96286,7 +95964,7 @@ paths: type: integer secrets: type: array - items: &619 + items: &616 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -96328,7 +96006,7 @@ paths: - visibility - selected_repositories_url examples: - default: *421 + default: *418 headers: Link: *57 x-github: @@ -96406,7 +96084,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *616 examples: default: value: @@ -96552,7 +96230,7 @@ paths: type: array items: *120 examples: - default: *620 + default: *617 '401': *23 '403': *27 '404': *6 @@ -96704,7 +96382,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '304': *35 '500': *91 '401': *23 @@ -96762,7 +96440,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '401': *23 '403': *27 '404': *6 @@ -96819,7 +96497,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &618 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -96872,7 +96550,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &622 + default: &619 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -96917,9 +96595,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *618 examples: - default: *622 + default: *619 '404': *6 x-github: githubCloudOnly: false @@ -96956,9 +96634,9 @@ paths: type: integer machines: type: array - items: *420 + items: *417 examples: - default: *623 + default: *620 '304': *35 '500': *91 '401': *23 @@ -97043,11 +96721,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *306 + repository: *303 machine: anyOf: - type: 'null' - - *420 + - *417 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -97852,7 +97530,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '304': *35 '500': *91 '400': *14 @@ -97892,7 +97570,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '500': *91 '401': *23 '403': *27 @@ -97924,7 +97602,7 @@ paths: type: array items: *209 examples: - default: &635 + default: &632 value: - id: 197 name: hello_docker @@ -98025,7 +97703,7 @@ paths: application/json: schema: type: array - items: &624 + items: &621 title: Email description: Email type: object @@ -98095,9 +97773,9 @@ paths: application/json: schema: type: array - items: *624 + items: *621 examples: - default: &637 + default: &634 value: - email: octocat@github.com verified: true @@ -98174,7 +97852,7 @@ paths: application/json: schema: type: array - items: *624 + items: *621 examples: default: value: @@ -98432,7 +98110,7 @@ paths: application/json: schema: type: array - items: &625 + items: &622 title: GPG Key description: A unique encryption key type: object @@ -98577,7 +98255,7 @@ paths: - subkeys - revoked examples: - default: &651 + default: &648 value: - id: 3 name: Octocat's GPG Key @@ -98662,9 +98340,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *622 examples: - default: &626 + default: &623 value: id: 3 name: Octocat's GPG Key @@ -98721,7 +98399,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &627 + - &624 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -98733,9 +98411,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *622 examples: - default: *626 + default: *623 '404': *6 '304': *35 '403': *27 @@ -98758,7 +98436,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *627 + - *624 responses: '204': description: Response @@ -99063,7 +98741,7 @@ paths: required: true content: application/json: - schema: *488 + schema: *485 examples: default: value: @@ -99213,7 +98891,7 @@ paths: application/json: schema: type: array - items: &628 + items: &625 title: Key description: Key type: object @@ -99316,9 +98994,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *625 examples: - default: &629 + default: &626 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99351,15 +99029,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *515 + - *512 responses: '200': description: Response content: application/json: - schema: *628 + schema: *625 examples: - default: *629 + default: *626 '404': *6 '304': *35 '403': *27 @@ -99382,7 +99060,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *515 + - *512 responses: '204': description: Response @@ -99415,7 +99093,7 @@ paths: application/json: schema: type: array - items: &630 + items: &627 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -99494,7 +99172,7 @@ paths: - account - plan examples: - default: &631 + default: &628 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -99556,9 +99234,9 @@ paths: application/json: schema: type: array - items: *630 + items: *627 examples: - default: *631 + default: *628 headers: Link: *57 '304': *35 @@ -100562,7 +100240,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *203 - - *632 + - *629 responses: '204': description: Response @@ -100635,7 +100313,7 @@ paths: type: array items: *150 examples: - default: *633 + default: *630 headers: Link: *57 '304': *35 @@ -100677,7 +100355,7 @@ paths: - docker - nuget - container - - *634 + - *631 - *19 - *17 responses: @@ -100689,8 +100367,8 @@ paths: type: array items: *209 examples: - default: *635 - '400': *636 + default: *632 + '400': *633 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100719,7 +100397,7 @@ paths: application/json: schema: *209 examples: - default: &652 + default: &649 value: id: 40201 name: octo-name @@ -101174,9 +100852,9 @@ paths: application/json: schema: type: array - items: *624 + items: *621 examples: - default: *637 + default: *634 headers: Link: *57 '304': *35 @@ -101289,7 +100967,7 @@ paths: type: array items: *59 examples: - default: &644 + default: &641 summary: Default response value: - id: 1296269 @@ -101607,9 +101285,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *303 examples: - default: *308 + default: *305 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -101647,9 +101325,9 @@ paths: application/json: schema: type: array - items: *490 + items: *487 examples: - default: *638 + default: *635 headers: Link: *57 '304': *35 @@ -101728,7 +101406,7 @@ paths: application/json: schema: type: array - items: &639 + items: &636 title: Social account description: Social media account type: object @@ -101745,7 +101423,7 @@ paths: - provider - url examples: - default: &640 + default: &637 value: - provider: twitter url: https://twitter.com/github @@ -101808,9 +101486,9 @@ paths: application/json: schema: type: array - items: *639 + items: *636 examples: - default: *640 + default: *637 '422': *15 '304': *35 '404': *6 @@ -101898,7 +101576,7 @@ paths: application/json: schema: type: array - items: &641 + items: &638 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -101918,7 +101596,7 @@ paths: - title - created_at examples: - default: &663 + default: &660 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101985,9 +101663,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *638 examples: - default: &642 + default: &639 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102018,7 +101696,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: - - &643 + - &640 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -102030,9 +101708,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *638 examples: - default: *642 + default: *639 '404': *6 '304': *35 '403': *27 @@ -102055,7 +101733,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: - - *643 + - *640 responses: '204': description: Response @@ -102084,7 +101762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &664 + - &661 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 @@ -102109,11 +101787,11 @@ paths: type: array items: *59 examples: - default-response: *644 + default-response: *641 application/vnd.github.v3.star+json: schema: type: array - items: &665 + items: &662 title: Starred Repository description: Starred Repository type: object @@ -102482,10 +102160,10 @@ paths: application/json: schema: oneOf: - - *618 - - *617 + - *615 + - *614 examples: - default-response: &646 + default-response: &643 summary: Default response value: login: octocat @@ -102520,7 +102198,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &647 + response-with-git-hub-plan-information: &644 summary: Response with GitHub plan information value: login: octocat @@ -102580,7 +102258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *645 + - *642 - *17 responses: '200': @@ -102629,11 +102307,11 @@ paths: application/json: schema: oneOf: - - *618 - - *617 + - *615 + - *614 examples: - default-response: *646 - response-with-git-hub-plan-information: *647 + default-response: *643 + response-with-git-hub-plan-information: *644 '404': *6 x-github: githubCloudOnly: false @@ -102682,8 +102360,8 @@ paths: required: - subject_digests examples: - default: *648 - withPredicateType: *649 + default: *645 + withPredicateType: *646 responses: '200': description: Response @@ -102737,7 +102415,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *650 + default: *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102939,7 +102617,7 @@ paths: bundle_url: type: string examples: - default: *362 + default: *359 '201': description: Response content: @@ -102980,7 +102658,7 @@ paths: type: array items: *209 examples: - default: *635 + default: *632 '403': *27 '401': *23 x-github: @@ -103384,9 +103062,9 @@ paths: application/json: schema: type: array - items: *625 + items: *622 examples: - default: *651 + default: *648 headers: Link: *57 x-github: @@ -103490,7 +103168,7 @@ paths: application/json: schema: *20 examples: - default: *487 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103576,7 +103254,7 @@ paths: type: array items: *150 examples: - default: *633 + default: *630 headers: Link: *57 x-github: @@ -103615,7 +103293,7 @@ paths: - docker - nuget - container - - *634 + - *631 - *133 - *19 - *17 @@ -103628,10 +103306,10 @@ paths: type: array items: *209 examples: - default: *635 + default: *632 '403': *27 '401': *23 - '400': *636 + '400': *633 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103661,7 +103339,7 @@ paths: application/json: schema: *209 examples: - default: *652 + default: *649 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104260,9 +103938,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *650 examples: - default: *654 + default: *651 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104290,9 +103968,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *652 examples: - default: *656 + default: *653 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104320,9 +103998,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *654 examples: - default: *658 + default: *655 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104343,10 +104021,10 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - *133 + - *656 + - *657 + - *658 - *659 - - *660 - - *661 - - *662 responses: '200': description: Response when getting a billing usage report @@ -104445,9 +104123,9 @@ paths: application/json: schema: type: array - items: *639 + items: *636 examples: - default: *640 + default: *637 headers: Link: *57 x-github: @@ -104477,9 +104155,9 @@ paths: application/json: schema: type: array - items: *641 + items: *638 examples: - default: *663 + default: *660 headers: Link: *57 x-github: @@ -104504,7 +104182,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *133 - - *664 + - *661 - *46 - *17 - *19 @@ -104516,11 +104194,11 @@ paths: schema: anyOf: - type: array - items: *665 + items: *662 - type: array items: *59 examples: - default-response: *644 + default-response: *641 headers: Link: *57 x-github: @@ -104680,7 +104358,7 @@ webhooks: type: string enum: - disabled - enterprise: &666 + enterprise: &663 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -104749,7 +104427,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &667 + installation: &664 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -104770,7 +104448,7 @@ webhooks: required: - id - node_id - organization: &668 + organization: &665 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -104843,7 +104521,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &669 + repository: &666 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -105756,10 +105434,10 @@ webhooks: type: string enum: - enabled - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -105835,11 +105513,11 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 - rule: &670 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 + rule: &667 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) @@ -106062,11 +105740,11 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 - rule: *670 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 + rule: *667 sender: *4 required: - action @@ -106254,11 +105932,11 @@ webhooks: - everyone required: - from - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 - rule: *670 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 + rule: *667 sender: *4 required: - action @@ -106342,7 +106020,7 @@ webhooks: type: string enum: - completed - check_run: &672 + check_run: &669 title: CheckRun description: A check performed on the code of a given code change type: object @@ -106407,7 +106085,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *379 + items: *376 repository: *120 status: type: string @@ -106452,7 +106130,7 @@ webhooks: - examples: - neutral - deployment: *671 + deployment: *668 details_url: type: string examples: @@ -106512,7 +106190,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *379 + items: *376 started_at: type: string format: date-time @@ -106550,9 +106228,10 @@ webhooks: - output - app - pull_requests - installation: *667 - organization: *668 - repository: *669 + installation: *664 + enterprise: *663 + organization: *665 + repository: *666 sender: *4 required: - check_run @@ -106945,10 +106624,11 @@ webhooks: type: string enum: - created - check_run: *672 - installation: *667 - organization: *668 - repository: *669 + check_run: *669 + installation: *664 + enterprise: *663 + organization: *665 + repository: *666 sender: *4 required: - check_run @@ -107344,10 +107024,11 @@ webhooks: type: string enum: - requested_action - check_run: *672 - installation: *667 - organization: *668 - repository: *669 + check_run: *669 + installation: *664 + enterprise: *663 + organization: *665 + repository: *666 requested_action: description: The action requested by the user. type: object @@ -107752,10 +107433,11 @@ webhooks: type: string enum: - rerequested - check_run: *672 - installation: *667 - organization: *668 - repository: *669 + check_run: *669 + installation: *664 + enterprise: *663 + organization: *665 + repository: *666 sender: *4 required: - check_run @@ -108747,10 +108429,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -109435,10 +109117,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -110117,10 +109799,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -110286,7 +109968,7 @@ webhooks: required: - login - id - dismissed_comment: *394 + dismissed_comment: *391 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -110438,20 +110120,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &673 + commit_oid: &670 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: *666 - installation: *667 - organization: *668 - ref: &674 + enterprise: *663 + installation: *664 + organization: *665 + ref: &671 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: *669 + repository: *666 sender: *4 required: - action @@ -110615,7 +110297,7 @@ webhooks: required: - login - id - dismissed_comment: *394 + dismissed_comment: *391 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -110856,12 +110538,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *673 - enterprise: *666 - installation: *667 - organization: *668 - ref: *674 - repository: *669 + commit_oid: *670 + enterprise: *663 + installation: *664 + organization: *665 + ref: *671 + repository: *666 sender: *4 required: - action @@ -110959,7 +110641,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *394 + dismissed_comment: *391 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111141,12 +110823,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *673 - enterprise: *666 - installation: *667 - organization: *668 - ref: *674 - repository: *669 + commit_oid: *670 + enterprise: *663 + installation: *664 + organization: *665 + ref: *671 + repository: *666 sender: *4 required: - action @@ -111312,7 +110994,7 @@ webhooks: required: - login - id - dismissed_comment: *394 + dismissed_comment: *391 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -111489,12 +111171,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *673 - enterprise: *666 - installation: *667 - organization: *668 - ref: *674 - repository: *669 + commit_oid: *670 + enterprise: *663 + installation: *664 + organization: *665 + ref: *671 + repository: *666 sender: *4 required: - action @@ -111594,7 +111276,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *394 + dismissed_comment: *391 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111774,9 +111456,9 @@ webhooks: type: - string - 'null' - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -111784,7 +111466,7 @@ webhooks: type: - string - 'null' - repository: *669 + repository: *666 sender: *4 required: - action @@ -111880,7 +111562,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *394 + dismissed_comment: *391 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112027,12 +111709,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *673 - enterprise: *666 - installation: *667 - organization: *668 - ref: *674 - repository: *669 + commit_oid: *670 + enterprise: *663 + installation: *664 + organization: *665 + ref: *671 + repository: *666 sender: *4 required: - action @@ -112294,10 +111976,10 @@ webhooks: - updated_at - author_association - body - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -112378,18 +112060,18 @@ webhooks: type: - string - 'null' - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *668 - pusher_type: &675 + organization: *665 + pusher_type: &672 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &676 + ref: &673 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -112399,7 +112081,7 @@ webhooks: enum: - tag - branch - repository: *669 + repository: *666 sender: *4 required: - ref @@ -112482,9 +112164,9 @@ webhooks: enum: - created definition: *226 - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 sender: *4 required: - action @@ -112569,9 +112251,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 sender: *4 required: - action @@ -112649,9 +112331,9 @@ webhooks: enum: - promote_to_enterprise definition: *226 - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 sender: *4 required: - action @@ -112729,9 +112411,9 @@ webhooks: enum: - updated definition: *226 - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 sender: *4 required: - action @@ -112808,10 +112490,10 @@ webhooks: type: string enum: - updated - enterprise: *666 - installation: *667 - repository: *669 - organization: *668 + enterprise: *663 + installation: *664 + repository: *666 + organization: *665 sender: *4 new_property_values: type: array @@ -112896,18 +112578,18 @@ webhooks: title: delete event type: object properties: - enterprise: *666 - installation: *667 - organization: *668 - pusher_type: *675 - ref: *676 + enterprise: *663 + installation: *664 + organization: *665 + pusher_type: *672 + ref: *673 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *669 + repository: *666 sender: *4 required: - ref @@ -112991,11 +112673,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *446 - installation: *667 - organization: *668 - enterprise: *666 - repository: *669 + alert: *443 + installation: *664 + organization: *665 + enterprise: *663 + repository: *666 sender: *4 required: - action @@ -113079,11 +112761,11 @@ webhooks: type: string enum: - auto_reopened - alert: *446 - installation: *667 - organization: *668 - enterprise: *666 - repository: *669 + alert: *443 + installation: *664 + organization: *665 + enterprise: *663 + repository: *666 sender: *4 required: - action @@ -113167,11 +112849,11 @@ webhooks: type: string enum: - created - alert: *446 - installation: *667 - organization: *668 - enterprise: *666 - repository: *669 + alert: *443 + installation: *664 + organization: *665 + enterprise: *663 + repository: *666 sender: *4 required: - action @@ -113253,11 +112935,11 @@ webhooks: type: string enum: - dismissed - alert: *446 - installation: *667 - organization: *668 - enterprise: *666 - repository: *669 + alert: *443 + installation: *664 + organization: *665 + enterprise: *663 + repository: *666 sender: *4 required: - action @@ -113339,11 +113021,11 @@ webhooks: type: string enum: - fixed - alert: *446 - installation: *667 - organization: *668 - enterprise: *666 - repository: *669 + alert: *443 + installation: *664 + organization: *665 + enterprise: *663 + repository: *666 sender: *4 required: - action @@ -113426,11 +113108,11 @@ webhooks: type: string enum: - reintroduced - alert: *446 - installation: *667 - organization: *668 - enterprise: *666 - repository: *669 + alert: *443 + installation: *664 + organization: *665 + enterprise: *663 + repository: *666 sender: *4 required: - action @@ -113512,11 +113194,11 @@ webhooks: type: string enum: - reopened - alert: *446 - installation: *667 - organization: *668 - enterprise: *666 - repository: *669 + alert: *443 + installation: *664 + organization: *665 + enterprise: *663 + repository: *666 sender: *4 required: - action @@ -113593,9 +113275,9 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - key: &677 + enterprise: *663 + installation: *664 + key: &674 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -113633,8 +113315,8 @@ webhooks: - verified - created_at - read_only - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -113711,11 +113393,11 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - key: *677 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + key: *674 + organization: *665 + repository: *666 sender: *4 required: - action @@ -114287,12 +113969,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - workflow: &681 + workflow: &678 title: Workflow type: - object @@ -115030,13 +114712,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *452 + deployment: *449 pull_requests: type: array - items: *534 - repository: *669 - organization: *668 - installation: *667 + items: *531 + repository: *666 + organization: *665 + installation: *664 sender: *4 responses: '200': @@ -115107,7 +114789,7 @@ webhooks: type: string enum: - approved - approver: &678 + approver: &675 type: object properties: avatar_url: @@ -115150,11 +114832,11 @@ webhooks: type: string comment: type: string - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 - reviewers: &679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 + reviewers: &676 type: array items: type: object @@ -115235,7 +114917,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &680 + workflow_job_run: &677 type: object properties: conclusion: @@ -115981,18 +115663,18 @@ webhooks: type: string enum: - rejected - approver: *678 + approver: *675 comment: type: string - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 - reviewers: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 + reviewers: *676 sender: *4 since: type: string - workflow_job_run: *680 + workflow_job_run: *677 workflow_job_runs: type: array items: @@ -116709,13 +116391,13 @@ webhooks: type: string enum: - requested - enterprise: *666 + enterprise: *663 environment: type: string - installation: *667 - organization: *668 - repository: *669 - requestor: &686 + installation: *664 + organization: *665 + repository: *666 + requestor: &683 title: User type: - object @@ -118658,12 +118340,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - workflow: *681 + workflow: *678 workflow_run: title: Deployment Workflow Run type: @@ -119354,7 +119036,7 @@ webhooks: type: string enum: - answered - answer: &684 + answer: &681 type: object properties: author_association: @@ -119514,7 +119196,7 @@ webhooks: - created_at - updated_at - body - discussion: &682 + discussion: &679 title: Discussion description: A Discussion in a repository. type: object @@ -119810,7 +119492,7 @@ webhooks: - id labels: type: array - items: *498 + items: *495 required: - repository_url - category @@ -119832,10 +119514,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -119962,11 +119644,11 @@ webhooks: - from required: - category - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -120049,11 +119731,11 @@ webhooks: type: string enum: - closed - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -120135,7 +119817,7 @@ webhooks: type: string enum: - created - comment: &683 + comment: &680 type: object properties: author_association: @@ -120295,11 +119977,11 @@ webhooks: - updated_at - body - reactions - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -120382,12 +120064,12 @@ webhooks: type: string enum: - deleted - comment: *683 - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + comment: *680 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -120482,12 +120164,12 @@ webhooks: - from required: - body - comment: *683 - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + comment: *680 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -120571,11 +120253,11 @@ webhooks: type: string enum: - created - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -120657,11 +120339,11 @@ webhooks: type: string enum: - deleted - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -120761,11 +120443,11 @@ webhooks: type: string required: - from - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -120847,10 +120529,10 @@ webhooks: type: string enum: - labeled - discussion: *682 - enterprise: *666 - installation: *667 - label: &685 + discussion: *679 + enterprise: *663 + installation: *664 + label: &682 title: Label type: object properties: @@ -120883,8 +120565,8 @@ webhooks: - color - default - description - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -120967,11 +120649,11 @@ webhooks: type: string enum: - locked - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -121053,11 +120735,11 @@ webhooks: type: string enum: - pinned - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -121139,11 +120821,11 @@ webhooks: type: string enum: - reopened - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -121228,16 +120910,16 @@ webhooks: changes: type: object properties: - new_discussion: *682 - new_repository: *669 + new_discussion: *679 + new_repository: *666 required: - new_discussion - new_repository - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -121320,10 +121002,10 @@ webhooks: type: string enum: - unanswered - discussion: *682 - old_answer: *684 - organization: *668 - repository: *669 + discussion: *679 + old_answer: *681 + organization: *665 + repository: *666 sender: *4 required: - action @@ -121405,12 +121087,12 @@ webhooks: type: string enum: - unlabeled - discussion: *682 - enterprise: *666 - installation: *667 - label: *685 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + label: *682 + organization: *665 + repository: *666 sender: *4 required: - action @@ -121493,11 +121175,11 @@ webhooks: type: string enum: - unlocked - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -121579,11 +121261,11 @@ webhooks: type: string enum: - unpinned - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -121656,7 +121338,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *666 + enterprise: *663 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -122334,9 +122016,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - forkee @@ -122482,9 +122164,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 pages: description: The pages that were updated. type: array @@ -122522,7 +122204,7 @@ webhooks: - action - sha - html_url - repository: *669 + repository: *666 sender: *4 required: - pages @@ -122598,10 +122280,10 @@ webhooks: type: string enum: - created - enterprise: *666 + enterprise: *663 installation: *20 - organization: *668 - repositories: &687 + organization: *665 + repositories: &684 description: An array of repository objects that the installation can access. type: array @@ -122627,8 +122309,8 @@ webhooks: - name - full_name - private - repository: *669 - requester: *686 + repository: *666 + requester: *683 sender: *4 required: - action @@ -122703,11 +122385,11 @@ webhooks: type: string enum: - deleted - enterprise: *666 + enterprise: *663 installation: *20 - organization: *668 - repositories: *687 - repository: *669 + organization: *665 + repositories: *684 + repository: *666 requester: type: - 'null' @@ -122784,11 +122466,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *666 + enterprise: *663 installation: *20 - organization: *668 - repositories: *687 - repository: *669 + organization: *665 + repositories: *684 + repository: *666 requester: type: - 'null' @@ -122865,10 +122547,10 @@ webhooks: type: string enum: - added - enterprise: *666 + enterprise: *663 installation: *20 - organization: *668 - repositories_added: &688 + organization: *665 + repositories_added: &685 description: An array of repository objects, which were added to the installation. type: array @@ -122914,15 +122596,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *669 - repository_selection: &689 + repository: *666 + repository_selection: &686 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *686 + requester: *683 sender: *4 required: - action @@ -123001,10 +122683,10 @@ webhooks: type: string enum: - removed - enterprise: *666 + enterprise: *663 installation: *20 - organization: *668 - repositories_added: *688 + organization: *665 + repositories_added: *685 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -123031,9 +122713,9 @@ webhooks: - name - full_name - private - repository: *669 - repository_selection: *689 - requester: *686 + repository: *666 + repository_selection: *686 + requester: *683 sender: *4 required: - action @@ -123112,11 +122794,11 @@ webhooks: type: string enum: - suspend - enterprise: *666 + enterprise: *663 installation: *20 - organization: *668 - repositories: *687 - repository: *669 + organization: *665 + repositories: *684 + repository: *666 requester: type: - 'null' @@ -123298,10 +122980,10 @@ webhooks: type: string required: - from - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 target_type: type: string @@ -123380,11 +123062,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *666 + enterprise: *663 installation: *20 - organization: *668 - repositories: *687 - repository: *669 + organization: *665 + repositories: *684 + repository: *666 requester: type: - 'null' @@ -123632,8 +123314,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -124450,8 +124132,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124812,8 +124494,8 @@ webhooks: - state - locked - assignee - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -124893,7 +124575,7 @@ webhooks: type: string enum: - deleted - comment: &690 + comment: &687 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -125060,8 +124742,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125874,8 +125556,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126238,8 +125920,8 @@ webhooks: - state - locked - assignee - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -126319,7 +126001,7 @@ webhooks: type: string enum: - edited - changes: &715 + changes: &712 description: The changes to the comment. type: object properties: @@ -126331,9 +126013,9 @@ webhooks: type: string required: - from - comment: *690 - enterprise: *666 - installation: *667 + comment: *687 + enterprise: *663 + installation: *664 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127149,8 +126831,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127511,8 +127193,8 @@ webhooks: - state - locked - assignee - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -127602,9 +127284,9 @@ webhooks: type: number blocking_issue: *74 blocking_issue_repo: *59 - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -127698,9 +127380,9 @@ webhooks: type: number blocking_issue: *74 blocking_issue_repo: *59 - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -127793,9 +127475,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *74 - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -127889,9 +127571,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *74 - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -127976,10 +127658,10 @@ webhooks: type: string enum: - assigned - assignee: *686 - enterprise: *666 - installation: *667 - issue: &693 + assignee: *683 + enterprise: *663 + installation: *664 + issue: &690 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -128791,11 +128473,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128915,8 +128597,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -128996,8 +128678,8 @@ webhooks: type: string enum: - closed - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129814,11 +129496,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130081,8 +129763,8 @@ webhooks: required: - state - closed_at - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -130161,8 +129843,8 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130970,11 +130652,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131093,8 +130775,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -131173,8 +130855,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132005,11 +131687,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132107,7 +131789,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &691 + milestone: &688 title: Milestone description: A collection of related issues and pull requests. type: object @@ -132250,8 +131932,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -132350,8 +132032,8 @@ webhooks: type: string required: - from - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133163,11 +132845,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133287,9 +132969,9 @@ webhooks: - active_lock_reason - body - reactions - label: *685 - organization: *668 - repository: *669 + label: *682 + organization: *665 + repository: *666 sender: *4 required: - action @@ -133369,8 +133051,8 @@ webhooks: type: string enum: - labeled - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134181,11 +133863,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134305,9 +133987,9 @@ webhooks: - active_lock_reason - body - reactions - label: *685 - organization: *668 - repository: *669 + label: *682 + organization: *665 + repository: *666 sender: *4 required: - action @@ -134387,8 +134069,8 @@ webhooks: type: string enum: - locked - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135224,11 +134906,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135325,8 +135007,8 @@ webhooks: format: uri user_view_type: type: string - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -135405,8 +135087,8 @@ webhooks: type: string enum: - milestoned - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136236,11 +135918,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136337,9 +136019,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *691 - organization: *668 - repository: *669 + milestone: *688 + organization: *665 + repository: *666 sender: *4 required: - action @@ -137231,11 +136913,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137812,8 +137494,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138625,11 +138307,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138748,8 +138430,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -138829,9 +138511,9 @@ webhooks: type: string enum: - pinned - enterprise: *666 - installation: *667 - issue: &692 + enterprise: *663 + installation: *664 + issue: &689 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -139637,11 +139319,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139760,8 +139442,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -139840,8 +139522,8 @@ webhooks: type: string enum: - reopened - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140675,11 +140357,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140777,8 +140459,8 @@ webhooks: user_view_type: type: string type: *190 - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -141667,11 +141349,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142270,11 +141952,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *666 - installation: *667 - issue: *692 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + issue: *689 + organization: *665 + repository: *666 sender: *4 required: - action @@ -142354,12 +142036,12 @@ webhooks: type: string enum: - typed - enterprise: *666 - installation: *667 - issue: *693 + enterprise: *663 + installation: *664 + issue: *690 type: *190 - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -142440,7 +142122,7 @@ webhooks: type: string enum: - unassigned - assignee: &718 + assignee: &715 title: User type: - object @@ -142512,11 +142194,11 @@ webhooks: required: - login - id - enterprise: *666 - installation: *667 - issue: *693 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + issue: *690 + organization: *665 + repository: *666 sender: *4 required: - action @@ -142595,12 +142277,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *666 - installation: *667 - issue: *693 - label: *685 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + issue: *690 + label: *682 + organization: *665 + repository: *666 sender: *4 required: - action @@ -142680,8 +142362,8 @@ webhooks: type: string enum: - unlocked - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143515,11 +143197,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143616,8 +143298,8 @@ webhooks: format: uri user_view_type: type: string - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -143697,11 +143379,11 @@ webhooks: type: string enum: - unpinned - enterprise: *666 - installation: *667 - issue: *692 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + issue: *689 + organization: *665 + repository: *666 sender: *4 required: - action @@ -143780,12 +143462,12 @@ webhooks: type: string enum: - untyped - enterprise: *666 - installation: *667 - issue: *693 + enterprise: *663 + installation: *664 + issue: *690 type: *190 - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -143865,11 +143547,11 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - label: *685 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + label: *682 + organization: *665 + repository: *666 sender: *4 required: - action @@ -143947,11 +143629,11 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - label: *685 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + label: *682 + organization: *665 + repository: *666 sender: *4 required: - action @@ -144061,11 +143743,11 @@ webhooks: type: string required: - from - enterprise: *666 - installation: *667 - label: *685 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + label: *682 + organization: *665 + repository: *666 sender: *4 required: - action @@ -144147,9 +143829,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *666 - installation: *667 - marketplace_purchase: &694 + enterprise: *663 + installation: *664 + marketplace_purchase: &691 title: Marketplace Purchase type: object required: @@ -144237,8 +143919,8 @@ webhooks: type: integer unit_count: type: integer - organization: *668 - previous_marketplace_purchase: &695 + organization: *665 + previous_marketplace_purchase: &692 title: Marketplace Purchase type: object properties: @@ -144322,7 +144004,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *669 + repository: *666 sender: *4 required: - action @@ -144402,10 +144084,10 @@ webhooks: - changed effective_date: type: string - enterprise: *666 - installation: *667 - marketplace_purchase: *694 - organization: *668 + enterprise: *663 + installation: *664 + marketplace_purchase: *691 + organization: *665 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144493,7 +144175,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *669 + repository: *666 sender: *4 required: - action @@ -144575,10 +144257,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *666 - installation: *667 - marketplace_purchase: *694 - organization: *668 + enterprise: *663 + installation: *664 + marketplace_purchase: *691 + organization: *665 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144664,7 +144346,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *669 + repository: *666 sender: *4 required: - action @@ -144745,8 +144427,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 marketplace_purchase: title: Marketplace Purchase type: object @@ -144832,9 +144514,9 @@ webhooks: type: integer unit_count: type: integer - organization: *668 - previous_marketplace_purchase: *695 - repository: *669 + organization: *665 + previous_marketplace_purchase: *692 + repository: *666 sender: *4 required: - action @@ -144914,12 +144596,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *666 - installation: *667 - marketplace_purchase: *694 - organization: *668 - previous_marketplace_purchase: *695 - repository: *669 + enterprise: *663 + installation: *664 + marketplace_purchase: *691 + organization: *665 + previous_marketplace_purchase: *692 + repository: *666 sender: *4 required: - action @@ -145021,11 +144703,11 @@ webhooks: type: string required: - to - enterprise: *666 - installation: *667 - member: *686 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + member: *683 + organization: *665 + repository: *666 sender: *4 required: - action @@ -145127,11 +144809,11 @@ webhooks: type: - string - 'null' - enterprise: *666 - installation: *667 - member: *686 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + member: *683 + organization: *665 + repository: *666 sender: *4 required: - action @@ -145210,11 +144892,11 @@ webhooks: type: string enum: - removed - enterprise: *666 - installation: *667 - member: *686 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + member: *683 + organization: *665 + repository: *666 sender: *4 required: - action @@ -145292,11 +144974,11 @@ webhooks: type: string enum: - added - enterprise: *666 - installation: *667 - member: *686 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + member: *683 + organization: *665 + repository: *666 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145374,7 +145056,7 @@ webhooks: required: - login - id - team: &696 + team: &693 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -145567,11 +145249,11 @@ webhooks: type: string enum: - removed - enterprise: *666 - installation: *667 - member: *686 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + member: *683 + organization: *665 + repository: *666 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145650,7 +145332,7 @@ webhooks: required: - login - id - team: *696 + team: *693 required: - action - scope @@ -145732,8 +145414,8 @@ webhooks: type: string enum: - checks_requested - installation: *667 - merge_group: &697 + installation: *664 + merge_group: &694 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -145752,15 +145434,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *383 + head_commit: *380 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -145846,10 +145528,10 @@ webhooks: - merged - invalidated - dequeued - installation: *667 - merge_group: *697 - organization: *668 - repository: *669 + installation: *664 + merge_group: *694 + organization: *665 + repository: *666 sender: *4 required: - action @@ -145922,7 +145604,7 @@ webhooks: type: string enum: - deleted - enterprise: *666 + enterprise: *663 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146031,12 +145713,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *667 - organization: *668 + installation: *664 + organization: *665 repository: anyOf: - type: 'null' - - *669 + - *666 sender: *4 required: - action @@ -146116,11 +145798,11 @@ webhooks: type: string enum: - closed - enterprise: *666 - installation: *667 - milestone: *691 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + milestone: *688 + organization: *665 + repository: *666 sender: *4 required: - action @@ -146199,9 +145881,9 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - milestone: &698 + enterprise: *663 + installation: *664 + milestone: &695 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146343,8 +146025,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -146423,11 +146105,11 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - milestone: *691 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + milestone: *688 + organization: *665 + repository: *666 sender: *4 required: - action @@ -146537,11 +146219,11 @@ webhooks: type: string required: - from - enterprise: *666 - installation: *667 - milestone: *691 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + milestone: *688 + organization: *665 + repository: *666 sender: *4 required: - action @@ -146621,11 +146303,11 @@ webhooks: type: string enum: - opened - enterprise: *666 - installation: *667 - milestone: *698 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + milestone: *695 + organization: *665 + repository: *666 sender: *4 required: - action @@ -146704,11 +146386,11 @@ webhooks: type: string enum: - blocked - blocked_user: *686 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + blocked_user: *683 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -146787,11 +146469,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *686 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + blocked_user: *683 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -146870,9 +146552,9 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - membership: &699 + enterprise: *663 + installation: *664 + membership: &696 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -146982,8 +146664,8 @@ webhooks: - role - organization_url - user - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -147061,11 +146743,11 @@ webhooks: type: string enum: - member_added - enterprise: *666 - installation: *667 - membership: *699 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + membership: *696 + organization: *665 + repository: *666 sender: *4 required: - action @@ -147144,8 +146826,8 @@ webhooks: type: string enum: - member_invited - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147267,10 +146949,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 - user: *686 + user: *683 required: - action - invitation @@ -147348,11 +147030,11 @@ webhooks: type: string enum: - member_removed - enterprise: *666 - installation: *667 - membership: *699 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + membership: *696 + organization: *665 + repository: *666 sender: *4 required: - action @@ -147439,11 +147121,11 @@ webhooks: properties: from: type: string - enterprise: *666 - installation: *667 - membership: *699 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + membership: *696 + organization: *665 + repository: *666 sender: *4 required: - action @@ -147519,9 +147201,9 @@ webhooks: type: string enum: - published - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 package: description: Information about the package. type: object @@ -148044,7 +147726,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &700 + items: &697 title: Ruby Gems metadata type: object properties: @@ -148141,7 +147823,7 @@ webhooks: - owner - package_version - registry - repository: *669 + repository: *666 sender: *4 required: - action @@ -148217,9 +147899,9 @@ webhooks: type: string enum: - updated - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 package: description: Information about the package. type: object @@ -148581,7 +148263,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *700 + items: *697 source_url: type: string format: uri @@ -148652,7 +148334,7 @@ webhooks: - owner - package_version - registry - repository: *669 + repository: *666 sender: *4 required: - action @@ -148833,12 +148515,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *666 + enterprise: *663 id: type: integer - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - id @@ -148915,7 +148597,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &701 + personal_access_token_request: &698 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149065,10 +148747,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *666 - organization: *668 + enterprise: *663 + organization: *665 sender: *4 - installation: *667 + installation: *664 required: - action - personal_access_token_request @@ -149145,11 +148827,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *701 - enterprise: *666 - organization: *668 + personal_access_token_request: *698 + enterprise: *663 + organization: *665 sender: *4 - installation: *667 + installation: *664 required: - action - personal_access_token_request @@ -149225,11 +148907,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *701 - enterprise: *666 - organization: *668 + personal_access_token_request: *698 + enterprise: *663 + organization: *665 sender: *4 - installation: *667 + installation: *664 required: - action - personal_access_token_request @@ -149304,11 +148986,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *701 - organization: *668 - enterprise: *666 + personal_access_token_request: *698 + organization: *665 + enterprise: *663 sender: *4 - installation: *667 + installation: *664 required: - action - personal_access_token_request @@ -149413,7 +149095,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *702 + last_response: *699 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149445,8 +149127,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 zen: description: Random string of GitHub zen. @@ -149691,10 +149373,10 @@ webhooks: - from required: - note - enterprise: *666 - installation: *667 - organization: *668 - project_card: &703 + enterprise: *663 + installation: *664 + organization: *665 + project_card: &700 title: Project Card type: object properties: @@ -149817,7 +149499,7 @@ webhooks: - creator - created_at - updated_at - repository: *669 + repository: *666 sender: *4 required: - action @@ -149898,11 +149580,11 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 - project_card: *703 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + project_card: *700 + repository: *666 sender: *4 required: - action @@ -149982,9 +149664,9 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 project_card: title: Project Card type: object @@ -150114,7 +149796,7 @@ webhooks: repository: anyOf: - type: 'null' - - *669 + - *666 sender: *4 required: - action @@ -150208,11 +149890,11 @@ webhooks: - from required: - note - enterprise: *666 - installation: *667 - organization: *668 - project_card: *703 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + project_card: *700 + repository: *666 sender: *4 required: - action @@ -150306,9 +149988,9 @@ webhooks: - from required: - column_id - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 project_card: allOf: - title: Project Card @@ -150505,7 +150187,7 @@ webhooks: type: string required: - after_id - repository: *669 + repository: *666 sender: *4 required: - action @@ -150585,10 +150267,10 @@ webhooks: type: string enum: - closed - enterprise: *666 - installation: *667 - organization: *668 - project: &705 + enterprise: *663 + installation: *664 + organization: *665 + project: &702 title: Project type: object properties: @@ -150715,7 +150397,7 @@ webhooks: - creator - created_at - updated_at - repository: *669 + repository: *666 sender: *4 required: - action @@ -150795,10 +150477,10 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 - project_column: &704 + enterprise: *663 + installation: *664 + organization: *665 + project_column: &701 title: Project Column type: object properties: @@ -150838,7 +150520,7 @@ webhooks: - name - created_at - updated_at - repository: *669 + repository: *666 sender: *4 required: - action @@ -150917,14 +150599,14 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - organization: *668 - project_column: *704 + enterprise: *663 + installation: *664 + organization: *665 + project_column: *701 repository: anyOf: - type: 'null' - - *669 + - *666 sender: *4 required: - action @@ -151013,11 +150695,11 @@ webhooks: type: string required: - from - enterprise: *666 - installation: *667 - organization: *668 - project_column: *704 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + project_column: *701 + repository: *666 sender: *4 required: - action @@ -151097,11 +150779,11 @@ webhooks: type: string enum: - moved - enterprise: *666 - installation: *667 - organization: *668 - project_column: *704 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + project_column: *701 + repository: *666 sender: *4 required: - action @@ -151181,11 +150863,11 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 - project: *705 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + project: *702 + repository: *666 sender: *4 required: - action @@ -151265,14 +150947,14 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - organization: *668 - project: *705 + enterprise: *663 + installation: *664 + organization: *665 + project: *702 repository: anyOf: - type: 'null' - - *669 + - *666 sender: *4 required: - action @@ -151373,11 +151055,11 @@ webhooks: type: string required: - from - enterprise: *666 - installation: *667 - organization: *668 - project: *705 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + project: *702 + repository: *666 sender: *4 required: - action @@ -151456,11 +151138,11 @@ webhooks: type: string enum: - reopened - enterprise: *666 - installation: *667 - organization: *668 - project: *705 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + project: *702 + repository: *666 sender: *4 required: - action @@ -151541,9 +151223,9 @@ webhooks: type: string enum: - closed - installation: *667 - organization: *668 - projects_v2: &706 + installation: *664 + organization: *665 + projects_v2: &703 title: Projects v2 Project description: A projects v2 project type: object @@ -151604,7 +151286,7 @@ webhooks: latest_status_update: anyOf: - type: 'null' - - &711 + - &708 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -151757,9 +151439,9 @@ webhooks: type: string enum: - created - installation: *667 - organization: *668 - projects_v2: *706 + installation: *664 + organization: *665 + projects_v2: *703 sender: *4 required: - action @@ -151840,9 +151522,9 @@ webhooks: type: string enum: - deleted - installation: *667 - organization: *668 - projects_v2: *706 + installation: *664 + organization: *665 + projects_v2: *703 sender: *4 required: - action @@ -151963,9 +151645,9 @@ webhooks: type: string to: type: string - installation: *667 - organization: *668 - projects_v2: *706 + installation: *664 + organization: *665 + projects_v2: *703 sender: *4 required: - action @@ -152048,7 +151730,7 @@ webhooks: type: string enum: - archived - changes: &710 + changes: &707 type: object properties: archived_at: @@ -152064,9 +151746,9 @@ webhooks: - string - 'null' format: date-time - installation: *667 - organization: *668 - projects_v2_item: &707 + installation: *664 + organization: *665 + projects_v2_item: &704 title: Projects v2 Item description: An item belonging to a project type: object @@ -152205,9 +151887,9 @@ webhooks: - 'null' to: type: string - installation: *667 - organization: *668 - projects_v2_item: *707 + installation: *664 + organization: *665 + projects_v2_item: *704 sender: *4 required: - action @@ -152289,9 +151971,9 @@ webhooks: type: string enum: - created - installation: *667 - organization: *668 - projects_v2_item: *707 + installation: *664 + organization: *665 + projects_v2_item: *704 sender: *4 required: - action @@ -152372,9 +152054,9 @@ webhooks: type: string enum: - deleted - installation: *667 - organization: *668 - projects_v2_item: *707 + installation: *664 + organization: *665 + projects_v2_item: *704 sender: *4 required: - action @@ -152479,7 +152161,7 @@ webhooks: oneOf: - type: string - type: integer - - &708 + - &705 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152499,7 +152181,7 @@ webhooks: required: - id - name - - &709 + - &706 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152532,8 +152214,8 @@ webhooks: oneOf: - type: string - type: integer - - *708 - - *709 + - *705 + - *706 type: - 'null' - string @@ -152556,9 +152238,9 @@ webhooks: - 'null' required: - body - installation: *667 - organization: *668 - projects_v2_item: *707 + installation: *664 + organization: *665 + projects_v2_item: *704 sender: *4 required: - action @@ -152655,9 +152337,9 @@ webhooks: type: - string - 'null' - installation: *667 - organization: *668 - projects_v2_item: *707 + installation: *664 + organization: *665 + projects_v2_item: *704 sender: *4 required: - action @@ -152740,10 +152422,10 @@ webhooks: type: string enum: - restored - changes: *710 - installation: *667 - organization: *668 - projects_v2_item: *707 + changes: *707 + installation: *664 + organization: *665 + projects_v2_item: *704 sender: *4 required: - action @@ -152825,9 +152507,9 @@ webhooks: type: string enum: - reopened - installation: *667 - organization: *668 - projects_v2: *706 + installation: *664 + organization: *665 + projects_v2: *703 sender: *4 required: - action @@ -152908,9 +152590,9 @@ webhooks: type: string enum: - created - installation: *667 - organization: *668 - projects_v2_status_update: *711 + installation: *664 + organization: *665 + projects_v2_status_update: *708 sender: *4 required: - action @@ -152991,9 +152673,9 @@ webhooks: type: string enum: - deleted - installation: *667 - organization: *668 - projects_v2_status_update: *711 + installation: *664 + organization: *665 + projects_v2_status_update: *708 sender: *4 required: - action @@ -153139,9 +152821,9 @@ webhooks: - string - 'null' format: date - installation: *667 - organization: *668 - projects_v2_status_update: *711 + installation: *664 + organization: *665 + projects_v2_status_update: *708 sender: *4 required: - action @@ -153212,10 +152894,10 @@ webhooks: title: public event type: object properties: - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - repository @@ -153292,13 +152974,13 @@ webhooks: type: string enum: - assigned - assignee: *686 - enterprise: *666 - installation: *667 - number: &712 + assignee: *683 + enterprise: *663 + installation: *664 + number: &709 description: The pull request number. type: integer - organization: *668 + organization: *665 pull_request: title: Pull Request type: object @@ -155647,7 +155329,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 sender: *4 required: - action @@ -155729,11 +155411,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 number: type: integer - organization: *668 + organization: *665 pull_request: title: Pull Request type: object @@ -158075,7 +157757,7 @@ webhooks: - draft reason: type: string - repository: *669 + repository: *666 sender: *4 required: - action @@ -158157,11 +157839,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 number: type: integer - organization: *668 + organization: *665 pull_request: title: Pull Request type: object @@ -160503,7 +160185,7 @@ webhooks: - draft reason: type: string - repository: *669 + repository: *666 sender: *4 required: - action @@ -160585,13 +160267,13 @@ webhooks: type: string enum: - closed - enterprise: *666 - installation: *667 - number: *712 - organization: *668 - pull_request: &713 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 + pull_request: &710 allOf: - - *534 + - *531 - type: object properties: allow_auto_merge: @@ -160653,7 +160335,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *669 + repository: *666 sender: *4 required: - action @@ -160734,12 +160416,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *666 - installation: *667 - number: *712 - organization: *668 - pull_request: *713 - repository: *669 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 + pull_request: *710 + repository: *666 sender: *4 required: - action @@ -160819,11 +160501,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *666 - milestone: *432 - number: *712 - organization: *668 - pull_request: &714 + enterprise: *663 + milestone: *429 + number: *709 + organization: *665 + pull_request: &711 title: Pull Request type: object properties: @@ -163150,7 +162832,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 sender: *4 required: - action @@ -163229,11 +162911,11 @@ webhooks: type: string enum: - dequeued - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 number: type: integer - organization: *668 + organization: *665 pull_request: title: Pull Request type: object @@ -165579,7 +165261,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *669 + repository: *666 sender: *4 required: - action @@ -165703,12 +165385,12 @@ webhooks: type: string required: - from - enterprise: *666 - installation: *667 - number: *712 - organization: *668 - pull_request: *713 - repository: *669 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 + pull_request: *710 + repository: *666 sender: *4 required: - action @@ -165788,11 +165470,11 @@ webhooks: type: string enum: - enqueued - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 number: type: integer - organization: *668 + organization: *665 pull_request: title: Pull Request type: object @@ -168123,7 +167805,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 sender: *4 required: - action @@ -168203,11 +167885,11 @@ webhooks: type: string enum: - labeled - enterprise: *666 - installation: *667 - label: *685 - number: *712 - organization: *668 + enterprise: *663 + installation: *664 + label: *682 + number: *709 + organization: *665 pull_request: title: Pull Request type: object @@ -170555,7 +170237,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 sender: *4 required: - action @@ -170636,10 +170318,10 @@ webhooks: type: string enum: - locked - enterprise: *666 - installation: *667 - number: *712 - organization: *668 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 pull_request: title: Pull Request type: object @@ -172985,7 +172667,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 sender: *4 required: - action @@ -173065,12 +172747,12 @@ webhooks: type: string enum: - milestoned - enterprise: *666 - milestone: *432 - number: *712 - organization: *668 - pull_request: *714 - repository: *669 + enterprise: *663 + milestone: *429 + number: *709 + organization: *665 + pull_request: *711 + repository: *666 sender: *4 required: - action @@ -173149,12 +172831,12 @@ webhooks: type: string enum: - opened - enterprise: *666 - installation: *667 - number: *712 - organization: *668 - pull_request: *713 - repository: *669 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 + pull_request: *710 + repository: *666 sender: *4 required: - action @@ -173235,12 +172917,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *666 - installation: *667 - number: *712 - organization: *668 - pull_request: *713 - repository: *669 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 + pull_request: *710 + repository: *666 sender: *4 required: - action @@ -173320,12 +173002,12 @@ webhooks: type: string enum: - reopened - enterprise: *666 - installation: *667 - number: *712 - organization: *668 - pull_request: *713 - repository: *669 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 + pull_request: *710 + repository: *666 sender: *4 required: - action @@ -173700,9 +173382,9 @@ webhooks: - start_side - side - reactions - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 pull_request: type: object properties: @@ -175932,7 +175614,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *669 + repository: *666 sender: *4 required: - action @@ -176012,7 +175694,7 @@ webhooks: type: string enum: - deleted - comment: &716 + comment: &713 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -176305,9 +175987,9 @@ webhooks: - start_side - side - reactions - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 pull_request: type: object properties: @@ -178525,7 +178207,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *669 + repository: *666 sender: *4 required: - action @@ -178605,11 +178287,11 @@ webhooks: type: string enum: - edited - changes: *715 - comment: *716 - enterprise: *666 - installation: *667 - organization: *668 + changes: *712 + comment: *713 + enterprise: *663 + installation: *664 + organization: *665 pull_request: type: object properties: @@ -180830,7 +180512,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *669 + repository: *666 sender: *4 required: - action @@ -180911,9 +180593,9 @@ webhooks: type: string enum: - dismissed - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 pull_request: title: Simple Pull Request type: object @@ -183146,7 +182828,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *669 + repository: *666 review: description: The review that was affected. type: object @@ -183397,9 +183079,9 @@ webhooks: type: string required: - from - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 pull_request: title: Simple Pull Request type: object @@ -185513,8 +185195,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *669 - review: &717 + repository: *666 + review: &714 description: The review that was affected. type: object properties: @@ -185752,12 +185434,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 number: description: The pull request number. type: integer - organization: *668 + organization: *665 pull_request: title: Pull Request type: object @@ -188104,7 +187786,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 requested_reviewer: title: User type: @@ -188190,12 +187872,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 number: description: The pull request number. type: integer - organization: *668 + organization: *665 pull_request: title: Pull Request type: object @@ -190549,7 +190231,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190744,12 +190426,12 @@ webhooks: type: string enum: - review_requested - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 number: description: The pull request number. type: integer - organization: *668 + organization: *665 pull_request: title: Pull Request type: object @@ -193098,7 +192780,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 requested_reviewer: title: User type: @@ -193185,12 +192867,12 @@ webhooks: type: string enum: - review_requested - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 number: description: The pull request number. type: integer - organization: *668 + organization: *665 pull_request: title: Pull Request type: object @@ -195530,7 +195212,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195714,9 +195396,9 @@ webhooks: type: string enum: - submitted - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 pull_request: title: Simple Pull Request type: object @@ -197952,8 +197634,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *669 - review: *717 + repository: *666 + review: *714 sender: *4 required: - action @@ -198033,9 +197715,9 @@ webhooks: type: string enum: - resolved - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 pull_request: title: Simple Pull Request type: object @@ -200166,7 +199848,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *669 + repository: *666 sender: *4 thread: type: object @@ -200563,9 +200245,9 @@ webhooks: type: string enum: - unresolved - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 pull_request: title: Simple Pull Request type: object @@ -202679,7 +202361,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *669 + repository: *666 sender: *4 thread: type: object @@ -203078,10 +202760,10 @@ webhooks: type: string before: type: string - enterprise: *666 - installation: *667 - number: *712 - organization: *668 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 pull_request: title: Pull Request type: object @@ -205416,7 +205098,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 sender: *4 required: - action @@ -205498,11 +205180,11 @@ webhooks: type: string enum: - unassigned - assignee: *718 - enterprise: *666 - installation: *667 - number: *712 - organization: *668 + assignee: *715 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 pull_request: title: Pull Request type: object @@ -207852,7 +207534,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 sender: *4 required: - action @@ -207931,11 +207613,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *666 - installation: *667 - label: *685 - number: *712 - organization: *668 + enterprise: *663 + installation: *664 + label: *682 + number: *709 + organization: *665 pull_request: title: Pull Request type: object @@ -210274,7 +209956,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 sender: *4 required: - action @@ -210355,10 +210037,10 @@ webhooks: type: string enum: - unlocked - enterprise: *666 - installation: *667 - number: *712 - organization: *668 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 pull_request: title: Pull Request type: object @@ -212687,7 +212369,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 sender: *4 required: - action @@ -212890,7 +212572,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *666 + enterprise: *663 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -212985,8 +212667,8 @@ webhooks: - url - author - committer - installation: *667 - organization: *668 + installation: *664 + organization: *665 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -213574,9 +213256,9 @@ webhooks: type: string enum: - published - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 registry_package: type: object properties: @@ -214053,7 +213735,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *700 + items: *697 summary: type: string tag_name: @@ -214109,7 +213791,7 @@ webhooks: - owner - package_version - registry - repository: *669 + repository: *666 sender: *4 required: - action @@ -214187,9 +213869,9 @@ webhooks: type: string enum: - updated - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 registry_package: type: object properties: @@ -214501,7 +214183,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *700 + items: *697 summary: type: string tag_name: @@ -214551,7 +214233,7 @@ webhooks: - owner - package_version - registry - repository: *669 + repository: *666 sender: *4 required: - action @@ -214628,10 +214310,10 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 - release: &719 + enterprise: *663 + installation: *664 + organization: *665 + release: &716 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214962,7 +214644,7 @@ webhooks: - updated_at - zipball_url - body - repository: *669 + repository: *666 sender: *4 required: - action @@ -215039,11 +214721,11 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - organization: *668 - release: *719 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + release: *716 + repository: *666 sender: *4 required: - action @@ -215160,11 +214842,11 @@ webhooks: type: boolean required: - to - enterprise: *666 - installation: *667 - organization: *668 - release: *719 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + release: *716 + repository: *666 sender: *4 required: - action @@ -215242,9 +214924,9 @@ webhooks: type: string enum: - prereleased - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -215580,7 +215262,7 @@ webhooks: - string - 'null' format: uri - repository: *669 + repository: *666 sender: *4 required: - action @@ -215656,10 +215338,10 @@ webhooks: type: string enum: - published - enterprise: *666 - installation: *667 - organization: *668 - release: &720 + enterprise: *663 + installation: *664 + organization: *665 + release: &717 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -215992,7 +215674,7 @@ webhooks: - string - 'null' format: uri - repository: *669 + repository: *666 sender: *4 required: - action @@ -216068,11 +215750,11 @@ webhooks: type: string enum: - released - enterprise: *666 - installation: *667 - organization: *668 - release: *719 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + release: *716 + repository: *666 sender: *4 required: - action @@ -216148,11 +215830,11 @@ webhooks: type: string enum: - unpublished - enterprise: *666 - installation: *667 - organization: *668 - release: *720 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + release: *717 + repository: *666 sender: *4 required: - action @@ -216228,11 +215910,11 @@ webhooks: type: string enum: - published - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 - repository_advisory: *589 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 + repository_advisory: *586 sender: *4 required: - action @@ -216308,11 +215990,11 @@ webhooks: type: string enum: - reported - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 - repository_advisory: *589 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 + repository_advisory: *586 sender: *4 required: - action @@ -216388,10 +216070,10 @@ webhooks: type: string enum: - archived - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -216468,10 +216150,10 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -216549,10 +216231,10 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -216637,10 +216319,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -216755,10 +216437,10 @@ webhooks: - 'null' items: type: string - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -216830,10 +216512,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 status: type: string @@ -216914,10 +216596,10 @@ webhooks: type: string enum: - privatized - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -216994,10 +216676,10 @@ webhooks: type: string enum: - publicized - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -217091,10 +216773,10 @@ webhooks: - name required: - repository - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -217174,10 +216856,10 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 repository_ruleset: *257 sender: *4 required: @@ -217256,10 +216938,10 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 repository_ruleset: *257 sender: *4 required: @@ -217338,10 +217020,10 @@ webhooks: type: string enum: - edited - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 repository_ruleset: *257 changes: type: object @@ -217403,16 +217085,16 @@ webhooks: properties: added: type: array - items: *554 + items: *551 deleted: type: array - items: *554 + items: *551 updated: type: array items: type: object properties: - rule: *554 + rule: *551 changes: type: object properties: @@ -217649,10 +217331,10 @@ webhooks: - from required: - owner - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -217730,10 +217412,10 @@ webhooks: type: string enum: - unarchived - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -217811,7 +217493,7 @@ webhooks: type: string enum: - create - alert: &721 + alert: &718 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -217935,10 +217617,10 @@ webhooks: type: string enum: - open - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -218148,10 +217830,10 @@ webhooks: type: string enum: - dismissed - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -218229,11 +217911,11 @@ webhooks: type: string enum: - reopen - alert: *721 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + alert: *718 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -218435,10 +218117,10 @@ webhooks: enum: - fixed - open - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -218516,7 +218198,7 @@ webhooks: type: string enum: - created - alert: &722 + alert: &719 type: object properties: number: *52 @@ -218626,10 +218308,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -218710,11 +218392,11 @@ webhooks: type: string enum: - created - alert: *722 - installation: *667 - location: *723 - organization: *668 - repository: *669 + alert: *719 + installation: *664 + location: *720 + organization: *665 + repository: *666 sender: *4 required: - location @@ -218952,11 +218634,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *722 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + alert: *719 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -219034,11 +218716,11 @@ webhooks: type: string enum: - reopened - alert: *722 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + alert: *719 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -219116,11 +218798,11 @@ webhooks: type: string enum: - resolved - alert: *722 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + alert: *719 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -219198,11 +218880,11 @@ webhooks: type: string enum: - validated - alert: *722 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + alert: *719 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -219332,10 +219014,10 @@ webhooks: - organization - enterprise - - repository: *669 - enterprise: *666 - installation: *667 - organization: *668 + repository: *666 + enterprise: *663 + installation: *664 + organization: *665 sender: *4 required: - action @@ -219413,11 +219095,11 @@ webhooks: type: string enum: - published - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 - security_advisory: &724 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 + security_advisory: &721 description: The details of the security advisory, including summary, description, and severity. type: object @@ -219603,11 +219285,11 @@ webhooks: type: string enum: - updated - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 - security_advisory: *724 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 + security_advisory: *721 sender: *4 required: - action @@ -219680,10 +219362,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -219870,10 +219552,10 @@ webhooks: type: object properties: security_and_analysis: *231 - enterprise: *666 - installation: *667 - organization: *668 - repository: *306 + enterprise: *663 + installation: *664 + organization: *665 + repository: *303 sender: *4 required: - changes @@ -219951,12 +219633,12 @@ webhooks: type: string enum: - cancelled - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - sponsorship: &725 + sponsorship: &722 type: object properties: created_at: @@ -220261,12 +219943,12 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - sponsorship: *725 + sponsorship: *722 required: - action - sponsorship @@ -220354,12 +220036,12 @@ webhooks: type: string required: - from - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - sponsorship: *725 + sponsorship: *722 required: - action - changes @@ -220436,17 +220118,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &726 + effective_date: &723 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: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - sponsorship: *725 + sponsorship: *722 required: - action - sponsorship @@ -220520,7 +220202,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &727 + changes: &724 type: object properties: tier: @@ -220564,13 +220246,13 @@ webhooks: - from required: - tier - effective_date: *726 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + effective_date: *723 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - sponsorship: *725 + sponsorship: *722 required: - action - changes @@ -220647,13 +220329,13 @@ webhooks: type: string enum: - tier_changed - changes: *727 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + changes: *724 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - sponsorship: *725 + sponsorship: *722 required: - action - changes @@ -220727,10 +220409,10 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -220814,10 +220496,10 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -221251,15 +220933,15 @@ webhooks: type: - string - 'null' - enterprise: *666 + enterprise: *663 id: description: The unique identifier of the status. type: integer - installation: *667 + installation: *664 name: type: string - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 sha: description: The Commit SHA. @@ -221375,9 +221057,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -221467,9 +221149,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -221559,9 +221241,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -221651,9 +221333,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -221730,12 +221412,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - team: &728 + team: &725 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -221928,9 +221610,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 repository: title: Repository description: A git repository @@ -222400,7 +222082,7 @@ webhooks: - topics - visibility sender: *4 - team: *728 + team: *725 required: - action - team @@ -222476,9 +222158,9 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 repository: title: Repository description: A git repository @@ -222948,7 +222630,7 @@ webhooks: - topics - visibility sender: *4 - team: *728 + team: *725 required: - action - team @@ -223025,9 +222707,9 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 repository: title: Repository description: A git repository @@ -223497,7 +223179,7 @@ webhooks: - topics - visibility sender: *4 - team: *728 + team: *725 required: - action - team @@ -223641,9 +223323,9 @@ webhooks: - from required: - permissions - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 repository: title: Repository description: A git repository @@ -224113,7 +223795,7 @@ webhooks: - topics - visibility sender: *4 - team: *728 + team: *725 required: - action - changes @@ -224191,9 +223873,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 repository: title: Repository description: A git repository @@ -224663,7 +224345,7 @@ webhooks: - topics - visibility sender: *4 - team: *728 + team: *725 required: - action - team @@ -224739,10 +224421,10 @@ webhooks: type: string enum: - started - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -224815,17 +224497,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *666 + enterprise: *663 inputs: type: - object - 'null' additionalProperties: true - installation: *667 - organization: *668 + installation: *664 + organization: *665 ref: type: string - repository: *669 + repository: *666 sender: *4 workflow: type: string @@ -224907,10 +224589,10 @@ webhooks: type: string enum: - completed - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 workflow_job: allOf: @@ -225166,7 +224848,7 @@ webhooks: type: string required: - conclusion - deployment: *452 + deployment: *449 required: - action - repository @@ -225245,10 +224927,10 @@ webhooks: type: string enum: - in_progress - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 workflow_job: allOf: @@ -225530,7 +225212,7 @@ webhooks: required: - status - steps - deployment: *452 + deployment: *449 required: - action - repository @@ -225609,10 +225291,10 @@ webhooks: type: string enum: - queued - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 workflow_job: type: object @@ -225758,7 +225440,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *452 + deployment: *449 required: - action - repository @@ -225837,10 +225519,10 @@ webhooks: type: string enum: - waiting - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 workflow_job: type: object @@ -225987,7 +225669,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *452 + deployment: *449 required: - action - repository @@ -226067,12 +225749,12 @@ webhooks: type: string enum: - completed - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - workflow: *681 + workflow: *678 workflow_run: title: Workflow Run type: object @@ -227091,12 +226773,12 @@ webhooks: type: string enum: - in_progress - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - workflow: *681 + workflow: *678 workflow_run: title: Workflow Run type: object @@ -228100,12 +227782,12 @@ webhooks: type: string enum: - requested - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - workflow: *681 + workflow: *678 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 9935f1a71c..c57c90ef8b 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -29493,7 +29493,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -47775,7 +47774,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -54690,7 +54688,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -79482,6 +79479,324 @@ } } }, + "/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.", + "minLength": 1, + "examples": [ + "libfoo-1.2.3" + ] + }, + "digest": { + "type": "string", + "description": "The digest of the artifact (algorithm:hex-encoded-digest).", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$", + "examples": [ + "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0..." + ] + }, + "artifact_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The URL where the artifact is stored.", + "examples": [ + "https://reg.example.com/artifactory/bar/libfoo-1.2.3" + ] + }, + "path": { + "type": "string", + "format": "uri", + "description": "The path of the artifact.", + "examples": [ + "com/github/bar/libfoo-1.2.3" + ] + }, + "registry_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The base URL of the artifact registry.", + "minLength": 1, + "examples": [ + "https://reg.example.com/artifactory/" + ] + }, + "repository": { + "type": "string", + "description": "The repository name within the registry.", + "examples": [ + "bar" + ] + }, + "status": { + "type": "string", + "description": "The status of the artifact (e.g., active, inactive).", + "enum": [ + "active", + "eol", + "deleted" + ], + "default": "active", + "examples": [ + "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", + "examples": [ + 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", + "type": "integer", + "examples": [ + 3 + ] + }, + "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", @@ -105560,7 +105875,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -118320,7 +118634,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -182745,22 +183058,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": { @@ -182774,272 +183087,73 @@ "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", "examples": [ - "https://api.github.com/projects/columns/cards/1478" - ] - }, - "id": { - "description": "The project card's ID", - "type": "integer", - "format": "int64", - "examples": [ - 42 + "https://api.github.com/projects/columns/367" ] }, - "node_id": { + "project_url": { "type": "string", + "format": "uri", "examples": [ - "MDExOlByb2plY3RDYXJkMTQ3OA==" - ] - }, - "note": { - "type": [ - "string", - "null" - ], - "examples": [ - "Add payload for delete Project column" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } + "https://api.github.com/projects/120" ] }, - "created_at": { + "cards_url": { "type": "string", - "format": "date-time", + "format": "uri", "examples": [ - "2016-09-05T14:21:06Z" + "https://api.github.com/projects/columns/367/cards" ] }, - "updated_at": { - "type": "string", - "format": "date-time", + "id": { + "description": "The unique identifier of the project column", + "type": "integer", "examples": [ - "2016-09-05T14:20:22Z" + 42 ] }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean", + "node_id": { + "type": "string", "examples": [ - false + "MDEzOlByb2plY3RDb2x1bW4zNjc=" ] }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { + "name": { + "description": "Name of the project column", "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/projects/columns/367" + "Remaining tasks" ] }, - "content_url": { + "created_at": { "type": "string", - "format": "uri", + "format": "date-time", "examples": [ - "https://api.github.com/repos/api-playground/projects-test/issues/3" + "2016-09-05T14:18:44Z" ] }, - "project_url": { + "updated_at": { "type": "string", - "format": "uri", + "format": "date-time", "examples": [ - "https://api.github.com/projects/120" + "2016-09-05T14:22:28Z" ] } }, "required": [ "id", "node_id", - "note", "url", - "column_url", "project_url", - "creator", + "cards_url", + "name", "created_at", "updated_at" ] @@ -183047,1127 +183161,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", - "type": [ - "string", - "null" - ], - "examples": [ - "Update all gems" - ] - }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean", - "examples": [ - false - ] - } - } - }, - "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", - "examples": [ - "https://api.github.com/projects/columns/cards/1478" - ] - }, - "id": { - "description": "The project card's ID", - "type": "integer", - "format": "int64", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOlByb2plY3RDYXJkMTQ3OA==" - ] - }, - "note": { - "type": [ - "string", - "null" - ], - "examples": [ - "Add payload for delete Project column" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-09-05T14:21:06Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-09-05T14:20:22Z" - ] - }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean", - "examples": [ - false - ] - }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/columns/367" - ] - }, - "content_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test/issues/3" - ] - }, - "project_url": { - "type": "string", - "format": "uri", - "examples": [ - "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.", - "type": "string", - "pattern": "^(?:top|bottom|after:\\d+)$", - "examples": [ - "bottom" - ] - }, - "column_id": { - "description": "The unique identifier of the column the card should be moved to", - "type": "integer", - "examples": [ - 42 - ] - } - }, - "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", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "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", - "examples": [ - "https://api.github.com/projects/columns/367" - ] - }, - "project_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/120" - ] - }, - "cards_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/columns/367/cards" - ] - }, - "id": { - "description": "The unique identifier of the project column", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEzOlByb2plY3RDb2x1bW4zNjc=" - ] - }, - "name": { - "description": "Name of the project column", - "type": "string", - "examples": [ - "Remaining tasks" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-09-05T14:18:44Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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" } } } @@ -184466,989 +183467,49 @@ } } } - } - }, - "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", - "examples": [ - "https://api.github.com/projects/columns/cards/1478" - ] - }, - "id": { - "description": "The project card's ID", - "type": "integer", - "format": "int64", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOlByb2plY3RDYXJkMTQ3OA==" - ] - }, - "note": { - "type": [ - "string", - "null" - ], - "examples": [ - "Add payload for delete Project column" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-09-05T14:21:06Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-09-05T14:20:22Z" - ] - }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean", - "examples": [ - false - ] - }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/columns/367" - ] - }, - "content_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test/issues/3" - ] - }, - "project_url": { - "type": "string", - "format": "uri", - "examples": [ - "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", - "type": [ - "string", - "null" - ], - "examples": [ - "Update all gems" - ] - } - }, - "required": [ - "note" - ] - }, - { - "type": "object", - "properties": { - "content_id": { - "description": "The unique identifier of the content associated with the card", - "type": "integer", - "examples": [ - 42 - ] - }, - "content_type": { - "description": "The piece of content associated with the card", - "type": "string", - "examples": [ - "PullRequest" - ] - } - }, - "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", - "examples": [ - "https://api.github.com/projects/columns/cards/1478" - ] - }, - "id": { - "description": "The project card's ID", - "type": "integer", - "format": "int64", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOlByb2plY3RDYXJkMTQ3OA==" - ] - }, - "note": { - "type": [ - "string", - "null" - ], - "examples": [ - "Add payload for delete Project column" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-09-05T14:21:06Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2016-09-05T14:20:22Z" - ] - }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean", - "examples": [ - false - ] - }, - "column_name": { - "type": "string" - }, - "project_id": { - "type": "string" - }, - "column_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/columns/367" - ] - }, - "content_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test/issues/3" - ] - }, - "project_url": { - "type": "string", - "format": "uri", - "examples": [ - "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" - } - } - } - } - } + } + }, + "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" }, - "401": { - "description": "Requires authentication", + "304": { + "description": "Not modified" + }, + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -185473,137 +183534,26 @@ } } }, - "422": { - "description": "Validation failed", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - }, - { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - ] - } - } - } - }, - "503": { - "description": "Response", + "401": { + "description": "Requires authentication", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "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" - } - } - } + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -185615,7 +183565,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "cards", + "subcategory": "columns", "deprecationDate": "2024-05-23", "removalDate": "2025-04-01" }, @@ -189164,7 +187114,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" ], @@ -327520,7 +325470,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -350745,7 +348694,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -354129,7 +352077,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -361689,7 +359636,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -366629,7 +364575,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -371366,7 +369311,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -374733,7 +372677,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -378100,7 +376043,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -381264,7 +379206,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -386419,7 +384360,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -389670,7 +387610,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -393005,7 +390944,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -396362,7 +394300,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -412786,7 +410723,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -417190,7 +415126,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -420451,7 +418386,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -423680,7 +421614,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -427014,7 +424947,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -440754,7 +438686,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -556616,7 +554547,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" ], @@ -559693,7 +557624,7 @@ "category": "search", "subcategory": "search", "deprecationDate": "2025-03-04", - "removalDate": "2025-09-04" + "removalDate": "2025-11-04" }, "deprecated": true } @@ -609939,7 +607870,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -645365,7 +643295,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -649308,7 +647237,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -653253,7 +651181,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -664573,7 +662500,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -668518,7 +666444,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -687928,6 +685853,96 @@ "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", @@ -692799,6 +690814,96 @@ "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", @@ -697670,6 +695775,96 @@ "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", @@ -702554,6 +700749,96 @@ "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", @@ -876844,7 +875129,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -879766,7 +878050,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -885531,7 +883814,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -888453,7 +886735,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -894218,7 +892499,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -898089,7 +896369,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -902905,7 +901184,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -906776,7 +905054,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1388072,7 +1386349,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1391943,7 +1390219,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1396756,7 +1395031,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1400627,7 +1398901,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1405440,7 +1403713,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1409311,7 +1407583,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1414124,7 +1412395,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1417995,7 +1416265,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index b6642ef6a6..df0d11cede 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -1069,7 +1069,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &591 + - &588 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -9101,7 +9101,7 @@ paths: - direct - transitive - - security_advisory: &444 + security_advisory: &441 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9369,7 +9369,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &445 + auto_dismissed_at: &442 type: - string - 'null' @@ -9848,14 +9848,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &569 + state: &566 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: &570 + resolution: &567 type: - string - 'null' @@ -9962,14 +9962,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &571 + - &568 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &573 + - &570 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -10026,7 +10026,7 @@ paths: - blob_url - commit_sha - commit_url - - &574 + - &571 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. @@ -10087,7 +10087,7 @@ paths: - page_url - commit_sha - commit_url - - &575 + - &572 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -10102,7 +10102,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &576 + - &573 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -10117,7 +10117,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &577 + - &574 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -10132,7 +10132,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &578 + - &575 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -10147,7 +10147,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &579 + - &576 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -10162,7 +10162,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &580 + - &577 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -10177,7 +10177,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &581 + - &578 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. @@ -10192,7 +10192,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &582 + - &579 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. @@ -10207,7 +10207,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &583 + - &580 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. @@ -10222,7 +10222,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &584 + - &581 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. @@ -10237,7 +10237,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &585 + - &582 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 @@ -10636,7 +10636,7 @@ paths: milestone: anyOf: - type: 'null' - - &432 + - &429 title: Milestone description: A collection of related issues and pull requests. @@ -10917,7 +10917,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &603 + sub_issues_summary: &600 title: Sub-issues Summary type: object properties: @@ -10938,7 +10938,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &604 + issue_dependencies_summary: &601 title: Issue Dependencies Summary type: object properties: @@ -10957,7 +10957,7 @@ paths: - total_blocking issue_field_values: type: array - items: &605 + items: &602 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11050,10 +11050,9 @@ paths: - title - url - user - - author_association - created_at - updated_at - comment: &491 + comment: &488 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11628,7 +11627,7 @@ paths: url: type: string format: uri - user: &617 + user: &614 title: Public User description: Public User type: object @@ -15064,7 +15063,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &307 + '301': &304 description: Moved permanently content: application/json: @@ -15086,7 +15085,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &520 + - &517 name: all description: If `true`, show notifications marked as read. in: query @@ -15094,7 +15093,7 @@ paths: schema: type: boolean default: false - - &521 + - &518 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -15104,7 +15103,7 @@ paths: type: boolean default: false - *64 - - &522 + - &519 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: @@ -15640,7 +15639,7 @@ paths: - url - subscription_url examples: - default: &523 + default: &520 value: - id: '1' repository: @@ -16261,7 +16260,7 @@ paths: - avatar_url - description examples: - default: &633 + default: &630 value: - login: github id: 1 @@ -16573,7 +16572,7 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *90 - - &659 + - &656 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, @@ -16582,7 +16581,7 @@ paths: required: false schema: type: integer - - &660 + - &657 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 @@ -16591,7 +16590,7 @@ paths: required: false schema: type: integer - - &661 + - &658 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 @@ -16600,7 +16599,7 @@ paths: required: false schema: type: integer - - &662 + - &659 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 @@ -17552,7 +17551,7 @@ paths: type: integer repository_cache_usages: type: array - items: &312 + items: &309 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -18449,7 +18448,7 @@ paths: - all - local_only - selected - selected_actions_url: &318 + selected_actions_url: &315 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` @@ -18532,7 +18531,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &319 type: object properties: days: @@ -18574,7 +18573,7 @@ paths: required: true content: application/json: - schema: &323 + schema: &320 type: object properties: days: @@ -18631,7 +18630,7 @@ paths: required: - approval_policy examples: - default: &324 + default: &321 value: approval_policy: first_time_contributors '404': *6 @@ -18690,7 +18689,7 @@ paths: description: Response content: application/json: - schema: &325 + schema: &322 type: object required: - run_workflows_from_fork_pull_requests @@ -18744,7 +18743,7 @@ paths: required: true content: application/json: - schema: &326 + schema: &323 type: object required: - run_workflows_from_fork_pull_requests @@ -19379,7 +19378,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &324 type: object properties: default_workflow_permissions: &113 @@ -19430,7 +19429,7 @@ paths: required: false content: application/json: - schema: &328 + schema: &325 type: object properties: default_workflow_permissions: *113 @@ -19923,7 +19922,7 @@ paths: type: array items: *120 examples: - default: &620 + default: &617 value: total_count: 1 repositories: @@ -20570,7 +20569,7 @@ paths: application/json: schema: type: array - items: &329 + items: &326 title: Runner Application description: Runner Application type: object @@ -20595,7 +20594,7 @@ paths: - download_url - filename examples: - default: &330 + default: &327 value: - os: osx architecture: x64 @@ -20681,7 +20680,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &331 + '201': &328 description: Response content: application/json: @@ -20796,7 +20795,7 @@ paths: - token - expires_at examples: - default: &332 + default: &329 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20835,7 +20834,7 @@ paths: application/json: schema: *124 examples: - default: &333 + default: &330 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20869,7 +20868,7 @@ paths: application/json: schema: *122 examples: - default: &334 + default: &331 value: id: 23 name: MBP @@ -21095,7 +21094,7 @@ paths: - *90 - *121 responses: - '200': &335 + '200': &332 description: Response content: application/json: @@ -21152,7 +21151,7 @@ paths: parameters: - *90 - *121 - - &336 + - &333 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21284,7 +21283,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &345 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21319,7 +21318,7 @@ paths: - key_id - key examples: - default: &349 + default: &346 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21732,7 +21731,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *90 - - &317 + - &314 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)." @@ -22202,6 +22201,225 @@ 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: + - *90 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the artifact. + minLength: 1 + examples: + - libfoo-1.2.3 + digest: + type: string + description: The digest of the artifact (algorithm:hex-encoded-digest). + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + examples: + - sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + artifact_url: + type: string + format: uri + pattern: "^https://" + description: The URL where the artifact is stored. + examples: + - https://reg.example.com/artifactory/bar/libfoo-1.2.3 + path: + type: string + format: uri + description: The path of the artifact. + examples: + - com/github/bar/libfoo-1.2.3 + registry_url: + type: string + format: uri + pattern: "^https://" + description: The base URL of the artifact registry. + minLength: 1 + examples: + - https://reg.example.com/artifactory/ + repository: + type: string + description: The repository name within the registry. + examples: + - bar + status: + type: string + description: The status of the artifact (e.g., active, inactive). + enum: + - active + - eol + - deleted + default: active + examples: + - 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 + examples: + - 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: + - *90 + - 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 + type: integer + examples: + - 3 + 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 @@ -22244,12 +22462,12 @@ paths: required: - subject_digests examples: - default: &648 + default: &645 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &649 + withPredicateType: &646 value: subject_digests: - sha256:abc123 @@ -22308,7 +22526,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &650 + default: &647 value: attestations_subject_digests: - sha256:abc: @@ -22602,7 +22820,7 @@ paths: bundle_url: type: string examples: - default: &362 + default: &359 value: attestations: - bundle: @@ -23539,7 +23757,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *90 - - &387 + - &384 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`, @@ -23549,7 +23767,7 @@ paths: schema: &139 type: string description: The name of the tool used to generate the code scanning analysis. - - &388 + - &385 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 @@ -23573,7 +23791,7 @@ paths: be returned. in: query required: false - schema: &390 + schema: &387 type: string description: State of a code scanning alert. enum: @@ -23596,7 +23814,7 @@ paths: be returned. in: query required: false - schema: &391 + schema: &388 type: string description: Severity of a code scanning alert. enum: @@ -23622,7 +23840,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: &392 + instances_url: &389 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -23644,7 +23862,7 @@ paths: - type: 'null' - *4 dismissed_at: *138 - dismissed_reason: &393 + dismissed_reason: &390 type: - string - 'null' @@ -23655,14 +23873,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &394 + dismissed_comment: &391 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &395 + rule: &392 type: object properties: id: @@ -23723,7 +23941,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &396 + tool: &393 type: object properties: name: *139 @@ -23734,15 +23952,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *140 - most_recent_instance: &397 + most_recent_instance: &394 type: object properties: - ref: &389 + ref: &386 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &407 + analysis_key: &404 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -23753,7 +23971,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &408 + category: &405 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -25078,7 +25296,7 @@ paths: machine: anyOf: - type: 'null' - - &420 + - &417 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -26030,7 +26248,7 @@ paths: - updated_at - visibility examples: - default: &421 + default: &418 value: total_count: 2 secrets: @@ -26068,7 +26286,7 @@ paths: description: Response content: application/json: - schema: &422 + schema: &419 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26103,7 +26321,7 @@ paths: - key_id - key examples: - default: &423 + default: &420 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26135,7 +26353,7 @@ paths: application/json: schema: *149 examples: - default: &425 + default: &422 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27796,7 +28014,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &445 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -27815,7 +28033,7 @@ paths: - key_id - key examples: - default: &449 + default: &446 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29636,7 +29854,7 @@ paths: application/json: schema: *20 examples: - default: &487 + default: &484 value: id: 1 account: @@ -29864,7 +30082,7 @@ paths: required: true content: application/json: - schema: &488 + schema: &485 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -30724,7 +30942,7 @@ paths: application/json: schema: *196 examples: - default: &419 + default: &416 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31982,7 +32200,7 @@ paths: parameters: - *90 - *203 - - &632 + - &629 name: repo_name description: repo_name parameter in: path @@ -33028,7 +33246,7 @@ paths: - nuget - container - *90 - - &634 + - &631 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33069,7 +33287,7 @@ paths: default: *210 '403': *27 '401': *23 - '400': &636 + '400': &633 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -35001,7 +35219,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &304 + '410': &301 description: Gone content: application/json: @@ -35927,7 +36145,7 @@ paths: description: Response content: application/json: - schema: &306 + schema: &303 title: Full Repository description: Full Repository type: object @@ -36392,7 +36610,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &438 + code_of_conduct: &435 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -36506,7 +36724,7 @@ paths: - network_count - subscribers_count examples: - default: &308 + default: &305 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37027,7 +37245,7 @@ paths: - *90 - *17 - *19 - - &553 + - &550 name: targets description: | A comma-separated list of rule targets to filter by. @@ -37309,7 +37527,7 @@ paths: - object rules: type: array - items: &554 + items: &551 title: Repository Rule type: object description: A repository rule. @@ -37371,7 +37589,7 @@ paths: type: string enum: - required_linear_history - - &552 + - &549 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -38196,7 +38414,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *90 - - &555 + - &552 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 @@ -38211,7 +38429,7 @@ paths: in: query schema: type: string - - &556 + - &553 name: time_period description: |- The time period to filter by. @@ -38227,14 +38445,14 @@ paths: - week - month default: day - - &557 + - &554 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 - - &558 + - &555 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -38254,7 +38472,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &556 title: Rule Suites description: Response type: array @@ -38310,7 +38528,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &560 + default: &557 value: - id: 21 actor_id: 12 @@ -38354,7 +38572,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *90 - - &561 + - &558 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -38370,7 +38588,7 @@ paths: description: Response content: application/json: - schema: &562 + schema: &559 title: Rule Suite description: Response type: object @@ -38477,7 +38695,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &563 + default: &560 value: id: 21 actor_id: 12 @@ -38723,7 +38941,7 @@ paths: type: string format: date-time examples: - default: &565 + default: &562 value: - version_id: 3 actor: @@ -38776,7 +38994,7 @@ paths: description: Response content: application/json: - schema: &566 + schema: &563 allOf: - *260 - type: object @@ -38855,7 +39073,7 @@ paths: - *46 - *19 - *17 - - &567 + - &564 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 @@ -38865,7 +39083,7 @@ paths: required: false schema: type: string - - &568 + - &565 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 @@ -39189,7 +39407,7 @@ paths: application/json: schema: type: array - items: &589 + items: &586 description: A repository security advisory. type: object properties: @@ -39508,7 +39726,7 @@ paths: - private_fork additionalProperties: false examples: - default: &590 + default: &587 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -39982,7 +40200,7 @@ paths: description: Response content: application/json: - schema: &653 + schema: &650 type: object properties: total_minutes_used: @@ -40052,7 +40270,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &654 + default: &651 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -40088,7 +40306,7 @@ paths: description: Response content: application/json: - schema: &655 + schema: &652 type: object properties: total_gigabytes_bandwidth_used: @@ -40106,7 +40324,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &656 + default: &653 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -40138,7 +40356,7 @@ paths: description: Response content: application/json: - schema: &657 + schema: &654 type: object properties: days_left_in_billing_cycle: @@ -40156,7 +40374,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &658 + default: &655 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -41460,7 +41678,7 @@ paths: - updated_at - url examples: - default: &607 + default: &604 value: - author: login: octocat @@ -41708,7 +41926,7 @@ paths: application/json: schema: *282 examples: - default: &608 + default: &605 value: author: login: octocat @@ -41899,7 +42117,7 @@ paths: - updated_at - url examples: - default: &609 + default: &606 value: - author: login: octocat @@ -42125,7 +42343,7 @@ paths: application/json: schema: *285 examples: - default: &610 + default: &607 value: author: login: octocat @@ -42743,7 +42961,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &611 + response-if-user-is-a-team-maintainer: &608 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -42808,7 +43026,7 @@ paths: application/json: schema: *292 examples: - response-if-users-membership-with-team-is-now-pending: &612 + response-if-users-membership-with-team-is-now-pending: &609 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -42950,7 +43168,7 @@ paths: - updated_at - permissions examples: - default: &613 + default: &610 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -43029,7 +43247,7 @@ paths: application/json: schema: *293 examples: - default: &614 + default: &611 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -43240,7 +43458,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &615 + schema: &612 title: Team Repository description: A team's access to a repository. type: object @@ -43969,7 +44187,7 @@ paths: type: array items: *151 examples: - response-if-child-teams-exist: &616 + response-if-child-teams-exist: &613 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -44082,365 +44300,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: - - &297 - 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: &298 - title: Project Card - description: Project cards represent a scope of work. - type: object - properties: - url: - type: string - format: uri - examples: - - https://api.github.com/projects/columns/cards/1478 - id: - description: The project card's ID - type: integer - format: int64 - examples: - - 42 - node_id: - type: string - examples: - - MDExOlByb2plY3RDYXJkMTQ3OA== - note: - type: - - string - - 'null' - examples: - - Add payload for delete Project column - creator: - anyOf: - - type: 'null' - - *4 - created_at: - type: string - format: date-time - examples: - - '2016-09-05T14:21:06Z' - updated_at: - type: string - format: date-time - examples: - - '2016-09-05T14:20:22Z' - archived: - description: Whether or not the card is archived - type: boolean - examples: - - false - column_name: - type: string - project_id: - type: string - column_url: - type: string - format: uri - examples: - - https://api.github.com/projects/columns/367 - content_url: - type: string - format: uri - examples: - - https://api.github.com/repos/api-playground/projects-test/issues/3 - project_url: - type: string - format: uri - examples: - - https://api.github.com/projects/120 - required: - - id - - node_id - - note - - url - - column_url - - project_url - - creator - - created_at - - updated_at - examples: - default: &299 - 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': *35 - '403': *27 - '401': *23 - '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: - - *297 - requestBody: - required: false - content: - application/json: - schema: - type: object - properties: - note: - description: The project card's note - type: - - string - - 'null' - examples: - - Update all gems - archived: - description: Whether or not the card is archived - type: boolean - examples: - - false - 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: *298 - examples: - default: *299 - '304': *35 - '403': *27 - '401': *23 - '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: - - *297 - responses: - '204': - description: Response - '304': *35 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *23 - '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: - - *297 - 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.' - type: string - pattern: "^(?:top|bottom|after:\\d+)$" - examples: - - bottom - column_id: - description: The unique identifier of the column the card should - be moved to - type: integer - examples: - - 42 - 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': *35 - '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': *23 - '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 @@ -44455,7 +44314,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &300 + - &297 name: column_id description: The unique identifier of the column. in: path @@ -44467,7 +44326,7 @@ paths: description: Response content: application/json: - schema: &301 + schema: &298 title: Project Column description: Project columns contain cards of work. type: object @@ -44521,7 +44380,7 @@ paths: - created_at - updated_at examples: - default: &302 + default: &299 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -44556,7 +44415,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *300 + - *297 requestBody: required: true content: @@ -44581,9 +44440,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *298 examples: - default: *302 + default: *299 '304': *35 '403': *27 '401': *23 @@ -44608,7 +44467,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *300 + - *297 responses: '204': description: Response @@ -44623,188 +44482,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: - - *300 - - 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: *298 - 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: *57 - '304': *35 - '403': *27 - '401': *23 - 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: - - *300 - requestBody: - required: true - content: - application/json: - schema: - oneOf: - - type: object - properties: - note: - description: The project card's note - type: - - string - - 'null' - examples: - - Update all gems - required: - - note - - type: object - properties: - content_id: - description: The unique identifier of the content associated with - the card - type: integer - examples: - - 42 - content_type: - description: The piece of content associated with the card - type: string - examples: - - PullRequest - 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: *298 - examples: - default: *299 - '304': *35 - '403': *27 - '401': *23 - '422': - description: Validation failed - content: - application/json: - schema: - oneOf: - - *94 - - *95 - '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 @@ -44819,7 +44496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *300 + - *297 requestBody: required: true content: @@ -44888,7 +44565,7 @@ paths: application/json: schema: *225 examples: - default: &303 + default: &300 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -44996,7 +44673,7 @@ paths: application/json: schema: *225 examples: - default: *303 + default: *300 '404': description: Not Found if the authenticated user does not have access to the project @@ -45017,7 +44694,7 @@ paths: items: type: string '401': *23 - '410': *304 + '410': *301 '422': *7 x-github: githubCloudOnly: false @@ -45061,7 +44738,7 @@ paths: items: type: string '401': *23 - '410': *304 + '410': *301 '404': *6 x-github: githubCloudOnly: false @@ -45310,7 +44987,7 @@ paths: application/json: schema: type: array - items: *301 + items: *298 examples: default: value: @@ -45372,7 +45049,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *298 examples: default: value: @@ -45437,7 +45114,7 @@ paths: resources: type: object properties: - core: &305 + core: &302 title: Rate Limit type: object properties: @@ -45454,21 +45131,21 @@ paths: - remaining - reset - used - graphql: *305 - search: *305 - code_search: *305 - source_import: *305 - integration_manifest: *305 - code_scanning_upload: *305 - actions_runner_registration: *305 - scim: *305 - dependency_snapshots: *305 - dependency_sbom: *305 - code_scanning_autofix: *305 + graphql: *302 + search: *302 + code_search: *302 + source_import: *302 + integration_manifest: *302 + code_scanning_upload: *302 + actions_runner_registration: *302 + scim: *302 + dependency_snapshots: *302 + dependency_sbom: *302 + code_scanning_autofix: *302 required: - core - search - rate: *305 + rate: *302 required: - rate - resources @@ -45564,7 +45241,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 @@ -45579,7 +45257,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *303 examples: default-response: summary: Default response @@ -46080,7 +45758,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *307 + '301': *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46347,10 +46025,10 @@ paths: description: Response content: application/json: - schema: *306 + schema: *303 examples: - default: *308 - '307': &309 + default: *305 + '307': &306 description: Temporary Redirect content: application/json: @@ -46402,7 +46080,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *309 + '307': *306 '404': *6 '409': *45 x-github: @@ -46430,7 +46108,7 @@ paths: - *296 - *17 - *19 - - &340 + - &337 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -46453,7 +46131,7 @@ paths: type: integer artifacts: type: array - items: &310 + items: &307 title: Artifact description: An artifact type: object @@ -46548,7 +46226,7 @@ paths: - expires_at - updated_at examples: - default: &341 + default: &338 value: total_count: 2 artifacts: @@ -46611,7 +46289,7 @@ paths: parameters: - *295 - *296 - - &311 + - &308 name: artifact_id description: The unique identifier of the artifact. in: path @@ -46623,7 +46301,7 @@ paths: description: Response content: application/json: - schema: *310 + schema: *307 examples: default: value: @@ -46663,7 +46341,7 @@ paths: parameters: - *295 - *296 - - *311 + - *308 responses: '204': description: Response @@ -46689,7 +46367,7 @@ paths: parameters: - *295 - *296 - - *311 + - *308 - name: archive_format in: path required: true @@ -46703,7 +46381,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': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46733,7 +46411,7 @@ paths: description: Response content: application/json: - schema: *312 + schema: *309 examples: default: value: @@ -46763,7 +46441,7 @@ paths: - *296 - *17 - *19 - - &313 + - &310 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 @@ -46797,7 +46475,7 @@ paths: description: Response content: application/json: - schema: &314 + schema: &311 title: Repository actions caches description: Repository actions caches type: object @@ -46847,7 +46525,7 @@ paths: - total_count - actions_caches examples: - default: &315 + default: &312 value: total_count: 1 actions_caches: @@ -46887,15 +46565,15 @@ paths: required: true schema: type: string - - *313 + - *310 responses: '200': description: Response content: application/json: - schema: *314 + schema: *311 examples: - default: *315 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46949,7 +46627,7 @@ paths: parameters: - *295 - *296 - - &316 + - &313 name: job_id description: The unique identifier of the job. in: path @@ -46961,7 +46639,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &341 title: Job description: Information of a job execution in a workflow run type: object @@ -47310,7 +46988,7 @@ paths: parameters: - *295 - *296 - - *316 + - *313 responses: '302': description: Response @@ -47340,7 +47018,7 @@ paths: parameters: - *295 - *296 - - *316 + - *313 requestBody: required: false content: @@ -47520,7 +47198,7 @@ paths: type: integer secrets: type: array - items: &346 + items: &343 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -47541,7 +47219,7 @@ paths: - created_at - updated_at examples: - default: &347 + default: &344 value: total_count: 2 secrets: @@ -47576,7 +47254,7 @@ paths: parameters: - *295 - *296 - - *317 + - *314 - *19 responses: '200': @@ -47593,7 +47271,7 @@ paths: type: integer variables: type: array - items: &350 + items: &347 title: Actions Variable type: object properties: @@ -47627,7 +47305,7 @@ paths: - created_at - updated_at examples: - default: &351 + default: &348 value: total_count: 2 variables: @@ -47670,11 +47348,11 @@ paths: schema: type: object properties: - enabled: &319 + enabled: &316 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *105 - selected_actions_url: *318 + selected_actions_url: *315 sha_pinning_required: *106 required: - enabled @@ -47715,7 +47393,7 @@ paths: schema: type: object properties: - enabled: *319 + enabled: *316 allowed_actions: *105 sha_pinning_required: *106 required: @@ -47754,7 +47432,7 @@ paths: description: Response content: application/json: - schema: &320 + schema: &317 type: object properties: access_level: @@ -47771,7 +47449,7 @@ paths: required: - access_level examples: - default: &321 + default: &318 value: access_level: organization x-github: @@ -47801,9 +47479,9 @@ paths: required: true content: application/json: - schema: *320 + schema: *317 examples: - default: *321 + default: *318 responses: '204': description: Response @@ -47834,7 +47512,7 @@ paths: description: Response content: application/json: - schema: *322 + schema: *319 examples: default: value: @@ -47869,7 +47547,7 @@ paths: required: true content: application/json: - schema: *323 + schema: *320 examples: default: summary: Set retention days @@ -47902,7 +47580,7 @@ paths: application/json: schema: *107 examples: - default: *324 + default: *321 '404': *6 x-github: enabledForGitHubApps: true @@ -47963,7 +47641,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *322 examples: default: *108 '403': *27 @@ -47991,7 +47669,7 @@ paths: required: true content: application/json: - schema: *326 + schema: *323 examples: default: *108 responses: @@ -48085,7 +47763,7 @@ paths: description: Response content: application/json: - schema: *327 + schema: *324 examples: default: *115 x-github: @@ -48120,7 +47798,7 @@ paths: required: true content: application/json: - schema: *328 + schema: *325 examples: default: *115 x-github: @@ -48203,9 +47881,9 @@ paths: application/json: schema: type: array - items: *329 + items: *326 examples: - default: *330 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48271,7 +47949,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *331 + '201': *328 '404': *6 '422': *7 '409': *45 @@ -48311,7 +47989,7 @@ paths: application/json: schema: *124 examples: - default: *332 + default: *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48348,7 +48026,7 @@ paths: application/json: schema: *124 examples: - default: *333 + default: *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48380,7 +48058,7 @@ paths: application/json: schema: *122 examples: - default: *334 + default: *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48560,7 +48238,7 @@ paths: - *296 - *121 responses: - '200': *335 + '200': *332 '404': *6 x-github: githubCloudOnly: false @@ -48590,7 +48268,7 @@ paths: - *295 - *296 - *121 - - *336 + - *333 responses: '200': *126 '404': *6 @@ -48620,7 +48298,7 @@ paths: parameters: - *295 - *296 - - &354 + - &351 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. @@ -48628,7 +48306,7 @@ paths: required: false schema: type: string - - &355 + - &352 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -48636,7 +48314,7 @@ paths: required: false schema: type: string - - &356 + - &353 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -48645,7 +48323,7 @@ paths: required: false schema: type: string - - &357 + - &354 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 @@ -48672,7 +48350,7 @@ paths: - pending - *17 - *19 - - &358 + - &355 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)." @@ -48681,7 +48359,7 @@ paths: schema: type: string format: date-time - - &337 + - &334 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -48690,13 +48368,13 @@ paths: schema: type: boolean default: false - - &359 + - &356 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &360 + - &357 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -48719,7 +48397,7 @@ paths: type: integer workflow_runs: type: array - items: &338 + items: &335 title: Workflow Run description: An invocation of a workflow type: object @@ -48836,7 +48514,7 @@ paths: type: - array - 'null' - items: &379 + items: &376 title: Pull Request Minimal type: object properties: @@ -48963,7 +48641,7 @@ paths: head_commit: anyOf: - type: 'null' - - &383 + - &380 title: Simple Commit description: A commit. type: object @@ -49078,7 +48756,7 @@ paths: - workflow_url - pull_requests examples: - default: &361 + default: &358 value: total_count: 1 workflow_runs: @@ -49316,22 +48994,22 @@ paths: parameters: - *295 - *296 - - &339 + - &336 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *337 + - *334 responses: '200': description: Response content: application/json: - schema: *338 + schema: *335 examples: - default: &342 + default: &339 value: id: 30433642 name: Build @@ -49574,7 +49252,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 responses: '204': description: Response @@ -49599,7 +49277,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 responses: '200': description: Response @@ -49729,7 +49407,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 responses: '201': description: Response @@ -49764,10 +49442,10 @@ paths: parameters: - *295 - *296 - - *339 + - *336 - *17 - *19 - - *340 + - *337 responses: '200': description: Response @@ -49783,9 +49461,9 @@ paths: type: integer artifacts: type: array - items: *310 + items: *307 examples: - default: *341 + default: *338 headers: Link: *57 x-github: @@ -49811,23 +49489,23 @@ paths: parameters: - *295 - *296 - - *339 - - &343 + - *336 + - &340 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *337 + - *334 responses: '200': description: Response content: application/json: - schema: *338 + schema: *335 examples: - default: *342 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49852,8 +49530,8 @@ paths: parameters: - *295 - *296 - - *339 - - *343 + - *336 + - *340 - *17 - *19 responses: @@ -49871,9 +49549,9 @@ paths: type: integer jobs: type: array - items: *344 + items: *341 examples: - default: &345 + default: &342 value: total_count: 1 jobs: @@ -49988,8 +49666,8 @@ paths: parameters: - *295 - *296 - - *339 - - *343 + - *336 + - *340 responses: '302': description: Response @@ -50019,7 +49697,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 responses: '202': description: Response @@ -50054,7 +49732,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 requestBody: required: true content: @@ -50123,7 +49801,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 responses: '202': description: Response @@ -50158,7 +49836,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 - 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 @@ -50188,9 +49866,9 @@ paths: type: integer jobs: type: array - items: *344 + items: *341 examples: - default: *345 + default: *342 headers: Link: *57 x-github: @@ -50217,7 +49895,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 responses: '302': description: Response @@ -50246,7 +49924,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 responses: '204': description: Response @@ -50275,7 +49953,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 responses: '200': description: Response @@ -50344,7 +50022,7 @@ paths: items: type: object properties: - type: &457 + type: &454 type: string description: The type of reviewer. enum: @@ -50432,7 +50110,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 requestBody: required: true content: @@ -50482,7 +50160,7 @@ paths: application/json: schema: type: array - items: &452 + items: &449 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -50594,7 +50272,7 @@ paths: - created_at - updated_at examples: - default: &453 + default: &450 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -50652,7 +50330,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 requestBody: required: false content: @@ -50699,7 +50377,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 requestBody: required: false content: @@ -50755,7 +50433,7 @@ paths: parameters: - *295 - *296 - - *339 + - *336 responses: '200': description: Response @@ -50911,9 +50589,9 @@ paths: type: integer secrets: type: array - items: *346 + items: *343 examples: - default: *347 + default: *344 headers: Link: *57 x-github: @@ -50945,9 +50623,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *345 examples: - default: *349 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50977,9 +50655,9 @@ paths: description: Response content: application/json: - schema: *346 + schema: *343 examples: - default: &470 + default: &467 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -51093,7 +50771,7 @@ paths: parameters: - *295 - *296 - - *317 + - *314 - *19 responses: '200': @@ -51110,9 +50788,9 @@ paths: type: integer variables: type: array - items: *350 + items: *347 examples: - default: *351 + default: *348 headers: Link: *57 x-github: @@ -51196,9 +50874,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *347 examples: - default: &471 + default: &468 value: name: USERNAME value: octocat @@ -51314,7 +50992,7 @@ paths: type: integer workflows: type: array - items: &352 + items: &349 title: Workflow description: A GitHub Actions workflow type: object @@ -51434,7 +51112,7 @@ paths: parameters: - *295 - *296 - - &353 + - &350 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -51449,7 +51127,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *349 examples: default: value: @@ -51484,7 +51162,7 @@ paths: parameters: - *295 - *296 - - *353 + - *350 responses: '204': description: Response @@ -51511,7 +51189,7 @@ paths: parameters: - *295 - *296 - - *353 + - *350 responses: '204': description: Response @@ -51564,7 +51242,7 @@ paths: parameters: - *295 - *296 - - *353 + - *350 responses: '204': description: Response @@ -51593,17 +51271,17 @@ paths: parameters: - *295 - *296 + - *350 + - *351 + - *352 - *353 - *354 + - *17 + - *19 - *355 + - *334 - *356 - *357 - - *17 - - *19 - - *358 - - *337 - - *359 - - *360 responses: '200': description: Response @@ -51619,9 +51297,9 @@ paths: type: integer workflow_runs: type: array - items: *338 + items: *335 examples: - default: *361 + default: *358 headers: Link: *57 x-github: @@ -51655,7 +51333,7 @@ paths: parameters: - *295 - *296 - - *353 + - *350 responses: '200': description: Response @@ -52128,7 +51806,7 @@ paths: bundle_url: type: string examples: - default: *362 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52157,7 +51835,7 @@ paths: application/json: schema: type: array - items: &363 + items: &360 title: Autolink reference description: An autolink reference. type: object @@ -52256,9 +51934,9 @@ paths: description: response content: application/json: - schema: *363 + schema: *360 examples: - default: &364 + default: &361 value: id: 1 key_prefix: TICKET- @@ -52291,7 +51969,7 @@ paths: parameters: - *295 - *296 - - &365 + - &362 name: autolink_id description: The unique identifier of the autolink. in: path @@ -52303,9 +51981,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *360 examples: - default: *364 + default: *361 '404': *6 x-github: githubCloudOnly: false @@ -52327,7 +52005,7 @@ paths: parameters: - *295 - *296 - - *365 + - *362 responses: '204': description: Response @@ -52484,7 +52162,7 @@ paths: - url protected: type: boolean - protection: &367 + protection: &364 title: Branch Protection description: Branch Protection type: object @@ -52527,7 +52205,7 @@ paths: required: - contexts - checks - enforce_admins: &370 + enforce_admins: &367 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -52544,7 +52222,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &372 + required_pull_request_reviews: &369 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -52628,7 +52306,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &369 + restrictions: &366 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -52955,7 +52633,7 @@ paths: parameters: - *295 - *296 - - &368 + - &365 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). @@ -52969,14 +52647,14 @@ paths: description: Response content: application/json: - schema: &378 + schema: &375 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &428 + commit: &425 title: Commit description: Commit type: object @@ -53015,7 +52693,7 @@ paths: author: anyOf: - type: 'null' - - &366 + - &363 title: Git User description: Metaproperties for Git author/committer information. @@ -53036,7 +52714,7 @@ paths: committer: anyOf: - type: 'null' - - *366 + - *363 message: type: string examples: @@ -53060,7 +52738,7 @@ paths: required: - sha - url - verification: &477 + verification: &474 title: Verification type: object properties: @@ -53140,7 +52818,7 @@ paths: type: integer files: type: array - items: &440 + items: &437 title: Diff Entry description: Diff Entry type: object @@ -53234,7 +52912,7 @@ paths: - self protected: type: boolean - protection: *367 + protection: *364 protection_url: type: string format: uri @@ -53343,7 +53021,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *307 + '301': *304 '404': *6 x-github: githubCloudOnly: false @@ -53367,13 +53045,13 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response content: application/json: - schema: *367 + schema: *364 examples: default: value: @@ -53569,7 +53247,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: true content: @@ -53829,7 +53507,7 @@ paths: url: type: string format: uri - required_status_checks: &375 + required_status_checks: &372 title: Status Check Policy description: Status Check Policy type: object @@ -53988,7 +53666,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *369 + restrictions: *366 required_conversation_resolution: type: object properties: @@ -54102,7 +53780,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '204': description: Response @@ -54129,15 +53807,15 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response content: application/json: - schema: *370 + schema: *367 examples: - default: &371 + default: &368 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -54161,15 +53839,15 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response content: application/json: - schema: *370 + schema: *367 examples: - default: *371 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54190,7 +53868,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '204': description: Response @@ -54217,15 +53895,15 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response content: application/json: - schema: *372 + schema: *369 examples: - default: &373 + default: &370 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -54323,7 +54001,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: false content: @@ -54421,9 +54099,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *369 examples: - default: *373 + default: *370 '422': *15 x-github: githubCloudOnly: false @@ -54446,7 +54124,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '204': description: Response @@ -54475,15 +54153,15 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response content: application/json: - schema: *370 + schema: *367 examples: - default: &374 + default: &371 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -54508,15 +54186,15 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response content: application/json: - schema: *370 + schema: *367 examples: - default: *374 + default: *371 '404': *6 x-github: githubCloudOnly: false @@ -54538,7 +54216,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '204': description: Response @@ -54565,15 +54243,15 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response content: application/json: - schema: *375 + schema: *372 examples: - default: &376 + default: &373 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -54601,7 +54279,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: false content: @@ -54653,9 +54331,9 @@ paths: description: Response content: application/json: - schema: *375 + schema: *372 examples: - default: *376 + default: *373 '404': *6 '422': *15 x-github: @@ -54679,7 +54357,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '204': description: Response @@ -54705,7 +54383,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response @@ -54741,7 +54419,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: false content: @@ -54810,7 +54488,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: false content: @@ -54876,7 +54554,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: content: application/json: @@ -54944,13 +54622,13 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response content: application/json: - schema: *369 + schema: *366 examples: default: value: @@ -55043,7 +54721,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '204': description: Response @@ -55068,7 +54746,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response @@ -55078,7 +54756,7 @@ paths: type: array items: *5 examples: - default: &377 + default: &374 value: - id: 1 slug: octoapp @@ -55137,7 +54815,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: true content: @@ -55171,7 +54849,7 @@ paths: type: array items: *5 examples: - default: *377 + default: *374 '422': *15 x-github: githubCloudOnly: false @@ -55194,7 +54872,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: true content: @@ -55228,7 +54906,7 @@ paths: type: array items: *5 examples: - default: *377 + default: *374 '422': *15 x-github: githubCloudOnly: false @@ -55251,7 +54929,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: true content: @@ -55285,7 +54963,7 @@ paths: type: array items: *5 examples: - default: *377 + default: *374 '422': *15 x-github: githubCloudOnly: false @@ -55309,7 +54987,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response @@ -55341,7 +55019,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: false content: @@ -55402,7 +55080,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: false content: @@ -55463,7 +55141,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: content: application/json: @@ -55524,7 +55202,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 responses: '200': description: Response @@ -55560,7 +55238,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: true content: @@ -55620,7 +55298,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: true content: @@ -55680,7 +55358,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: true content: @@ -55742,7 +55420,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 requestBody: required: true content: @@ -55764,7 +55442,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *375 examples: default: value: @@ -56160,7 +55838,7 @@ paths: description: Response content: application/json: - schema: &380 + schema: &377 title: CheckRun description: A check performed on the code of a given code change type: object @@ -56295,8 +55973,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *379 - deployment: &671 + items: *376 + deployment: &668 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -56585,7 +56263,7 @@ paths: parameters: - *295 - *296 - - &381 + - &378 name: check_run_id description: The unique identifier of the check run. in: path @@ -56597,9 +56275,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *377 examples: - default: &382 + default: &379 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -56701,7 +56379,7 @@ paths: parameters: - *295 - *296 - - *381 + - *378 requestBody: required: true content: @@ -56941,9 +56619,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *377 examples: - default: *382 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56965,7 +56643,7 @@ paths: parameters: - *295 - *296 - - *381 + - *378 - *17 - *19 responses: @@ -57077,7 +56755,7 @@ paths: parameters: - *295 - *296 - - *381 + - *378 responses: '201': description: Response @@ -57144,7 +56822,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &384 + schema: &381 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -57226,7 +56904,7 @@ paths: type: - array - 'null' - items: *379 + items: *376 app: anyOf: - type: 'null' @@ -57242,7 +56920,7 @@ paths: - string - 'null' format: date-time - head_commit: *383 + head_commit: *380 latest_check_runs_count: type: integer check_runs_url: @@ -57270,7 +56948,7 @@ paths: - check_runs_url - pull_requests examples: - default: &385 + default: &382 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -57561,9 +57239,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *384 + schema: *381 examples: - default: *385 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57894,7 +57572,7 @@ paths: parameters: - *295 - *296 - - &386 + - &383 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -57906,9 +57584,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *381 examples: - default: *385 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57933,15 +57611,15 @@ paths: parameters: - *295 - *296 - - *386 - - &435 + - *383 + - &432 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &436 + - &433 name: status description: Returns check runs with the specified `status`. in: query @@ -57980,9 +57658,9 @@ paths: type: integer check_runs: type: array - items: *380 + items: *377 examples: - default: &437 + default: &434 value: total_count: 1 check_runs: @@ -58086,7 +57764,7 @@ paths: parameters: - *295 - *296 - - *386 + - *383 responses: '201': description: Response @@ -58121,19 +57799,19 @@ paths: parameters: - *295 - *296 - - *387 - - *388 + - *384 + - *385 - *19 - *17 - - &405 + - &402 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: *389 - - &406 + schema: *386 + - &403 name: pr description: The number of the pull request for the results you want to list. in: query @@ -58158,13 +57836,13 @@ paths: be returned. in: query required: false - schema: *390 + schema: *387 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *391 + schema: *388 responses: '200': description: Response @@ -58180,7 +57858,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *392 + instances_url: *389 state: *141 fixed_at: *137 dismissed_by: @@ -58188,11 +57866,11 @@ paths: - type: 'null' - *4 dismissed_at: *138 - dismissed_reason: *393 - dismissed_comment: *394 - rule: *395 - tool: *396 - most_recent_instance: *397 + dismissed_reason: *390 + dismissed_comment: *391 + rule: *392 + tool: *393 + most_recent_instance: *394 dismissal_approved_by: anyOf: - type: 'null' @@ -58312,7 +57990,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &398 + '403': &395 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -58341,7 +58019,7 @@ paths: parameters: - *295 - *296 - - &399 + - &396 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -58355,7 +58033,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &397 type: object properties: number: *52 @@ -58363,7 +58041,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *392 + instances_url: *389 state: *141 fixed_at: *137 dismissed_by: @@ -58371,8 +58049,8 @@ paths: - type: 'null' - *4 dismissed_at: *138 - dismissed_reason: *393 - dismissed_comment: *394 + dismissed_reason: *390 + dismissed_comment: *391 rule: type: object properties: @@ -58434,8 +58112,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *396 - most_recent_instance: *397 + tool: *393 + most_recent_instance: *394 dismissal_approved_by: anyOf: - type: 'null' @@ -58528,7 +58206,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *398 + '403': *395 '404': *6 '503': *62 x-github: @@ -58550,7 +58228,7 @@ paths: parameters: - *295 - *296 - - *399 + - *396 requestBody: required: true content: @@ -58565,8 +58243,8 @@ paths: enum: - open - dismissed - dismissed_reason: *393 - dismissed_comment: *394 + dismissed_reason: *390 + dismissed_comment: *391 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -58585,7 +58263,7 @@ paths: description: Response content: application/json: - schema: *400 + schema: *397 examples: default: value: @@ -58661,7 +58339,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &404 + '403': &401 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -58690,13 +58368,13 @@ paths: parameters: - *295 - *296 - - *399 + - *396 responses: '200': description: Response content: application/json: - schema: &401 + schema: &398 type: object properties: status: @@ -58723,13 +58401,13 @@ paths: - description - started_at examples: - default: &402 + default: &399 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &403 + '400': &400 description: Bad Request content: application/json: @@ -58740,7 +58418,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': *398 + '403': *395 '404': *6 '503': *62 x-github: @@ -58767,27 +58445,27 @@ paths: parameters: - *295 - *296 - - *399 + - *396 responses: '200': description: OK content: application/json: - schema: *401 + schema: *398 examples: - default: *402 + default: *399 '202': description: Accepted content: application/json: - schema: *401 + schema: *398 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *403 + '400': *400 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -58821,7 +58499,7 @@ paths: parameters: - *295 - *296 - - *399 + - *396 requestBody: required: false content: @@ -58867,8 +58545,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *403 - '403': *404 + '400': *400 + '403': *401 '404': *6 '422': description: Unprocessable Entity @@ -58894,11 +58572,11 @@ paths: parameters: - *295 - *296 - - *399 + - *396 - *19 - *17 - - *405 - - *406 + - *402 + - *403 responses: '200': description: Response @@ -58906,7 +58584,7 @@ paths: application/json: schema: type: array - items: *397 + items: *394 examples: default: value: @@ -58945,7 +58623,7 @@ paths: end_column: 50 classifications: - source - '403': *398 + '403': *395 '404': *6 '503': *62 x-github: @@ -58981,23 +58659,23 @@ paths: parameters: - *295 - *296 - - *387 - - *388 + - *384 + - *385 - *19 - *17 - - *406 + - *403 - 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: *389 + schema: *386 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &409 + schema: &406 type: string description: An identifier for the upload. examples: @@ -59019,23 +58697,23 @@ paths: application/json: schema: type: array - items: &410 + items: &407 type: object properties: - ref: *389 - commit_sha: &418 + ref: *386 + commit_sha: &415 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: *407 + analysis_key: *404 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *408 + category: *405 error: type: string examples: @@ -59060,8 +58738,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *409 - tool: *396 + sarif_id: *406 + tool: *393 deletable: type: boolean warning: @@ -59123,7 +58801,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *398 + '403': *395 '404': *6 '503': *62 x-github: @@ -59173,7 +58851,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *407 examples: response: summary: application/json response @@ -59227,7 +58905,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *398 + '403': *395 '404': *6 '422': description: Response if analysis could not be processed @@ -59371,7 +59049,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': *404 + '403': *401 '404': *6 '503': *62 x-github: @@ -59402,7 +59080,7 @@ paths: application/json: schema: type: array - items: &411 + items: &408 title: CodeQL Database description: A CodeQL database. type: object @@ -59514,7 +59192,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': *398 + '403': *395 '404': *6 '503': *62 x-github: @@ -59556,7 +59234,7 @@ paths: description: Response content: application/json: - schema: *411 + schema: *408 examples: default: value: @@ -59588,9 +59266,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': &442 + '302': &439 description: Found - '403': *398 + '403': *395 '404': *6 '503': *62 x-github: @@ -59623,7 +59301,7 @@ paths: responses: '204': description: Response - '403': *404 + '403': *401 '404': *6 '503': *62 x-github: @@ -59661,7 +59339,7 @@ paths: type: object additionalProperties: false properties: - language: &412 + language: &409 type: string description: The language targeted by the CodeQL query enum: @@ -59740,7 +59418,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &416 + schema: &413 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -59750,7 +59428,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *412 + query_language: *409 query_pack_url: type: string description: The download url for the query pack. @@ -59798,7 +59476,7 @@ paths: items: type: object properties: - repository: &413 + repository: &410 title: Repository Identifier description: Repository Identifier type: object @@ -59840,7 +59518,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &417 + analysis_status: &414 type: string description: The new status of the CodeQL variant analysis repository task. @@ -59872,7 +59550,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &414 + access_mismatch_repos: &411 type: object properties: repository_count: @@ -59887,7 +59565,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: *413 + items: *410 required: - repository_count - repositories @@ -59910,8 +59588,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *414 - over_limit_repos: *414 + no_codeql_db_repos: *411 + over_limit_repos: *411 required: - access_mismatch_repos - not_found_repos @@ -59927,7 +59605,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &415 + value: &412 summary: Default response value: id: 1 @@ -60079,10 +59757,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *415 + value: *412 repository_lists: summary: Response for a successful variant analysis submission - value: *415 + value: *412 '404': *6 '422': description: Unable to process variant analysis submission @@ -60123,9 +59801,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *413 examples: - default: *415 + default: *412 '404': *6 '503': *62 x-github: @@ -60183,7 +59861,7 @@ paths: type: object properties: repository: *51 - analysis_status: *417 + analysis_status: *414 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -60402,7 +60080,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *398 + '403': *395 '404': *6 '503': *62 x-github: @@ -60518,7 +60196,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *404 + '403': *401 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -60598,7 +60276,7 @@ paths: schema: type: object properties: - commit_sha: *418 + commit_sha: *415 ref: type: string description: |- @@ -60658,7 +60336,7 @@ paths: schema: type: object properties: - id: *409 + id: *406 url: type: string description: The REST API URL for checking the status of the upload. @@ -60672,7 +60350,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': *404 + '403': *401 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -60744,7 +60422,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': *398 + '403': *395 '404': description: Not Found if the sarif id does not match any upload '503': *62 @@ -61362,7 +61040,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -61370,7 +61048,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '400': *14 '401': *23 '403': *27 @@ -61502,9 +61180,9 @@ paths: type: integer machines: type: array - items: *420 + items: *417 examples: - default: &623 + default: &620 value: total_count: 2 machines: @@ -61721,7 +61399,7 @@ paths: type: integer secrets: type: array - items: &424 + items: &421 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -61742,7 +61420,7 @@ paths: - created_at - updated_at examples: - default: *421 + default: *418 headers: Link: *57 x-github: @@ -61772,9 +61450,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *419 examples: - default: *423 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -61802,9 +61480,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *421 examples: - default: *425 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61947,7 +61625,7 @@ paths: application/json: schema: type: array - items: &426 + items: &423 title: Collaborator description: Collaborator type: object @@ -62216,7 +61894,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &490 + schema: &487 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -62499,7 +62177,7 @@ paths: user: anyOf: - type: 'null' - - *426 + - *423 required: - permission - role_name @@ -62564,7 +62242,7 @@ paths: application/json: schema: type: array - items: &427 + items: &424 title: Commit Comment description: Commit Comment type: object @@ -62622,7 +62300,7 @@ paths: - created_at - updated_at examples: - default: &430 + default: &427 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62689,9 +62367,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: - default: &431 + default: &428 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62772,7 +62450,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: default: value: @@ -63071,9 +62749,9 @@ paths: application/json: schema: type: array - items: *428 + items: *425 examples: - default: &538 + default: &535 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -63169,7 +62847,7 @@ paths: parameters: - *295 - *296 - - &429 + - &426 name: commit_sha description: The SHA of the commit. in: path @@ -63243,7 +62921,7 @@ paths: parameters: - *295 - *296 - - *429 + - *426 - *17 - *19 responses: @@ -63253,9 +62931,9 @@ paths: application/json: schema: type: array - items: *427 + items: *424 examples: - default: *430 + default: *427 headers: Link: *57 x-github: @@ -63285,7 +62963,7 @@ paths: parameters: - *295 - *296 - - *429 + - *426 requestBody: required: true content: @@ -63320,9 +62998,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: - default: *431 + default: *428 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63352,7 +63030,7 @@ paths: parameters: - *295 - *296 - - *429 + - *426 - *17 - *19 responses: @@ -63362,7 +63040,7 @@ paths: application/json: schema: type: array - items: &529 + items: &526 title: Pull Request Simple description: Pull Request Simple type: object @@ -63482,7 +63160,7 @@ paths: milestone: anyOf: - type: 'null' - - *432 + - *429 active_lock_reason: type: - string @@ -63581,7 +63259,7 @@ paths: _links: type: object properties: - comments: &433 + comments: &430 title: Link description: Hypermedia Link type: object @@ -63590,13 +63268,13 @@ paths: type: string required: - href - commits: *433 - statuses: *433 - html: *433 - issue: *433 - review_comments: *433 - review_comment: *433 - self: *433 + commits: *430 + statuses: *430 + html: *430 + issue: *430 + review_comments: *430 + review_comment: *430 + self: *430 required: - comments - commits @@ -63607,7 +63285,7 @@ paths: - review_comment - self author_association: *60 - auto_merge: &531 + auto_merge: &528 title: Auto merge description: The status of auto merging a pull request. type: @@ -63672,7 +63350,7 @@ paths: - author_association - auto_merge examples: - default: &530 + default: &527 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -64213,7 +63891,7 @@ paths: - *296 - *19 - *17 - - &434 + - &431 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)" @@ -64228,9 +63906,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *425 examples: - default: &517 + default: &514 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -64345,9 +64023,9 @@ paths: parameters: - *295 - *296 - - *434 - - *435 - - *436 + - *431 + - *432 + - *433 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -64381,9 +64059,9 @@ paths: type: integer check_runs: type: array - items: *380 + items: *377 examples: - default: *437 + default: *434 headers: Link: *57 x-github: @@ -64410,7 +64088,7 @@ paths: parameters: - *295 - *296 - - *434 + - *431 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -64418,7 +64096,7 @@ paths: schema: type: integer example: 1 - - *435 + - *432 - *17 - *19 responses: @@ -64436,7 +64114,7 @@ paths: type: integer check_suites: type: array - items: *384 + items: *381 examples: default: value: @@ -64638,7 +64316,7 @@ paths: parameters: - *295 - *296 - - *434 + - *431 - *17 - *19 responses: @@ -64842,7 +64520,7 @@ paths: parameters: - *295 - *296 - - *434 + - *431 - *17 - *19 responses: @@ -64852,7 +64530,7 @@ paths: application/json: schema: type: array - items: &594 + items: &591 title: Status description: The status of a commit. type: object @@ -64933,7 +64611,7 @@ paths: site_admin: false headers: Link: *57 - '301': *307 + '301': *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64995,11 +64673,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *438 + - *435 code_of_conduct_file: anyOf: - type: 'null' - - &439 + - &436 title: Community Health File type: object properties: @@ -65019,19 +64697,19 @@ paths: contributing: anyOf: - type: 'null' - - *439 + - *436 readme: anyOf: - type: 'null' - - *439 + - *436 issue_template: anyOf: - type: 'null' - - *439 + - *436 pull_request_template: anyOf: - type: 'null' - - *439 + - *436 required: - code_of_conduct - code_of_conduct_file @@ -65209,8 +64887,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *428 - merge_base_commit: *428 + base_commit: *425 + merge_base_commit: *425 status: type: string enum: @@ -65234,10 +64912,10 @@ paths: - 6 commits: type: array - items: *428 + items: *425 files: type: array - items: *440 + items: *437 required: - url - html_url @@ -65677,7 +65355,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &441 + response-if-content-is-a-file: &438 summary: Response if content is a file value: type: file @@ -65814,7 +65492,7 @@ paths: - size - type - url - - &543 + - &540 title: Content File description: Content File type: object @@ -66032,7 +65710,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *441 + response-if-content-is-a-file: *438 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -66101,7 +65779,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *442 + '302': *439 '304': *35 x-github: githubCloudOnly: false @@ -66220,7 +65898,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &440 title: File Commit description: File Commit type: object @@ -66376,7 +66054,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *440 examples: example-for-creating-a-file: value: @@ -66430,7 +66108,7 @@ paths: schema: oneOf: - *3 - - &472 + - &469 description: Repository rule violation was detected type: object properties: @@ -66451,7 +66129,7 @@ paths: items: type: object properties: - placeholder_id: &586 + placeholder_id: &583 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -66545,7 +66223,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *440 examples: default: value: @@ -66769,7 +66447,7 @@ paths: application/json: schema: type: array - items: &446 + items: &443 type: object description: A Dependabot alert. properties: @@ -66819,7 +66497,7 @@ paths: - direct - transitive - - security_advisory: *444 + security_advisory: *441 security_vulnerability: *50 url: *55 html_url: *56 @@ -66850,7 +66528,7 @@ paths: dismissal. maxLength: 280 fixed_at: *137 - auto_dismissed_at: *445 + auto_dismissed_at: *442 required: - number - state @@ -67082,7 +66760,7 @@ paths: parameters: - *295 - *296 - - &447 + - &444 name: alert_number in: path description: |- @@ -67097,7 +66775,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *443 examples: default: value: @@ -67212,7 +66890,7 @@ paths: parameters: - *295 - *296 - - *447 + - *444 requestBody: required: true content: @@ -67257,7 +66935,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *443 examples: default: value: @@ -67405,7 +67083,7 @@ paths: type: integer secrets: type: array - items: &450 + items: &447 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -67466,9 +67144,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *445 examples: - default: *449 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67496,7 +67174,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *447 examples: default: value: @@ -68120,7 +67798,7 @@ paths: - version - url additionalProperties: false - metadata: &451 + metadata: &448 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -68159,7 +67837,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *451 + metadata: *448 resolved: type: object description: A collection of resolved package dependencies. @@ -68173,7 +67851,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *451 + metadata: *448 relationship: type: string description: A notation of whether a dependency is requested @@ -68348,9 +68026,9 @@ paths: application/json: schema: type: array - items: *452 + items: *449 examples: - default: *453 + default: *450 headers: Link: *57 x-github: @@ -68499,7 +68177,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *449 examples: simple-example: summary: Simple example @@ -68574,7 +68252,7 @@ paths: parameters: - *295 - *296 - - &454 + - &451 name: deployment_id description: deployment_id parameter in: path @@ -68586,7 +68264,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *449 examples: default: value: @@ -68653,7 +68331,7 @@ paths: parameters: - *295 - *296 - - *454 + - *451 responses: '204': description: Response @@ -68677,7 +68355,7 @@ paths: parameters: - *295 - *296 - - *454 + - *451 - *17 - *19 responses: @@ -68687,7 +68365,7 @@ paths: application/json: schema: type: array - items: &455 + items: &452 title: Deployment Status description: The status of a deployment. type: object @@ -68853,7 +68531,7 @@ paths: parameters: - *295 - *296 - - *454 + - *451 requestBody: required: true content: @@ -68928,9 +68606,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *452 examples: - default: &456 + default: &453 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -68988,7 +68666,7 @@ paths: parameters: - *295 - *296 - - *454 + - *451 - name: status_id in: path required: true @@ -68999,9 +68677,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *452 examples: - default: *456 + default: *453 '404': *6 x-github: githubCloudOnly: false @@ -69103,7 +68781,7 @@ paths: - 5 environments: type: array - items: &458 + items: &455 title: Environment description: Details of a deployment environment type: object @@ -69165,7 +68843,7 @@ paths: type: string examples: - wait_timer - wait_timer: &460 + wait_timer: &457 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -69207,7 +68885,7 @@ paths: items: type: object properties: - type: *457 + type: *454 reviewer: anyOf: - *4 @@ -69234,7 +68912,7 @@ paths: - id - node_id - type - deployment_branch_policy: &461 + deployment_branch_policy: &458 type: - object - 'null' @@ -69353,7 +69031,7 @@ paths: parameters: - *295 - *296 - - &459 + - &456 name: environment_name in: path required: true @@ -69366,9 +69044,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *455 examples: - default: &462 + default: &459 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -69454,7 +69132,7 @@ paths: parameters: - *295 - *296 - - *459 + - *456 requestBody: required: false content: @@ -69464,7 +69142,7 @@ paths: - object - 'null' properties: - wait_timer: *460 + wait_timer: *457 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -69483,14 +69161,14 @@ paths: items: type: object properties: - type: *457 + type: *454 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *461 + deployment_branch_policy: *458 additionalProperties: false examples: default: @@ -69510,9 +69188,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *455 examples: - default: *462 + default: *459 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -69538,7 +69216,7 @@ paths: parameters: - *295 - *296 - - *459 + - *456 responses: '204': description: Default response @@ -69565,7 +69243,7 @@ paths: parameters: - *295 - *296 - - *459 + - *456 - *17 - *19 responses: @@ -69584,7 +69262,7 @@ paths: - 2 branch_policies: type: array - items: &463 + items: &460 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -69647,7 +69325,7 @@ paths: parameters: - *295 - *296 - - *459 + - *456 requestBody: required: true content: @@ -69695,9 +69373,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *460 examples: - example-wildcard: &464 + example-wildcard: &461 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -69741,8 +69419,8 @@ paths: parameters: - *295 - *296 - - *459 - - &465 + - *456 + - &462 name: branch_policy_id in: path required: true @@ -69754,9 +69432,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *460 examples: - default: *464 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69777,8 +69455,8 @@ paths: parameters: - *295 - *296 - - *459 - - *465 + - *456 + - *462 requestBody: required: true content: @@ -69807,9 +69485,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *460 examples: - default: *464 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69830,8 +69508,8 @@ paths: parameters: - *295 - *296 - - *459 - - *465 + - *456 + - *462 responses: '204': description: Response @@ -69856,7 +69534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *459 + - *456 - *296 - *295 responses: @@ -69875,7 +69553,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &466 + items: &463 title: Deployment protection rule description: Deployment protection rule type: object @@ -69897,7 +69575,7 @@ paths: for the environment. examples: - true - app: &467 + app: &464 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -70000,7 +69678,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: - - *459 + - *456 - *296 - *295 requestBody: @@ -70023,9 +69701,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *466 + schema: *463 examples: - default: &468 + default: &465 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -70060,7 +69738,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: - - *459 + - *456 - *296 - *295 - *19 @@ -70082,7 +69760,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *467 + items: *464 examples: default: value: @@ -70119,8 +69797,8 @@ paths: parameters: - *295 - *296 - - *459 - - &469 + - *456 + - &466 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -70132,9 +69810,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *463 examples: - default: *468 + default: *465 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70155,10 +69833,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *459 + - *456 - *296 - *295 - - *469 + - *466 responses: '204': description: Response @@ -70186,7 +69864,7 @@ paths: parameters: - *295 - *296 - - *459 + - *456 - *17 - *19 responses: @@ -70204,9 +69882,9 @@ paths: type: integer secrets: type: array - items: *346 + items: *343 examples: - default: *347 + default: *344 headers: Link: *57 x-github: @@ -70233,15 +69911,15 @@ paths: parameters: - *295 - *296 - - *459 + - *456 responses: '200': description: Response content: application/json: - schema: *348 + schema: *345 examples: - default: *349 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70265,16 +69943,16 @@ paths: parameters: - *295 - *296 - - *459 + - *456 - *128 responses: '200': description: Response content: application/json: - schema: *346 + schema: *343 examples: - default: *470 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70298,7 +69976,7 @@ paths: parameters: - *295 - *296 - - *459 + - *456 - *128 requestBody: required: true @@ -70358,7 +70036,7 @@ paths: parameters: - *295 - *296 - - *459 + - *456 - *128 responses: '204': @@ -70386,8 +70064,8 @@ paths: parameters: - *295 - *296 - - *459 - - *317 + - *456 + - *314 - *19 responses: '200': @@ -70404,9 +70082,9 @@ paths: type: integer variables: type: array - items: *350 + items: *347 examples: - default: *351 + default: *348 headers: Link: *57 x-github: @@ -70431,7 +70109,7 @@ paths: parameters: - *295 - *296 - - *459 + - *456 requestBody: required: true content: @@ -70485,16 +70163,16 @@ paths: parameters: - *295 - *296 - - *459 + - *456 - *131 responses: '200': description: Response content: application/json: - schema: *350 + schema: *347 examples: - default: *471 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70518,7 +70196,7 @@ paths: - *295 - *296 - *131 - - *459 + - *456 requestBody: required: true content: @@ -70563,7 +70241,7 @@ paths: - *295 - *296 - *131 - - *459 + - *456 responses: '204': description: Response @@ -70857,9 +70535,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *303 examples: - default: *308 + default: *305 '400': *14 '422': *15 '403': *27 @@ -70941,7 +70619,7 @@ paths: schema: oneOf: - *94 - - *472 + - *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71177,7 +70855,7 @@ paths: description: Response content: application/json: - schema: &473 + schema: &470 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -71406,13 +71084,13 @@ paths: parameters: - *295 - *296 - - *429 + - *426 responses: '200': description: Response content: application/json: - schema: *473 + schema: *470 examples: default: value: @@ -71470,7 +71148,7 @@ paths: parameters: - *295 - *296 - - &474 + - &471 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. @@ -71487,7 +71165,7 @@ paths: application/json: schema: type: array - items: &475 + items: &472 title: Git Reference description: Git references within a repository type: object @@ -71565,15 +71243,15 @@ paths: parameters: - *295 - *296 - - *474 + - *471 responses: '200': description: Response content: application/json: - schema: *475 + schema: *472 examples: - default: &476 + default: &473 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -71632,9 +71310,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *472 examples: - default: *476 + default: *473 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -71662,7 +71340,7 @@ paths: parameters: - *295 - *296 - - *474 + - *471 requestBody: required: true content: @@ -71691,9 +71369,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *472 examples: - default: *476 + default: *473 '422': *15 '409': *45 x-github: @@ -71713,7 +71391,7 @@ paths: parameters: - *295 - *296 - - *474 + - *471 responses: '204': description: Response @@ -71836,7 +71514,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &475 title: Git Tag description: Metadata for a Git tag type: object @@ -71892,7 +71570,7 @@ paths: - sha - type - url - verification: *477 + verification: *474 required: - sha - url @@ -71902,7 +71580,7 @@ paths: - tag - message examples: - default: &479 + default: &476 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -71987,9 +71665,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *475 examples: - default: *479 + default: *476 '404': *6 '409': *45 x-github: @@ -72088,7 +71766,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &477 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -72214,7 +71892,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *477 examples: default-response: summary: Default response @@ -72284,7 +71962,7 @@ paths: application/json: schema: type: array - items: &481 + items: &478 title: Webhook description: Webhooks for repositories. type: object @@ -72347,7 +72025,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &702 + last_response: &699 title: Hook Response type: object properties: @@ -72478,9 +72156,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *478 examples: - default: &482 + default: &479 value: type: Repository id: 12345678 @@ -72536,9 +72214,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *478 examples: - default: *482 + default: *479 '404': *6 x-github: githubCloudOnly: false @@ -72605,9 +72283,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *478 examples: - default: *482 + default: *479 '422': *15 '404': *6 x-github: @@ -72911,7 +72589,7 @@ paths: description: Response content: application/json: - schema: &483 + schema: &480 title: Import description: A repository import from an external source. type: object @@ -73018,7 +72696,7 @@ paths: - html_url - authors_url examples: - default: &486 + default: &483 value: vcs: subversion use_lfs: true @@ -73034,7 +72712,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': &484 + '503': &481 description: Unavailable due to service under maintenance. content: application/json: @@ -73112,7 +72790,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *480 examples: default: value: @@ -73137,7 +72815,7 @@ paths: type: string '422': *15 '404': *6 - '503': *484 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73218,7 +72896,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *480 examples: example-1: summary: Example 1 @@ -73266,7 +72944,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': *484 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73294,7 +72972,7 @@ paths: responses: '204': description: Response - '503': *484 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73322,7 +73000,7 @@ paths: parameters: - *295 - *296 - - &645 + - &642 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -73336,7 +73014,7 @@ paths: application/json: schema: type: array - items: &485 + items: &482 title: Porter Author description: Porter Author type: object @@ -73390,7 +73068,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': *484 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73446,7 +73124,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *482 examples: default: value: @@ -73459,7 +73137,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *484 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73525,7 +73203,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *484 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73581,11 +73259,11 @@ paths: description: Response content: application/json: - schema: *483 + schema: *480 examples: - default: *486 + default: *483 '422': *15 - '503': *484 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73617,8 +73295,8 @@ paths: application/json: schema: *20 examples: - default: *487 - '301': *307 + default: *484 + '301': *304 '404': *6 x-github: githubCloudOnly: false @@ -73652,7 +73330,7 @@ paths: properties: {} additionalProperties: false examples: - default: &489 + default: &486 value: limit: collaborators_only origin: repository @@ -73683,7 +73361,7 @@ paths: required: true content: application/json: - schema: *488 + schema: *485 examples: default: summary: Example request body @@ -73697,7 +73375,7 @@ paths: application/json: schema: *185 examples: - default: *489 + default: *486 '409': description: Response x-github: @@ -73754,9 +73432,9 @@ paths: application/json: schema: type: array - items: *490 + items: *487 examples: - default: &638 + default: &635 value: - id: 1 repository: @@ -73918,7 +73596,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *487 examples: default: value: @@ -74156,7 +73834,7 @@ paths: type: array items: *74 examples: - default: &497 + default: &494 value: - id: 1 node_id: MDU6SXNzdWUx @@ -74304,7 +73982,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *307 + '301': *304 '422': *15 '404': *6 x-github: @@ -74426,7 +74104,7 @@ paths: application/json: schema: *74 examples: - default: &494 + default: &491 value: id: 1 node_id: MDU6SXNzdWUx @@ -74582,7 +74260,7 @@ paths: '422': *15 '503': *62 '404': *6 - '410': *304 + '410': *301 x-github: triggersNotification: true githubCloudOnly: false @@ -74632,9 +74310,9 @@ paths: application/json: schema: type: array - items: *491 + items: *488 examples: - default: &496 + default: &493 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74700,9 +74378,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: - default: &492 + default: &489 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74780,9 +74458,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: - default: *492 + default: *489 '422': *15 x-github: githubCloudOnly: false @@ -74972,7 +74650,7 @@ paths: application/json: schema: type: array - items: &493 + items: &490 title: Issue Event description: Issue Event type: object @@ -75323,7 +75001,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *490 examples: default: value: @@ -75516,7 +75194,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *304 + '410': *301 '403': *27 x-github: githubCloudOnly: false @@ -75552,7 +75230,7 @@ paths: parameters: - *295 - *296 - - &495 + - &492 name: issue_number description: The number that identifies the issue. in: path @@ -75566,10 +75244,10 @@ paths: application/json: schema: *74 examples: - default: *494 - '301': *307 + default: *491 + '301': *304 '404': *6 - '410': *304 + '410': *301 '304': *35 x-github: githubCloudOnly: false @@ -75596,7 +75274,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: false content: @@ -75717,13 +75395,13 @@ paths: application/json: schema: *74 examples: - default: *494 + default: *491 '422': *15 '503': *62 '403': *27 - '301': *307 + '301': *304 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75743,7 +75421,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: false content: @@ -75771,7 +75449,7 @@ paths: application/json: schema: *74 examples: - default: *494 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75789,7 +75467,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: content: application/json: @@ -75816,7 +75494,7 @@ paths: application/json: schema: *74 examples: - default: *494 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75840,7 +75518,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - name: assignee in: path required: true @@ -75882,7 +75560,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - *64 - *17 - *19 @@ -75893,13 +75571,13 @@ paths: application/json: schema: type: array - items: *491 + items: *488 examples: - default: *496 + default: *493 headers: Link: *57 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75930,7 +75608,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: true content: @@ -75952,16 +75630,16 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: - default: *492 + default: *489 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *304 + '410': *301 '422': *15 '404': *6 x-github: @@ -75991,7 +75669,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - *17 - *19 responses: @@ -76003,12 +75681,12 @@ paths: type: array items: *74 examples: - default: *497 + default: *494 headers: Link: *57 - '301': *307 + '301': *304 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76038,7 +75716,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: true content: @@ -76062,15 +75740,15 @@ paths: application/json: schema: *74 examples: - default: *494 + default: *491 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *307 + '301': *304 '403': *27 - '410': *304 + '410': *301 '422': *15 '404': *6 x-github: @@ -76103,7 +75781,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -76117,13 +75795,13 @@ paths: application/json: schema: *74 examples: - default: *494 - '301': *307 + default: *491 + '301': *304 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *304 + '410': *301 x-github: triggersNotification: true githubCloudOnly: false @@ -76151,7 +75829,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - *17 - *19 responses: @@ -76163,12 +75841,12 @@ paths: type: array items: *74 examples: - default: *497 + default: *494 headers: Link: *57 - '301': *307 + '301': *304 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76187,7 +75865,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - *17 - *19 responses: @@ -76201,7 +75879,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &500 + - &497 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -76250,7 +75928,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &501 + - &498 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -76378,7 +76056,7 @@ paths: - performed_via_github_app - assignee - assigner - - &502 + - &499 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -76424,7 +76102,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &503 + - &500 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -76470,7 +76148,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &504 + - &501 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -76519,7 +76197,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &505 + - &502 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -76561,7 +76239,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &506 + - &503 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -76603,7 +76281,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &507 + - &504 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -76659,7 +76337,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &508 + - &505 title: Locked Issue Event description: Locked Issue Event type: object @@ -76704,7 +76382,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &509 + - &506 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -76765,7 +76443,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &510 + - &507 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -76826,7 +76504,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &511 + - &508 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -76887,7 +76565,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &512 + - &509 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -76980,7 +76658,7 @@ paths: color: red headers: Link: *57 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76999,7 +76677,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - *17 - *19 responses: @@ -77009,7 +76687,7 @@ paths: application/json: schema: type: array - items: &498 + items: &495 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -77064,7 +76742,7 @@ paths: - color - default examples: - default: &499 + default: &496 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -77082,9 +76760,9 @@ paths: default: false headers: Link: *57 - '301': *307 + '301': *304 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77103,7 +76781,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: false content: @@ -77162,12 +76840,12 @@ paths: application/json: schema: type: array - items: *498 + items: *495 examples: - default: *499 - '301': *307 + default: *496 + '301': *304 '404': *6 - '410': *304 + '410': *301 '422': *15 x-github: githubCloudOnly: false @@ -77186,7 +76864,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: false content: @@ -77246,12 +76924,12 @@ paths: application/json: schema: type: array - items: *498 + items: *495 examples: - default: *499 - '301': *307 + default: *496 + '301': *304 '404': *6 - '410': *304 + '410': *301 '422': *15 x-github: githubCloudOnly: false @@ -77270,13 +76948,13 @@ paths: parameters: - *295 - *296 - - *495 + - *492 responses: '204': description: Response - '301': *307 + '301': *304 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77297,7 +76975,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - name: name in: path required: true @@ -77310,7 +76988,7 @@ paths: application/json: schema: type: array - items: *498 + items: *495 examples: default: value: @@ -77321,9 +76999,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *307 + '301': *304 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77345,7 +77023,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: false content: @@ -77374,7 +77052,7 @@ paths: '204': description: Response '403': *27 - '410': *304 + '410': *301 '404': *6 '422': *15 x-github: @@ -77394,7 +77072,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 responses: '204': description: Response @@ -77426,7 +77104,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 responses: '200': description: Response @@ -77434,10 +77112,10 @@ paths: application/json: schema: *74 examples: - default: *494 - '301': *307 + default: *491 + '301': *304 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77456,7 +77134,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - 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. @@ -77488,7 +77166,7 @@ paths: headers: Link: *57 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77508,7 +77186,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: true content: @@ -77573,7 +77251,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - *291 responses: '204': @@ -77605,7 +77283,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: true content: @@ -77629,7 +77307,7 @@ paths: application/json: schema: *74 examples: - default: *494 + default: *491 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -77664,7 +77342,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - *17 - *19 responses: @@ -77676,11 +77354,11 @@ paths: type: array items: *74 examples: - default: *497 + default: *494 headers: Link: *57 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77710,7 +77388,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: true content: @@ -77739,14 +77417,14 @@ paths: application/json: schema: *74 examples: - default: *494 + default: *491 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *304 + '410': *301 '422': *15 '404': *6 x-github: @@ -77768,7 +77446,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 requestBody: required: true content: @@ -77801,7 +77479,7 @@ paths: application/json: schema: *74 examples: - default: *494 + default: *491 '403': *27 '404': *6 '422': *7 @@ -77825,7 +77503,7 @@ paths: parameters: - *295 - *296 - - *495 + - *492 - *17 - *19 responses: @@ -77840,6 +77518,9 @@ paths: description: Timeline Event type: object anyOf: + - *497 + - *498 + - *499 - *500 - *501 - *502 @@ -77850,9 +77531,6 @@ paths: - *507 - *508 - *509 - - *510 - - *511 - - *512 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -78181,7 +77859,7 @@ paths: type: string comments: type: array - items: &532 + items: &529 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -78419,7 +78097,7 @@ paths: type: string comments: type: array - items: *427 + items: *424 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -78694,7 +78372,7 @@ paths: headers: Link: *57 '404': *6 - '410': *304 + '410': *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78722,7 +78400,7 @@ paths: application/json: schema: type: array - items: &513 + items: &510 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -78827,9 +78505,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *510 examples: - default: &514 + default: &511 value: id: 1 key: ssh-rsa AAA... @@ -78865,7 +78543,7 @@ paths: parameters: - *295 - *296 - - &515 + - &512 name: key_id description: The unique identifier of the key. in: path @@ -78877,9 +78555,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *510 examples: - default: *514 + default: *511 '404': *6 x-github: githubCloudOnly: false @@ -78899,7 +78577,7 @@ paths: parameters: - *295 - *296 - - *515 + - *512 responses: '204': description: Response @@ -78930,9 +78608,9 @@ paths: application/json: schema: type: array - items: *498 + items: *495 examples: - default: *499 + default: *496 headers: Link: *57 '404': *6 @@ -78990,9 +78668,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *495 examples: - default: &516 + default: &513 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -79036,9 +78714,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *495 examples: - default: *516 + default: *513 '404': *6 x-github: githubCloudOnly: false @@ -79095,7 +78773,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *495 examples: default: value: @@ -79190,7 +78868,7 @@ paths: parameters: - *295 - *296 - - *405 + - *402 responses: '200': description: Response @@ -79438,9 +79116,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *428 + schema: *425 examples: - default: *517 + default: *514 '204': description: Response when already merged '404': @@ -79507,7 +79185,7 @@ paths: application/json: schema: type: array - items: *432 + items: *429 examples: default: value: @@ -79604,9 +79282,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *429 examples: - default: &518 + default: &515 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -79667,7 +79345,7 @@ paths: parameters: - *295 - *296 - - &519 + - &516 name: milestone_number description: The number that identifies the milestone. in: path @@ -79679,9 +79357,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *429 examples: - default: *518 + default: *515 '404': *6 x-github: githubCloudOnly: false @@ -79700,7 +79378,7 @@ paths: parameters: - *295 - *296 - - *519 + - *516 requestBody: required: false content: @@ -79738,9 +79416,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *429 examples: - default: *518 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79758,7 +79436,7 @@ paths: parameters: - *295 - *296 - - *519 + - *516 responses: '204': description: Response @@ -79781,7 +79459,7 @@ paths: parameters: - *295 - *296 - - *519 + - *516 - *17 - *19 responses: @@ -79791,9 +79469,9 @@ paths: application/json: schema: type: array - items: *498 + items: *495 examples: - default: *499 + default: *496 headers: Link: *57 x-github: @@ -79814,10 +79492,10 @@ paths: parameters: - *295 - *296 - - *520 - - *521 + - *517 + - *518 - *64 - - *522 + - *519 - *17 - *19 responses: @@ -79829,7 +79507,7 @@ paths: type: array items: *86 examples: - default: *523 + default: *520 headers: Link: *57 x-github: @@ -79919,7 +79597,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &521 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -80063,7 +79741,7 @@ paths: - custom_404 - public examples: - default: &525 + default: &522 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -80160,9 +79838,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *521 examples: - default: *525 + default: *522 '422': *15 '409': *45 x-github: @@ -80324,7 +80002,7 @@ paths: application/json: schema: type: array - items: &526 + items: &523 title: Page Build description: Page Build type: object @@ -80471,9 +80149,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *523 examples: - default: &527 + default: &524 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -80533,9 +80211,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *523 examples: - default: *527 + default: *524 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80666,7 +80344,7 @@ paths: parameters: - *295 - *296 - - &528 + - &525 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -80726,7 +80404,7 @@ paths: parameters: - *295 - *296 - - *528 + - *525 responses: '204': *146 '404': *6 @@ -81195,7 +80873,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *304 + '410': *301 '422': *7 x-github: githubCloudOnly: false @@ -81247,11 +80925,11 @@ paths: application/json: schema: *225 examples: - default: *303 + default: *300 '401': *23 '403': *27 '404': *6 - '410': *304 + '410': *301 '422': *7 x-github: githubCloudOnly: false @@ -81438,9 +81116,9 @@ paths: application/json: schema: type: array - items: *529 + items: *526 examples: - default: *530 + default: *527 headers: Link: *57 '304': *35 @@ -81540,7 +81218,7 @@ paths: description: Response content: application/json: - schema: &534 + schema: &531 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -81669,7 +81347,7 @@ paths: milestone: anyOf: - type: 'null' - - *432 + - *429 active_lock_reason: type: - string @@ -81762,14 +81440,14 @@ paths: _links: type: object properties: - comments: *433 - commits: *433 - statuses: *433 - html: *433 - issue: *433 - review_comments: *433 - review_comment: *433 - self: *433 + comments: *430 + commits: *430 + statuses: *430 + html: *430 + issue: *430 + review_comments: *430 + review_comment: *430 + self: *430 required: - comments - commits @@ -81780,7 +81458,7 @@ paths: - review_comment - self author_association: *60 - auto_merge: *531 + auto_merge: *528 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -81882,7 +81560,7 @@ paths: - merged_by - review_comments examples: - default: &535 + default: &532 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -82439,9 +82117,9 @@ paths: application/json: schema: type: array - items: *532 + items: *529 examples: - default: &537 + default: &534 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -82526,9 +82204,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *529 examples: - default: &533 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -82627,9 +82305,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *529 examples: - default: *533 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82832,7 +82510,7 @@ paths: parameters: - *295 - *296 - - &536 + - &533 name: pull_number description: The number that identifies the pull request. in: path @@ -82845,9 +82523,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *534 + schema: *531 examples: - default: *535 + default: *532 '304': *35 '404': *6 '406': @@ -82884,7 +82562,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 requestBody: required: false content: @@ -82926,9 +82604,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *531 examples: - default: *535 + default: *532 '422': *15 '403': *27 x-github: @@ -82952,7 +82630,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 requestBody: required: true content: @@ -83015,7 +82693,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -83023,7 +82701,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '401': *23 '403': *27 '404': *6 @@ -83055,7 +82733,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 - *83 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -83076,9 +82754,9 @@ paths: application/json: schema: type: array - items: *532 + items: *529 examples: - default: *537 + default: *534 headers: Link: *57 x-github: @@ -83113,7 +82791,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 requestBody: required: true content: @@ -83219,7 +82897,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *529 examples: example-for-a-multi-line-comment: value: @@ -83309,7 +82987,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 - *73 requestBody: required: true @@ -83332,7 +83010,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *529 examples: default: value: @@ -83420,7 +83098,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 - *17 - *19 responses: @@ -83430,9 +83108,9 @@ paths: application/json: schema: type: array - items: *428 + items: *425 examples: - default: *538 + default: *535 headers: Link: *57 x-github: @@ -83464,7 +83142,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 - *17 - *19 responses: @@ -83474,7 +83152,7 @@ paths: application/json: schema: type: array - items: *440 + items: *437 examples: default: value: @@ -83514,7 +83192,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 responses: '204': description: Response if pull request has been merged @@ -83539,7 +83217,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 requestBody: required: false content: @@ -83653,7 +83331,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 responses: '200': description: Response @@ -83730,7 +83408,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 requestBody: required: false content: @@ -83767,7 +83445,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *526 examples: default: value: @@ -84305,7 +83983,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 requestBody: required: true content: @@ -84339,7 +84017,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *526 examples: default: value: @@ -84846,7 +84524,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 - *17 - *19 responses: @@ -84856,7 +84534,7 @@ paths: application/json: schema: type: array - items: &539 + items: &536 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -85014,7 +84692,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 requestBody: required: false content: @@ -85104,9 +84782,9 @@ paths: description: Response content: application/json: - schema: *539 + schema: *536 examples: - default: &541 + default: &538 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -85171,8 +84849,8 @@ paths: parameters: - *295 - *296 - - *536 - - &540 + - *533 + - &537 name: review_id description: The unique identifier of the review. in: path @@ -85184,9 +84862,9 @@ paths: description: Response content: application/json: - schema: *539 + schema: *536 examples: - default: &542 + default: &539 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -85247,8 +84925,8 @@ paths: parameters: - *295 - *296 - - *536 - - *540 + - *533 + - *537 requestBody: required: true content: @@ -85271,7 +84949,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *536 examples: default: value: @@ -85335,16 +85013,16 @@ paths: parameters: - *295 - *296 - - *536 - - *540 + - *533 + - *537 responses: '200': description: Response content: application/json: - schema: *539 + schema: *536 examples: - default: *541 + default: *538 '422': *7 '404': *6 x-github: @@ -85373,8 +85051,8 @@ paths: parameters: - *295 - *296 - - *536 - - *540 + - *533 + - *537 - *17 - *19 responses: @@ -85472,9 +85150,9 @@ paths: _links: type: object properties: - self: *433 - html: *433 - pull_request: *433 + self: *430 + html: *430 + pull_request: *430 required: - self - html @@ -85634,8 +85312,8 @@ paths: parameters: - *295 - *296 - - *536 - - *540 + - *533 + - *537 requestBody: required: true content: @@ -85664,7 +85342,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *536 examples: default: value: @@ -85729,8 +85407,8 @@ paths: parameters: - *295 - *296 - - *536 - - *540 + - *533 + - *537 requestBody: required: true content: @@ -85765,9 +85443,9 @@ paths: description: Response content: application/json: - schema: *539 + schema: *536 examples: - default: *542 + default: *539 '404': *6 '422': *7 '403': *27 @@ -85791,7 +85469,7 @@ paths: parameters: - *295 - *296 - - *536 + - *533 requestBody: required: false content: @@ -85869,9 +85547,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *540 examples: - default: &544 + default: &541 value: type: file encoding: base64 @@ -85934,9 +85612,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *540 examples: - default: *544 + default: *541 '404': *6 '422': *15 x-github: @@ -85969,7 +85647,7 @@ paths: application/json: schema: type: array - items: &545 + items: &542 title: Release description: A release. type: object @@ -86051,7 +85729,7 @@ paths: author: *4 assets: type: array - items: &546 + items: &543 title: Release Asset description: Data related to a release. type: object @@ -86315,9 +85993,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *542 examples: - default: &549 + default: &546 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -86424,7 +86102,7 @@ paths: parameters: - *295 - *296 - - &547 + - &544 name: asset_id description: The unique identifier of the asset. in: path @@ -86436,9 +86114,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *543 examples: - default: &548 + default: &545 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 @@ -86473,7 +86151,7 @@ paths: type: User site_admin: false '404': *6 - '302': *442 + '302': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86491,7 +86169,7 @@ paths: parameters: - *295 - *296 - - *547 + - *544 requestBody: required: false content: @@ -86520,9 +86198,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *543 examples: - default: *548 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86540,7 +86218,7 @@ paths: parameters: - *295 - *296 - - *547 + - *544 responses: '204': description: Response @@ -86658,9 +86336,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *542 examples: - default: *549 + default: *546 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86691,9 +86369,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *542 examples: - default: *549 + default: *546 '404': *6 x-github: githubCloudOnly: false @@ -86717,7 +86395,7 @@ paths: parameters: - *295 - *296 - - &550 + - &547 name: release_id description: The unique identifier of the release. in: path @@ -86731,9 +86409,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: *545 + schema: *542 examples: - default: *549 + default: *546 '401': description: Unauthorized x-github: @@ -86753,7 +86431,7 @@ paths: parameters: - *295 - *296 - - *550 + - *547 requestBody: required: false content: @@ -86817,9 +86495,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *542 examples: - default: *549 + default: *546 '404': description: Not Found if the discussion category name is invalid content: @@ -86842,7 +86520,7 @@ paths: parameters: - *295 - *296 - - *550 + - *547 responses: '204': description: Response @@ -86864,7 +86542,7 @@ paths: parameters: - *295 - *296 - - *550 + - *547 - *17 - *19 responses: @@ -86874,7 +86552,7 @@ paths: application/json: schema: type: array - items: *546 + items: *543 examples: default: value: @@ -86957,7 +86635,7 @@ paths: parameters: - *295 - *296 - - *550 + - *547 - name: name in: query required: true @@ -86983,7 +86661,7 @@ paths: description: Response for successful upload content: application/json: - schema: *546 + schema: *543 examples: response-for-successful-upload: value: @@ -87040,7 +86718,7 @@ paths: parameters: - *295 - *296 - - *550 + - *547 - 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. @@ -87089,7 +86767,7 @@ paths: parameters: - *295 - *296 - - *550 + - *547 requestBody: required: true content: @@ -87152,7 +86830,7 @@ paths: parameters: - *295 - *296 - - *550 + - *547 - *291 responses: '204': @@ -87179,7 +86857,7 @@ paths: parameters: - *295 - *296 - - *368 + - *365 - *17 - *19 responses: @@ -87196,7 +86874,7 @@ paths: oneOf: - allOf: - *237 - - &551 + - &548 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -87217,64 +86895,64 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *238 - - *551 + - *548 - allOf: - *239 - - *551 + - *548 - allOf: - *240 - - *551 + - *548 - allOf: - - *552 - - *551 + - *549 + - *548 - allOf: - *241 - - *551 + - *548 - allOf: - *242 - - *551 + - *548 - allOf: - *243 - - *551 + - *548 - allOf: - *244 - - *551 + - *548 - allOf: - *245 - - *551 + - *548 - allOf: - *246 - - *551 + - *548 - allOf: - *247 - - *551 + - *548 - allOf: - *248 - - *551 + - *548 - allOf: - *249 - - *551 + - *548 - allOf: - *250 - - *551 + - *548 - allOf: - *251 - - *551 + - *548 - allOf: - *252 - - *551 + - *548 - allOf: - *253 - - *551 + - *548 - allOf: - *254 - - *551 + - *548 - allOf: - *255 - - *551 + - *548 - allOf: - *256 - - *551 + - *548 examples: default: value: @@ -87325,7 +87003,7 @@ paths: schema: type: boolean default: true - - *553 + - *550 responses: '200': description: Response @@ -87410,7 +87088,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *554 + items: *551 required: - name - enforcement @@ -87443,7 +87121,7 @@ paths: application/json: schema: *257 examples: - default: &564 + default: &561 value: id: 42 name: super cool ruleset @@ -87492,10 +87170,10 @@ paths: parameters: - *295 - *296 + - *552 + - *553 + - *554 - *555 - - *556 - - *557 - - *558 - *17 - *19 responses: @@ -87503,9 +87181,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *556 examples: - default: *560 + default: *557 '404': *6 '500': *91 x-github: @@ -87528,15 +87206,15 @@ paths: parameters: - *295 - *296 - - *561 + - *558 responses: '200': description: Response content: application/json: - schema: *562 + schema: *559 examples: - default: *563 + default: *560 '404': *6 '500': *91 x-github: @@ -87587,7 +87265,7 @@ paths: application/json: schema: *257 examples: - default: *564 + default: *561 '404': *6 '500': *91 put: @@ -87640,7 +87318,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *554 + items: *551 examples: default: value: @@ -87670,7 +87348,7 @@ paths: application/json: schema: *257 examples: - default: *564 + default: *561 '404': *6 '500': *91 delete: @@ -87731,7 +87409,7 @@ paths: type: array items: *260 examples: - default: *565 + default: *562 '404': *6 '500': *91 x-github: @@ -87769,7 +87447,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *563 examples: default: value: @@ -87833,8 +87511,8 @@ paths: - *46 - *19 - *17 - - *567 - - *568 + - *564 + - *565 - *265 - *266 - *267 @@ -87846,7 +87524,7 @@ paths: application/json: schema: type: array - items: &572 + items: &569 type: object properties: number: *52 @@ -87862,8 +87540,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *569 - resolution: *570 + state: *566 + resolution: *567 resolved_at: type: - string @@ -87957,7 +87635,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *571 + - *568 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -88081,14 +87759,14 @@ paths: parameters: - *295 - *296 - - *399 + - *396 - *268 responses: '200': description: Response content: application/json: - schema: *572 + schema: *569 examples: default: value: @@ -88142,7 +87820,7 @@ paths: parameters: - *295 - *296 - - *399 + - *396 requestBody: required: true content: @@ -88150,8 +87828,8 @@ paths: schema: type: object properties: - state: *569 - resolution: *570 + state: *566 + resolution: *567 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -88170,7 +87848,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *569 examples: default: value: @@ -88247,7 +87925,7 @@ paths: parameters: - *295 - *296 - - *399 + - *396 - *19 - *17 responses: @@ -88258,7 +87936,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &723 + items: &720 type: object properties: type: @@ -88285,6 +87963,9 @@ paths: - commit details: oneOf: + - *570 + - *571 + - *572 - *573 - *574 - *575 @@ -88295,9 +87976,6 @@ paths: - *580 - *581 - *582 - - *583 - - *584 - - *585 examples: default: value: @@ -88392,14 +88070,14 @@ paths: schema: type: object properties: - reason: &587 + reason: &584 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *586 + placeholder_id: *583 required: - reason - placeholder_id @@ -88416,7 +88094,7 @@ paths: schema: type: object properties: - reason: *587 + reason: *584 expire_at: type: - string @@ -88476,7 +88154,7 @@ paths: properties: incremental_scans: type: array - items: &588 + items: &585 description: Information on a single scan performed by secret scanning on the repository type: object @@ -88504,15 +88182,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *588 + items: *585 backfill_scans: type: array - items: *588 + items: *585 custom_pattern_backfill_scans: type: array items: allOf: - - *588 + - *585 - type: object properties: pattern_name: @@ -88627,9 +88305,9 @@ paths: application/json: schema: type: array - items: *589 + items: *586 examples: - default: *590 + default: *587 '400': *14 '404': *6 x-github: @@ -88823,9 +88501,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *586 examples: - default: &592 + default: &589 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -89172,7 +88850,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *586 examples: default: value: @@ -89321,15 +88999,15 @@ paths: parameters: - *295 - *296 - - *591 + - *588 responses: '200': description: Response content: application/json: - schema: *589 + schema: *586 examples: - default: *592 + default: *589 '403': *27 '404': *6 x-github: @@ -89355,7 +89033,7 @@ paths: parameters: - *295 - *296 - - *591 + - *588 requestBody: required: true content: @@ -89526,10 +89204,10 @@ paths: description: Response content: application/json: - schema: *589 + schema: *586 examples: - default: *592 - add_credit: *592 + default: *589 + add_credit: *589 '403': *27 '404': *6 '422': @@ -89569,7 +89247,7 @@ paths: parameters: - *295 - *296 - - *591 + - *588 responses: '202': *37 '400': *14 @@ -89598,15 +89276,15 @@ paths: parameters: - *295 - *296 - - *591 + - *588 responses: '202': description: Response content: application/json: - schema: *306 + schema: *303 examples: - default: *308 + default: *305 '400': *14 '422': *15 '403': *27 @@ -89739,7 +89417,7 @@ paths: application/json: schema: type: array - items: &593 + items: &590 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -90112,7 +89790,7 @@ paths: application/json: schema: type: array - items: *593 + items: *590 examples: default: value: @@ -90202,7 +89880,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *591 examples: default: value: @@ -90296,7 +89974,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &595 + schema: &592 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -90396,7 +90074,7 @@ paths: description: Response content: application/json: - schema: *595 + schema: *592 examples: default: value: @@ -90536,7 +90214,7 @@ paths: application/json: schema: type: array - items: &596 + items: &593 title: Tag protection description: Tag protection type: object @@ -90617,7 +90295,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *593 examples: default: value: @@ -90765,7 +90443,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &594 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -90777,7 +90455,7 @@ paths: required: - names examples: - default: &598 + default: &595 value: names: - octocat @@ -90832,9 +90510,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *594 examples: - default: *598 + default: *595 '404': *6 '422': *7 x-github: @@ -90857,7 +90535,7 @@ paths: parameters: - *295 - *296 - - &599 + - &596 name: per description: The time frame to display results for. in: query @@ -90888,7 +90566,7 @@ paths: - 128 clones: type: array - items: &600 + items: &597 title: Traffic type: object properties: @@ -91136,7 +90814,7 @@ paths: parameters: - *295 - *296 - - *599 + - *596 responses: '200': description: Response @@ -91157,7 +90835,7 @@ paths: - 3782 views: type: array - items: *600 + items: *597 required: - uniques - count @@ -91676,9 +91354,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *303 examples: - default: *308 + default: *305 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -91927,7 +91605,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &601 + text_matches: &598 title: Search Result Text Matches type: array items: @@ -92090,7 +91768,7 @@ paths: enum: - author-date - committer-date - - &602 + - &599 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 @@ -92159,7 +91837,7 @@ paths: committer: anyOf: - type: 'null' - - *366 + - *363 comment_count: type: integer message: @@ -92178,7 +91856,7 @@ paths: url: type: string format: uri - verification: *477 + verification: *474 required: - author - committer @@ -92193,7 +91871,7 @@ paths: committer: anyOf: - type: 'null' - - *366 + - *363 parents: type: array items: @@ -92210,7 +91888,7 @@ paths: type: number node_id: type: string - text_matches: *601 + text_matches: *598 required: - sha - node_id @@ -92350,7 +92028,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 @@ -92392,7 +92070,7 @@ paths: - interactions - created - updated - - *602 + - *599 - *17 - *19 - name: advanced_search @@ -92489,11 +92167,11 @@ paths: type: - string - 'null' - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: type: string state_reason: @@ -92507,7 +92185,7 @@ paths: milestone: anyOf: - type: 'null' - - *432 + - *429 comments: type: integer created_at: @@ -92521,7 +92199,7 @@ paths: - string - 'null' format: date-time - text_matches: *601 + text_matches: *598 pull_request: type: object properties: @@ -92701,7 +92379,7 @@ paths: category: search subcategory: search deprecationDate: '2025-03-04' - removalDate: '2025-09-04' + removalDate: '2025-11-04' deprecated: true "/search/labels": get: @@ -92747,7 +92425,7 @@ paths: enum: - created - updated - - *602 + - *599 - *17 - *19 responses: @@ -92792,7 +92470,7 @@ paths: - 'null' score: type: number - text_matches: *601 + text_matches: *598 required: - id - node_id @@ -92877,7 +92555,7 @@ paths: - forks - help-wanted-issues - updated - - *602 + - *599 - *17 - *19 responses: @@ -93114,7 +92792,7 @@ paths: - admin - pull - push - text_matches: *601 + text_matches: *598 temp_clone_token: type: string allow_merge_commit: @@ -93422,7 +93100,7 @@ paths: - string - 'null' format: uri - text_matches: *601 + text_matches: *598 related: type: - array @@ -93615,7 +93293,7 @@ paths: - followers - repositories - joined - - *602 + - *599 - *17 - *19 responses: @@ -93725,7 +93403,7 @@ paths: type: - boolean - 'null' - text_matches: *601 + text_matches: *598 blog: type: - string @@ -93807,7 +93485,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &606 + - &603 name: team_id description: The unique identifier of the team. in: path @@ -93848,7 +93526,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *606 + - *603 requestBody: required: true content: @@ -93949,7 +93627,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *606 + - *603 responses: '204': description: Response @@ -93980,7 +93658,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *606 + - *603 - *46 - *17 - *19 @@ -93993,7 +93671,7 @@ paths: type: array items: *282 examples: - default: *607 + default: *604 headers: Link: *57 x-github: @@ -94022,7 +93700,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *606 + - *603 requestBody: required: true content: @@ -94085,7 +93763,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *606 + - *603 - *284 responses: '200': @@ -94119,7 +93797,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *606 + - *603 - *284 requestBody: required: false @@ -94145,7 +93823,7 @@ paths: application/json: schema: *282 examples: - default: *608 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94170,7 +93848,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *606 + - *603 - *284 responses: '204': @@ -94200,7 +93878,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *606 + - *603 - *284 - *46 - *17 @@ -94214,7 +93892,7 @@ paths: type: array items: *285 examples: - default: *609 + default: *606 headers: Link: *57 x-github: @@ -94243,7 +93921,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *606 + - *603 - *284 requestBody: required: true @@ -94295,7 +93973,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *606 + - *603 - *284 - *287 responses: @@ -94330,7 +94008,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *606 + - *603 - *284 - *287 requestBody: @@ -94356,7 +94034,7 @@ paths: application/json: schema: *285 examples: - default: *610 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94381,7 +94059,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *606 + - *603 - *284 - *287 responses: @@ -94412,7 +94090,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *606 + - *603 - *284 - *287 - name: content @@ -94471,7 +94149,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *606 + - *603 - *284 - *287 requestBody: @@ -94533,7 +94211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *606 + - *603 - *284 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -94591,7 +94269,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *606 + - *603 - *284 requestBody: required: true @@ -94650,7 +94328,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *606 + - *603 - *17 - *19 responses: @@ -94688,7 +94366,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *606 + - *603 - name: role description: Filters members returned by their role in the team. in: query @@ -94739,7 +94417,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *606 + - *603 - *133 responses: '204': @@ -94776,7 +94454,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *606 + - *603 - *133 responses: '204': @@ -94816,7 +94494,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *606 + - *603 - *133 responses: '204': @@ -94853,7 +94531,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *606 + - *603 - *133 responses: '200': @@ -94862,7 +94540,7 @@ paths: application/json: schema: *292 examples: - response-if-user-is-a-team-maintainer: *611 + response-if-user-is-a-team-maintainer: *608 '404': *6 x-github: githubCloudOnly: false @@ -94895,7 +94573,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *606 + - *603 - *133 requestBody: required: false @@ -94923,7 +94601,7 @@ paths: application/json: schema: *292 examples: - response-if-users-membership-with-team-is-now-pending: *612 + response-if-users-membership-with-team-is-now-pending: *609 '403': description: Forbidden if team synchronization is set up '422': @@ -94957,7 +94635,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *606 + - *603 - *133 responses: '204': @@ -94986,7 +94664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *606 + - *603 - *17 - *19 responses: @@ -94998,7 +94676,7 @@ paths: type: array items: *293 examples: - default: *613 + default: *610 headers: Link: *57 '404': *6 @@ -95024,7 +94702,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *606 + - *603 - *294 responses: '200': @@ -95033,7 +94711,7 @@ paths: application/json: schema: *293 examples: - default: *614 + default: *611 '404': description: Not Found if project is not managed by this team x-github: @@ -95057,7 +94735,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *606 + - *603 - *294 requestBody: required: false @@ -95125,7 +94803,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *606 + - *603 - *294 responses: '204': @@ -95153,7 +94831,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *606 + - *603 - *17 - *19 responses: @@ -95195,7 +94873,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *606 + - *603 - *295 - *296 responses: @@ -95203,7 +94881,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *615 + schema: *612 examples: alternative-response-with-extra-repository-information: value: @@ -95354,7 +95032,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *606 + - *603 - *295 - *296 requestBody: @@ -95406,7 +95084,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *606 + - *603 - *295 - *296 responses: @@ -95433,7 +95111,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *606 + - *603 - *17 - *19 responses: @@ -95445,7 +95123,7 @@ paths: type: array items: *151 examples: - response-if-child-teams-exist: *616 + response-if-child-teams-exist: *613 headers: Link: *57 '404': *6 @@ -95478,7 +95156,7 @@ paths: application/json: schema: oneOf: - - &618 + - &615 title: Private User description: Private User type: object @@ -95728,7 +95406,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *617 + - *614 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -95888,7 +95566,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *615 examples: default: value: @@ -96234,7 +95912,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -96242,7 +95920,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '401': *23 '403': *27 '404': *6 @@ -96286,7 +95964,7 @@ paths: type: integer secrets: type: array - items: &619 + items: &616 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -96328,7 +96006,7 @@ paths: - visibility - selected_repositories_url examples: - default: *421 + default: *418 headers: Link: *57 x-github: @@ -96406,7 +96084,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *616 examples: default: value: @@ -96552,7 +96230,7 @@ paths: type: array items: *120 examples: - default: *620 + default: *617 '401': *23 '403': *27 '404': *6 @@ -96704,7 +96382,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '304': *35 '500': *91 '401': *23 @@ -96762,7 +96440,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '401': *23 '403': *27 '404': *6 @@ -96819,7 +96497,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &618 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -96872,7 +96550,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &622 + default: &619 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -96917,9 +96595,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *618 examples: - default: *622 + default: *619 '404': *6 x-github: githubCloudOnly: false @@ -96956,9 +96634,9 @@ paths: type: integer machines: type: array - items: *420 + items: *417 examples: - default: *623 + default: *620 '304': *35 '500': *91 '401': *23 @@ -97043,11 +96721,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *306 + repository: *303 machine: anyOf: - type: 'null' - - *420 + - *417 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -97852,7 +97530,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '304': *35 '500': *91 '400': *14 @@ -97892,7 +97570,7 @@ paths: application/json: schema: *196 examples: - default: *419 + default: *416 '500': *91 '401': *23 '403': *27 @@ -97924,7 +97602,7 @@ paths: type: array items: *209 examples: - default: &635 + default: &632 value: - id: 197 name: hello_docker @@ -98025,7 +97703,7 @@ paths: application/json: schema: type: array - items: &624 + items: &621 title: Email description: Email type: object @@ -98095,9 +97773,9 @@ paths: application/json: schema: type: array - items: *624 + items: *621 examples: - default: &637 + default: &634 value: - email: octocat@github.com verified: true @@ -98174,7 +97852,7 @@ paths: application/json: schema: type: array - items: *624 + items: *621 examples: default: value: @@ -98432,7 +98110,7 @@ paths: application/json: schema: type: array - items: &625 + items: &622 title: GPG Key description: A unique encryption key type: object @@ -98577,7 +98255,7 @@ paths: - subkeys - revoked examples: - default: &651 + default: &648 value: - id: 3 name: Octocat's GPG Key @@ -98662,9 +98340,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *622 examples: - default: &626 + default: &623 value: id: 3 name: Octocat's GPG Key @@ -98721,7 +98399,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &627 + - &624 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -98733,9 +98411,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *622 examples: - default: *626 + default: *623 '404': *6 '304': *35 '403': *27 @@ -98758,7 +98436,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *627 + - *624 responses: '204': description: Response @@ -99063,7 +98741,7 @@ paths: required: true content: application/json: - schema: *488 + schema: *485 examples: default: value: @@ -99213,7 +98891,7 @@ paths: application/json: schema: type: array - items: &628 + items: &625 title: Key description: Key type: object @@ -99316,9 +98994,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *625 examples: - default: &629 + default: &626 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99351,15 +99029,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *515 + - *512 responses: '200': description: Response content: application/json: - schema: *628 + schema: *625 examples: - default: *629 + default: *626 '404': *6 '304': *35 '403': *27 @@ -99382,7 +99060,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *515 + - *512 responses: '204': description: Response @@ -99415,7 +99093,7 @@ paths: application/json: schema: type: array - items: &630 + items: &627 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -99494,7 +99172,7 @@ paths: - account - plan examples: - default: &631 + default: &628 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -99556,9 +99234,9 @@ paths: application/json: schema: type: array - items: *630 + items: *627 examples: - default: *631 + default: *628 headers: Link: *57 '304': *35 @@ -100562,7 +100240,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *203 - - *632 + - *629 responses: '204': description: Response @@ -100635,7 +100313,7 @@ paths: type: array items: *150 examples: - default: *633 + default: *630 headers: Link: *57 '304': *35 @@ -100677,7 +100355,7 @@ paths: - docker - nuget - container - - *634 + - *631 - *19 - *17 responses: @@ -100689,8 +100367,8 @@ paths: type: array items: *209 examples: - default: *635 - '400': *636 + default: *632 + '400': *633 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100719,7 +100397,7 @@ paths: application/json: schema: *209 examples: - default: &652 + default: &649 value: id: 40201 name: octo-name @@ -101174,9 +100852,9 @@ paths: application/json: schema: type: array - items: *624 + items: *621 examples: - default: *637 + default: *634 headers: Link: *57 '304': *35 @@ -101289,7 +100967,7 @@ paths: type: array items: *59 examples: - default: &644 + default: &641 summary: Default response value: - id: 1296269 @@ -101607,9 +101285,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *303 examples: - default: *308 + default: *305 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -101647,9 +101325,9 @@ paths: application/json: schema: type: array - items: *490 + items: *487 examples: - default: *638 + default: *635 headers: Link: *57 '304': *35 @@ -101728,7 +101406,7 @@ paths: application/json: schema: type: array - items: &639 + items: &636 title: Social account description: Social media account type: object @@ -101745,7 +101423,7 @@ paths: - provider - url examples: - default: &640 + default: &637 value: - provider: twitter url: https://twitter.com/github @@ -101808,9 +101486,9 @@ paths: application/json: schema: type: array - items: *639 + items: *636 examples: - default: *640 + default: *637 '422': *15 '304': *35 '404': *6 @@ -101898,7 +101576,7 @@ paths: application/json: schema: type: array - items: &641 + items: &638 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -101918,7 +101596,7 @@ paths: - title - created_at examples: - default: &663 + default: &660 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101985,9 +101663,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *638 examples: - default: &642 + default: &639 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102018,7 +101696,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: - - &643 + - &640 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -102030,9 +101708,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *638 examples: - default: *642 + default: *639 '404': *6 '304': *35 '403': *27 @@ -102055,7 +101733,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: - - *643 + - *640 responses: '204': description: Response @@ -102084,7 +101762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &664 + - &661 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 @@ -102109,11 +101787,11 @@ paths: type: array items: *59 examples: - default-response: *644 + default-response: *641 application/vnd.github.v3.star+json: schema: type: array - items: &665 + items: &662 title: Starred Repository description: Starred Repository type: object @@ -102482,10 +102160,10 @@ paths: application/json: schema: oneOf: - - *618 - - *617 + - *615 + - *614 examples: - default-response: &646 + default-response: &643 summary: Default response value: login: octocat @@ -102520,7 +102198,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &647 + response-with-git-hub-plan-information: &644 summary: Response with GitHub plan information value: login: octocat @@ -102580,7 +102258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *645 + - *642 - *17 responses: '200': @@ -102629,11 +102307,11 @@ paths: application/json: schema: oneOf: - - *618 - - *617 + - *615 + - *614 examples: - default-response: *646 - response-with-git-hub-plan-information: *647 + default-response: *643 + response-with-git-hub-plan-information: *644 '404': *6 x-github: githubCloudOnly: false @@ -102682,8 +102360,8 @@ paths: required: - subject_digests examples: - default: *648 - withPredicateType: *649 + default: *645 + withPredicateType: *646 responses: '200': description: Response @@ -102737,7 +102415,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *650 + default: *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102939,7 +102617,7 @@ paths: bundle_url: type: string examples: - default: *362 + default: *359 '201': description: Response content: @@ -102980,7 +102658,7 @@ paths: type: array items: *209 examples: - default: *635 + default: *632 '403': *27 '401': *23 x-github: @@ -103384,9 +103062,9 @@ paths: application/json: schema: type: array - items: *625 + items: *622 examples: - default: *651 + default: *648 headers: Link: *57 x-github: @@ -103490,7 +103168,7 @@ paths: application/json: schema: *20 examples: - default: *487 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103576,7 +103254,7 @@ paths: type: array items: *150 examples: - default: *633 + default: *630 headers: Link: *57 x-github: @@ -103615,7 +103293,7 @@ paths: - docker - nuget - container - - *634 + - *631 - *133 - *19 - *17 @@ -103628,10 +103306,10 @@ paths: type: array items: *209 examples: - default: *635 + default: *632 '403': *27 '401': *23 - '400': *636 + '400': *633 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103661,7 +103339,7 @@ paths: application/json: schema: *209 examples: - default: *652 + default: *649 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104260,9 +103938,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *650 examples: - default: *654 + default: *651 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104290,9 +103968,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *652 examples: - default: *656 + default: *653 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104320,9 +103998,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *654 examples: - default: *658 + default: *655 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104343,10 +104021,10 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - *133 + - *656 + - *657 + - *658 - *659 - - *660 - - *661 - - *662 responses: '200': description: Response when getting a billing usage report @@ -104445,9 +104123,9 @@ paths: application/json: schema: type: array - items: *639 + items: *636 examples: - default: *640 + default: *637 headers: Link: *57 x-github: @@ -104477,9 +104155,9 @@ paths: application/json: schema: type: array - items: *641 + items: *638 examples: - default: *663 + default: *660 headers: Link: *57 x-github: @@ -104504,7 +104182,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *133 - - *664 + - *661 - *46 - *17 - *19 @@ -104516,11 +104194,11 @@ paths: schema: anyOf: - type: array - items: *665 + items: *662 - type: array items: *59 examples: - default-response: *644 + default-response: *641 headers: Link: *57 x-github: @@ -104680,7 +104358,7 @@ webhooks: type: string enum: - disabled - enterprise: &666 + enterprise: &663 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -104749,7 +104427,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &667 + installation: &664 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -104770,7 +104448,7 @@ webhooks: required: - id - node_id - organization: &668 + organization: &665 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -104843,7 +104521,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &669 + repository: &666 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -105756,10 +105434,10 @@ webhooks: type: string enum: - enabled - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -105835,11 +105513,11 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 - rule: &670 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 + rule: &667 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) @@ -106062,11 +105740,11 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 - rule: *670 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 + rule: *667 sender: *4 required: - action @@ -106254,11 +105932,11 @@ webhooks: - everyone required: - from - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 - rule: *670 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 + rule: *667 sender: *4 required: - action @@ -106342,7 +106020,7 @@ webhooks: type: string enum: - completed - check_run: &672 + check_run: &669 title: CheckRun description: A check performed on the code of a given code change type: object @@ -106407,7 +106085,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *379 + items: *376 repository: *120 status: type: string @@ -106452,7 +106130,7 @@ webhooks: - examples: - neutral - deployment: *671 + deployment: *668 details_url: type: string examples: @@ -106512,7 +106190,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *379 + items: *376 started_at: type: string format: date-time @@ -106550,9 +106228,10 @@ webhooks: - output - app - pull_requests - installation: *667 - organization: *668 - repository: *669 + installation: *664 + enterprise: *663 + organization: *665 + repository: *666 sender: *4 required: - check_run @@ -106945,10 +106624,11 @@ webhooks: type: string enum: - created - check_run: *672 - installation: *667 - organization: *668 - repository: *669 + check_run: *669 + installation: *664 + enterprise: *663 + organization: *665 + repository: *666 sender: *4 required: - check_run @@ -107344,10 +107024,11 @@ webhooks: type: string enum: - requested_action - check_run: *672 - installation: *667 - organization: *668 - repository: *669 + check_run: *669 + installation: *664 + enterprise: *663 + organization: *665 + repository: *666 requested_action: description: The action requested by the user. type: object @@ -107752,10 +107433,11 @@ webhooks: type: string enum: - rerequested - check_run: *672 - installation: *667 - organization: *668 - repository: *669 + check_run: *669 + installation: *664 + enterprise: *663 + organization: *665 + repository: *666 sender: *4 required: - check_run @@ -108747,10 +108429,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -109435,10 +109117,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -110117,10 +109799,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -110286,7 +109968,7 @@ webhooks: required: - login - id - dismissed_comment: *394 + dismissed_comment: *391 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -110438,20 +110120,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &673 + commit_oid: &670 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: *666 - installation: *667 - organization: *668 - ref: &674 + enterprise: *663 + installation: *664 + organization: *665 + ref: &671 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: *669 + repository: *666 sender: *4 required: - action @@ -110615,7 +110297,7 @@ webhooks: required: - login - id - dismissed_comment: *394 + dismissed_comment: *391 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -110856,12 +110538,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *673 - enterprise: *666 - installation: *667 - organization: *668 - ref: *674 - repository: *669 + commit_oid: *670 + enterprise: *663 + installation: *664 + organization: *665 + ref: *671 + repository: *666 sender: *4 required: - action @@ -110959,7 +110641,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *394 + dismissed_comment: *391 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111141,12 +110823,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *673 - enterprise: *666 - installation: *667 - organization: *668 - ref: *674 - repository: *669 + commit_oid: *670 + enterprise: *663 + installation: *664 + organization: *665 + ref: *671 + repository: *666 sender: *4 required: - action @@ -111312,7 +110994,7 @@ webhooks: required: - login - id - dismissed_comment: *394 + dismissed_comment: *391 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -111489,12 +111171,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *673 - enterprise: *666 - installation: *667 - organization: *668 - ref: *674 - repository: *669 + commit_oid: *670 + enterprise: *663 + installation: *664 + organization: *665 + ref: *671 + repository: *666 sender: *4 required: - action @@ -111594,7 +111276,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *394 + dismissed_comment: *391 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111774,9 +111456,9 @@ webhooks: type: - string - 'null' - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -111784,7 +111466,7 @@ webhooks: type: - string - 'null' - repository: *669 + repository: *666 sender: *4 required: - action @@ -111880,7 +111562,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *394 + dismissed_comment: *391 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112027,12 +111709,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *673 - enterprise: *666 - installation: *667 - organization: *668 - ref: *674 - repository: *669 + commit_oid: *670 + enterprise: *663 + installation: *664 + organization: *665 + ref: *671 + repository: *666 sender: *4 required: - action @@ -112294,10 +111976,10 @@ webhooks: - updated_at - author_association - body - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -112378,18 +112060,18 @@ webhooks: type: - string - 'null' - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *668 - pusher_type: &675 + organization: *665 + pusher_type: &672 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &676 + ref: &673 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -112399,7 +112081,7 @@ webhooks: enum: - tag - branch - repository: *669 + repository: *666 sender: *4 required: - ref @@ -112482,9 +112164,9 @@ webhooks: enum: - created definition: *226 - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 sender: *4 required: - action @@ -112569,9 +112251,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 sender: *4 required: - action @@ -112649,9 +112331,9 @@ webhooks: enum: - promote_to_enterprise definition: *226 - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 sender: *4 required: - action @@ -112729,9 +112411,9 @@ webhooks: enum: - updated definition: *226 - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 sender: *4 required: - action @@ -112808,10 +112490,10 @@ webhooks: type: string enum: - updated - enterprise: *666 - installation: *667 - repository: *669 - organization: *668 + enterprise: *663 + installation: *664 + repository: *666 + organization: *665 sender: *4 new_property_values: type: array @@ -112896,18 +112578,18 @@ webhooks: title: delete event type: object properties: - enterprise: *666 - installation: *667 - organization: *668 - pusher_type: *675 - ref: *676 + enterprise: *663 + installation: *664 + organization: *665 + pusher_type: *672 + ref: *673 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *669 + repository: *666 sender: *4 required: - ref @@ -112991,11 +112673,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *446 - installation: *667 - organization: *668 - enterprise: *666 - repository: *669 + alert: *443 + installation: *664 + organization: *665 + enterprise: *663 + repository: *666 sender: *4 required: - action @@ -113079,11 +112761,11 @@ webhooks: type: string enum: - auto_reopened - alert: *446 - installation: *667 - organization: *668 - enterprise: *666 - repository: *669 + alert: *443 + installation: *664 + organization: *665 + enterprise: *663 + repository: *666 sender: *4 required: - action @@ -113167,11 +112849,11 @@ webhooks: type: string enum: - created - alert: *446 - installation: *667 - organization: *668 - enterprise: *666 - repository: *669 + alert: *443 + installation: *664 + organization: *665 + enterprise: *663 + repository: *666 sender: *4 required: - action @@ -113253,11 +112935,11 @@ webhooks: type: string enum: - dismissed - alert: *446 - installation: *667 - organization: *668 - enterprise: *666 - repository: *669 + alert: *443 + installation: *664 + organization: *665 + enterprise: *663 + repository: *666 sender: *4 required: - action @@ -113339,11 +113021,11 @@ webhooks: type: string enum: - fixed - alert: *446 - installation: *667 - organization: *668 - enterprise: *666 - repository: *669 + alert: *443 + installation: *664 + organization: *665 + enterprise: *663 + repository: *666 sender: *4 required: - action @@ -113426,11 +113108,11 @@ webhooks: type: string enum: - reintroduced - alert: *446 - installation: *667 - organization: *668 - enterprise: *666 - repository: *669 + alert: *443 + installation: *664 + organization: *665 + enterprise: *663 + repository: *666 sender: *4 required: - action @@ -113512,11 +113194,11 @@ webhooks: type: string enum: - reopened - alert: *446 - installation: *667 - organization: *668 - enterprise: *666 - repository: *669 + alert: *443 + installation: *664 + organization: *665 + enterprise: *663 + repository: *666 sender: *4 required: - action @@ -113593,9 +113275,9 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - key: &677 + enterprise: *663 + installation: *664 + key: &674 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -113633,8 +113315,8 @@ webhooks: - verified - created_at - read_only - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -113711,11 +113393,11 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - key: *677 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + key: *674 + organization: *665 + repository: *666 sender: *4 required: - action @@ -114287,12 +113969,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - workflow: &681 + workflow: &678 title: Workflow type: - object @@ -115030,13 +114712,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *452 + deployment: *449 pull_requests: type: array - items: *534 - repository: *669 - organization: *668 - installation: *667 + items: *531 + repository: *666 + organization: *665 + installation: *664 sender: *4 responses: '200': @@ -115107,7 +114789,7 @@ webhooks: type: string enum: - approved - approver: &678 + approver: &675 type: object properties: avatar_url: @@ -115150,11 +114832,11 @@ webhooks: type: string comment: type: string - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 - reviewers: &679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 + reviewers: &676 type: array items: type: object @@ -115235,7 +114917,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &680 + workflow_job_run: &677 type: object properties: conclusion: @@ -115981,18 +115663,18 @@ webhooks: type: string enum: - rejected - approver: *678 + approver: *675 comment: type: string - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 - reviewers: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 + reviewers: *676 sender: *4 since: type: string - workflow_job_run: *680 + workflow_job_run: *677 workflow_job_runs: type: array items: @@ -116709,13 +116391,13 @@ webhooks: type: string enum: - requested - enterprise: *666 + enterprise: *663 environment: type: string - installation: *667 - organization: *668 - repository: *669 - requestor: &686 + installation: *664 + organization: *665 + repository: *666 + requestor: &683 title: User type: - object @@ -118658,12 +118340,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - workflow: *681 + workflow: *678 workflow_run: title: Deployment Workflow Run type: @@ -119354,7 +119036,7 @@ webhooks: type: string enum: - answered - answer: &684 + answer: &681 type: object properties: author_association: @@ -119514,7 +119196,7 @@ webhooks: - created_at - updated_at - body - discussion: &682 + discussion: &679 title: Discussion description: A Discussion in a repository. type: object @@ -119810,7 +119492,7 @@ webhooks: - id labels: type: array - items: *498 + items: *495 required: - repository_url - category @@ -119832,10 +119514,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -119962,11 +119644,11 @@ webhooks: - from required: - category - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -120049,11 +119731,11 @@ webhooks: type: string enum: - closed - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -120135,7 +119817,7 @@ webhooks: type: string enum: - created - comment: &683 + comment: &680 type: object properties: author_association: @@ -120295,11 +119977,11 @@ webhooks: - updated_at - body - reactions - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -120382,12 +120064,12 @@ webhooks: type: string enum: - deleted - comment: *683 - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + comment: *680 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -120482,12 +120164,12 @@ webhooks: - from required: - body - comment: *683 - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + comment: *680 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -120571,11 +120253,11 @@ webhooks: type: string enum: - created - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -120657,11 +120339,11 @@ webhooks: type: string enum: - deleted - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -120761,11 +120443,11 @@ webhooks: type: string required: - from - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -120847,10 +120529,10 @@ webhooks: type: string enum: - labeled - discussion: *682 - enterprise: *666 - installation: *667 - label: &685 + discussion: *679 + enterprise: *663 + installation: *664 + label: &682 title: Label type: object properties: @@ -120883,8 +120565,8 @@ webhooks: - color - default - description - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -120967,11 +120649,11 @@ webhooks: type: string enum: - locked - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -121053,11 +120735,11 @@ webhooks: type: string enum: - pinned - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -121139,11 +120821,11 @@ webhooks: type: string enum: - reopened - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -121228,16 +120910,16 @@ webhooks: changes: type: object properties: - new_discussion: *682 - new_repository: *669 + new_discussion: *679 + new_repository: *666 required: - new_discussion - new_repository - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -121320,10 +121002,10 @@ webhooks: type: string enum: - unanswered - discussion: *682 - old_answer: *684 - organization: *668 - repository: *669 + discussion: *679 + old_answer: *681 + organization: *665 + repository: *666 sender: *4 required: - action @@ -121405,12 +121087,12 @@ webhooks: type: string enum: - unlabeled - discussion: *682 - enterprise: *666 - installation: *667 - label: *685 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + label: *682 + organization: *665 + repository: *666 sender: *4 required: - action @@ -121493,11 +121175,11 @@ webhooks: type: string enum: - unlocked - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -121579,11 +121261,11 @@ webhooks: type: string enum: - unpinned - discussion: *682 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + discussion: *679 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -121656,7 +121338,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *666 + enterprise: *663 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -122334,9 +122016,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - forkee @@ -122482,9 +122164,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 pages: description: The pages that were updated. type: array @@ -122522,7 +122204,7 @@ webhooks: - action - sha - html_url - repository: *669 + repository: *666 sender: *4 required: - pages @@ -122598,10 +122280,10 @@ webhooks: type: string enum: - created - enterprise: *666 + enterprise: *663 installation: *20 - organization: *668 - repositories: &687 + organization: *665 + repositories: &684 description: An array of repository objects that the installation can access. type: array @@ -122627,8 +122309,8 @@ webhooks: - name - full_name - private - repository: *669 - requester: *686 + repository: *666 + requester: *683 sender: *4 required: - action @@ -122703,11 +122385,11 @@ webhooks: type: string enum: - deleted - enterprise: *666 + enterprise: *663 installation: *20 - organization: *668 - repositories: *687 - repository: *669 + organization: *665 + repositories: *684 + repository: *666 requester: type: - 'null' @@ -122784,11 +122466,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *666 + enterprise: *663 installation: *20 - organization: *668 - repositories: *687 - repository: *669 + organization: *665 + repositories: *684 + repository: *666 requester: type: - 'null' @@ -122865,10 +122547,10 @@ webhooks: type: string enum: - added - enterprise: *666 + enterprise: *663 installation: *20 - organization: *668 - repositories_added: &688 + organization: *665 + repositories_added: &685 description: An array of repository objects, which were added to the installation. type: array @@ -122914,15 +122596,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *669 - repository_selection: &689 + repository: *666 + repository_selection: &686 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *686 + requester: *683 sender: *4 required: - action @@ -123001,10 +122683,10 @@ webhooks: type: string enum: - removed - enterprise: *666 + enterprise: *663 installation: *20 - organization: *668 - repositories_added: *688 + organization: *665 + repositories_added: *685 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -123031,9 +122713,9 @@ webhooks: - name - full_name - private - repository: *669 - repository_selection: *689 - requester: *686 + repository: *666 + repository_selection: *686 + requester: *683 sender: *4 required: - action @@ -123112,11 +122794,11 @@ webhooks: type: string enum: - suspend - enterprise: *666 + enterprise: *663 installation: *20 - organization: *668 - repositories: *687 - repository: *669 + organization: *665 + repositories: *684 + repository: *666 requester: type: - 'null' @@ -123298,10 +122980,10 @@ webhooks: type: string required: - from - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 target_type: type: string @@ -123380,11 +123062,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *666 + enterprise: *663 installation: *20 - organization: *668 - repositories: *687 - repository: *669 + organization: *665 + repositories: *684 + repository: *666 requester: type: - 'null' @@ -123632,8 +123314,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -124450,8 +124132,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124812,8 +124494,8 @@ webhooks: - state - locked - assignee - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -124893,7 +124575,7 @@ webhooks: type: string enum: - deleted - comment: &690 + comment: &687 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -125060,8 +124742,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125874,8 +125556,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126238,8 +125920,8 @@ webhooks: - state - locked - assignee - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -126319,7 +126001,7 @@ webhooks: type: string enum: - edited - changes: &715 + changes: &712 description: The changes to the comment. type: object properties: @@ -126331,9 +126013,9 @@ webhooks: type: string required: - from - comment: *690 - enterprise: *666 - installation: *667 + comment: *687 + enterprise: *663 + installation: *664 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127149,8 +126831,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127511,8 +127193,8 @@ webhooks: - state - locked - assignee - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -127602,9 +127284,9 @@ webhooks: type: number blocking_issue: *74 blocking_issue_repo: *59 - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -127698,9 +127380,9 @@ webhooks: type: number blocking_issue: *74 blocking_issue_repo: *59 - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -127793,9 +127475,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *74 - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -127889,9 +127571,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *74 - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -127976,10 +127658,10 @@ webhooks: type: string enum: - assigned - assignee: *686 - enterprise: *666 - installation: *667 - issue: &693 + assignee: *683 + enterprise: *663 + installation: *664 + issue: &690 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -128791,11 +128473,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128915,8 +128597,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -128996,8 +128678,8 @@ webhooks: type: string enum: - closed - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129814,11 +129496,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130081,8 +129763,8 @@ webhooks: required: - state - closed_at - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -130161,8 +129843,8 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130970,11 +130652,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131093,8 +130775,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -131173,8 +130855,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132005,11 +131687,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132107,7 +131789,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &691 + milestone: &688 title: Milestone description: A collection of related issues and pull requests. type: object @@ -132250,8 +131932,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -132350,8 +132032,8 @@ webhooks: type: string required: - from - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133163,11 +132845,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133287,9 +132969,9 @@ webhooks: - active_lock_reason - body - reactions - label: *685 - organization: *668 - repository: *669 + label: *682 + organization: *665 + repository: *666 sender: *4 required: - action @@ -133369,8 +133051,8 @@ webhooks: type: string enum: - labeled - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134181,11 +133863,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134305,9 +133987,9 @@ webhooks: - active_lock_reason - body - reactions - label: *685 - organization: *668 - repository: *669 + label: *682 + organization: *665 + repository: *666 sender: *4 required: - action @@ -134387,8 +134069,8 @@ webhooks: type: string enum: - locked - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135224,11 +134906,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135325,8 +135007,8 @@ webhooks: format: uri user_view_type: type: string - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -135405,8 +135087,8 @@ webhooks: type: string enum: - milestoned - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136236,11 +135918,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136337,9 +136019,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *691 - organization: *668 - repository: *669 + milestone: *688 + organization: *665 + repository: *666 sender: *4 required: - action @@ -137231,11 +136913,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137812,8 +137494,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138625,11 +138307,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138748,8 +138430,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -138829,9 +138511,9 @@ webhooks: type: string enum: - pinned - enterprise: *666 - installation: *667 - issue: &692 + enterprise: *663 + installation: *664 + issue: &689 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -139637,11 +139319,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139760,8 +139442,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -139840,8 +139522,8 @@ webhooks: type: string enum: - reopened - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140675,11 +140357,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140777,8 +140459,8 @@ webhooks: user_view_type: type: string type: *190 - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -141667,11 +141349,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142270,11 +141952,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *666 - installation: *667 - issue: *692 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + issue: *689 + organization: *665 + repository: *666 sender: *4 required: - action @@ -142354,12 +142036,12 @@ webhooks: type: string enum: - typed - enterprise: *666 - installation: *667 - issue: *693 + enterprise: *663 + installation: *664 + issue: *690 type: *190 - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -142440,7 +142122,7 @@ webhooks: type: string enum: - unassigned - assignee: &718 + assignee: &715 title: User type: - object @@ -142512,11 +142194,11 @@ webhooks: required: - login - id - enterprise: *666 - installation: *667 - issue: *693 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + issue: *690 + organization: *665 + repository: *666 sender: *4 required: - action @@ -142595,12 +142277,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *666 - installation: *667 - issue: *693 - label: *685 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + issue: *690 + label: *682 + organization: *665 + repository: *666 sender: *4 required: - action @@ -142680,8 +142362,8 @@ webhooks: type: string enum: - unlocked - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143515,11 +143197,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *603 - issue_dependencies_summary: *604 + sub_issues_summary: *600 + issue_dependencies_summary: *601 issue_field_values: type: array - items: *605 + items: *602 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143616,8 +143298,8 @@ webhooks: format: uri user_view_type: type: string - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -143697,11 +143379,11 @@ webhooks: type: string enum: - unpinned - enterprise: *666 - installation: *667 - issue: *692 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + issue: *689 + organization: *665 + repository: *666 sender: *4 required: - action @@ -143780,12 +143462,12 @@ webhooks: type: string enum: - untyped - enterprise: *666 - installation: *667 - issue: *693 + enterprise: *663 + installation: *664 + issue: *690 type: *190 - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -143865,11 +143547,11 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - label: *685 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + label: *682 + organization: *665 + repository: *666 sender: *4 required: - action @@ -143947,11 +143629,11 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - label: *685 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + label: *682 + organization: *665 + repository: *666 sender: *4 required: - action @@ -144061,11 +143743,11 @@ webhooks: type: string required: - from - enterprise: *666 - installation: *667 - label: *685 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + label: *682 + organization: *665 + repository: *666 sender: *4 required: - action @@ -144147,9 +143829,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *666 - installation: *667 - marketplace_purchase: &694 + enterprise: *663 + installation: *664 + marketplace_purchase: &691 title: Marketplace Purchase type: object required: @@ -144237,8 +143919,8 @@ webhooks: type: integer unit_count: type: integer - organization: *668 - previous_marketplace_purchase: &695 + organization: *665 + previous_marketplace_purchase: &692 title: Marketplace Purchase type: object properties: @@ -144322,7 +144004,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *669 + repository: *666 sender: *4 required: - action @@ -144402,10 +144084,10 @@ webhooks: - changed effective_date: type: string - enterprise: *666 - installation: *667 - marketplace_purchase: *694 - organization: *668 + enterprise: *663 + installation: *664 + marketplace_purchase: *691 + organization: *665 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144493,7 +144175,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *669 + repository: *666 sender: *4 required: - action @@ -144575,10 +144257,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *666 - installation: *667 - marketplace_purchase: *694 - organization: *668 + enterprise: *663 + installation: *664 + marketplace_purchase: *691 + organization: *665 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144664,7 +144346,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *669 + repository: *666 sender: *4 required: - action @@ -144745,8 +144427,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 marketplace_purchase: title: Marketplace Purchase type: object @@ -144832,9 +144514,9 @@ webhooks: type: integer unit_count: type: integer - organization: *668 - previous_marketplace_purchase: *695 - repository: *669 + organization: *665 + previous_marketplace_purchase: *692 + repository: *666 sender: *4 required: - action @@ -144914,12 +144596,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *666 - installation: *667 - marketplace_purchase: *694 - organization: *668 - previous_marketplace_purchase: *695 - repository: *669 + enterprise: *663 + installation: *664 + marketplace_purchase: *691 + organization: *665 + previous_marketplace_purchase: *692 + repository: *666 sender: *4 required: - action @@ -145021,11 +144703,11 @@ webhooks: type: string required: - to - enterprise: *666 - installation: *667 - member: *686 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + member: *683 + organization: *665 + repository: *666 sender: *4 required: - action @@ -145127,11 +144809,11 @@ webhooks: type: - string - 'null' - enterprise: *666 - installation: *667 - member: *686 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + member: *683 + organization: *665 + repository: *666 sender: *4 required: - action @@ -145210,11 +144892,11 @@ webhooks: type: string enum: - removed - enterprise: *666 - installation: *667 - member: *686 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + member: *683 + organization: *665 + repository: *666 sender: *4 required: - action @@ -145292,11 +144974,11 @@ webhooks: type: string enum: - added - enterprise: *666 - installation: *667 - member: *686 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + member: *683 + organization: *665 + repository: *666 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145374,7 +145056,7 @@ webhooks: required: - login - id - team: &696 + team: &693 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -145567,11 +145249,11 @@ webhooks: type: string enum: - removed - enterprise: *666 - installation: *667 - member: *686 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + member: *683 + organization: *665 + repository: *666 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145650,7 +145332,7 @@ webhooks: required: - login - id - team: *696 + team: *693 required: - action - scope @@ -145732,8 +145414,8 @@ webhooks: type: string enum: - checks_requested - installation: *667 - merge_group: &697 + installation: *664 + merge_group: &694 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -145752,15 +145434,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *383 + head_commit: *380 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -145846,10 +145528,10 @@ webhooks: - merged - invalidated - dequeued - installation: *667 - merge_group: *697 - organization: *668 - repository: *669 + installation: *664 + merge_group: *694 + organization: *665 + repository: *666 sender: *4 required: - action @@ -145922,7 +145604,7 @@ webhooks: type: string enum: - deleted - enterprise: *666 + enterprise: *663 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146031,12 +145713,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *667 - organization: *668 + installation: *664 + organization: *665 repository: anyOf: - type: 'null' - - *669 + - *666 sender: *4 required: - action @@ -146116,11 +145798,11 @@ webhooks: type: string enum: - closed - enterprise: *666 - installation: *667 - milestone: *691 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + milestone: *688 + organization: *665 + repository: *666 sender: *4 required: - action @@ -146199,9 +145881,9 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - milestone: &698 + enterprise: *663 + installation: *664 + milestone: &695 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146343,8 +146025,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -146423,11 +146105,11 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - milestone: *691 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + milestone: *688 + organization: *665 + repository: *666 sender: *4 required: - action @@ -146537,11 +146219,11 @@ webhooks: type: string required: - from - enterprise: *666 - installation: *667 - milestone: *691 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + milestone: *688 + organization: *665 + repository: *666 sender: *4 required: - action @@ -146621,11 +146303,11 @@ webhooks: type: string enum: - opened - enterprise: *666 - installation: *667 - milestone: *698 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + milestone: *695 + organization: *665 + repository: *666 sender: *4 required: - action @@ -146704,11 +146386,11 @@ webhooks: type: string enum: - blocked - blocked_user: *686 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + blocked_user: *683 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -146787,11 +146469,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *686 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + blocked_user: *683 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -146870,9 +146552,9 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - membership: &699 + enterprise: *663 + installation: *664 + membership: &696 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -146982,8 +146664,8 @@ webhooks: - role - organization_url - user - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 required: - action @@ -147061,11 +146743,11 @@ webhooks: type: string enum: - member_added - enterprise: *666 - installation: *667 - membership: *699 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + membership: *696 + organization: *665 + repository: *666 sender: *4 required: - action @@ -147144,8 +146826,8 @@ webhooks: type: string enum: - member_invited - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147267,10 +146949,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 - user: *686 + user: *683 required: - action - invitation @@ -147348,11 +147030,11 @@ webhooks: type: string enum: - member_removed - enterprise: *666 - installation: *667 - membership: *699 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + membership: *696 + organization: *665 + repository: *666 sender: *4 required: - action @@ -147439,11 +147121,11 @@ webhooks: properties: from: type: string - enterprise: *666 - installation: *667 - membership: *699 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + membership: *696 + organization: *665 + repository: *666 sender: *4 required: - action @@ -147519,9 +147201,9 @@ webhooks: type: string enum: - published - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 package: description: Information about the package. type: object @@ -148044,7 +147726,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &700 + items: &697 title: Ruby Gems metadata type: object properties: @@ -148141,7 +147823,7 @@ webhooks: - owner - package_version - registry - repository: *669 + repository: *666 sender: *4 required: - action @@ -148217,9 +147899,9 @@ webhooks: type: string enum: - updated - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 package: description: Information about the package. type: object @@ -148581,7 +148263,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *700 + items: *697 source_url: type: string format: uri @@ -148652,7 +148334,7 @@ webhooks: - owner - package_version - registry - repository: *669 + repository: *666 sender: *4 required: - action @@ -148833,12 +148515,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *666 + enterprise: *663 id: type: integer - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - id @@ -148915,7 +148597,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &701 + personal_access_token_request: &698 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149065,10 +148747,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *666 - organization: *668 + enterprise: *663 + organization: *665 sender: *4 - installation: *667 + installation: *664 required: - action - personal_access_token_request @@ -149145,11 +148827,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *701 - enterprise: *666 - organization: *668 + personal_access_token_request: *698 + enterprise: *663 + organization: *665 sender: *4 - installation: *667 + installation: *664 required: - action - personal_access_token_request @@ -149225,11 +148907,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *701 - enterprise: *666 - organization: *668 + personal_access_token_request: *698 + enterprise: *663 + organization: *665 sender: *4 - installation: *667 + installation: *664 required: - action - personal_access_token_request @@ -149304,11 +148986,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *701 - organization: *668 - enterprise: *666 + personal_access_token_request: *698 + organization: *665 + enterprise: *663 sender: *4 - installation: *667 + installation: *664 required: - action - personal_access_token_request @@ -149413,7 +149095,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *702 + last_response: *699 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149445,8 +149127,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 zen: description: Random string of GitHub zen. @@ -149691,10 +149373,10 @@ webhooks: - from required: - note - enterprise: *666 - installation: *667 - organization: *668 - project_card: &703 + enterprise: *663 + installation: *664 + organization: *665 + project_card: &700 title: Project Card type: object properties: @@ -149817,7 +149499,7 @@ webhooks: - creator - created_at - updated_at - repository: *669 + repository: *666 sender: *4 required: - action @@ -149898,11 +149580,11 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 - project_card: *703 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + project_card: *700 + repository: *666 sender: *4 required: - action @@ -149982,9 +149664,9 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 project_card: title: Project Card type: object @@ -150114,7 +149796,7 @@ webhooks: repository: anyOf: - type: 'null' - - *669 + - *666 sender: *4 required: - action @@ -150208,11 +149890,11 @@ webhooks: - from required: - note - enterprise: *666 - installation: *667 - organization: *668 - project_card: *703 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + project_card: *700 + repository: *666 sender: *4 required: - action @@ -150306,9 +149988,9 @@ webhooks: - from required: - column_id - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 project_card: allOf: - title: Project Card @@ -150505,7 +150187,7 @@ webhooks: type: string required: - after_id - repository: *669 + repository: *666 sender: *4 required: - action @@ -150585,10 +150267,10 @@ webhooks: type: string enum: - closed - enterprise: *666 - installation: *667 - organization: *668 - project: &705 + enterprise: *663 + installation: *664 + organization: *665 + project: &702 title: Project type: object properties: @@ -150715,7 +150397,7 @@ webhooks: - creator - created_at - updated_at - repository: *669 + repository: *666 sender: *4 required: - action @@ -150795,10 +150477,10 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 - project_column: &704 + enterprise: *663 + installation: *664 + organization: *665 + project_column: &701 title: Project Column type: object properties: @@ -150838,7 +150520,7 @@ webhooks: - name - created_at - updated_at - repository: *669 + repository: *666 sender: *4 required: - action @@ -150917,14 +150599,14 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - organization: *668 - project_column: *704 + enterprise: *663 + installation: *664 + organization: *665 + project_column: *701 repository: anyOf: - type: 'null' - - *669 + - *666 sender: *4 required: - action @@ -151013,11 +150695,11 @@ webhooks: type: string required: - from - enterprise: *666 - installation: *667 - organization: *668 - project_column: *704 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + project_column: *701 + repository: *666 sender: *4 required: - action @@ -151097,11 +150779,11 @@ webhooks: type: string enum: - moved - enterprise: *666 - installation: *667 - organization: *668 - project_column: *704 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + project_column: *701 + repository: *666 sender: *4 required: - action @@ -151181,11 +150863,11 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 - project: *705 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + project: *702 + repository: *666 sender: *4 required: - action @@ -151265,14 +150947,14 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - organization: *668 - project: *705 + enterprise: *663 + installation: *664 + organization: *665 + project: *702 repository: anyOf: - type: 'null' - - *669 + - *666 sender: *4 required: - action @@ -151373,11 +151055,11 @@ webhooks: type: string required: - from - enterprise: *666 - installation: *667 - organization: *668 - project: *705 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + project: *702 + repository: *666 sender: *4 required: - action @@ -151456,11 +151138,11 @@ webhooks: type: string enum: - reopened - enterprise: *666 - installation: *667 - organization: *668 - project: *705 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + project: *702 + repository: *666 sender: *4 required: - action @@ -151541,9 +151223,9 @@ webhooks: type: string enum: - closed - installation: *667 - organization: *668 - projects_v2: &706 + installation: *664 + organization: *665 + projects_v2: &703 title: Projects v2 Project description: A projects v2 project type: object @@ -151604,7 +151286,7 @@ webhooks: latest_status_update: anyOf: - type: 'null' - - &711 + - &708 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -151757,9 +151439,9 @@ webhooks: type: string enum: - created - installation: *667 - organization: *668 - projects_v2: *706 + installation: *664 + organization: *665 + projects_v2: *703 sender: *4 required: - action @@ -151840,9 +151522,9 @@ webhooks: type: string enum: - deleted - installation: *667 - organization: *668 - projects_v2: *706 + installation: *664 + organization: *665 + projects_v2: *703 sender: *4 required: - action @@ -151963,9 +151645,9 @@ webhooks: type: string to: type: string - installation: *667 - organization: *668 - projects_v2: *706 + installation: *664 + organization: *665 + projects_v2: *703 sender: *4 required: - action @@ -152048,7 +151730,7 @@ webhooks: type: string enum: - archived - changes: &710 + changes: &707 type: object properties: archived_at: @@ -152064,9 +151746,9 @@ webhooks: - string - 'null' format: date-time - installation: *667 - organization: *668 - projects_v2_item: &707 + installation: *664 + organization: *665 + projects_v2_item: &704 title: Projects v2 Item description: An item belonging to a project type: object @@ -152205,9 +151887,9 @@ webhooks: - 'null' to: type: string - installation: *667 - organization: *668 - projects_v2_item: *707 + installation: *664 + organization: *665 + projects_v2_item: *704 sender: *4 required: - action @@ -152289,9 +151971,9 @@ webhooks: type: string enum: - created - installation: *667 - organization: *668 - projects_v2_item: *707 + installation: *664 + organization: *665 + projects_v2_item: *704 sender: *4 required: - action @@ -152372,9 +152054,9 @@ webhooks: type: string enum: - deleted - installation: *667 - organization: *668 - projects_v2_item: *707 + installation: *664 + organization: *665 + projects_v2_item: *704 sender: *4 required: - action @@ -152479,7 +152161,7 @@ webhooks: oneOf: - type: string - type: integer - - &708 + - &705 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152499,7 +152181,7 @@ webhooks: required: - id - name - - &709 + - &706 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152532,8 +152214,8 @@ webhooks: oneOf: - type: string - type: integer - - *708 - - *709 + - *705 + - *706 type: - 'null' - string @@ -152556,9 +152238,9 @@ webhooks: - 'null' required: - body - installation: *667 - organization: *668 - projects_v2_item: *707 + installation: *664 + organization: *665 + projects_v2_item: *704 sender: *4 required: - action @@ -152655,9 +152337,9 @@ webhooks: type: - string - 'null' - installation: *667 - organization: *668 - projects_v2_item: *707 + installation: *664 + organization: *665 + projects_v2_item: *704 sender: *4 required: - action @@ -152740,10 +152422,10 @@ webhooks: type: string enum: - restored - changes: *710 - installation: *667 - organization: *668 - projects_v2_item: *707 + changes: *707 + installation: *664 + organization: *665 + projects_v2_item: *704 sender: *4 required: - action @@ -152825,9 +152507,9 @@ webhooks: type: string enum: - reopened - installation: *667 - organization: *668 - projects_v2: *706 + installation: *664 + organization: *665 + projects_v2: *703 sender: *4 required: - action @@ -152908,9 +152590,9 @@ webhooks: type: string enum: - created - installation: *667 - organization: *668 - projects_v2_status_update: *711 + installation: *664 + organization: *665 + projects_v2_status_update: *708 sender: *4 required: - action @@ -152991,9 +152673,9 @@ webhooks: type: string enum: - deleted - installation: *667 - organization: *668 - projects_v2_status_update: *711 + installation: *664 + organization: *665 + projects_v2_status_update: *708 sender: *4 required: - action @@ -153139,9 +152821,9 @@ webhooks: - string - 'null' format: date - installation: *667 - organization: *668 - projects_v2_status_update: *711 + installation: *664 + organization: *665 + projects_v2_status_update: *708 sender: *4 required: - action @@ -153212,10 +152894,10 @@ webhooks: title: public event type: object properties: - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - repository @@ -153292,13 +152974,13 @@ webhooks: type: string enum: - assigned - assignee: *686 - enterprise: *666 - installation: *667 - number: &712 + assignee: *683 + enterprise: *663 + installation: *664 + number: &709 description: The pull request number. type: integer - organization: *668 + organization: *665 pull_request: title: Pull Request type: object @@ -155647,7 +155329,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 sender: *4 required: - action @@ -155729,11 +155411,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 number: type: integer - organization: *668 + organization: *665 pull_request: title: Pull Request type: object @@ -158075,7 +157757,7 @@ webhooks: - draft reason: type: string - repository: *669 + repository: *666 sender: *4 required: - action @@ -158157,11 +157839,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 number: type: integer - organization: *668 + organization: *665 pull_request: title: Pull Request type: object @@ -160503,7 +160185,7 @@ webhooks: - draft reason: type: string - repository: *669 + repository: *666 sender: *4 required: - action @@ -160585,13 +160267,13 @@ webhooks: type: string enum: - closed - enterprise: *666 - installation: *667 - number: *712 - organization: *668 - pull_request: &713 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 + pull_request: &710 allOf: - - *534 + - *531 - type: object properties: allow_auto_merge: @@ -160653,7 +160335,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *669 + repository: *666 sender: *4 required: - action @@ -160734,12 +160416,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *666 - installation: *667 - number: *712 - organization: *668 - pull_request: *713 - repository: *669 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 + pull_request: *710 + repository: *666 sender: *4 required: - action @@ -160819,11 +160501,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *666 - milestone: *432 - number: *712 - organization: *668 - pull_request: &714 + enterprise: *663 + milestone: *429 + number: *709 + organization: *665 + pull_request: &711 title: Pull Request type: object properties: @@ -163150,7 +162832,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 sender: *4 required: - action @@ -163229,11 +162911,11 @@ webhooks: type: string enum: - dequeued - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 number: type: integer - organization: *668 + organization: *665 pull_request: title: Pull Request type: object @@ -165579,7 +165261,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *669 + repository: *666 sender: *4 required: - action @@ -165703,12 +165385,12 @@ webhooks: type: string required: - from - enterprise: *666 - installation: *667 - number: *712 - organization: *668 - pull_request: *713 - repository: *669 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 + pull_request: *710 + repository: *666 sender: *4 required: - action @@ -165788,11 +165470,11 @@ webhooks: type: string enum: - enqueued - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 number: type: integer - organization: *668 + organization: *665 pull_request: title: Pull Request type: object @@ -168123,7 +167805,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 sender: *4 required: - action @@ -168203,11 +167885,11 @@ webhooks: type: string enum: - labeled - enterprise: *666 - installation: *667 - label: *685 - number: *712 - organization: *668 + enterprise: *663 + installation: *664 + label: *682 + number: *709 + organization: *665 pull_request: title: Pull Request type: object @@ -170555,7 +170237,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 sender: *4 required: - action @@ -170636,10 +170318,10 @@ webhooks: type: string enum: - locked - enterprise: *666 - installation: *667 - number: *712 - organization: *668 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 pull_request: title: Pull Request type: object @@ -172985,7 +172667,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 sender: *4 required: - action @@ -173065,12 +172747,12 @@ webhooks: type: string enum: - milestoned - enterprise: *666 - milestone: *432 - number: *712 - organization: *668 - pull_request: *714 - repository: *669 + enterprise: *663 + milestone: *429 + number: *709 + organization: *665 + pull_request: *711 + repository: *666 sender: *4 required: - action @@ -173149,12 +172831,12 @@ webhooks: type: string enum: - opened - enterprise: *666 - installation: *667 - number: *712 - organization: *668 - pull_request: *713 - repository: *669 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 + pull_request: *710 + repository: *666 sender: *4 required: - action @@ -173235,12 +172917,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *666 - installation: *667 - number: *712 - organization: *668 - pull_request: *713 - repository: *669 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 + pull_request: *710 + repository: *666 sender: *4 required: - action @@ -173320,12 +173002,12 @@ webhooks: type: string enum: - reopened - enterprise: *666 - installation: *667 - number: *712 - organization: *668 - pull_request: *713 - repository: *669 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 + pull_request: *710 + repository: *666 sender: *4 required: - action @@ -173700,9 +173382,9 @@ webhooks: - start_side - side - reactions - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 pull_request: type: object properties: @@ -175932,7 +175614,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *669 + repository: *666 sender: *4 required: - action @@ -176012,7 +175694,7 @@ webhooks: type: string enum: - deleted - comment: &716 + comment: &713 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -176305,9 +175987,9 @@ webhooks: - start_side - side - reactions - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 pull_request: type: object properties: @@ -178525,7 +178207,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *669 + repository: *666 sender: *4 required: - action @@ -178605,11 +178287,11 @@ webhooks: type: string enum: - edited - changes: *715 - comment: *716 - enterprise: *666 - installation: *667 - organization: *668 + changes: *712 + comment: *713 + enterprise: *663 + installation: *664 + organization: *665 pull_request: type: object properties: @@ -180830,7 +180512,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *669 + repository: *666 sender: *4 required: - action @@ -180911,9 +180593,9 @@ webhooks: type: string enum: - dismissed - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 pull_request: title: Simple Pull Request type: object @@ -183146,7 +182828,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *669 + repository: *666 review: description: The review that was affected. type: object @@ -183397,9 +183079,9 @@ webhooks: type: string required: - from - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 pull_request: title: Simple Pull Request type: object @@ -185513,8 +185195,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *669 - review: &717 + repository: *666 + review: &714 description: The review that was affected. type: object properties: @@ -185752,12 +185434,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 number: description: The pull request number. type: integer - organization: *668 + organization: *665 pull_request: title: Pull Request type: object @@ -188104,7 +187786,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 requested_reviewer: title: User type: @@ -188190,12 +187872,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 number: description: The pull request number. type: integer - organization: *668 + organization: *665 pull_request: title: Pull Request type: object @@ -190549,7 +190231,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190744,12 +190426,12 @@ webhooks: type: string enum: - review_requested - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 number: description: The pull request number. type: integer - organization: *668 + organization: *665 pull_request: title: Pull Request type: object @@ -193098,7 +192780,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 requested_reviewer: title: User type: @@ -193185,12 +192867,12 @@ webhooks: type: string enum: - review_requested - enterprise: *666 - installation: *667 + enterprise: *663 + installation: *664 number: description: The pull request number. type: integer - organization: *668 + organization: *665 pull_request: title: Pull Request type: object @@ -195530,7 +195212,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195714,9 +195396,9 @@ webhooks: type: string enum: - submitted - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 pull_request: title: Simple Pull Request type: object @@ -197952,8 +197634,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *669 - review: *717 + repository: *666 + review: *714 sender: *4 required: - action @@ -198033,9 +197715,9 @@ webhooks: type: string enum: - resolved - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 pull_request: title: Simple Pull Request type: object @@ -200166,7 +199848,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *669 + repository: *666 sender: *4 thread: type: object @@ -200563,9 +200245,9 @@ webhooks: type: string enum: - unresolved - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 pull_request: title: Simple Pull Request type: object @@ -202679,7 +202361,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *669 + repository: *666 sender: *4 thread: type: object @@ -203078,10 +202760,10 @@ webhooks: type: string before: type: string - enterprise: *666 - installation: *667 - number: *712 - organization: *668 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 pull_request: title: Pull Request type: object @@ -205416,7 +205098,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 sender: *4 required: - action @@ -205498,11 +205180,11 @@ webhooks: type: string enum: - unassigned - assignee: *718 - enterprise: *666 - installation: *667 - number: *712 - organization: *668 + assignee: *715 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 pull_request: title: Pull Request type: object @@ -207852,7 +207534,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 sender: *4 required: - action @@ -207931,11 +207613,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *666 - installation: *667 - label: *685 - number: *712 - organization: *668 + enterprise: *663 + installation: *664 + label: *682 + number: *709 + organization: *665 pull_request: title: Pull Request type: object @@ -210274,7 +209956,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 sender: *4 required: - action @@ -210355,10 +210037,10 @@ webhooks: type: string enum: - unlocked - enterprise: *666 - installation: *667 - number: *712 - organization: *668 + enterprise: *663 + installation: *664 + number: *709 + organization: *665 pull_request: title: Pull Request type: object @@ -212687,7 +212369,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *669 + repository: *666 sender: *4 required: - action @@ -212890,7 +212572,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *666 + enterprise: *663 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -212985,8 +212667,8 @@ webhooks: - url - author - committer - installation: *667 - organization: *668 + installation: *664 + organization: *665 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -213574,9 +213256,9 @@ webhooks: type: string enum: - published - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 registry_package: type: object properties: @@ -214053,7 +213735,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *700 + items: *697 summary: type: string tag_name: @@ -214109,7 +213791,7 @@ webhooks: - owner - package_version - registry - repository: *669 + repository: *666 sender: *4 required: - action @@ -214187,9 +213869,9 @@ webhooks: type: string enum: - updated - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 registry_package: type: object properties: @@ -214501,7 +214183,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *700 + items: *697 summary: type: string tag_name: @@ -214551,7 +214233,7 @@ webhooks: - owner - package_version - registry - repository: *669 + repository: *666 sender: *4 required: - action @@ -214628,10 +214310,10 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 - release: &719 + enterprise: *663 + installation: *664 + organization: *665 + release: &716 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214962,7 +214644,7 @@ webhooks: - updated_at - zipball_url - body - repository: *669 + repository: *666 sender: *4 required: - action @@ -215039,11 +214721,11 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - organization: *668 - release: *719 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + release: *716 + repository: *666 sender: *4 required: - action @@ -215160,11 +214842,11 @@ webhooks: type: boolean required: - to - enterprise: *666 - installation: *667 - organization: *668 - release: *719 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + release: *716 + repository: *666 sender: *4 required: - action @@ -215242,9 +214924,9 @@ webhooks: type: string enum: - prereleased - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -215580,7 +215262,7 @@ webhooks: - string - 'null' format: uri - repository: *669 + repository: *666 sender: *4 required: - action @@ -215656,10 +215338,10 @@ webhooks: type: string enum: - published - enterprise: *666 - installation: *667 - organization: *668 - release: &720 + enterprise: *663 + installation: *664 + organization: *665 + release: &717 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -215992,7 +215674,7 @@ webhooks: - string - 'null' format: uri - repository: *669 + repository: *666 sender: *4 required: - action @@ -216068,11 +215750,11 @@ webhooks: type: string enum: - released - enterprise: *666 - installation: *667 - organization: *668 - release: *719 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + release: *716 + repository: *666 sender: *4 required: - action @@ -216148,11 +215830,11 @@ webhooks: type: string enum: - unpublished - enterprise: *666 - installation: *667 - organization: *668 - release: *720 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + release: *717 + repository: *666 sender: *4 required: - action @@ -216228,11 +215910,11 @@ webhooks: type: string enum: - published - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 - repository_advisory: *589 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 + repository_advisory: *586 sender: *4 required: - action @@ -216308,11 +215990,11 @@ webhooks: type: string enum: - reported - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 - repository_advisory: *589 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 + repository_advisory: *586 sender: *4 required: - action @@ -216388,10 +216070,10 @@ webhooks: type: string enum: - archived - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -216468,10 +216150,10 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -216549,10 +216231,10 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -216637,10 +216319,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -216755,10 +216437,10 @@ webhooks: - 'null' items: type: string - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -216830,10 +216512,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 status: type: string @@ -216914,10 +216596,10 @@ webhooks: type: string enum: - privatized - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -216994,10 +216676,10 @@ webhooks: type: string enum: - publicized - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -217091,10 +216773,10 @@ webhooks: - name required: - repository - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -217174,10 +216856,10 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 repository_ruleset: *257 sender: *4 required: @@ -217256,10 +216938,10 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 repository_ruleset: *257 sender: *4 required: @@ -217338,10 +217020,10 @@ webhooks: type: string enum: - edited - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 repository_ruleset: *257 changes: type: object @@ -217403,16 +217085,16 @@ webhooks: properties: added: type: array - items: *554 + items: *551 deleted: type: array - items: *554 + items: *551 updated: type: array items: type: object properties: - rule: *554 + rule: *551 changes: type: object properties: @@ -217649,10 +217331,10 @@ webhooks: - from required: - owner - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -217730,10 +217412,10 @@ webhooks: type: string enum: - unarchived - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -217811,7 +217493,7 @@ webhooks: type: string enum: - create - alert: &721 + alert: &718 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -217935,10 +217617,10 @@ webhooks: type: string enum: - open - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -218148,10 +217830,10 @@ webhooks: type: string enum: - dismissed - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -218229,11 +217911,11 @@ webhooks: type: string enum: - reopen - alert: *721 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + alert: *718 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -218435,10 +218117,10 @@ webhooks: enum: - fixed - open - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -218516,7 +218198,7 @@ webhooks: type: string enum: - created - alert: &722 + alert: &719 type: object properties: number: *52 @@ -218626,10 +218308,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -218710,11 +218392,11 @@ webhooks: type: string enum: - created - alert: *722 - installation: *667 - location: *723 - organization: *668 - repository: *669 + alert: *719 + installation: *664 + location: *720 + organization: *665 + repository: *666 sender: *4 required: - location @@ -218952,11 +218634,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *722 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + alert: *719 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -219034,11 +218716,11 @@ webhooks: type: string enum: - reopened - alert: *722 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + alert: *719 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -219116,11 +218798,11 @@ webhooks: type: string enum: - resolved - alert: *722 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + alert: *719 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -219198,11 +218880,11 @@ webhooks: type: string enum: - validated - alert: *722 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + alert: *719 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -219332,10 +219014,10 @@ webhooks: - organization - enterprise - - repository: *669 - enterprise: *666 - installation: *667 - organization: *668 + repository: *666 + enterprise: *663 + installation: *664 + organization: *665 sender: *4 required: - action @@ -219413,11 +219095,11 @@ webhooks: type: string enum: - published - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 - security_advisory: &724 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 + security_advisory: &721 description: The details of the security advisory, including summary, description, and severity. type: object @@ -219603,11 +219285,11 @@ webhooks: type: string enum: - updated - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 - security_advisory: *724 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 + security_advisory: *721 sender: *4 required: - action @@ -219680,10 +219362,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -219870,10 +219552,10 @@ webhooks: type: object properties: security_and_analysis: *231 - enterprise: *666 - installation: *667 - organization: *668 - repository: *306 + enterprise: *663 + installation: *664 + organization: *665 + repository: *303 sender: *4 required: - changes @@ -219951,12 +219633,12 @@ webhooks: type: string enum: - cancelled - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - sponsorship: &725 + sponsorship: &722 type: object properties: created_at: @@ -220261,12 +219943,12 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - sponsorship: *725 + sponsorship: *722 required: - action - sponsorship @@ -220354,12 +220036,12 @@ webhooks: type: string required: - from - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - sponsorship: *725 + sponsorship: *722 required: - action - changes @@ -220436,17 +220118,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &726 + effective_date: &723 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: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - sponsorship: *725 + sponsorship: *722 required: - action - sponsorship @@ -220520,7 +220202,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &727 + changes: &724 type: object properties: tier: @@ -220564,13 +220246,13 @@ webhooks: - from required: - tier - effective_date: *726 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + effective_date: *723 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - sponsorship: *725 + sponsorship: *722 required: - action - changes @@ -220647,13 +220329,13 @@ webhooks: type: string enum: - tier_changed - changes: *727 - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + changes: *724 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - sponsorship: *725 + sponsorship: *722 required: - action - changes @@ -220727,10 +220409,10 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -220814,10 +220496,10 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -221251,15 +220933,15 @@ webhooks: type: - string - 'null' - enterprise: *666 + enterprise: *663 id: description: The unique identifier of the status. type: integer - installation: *667 + installation: *664 name: type: string - organization: *668 - repository: *669 + organization: *665 + repository: *666 sender: *4 sha: description: The Commit SHA. @@ -221375,9 +221057,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -221467,9 +221149,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -221559,9 +221241,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -221651,9 +221333,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *667 - organization: *668 - repository: *669 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -221730,12 +221412,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - team: &728 + team: &725 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -221928,9 +221610,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 repository: title: Repository description: A git repository @@ -222400,7 +222082,7 @@ webhooks: - topics - visibility sender: *4 - team: *728 + team: *725 required: - action - team @@ -222476,9 +222158,9 @@ webhooks: type: string enum: - created - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 repository: title: Repository description: A git repository @@ -222948,7 +222630,7 @@ webhooks: - topics - visibility sender: *4 - team: *728 + team: *725 required: - action - team @@ -223025,9 +222707,9 @@ webhooks: type: string enum: - deleted - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 repository: title: Repository description: A git repository @@ -223497,7 +223179,7 @@ webhooks: - topics - visibility sender: *4 - team: *728 + team: *725 required: - action - team @@ -223641,9 +223323,9 @@ webhooks: - from required: - permissions - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 repository: title: Repository description: A git repository @@ -224113,7 +223795,7 @@ webhooks: - topics - visibility sender: *4 - team: *728 + team: *725 required: - action - changes @@ -224191,9 +223873,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *666 - installation: *667 - organization: *668 + enterprise: *663 + installation: *664 + organization: *665 repository: title: Repository description: A git repository @@ -224663,7 +224345,7 @@ webhooks: - topics - visibility sender: *4 - team: *728 + team: *725 required: - action - team @@ -224739,10 +224421,10 @@ webhooks: type: string enum: - started - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 required: - action @@ -224815,17 +224497,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *666 + enterprise: *663 inputs: type: - object - 'null' additionalProperties: true - installation: *667 - organization: *668 + installation: *664 + organization: *665 ref: type: string - repository: *669 + repository: *666 sender: *4 workflow: type: string @@ -224907,10 +224589,10 @@ webhooks: type: string enum: - completed - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 workflow_job: allOf: @@ -225166,7 +224848,7 @@ webhooks: type: string required: - conclusion - deployment: *452 + deployment: *449 required: - action - repository @@ -225245,10 +224927,10 @@ webhooks: type: string enum: - in_progress - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 workflow_job: allOf: @@ -225530,7 +225212,7 @@ webhooks: required: - status - steps - deployment: *452 + deployment: *449 required: - action - repository @@ -225609,10 +225291,10 @@ webhooks: type: string enum: - queued - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 workflow_job: type: object @@ -225758,7 +225440,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *452 + deployment: *449 required: - action - repository @@ -225837,10 +225519,10 @@ webhooks: type: string enum: - waiting - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 workflow_job: type: object @@ -225987,7 +225669,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *452 + deployment: *449 required: - action - repository @@ -226067,12 +225749,12 @@ webhooks: type: string enum: - completed - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - workflow: *681 + workflow: *678 workflow_run: title: Workflow Run type: object @@ -227091,12 +226773,12 @@ webhooks: type: string enum: - in_progress - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - workflow: *681 + workflow: *678 workflow_run: title: Workflow Run type: object @@ -228100,12 +227782,12 @@ webhooks: type: string enum: - requested - enterprise: *666 - installation: *667 - organization: *668 - repository: *669 + enterprise: *663 + installation: *664 + organization: *665 + repository: *666 sender: *4 - workflow: *681 + workflow: *678 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 0d93b484dd..864cc419bd 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -42639,6 +42639,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", @@ -64943,7 +65761,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -83225,7 +84042,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -90140,7 +90956,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -115610,6 +116425,324 @@ } } }, + "/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.", + "minLength": 1, + "examples": [ + "libfoo-1.2.3" + ] + }, + "digest": { + "type": "string", + "description": "The digest of the artifact (algorithm:hex-encoded-digest).", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$", + "examples": [ + "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0..." + ] + }, + "artifact_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The URL where the artifact is stored.", + "examples": [ + "https://reg.example.com/artifactory/bar/libfoo-1.2.3" + ] + }, + "path": { + "type": "string", + "format": "uri", + "description": "The path of the artifact.", + "examples": [ + "com/github/bar/libfoo-1.2.3" + ] + }, + "registry_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The base URL of the artifact registry.", + "minLength": 1, + "examples": [ + "https://reg.example.com/artifactory/" + ] + }, + "repository": { + "type": "string", + "description": "The repository name within the registry.", + "examples": [ + "bar" + ] + }, + "status": { + "type": "string", + "description": "The status of the artifact (e.g., active, inactive).", + "enum": [ + "active", + "eol", + "deleted" + ], + "default": "active", + "examples": [ + "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", + "examples": [ + 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", + "type": "integer", + "examples": [ + 3 + ] + }, + "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", @@ -147229,7 +148362,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -160475,7 +161607,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -227834,7 +228965,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -228330,7 +229461,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -228446,7 +229577,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -228715,7 +229846,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -229680,7 +230811,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -230280,7 +231411,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -233832,7 +234963,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" ], @@ -376855,7 +377986,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -400144,7 +401274,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -403528,7 +404657,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -411088,7 +412216,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -416028,7 +417155,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -420765,7 +421891,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -424132,7 +425257,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -427499,7 +428623,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -430663,7 +431786,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -435818,7 +436940,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -439069,7 +440190,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -442404,7 +443524,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -445761,7 +446880,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -462185,7 +463303,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -466589,7 +467706,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -469850,7 +470966,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -473079,7 +474194,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -476413,7 +477527,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -490153,7 +491266,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -617681,7 +618793,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" ], @@ -620758,7 +621870,7 @@ "category": "search", "subcategory": "search", "deprecationDate": "2025-03-04", - "removalDate": "2025-09-04" + "removalDate": "2025-11-04" }, "deprecated": true } @@ -671641,7 +672753,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -707151,7 +708262,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -711094,7 +712204,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -715039,7 +716148,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -726399,7 +727507,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -730344,7 +731451,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -773314,6 +774420,96 @@ "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", @@ -778197,6 +779393,96 @@ "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", @@ -783080,6 +784366,96 @@ "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", @@ -787976,6 +789352,96 @@ "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", @@ -978853,7 +980319,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -981775,7 +983240,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -987540,7 +989004,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -990462,7 +991925,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -996227,7 +997689,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1000098,7 +1001559,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1004914,7 +1006374,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1008785,7 +1010244,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1490108,7 +1491566,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1493979,7 +1495436,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1498792,7 +1500248,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1502663,7 +1504118,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1507476,7 +1508930,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1511347,7 +1512800,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1516160,7 +1517612,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1520031,7 +1521482,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index fca9a71025..cfdb967f5b 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -15483,6 +15483,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: + - *39 + 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': *89 + '401': *23 + '403': *27 + '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: + - *39 + 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': *89 + '401': *23 + '403': *27 + '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: + - *39 + 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': *89 + '401': *23 + '403': *27 + '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: + - *39 + 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': *89 + '401': *23 + '403': *27 + '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 @@ -21814,7 +22133,6 @@ paths: - title - url - user - - author_association - created_at - updated_at comment: &595 @@ -32246,6 +32564,225 @@ 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: + - *74 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the artifact. + minLength: 1 + examples: + - libfoo-1.2.3 + digest: + type: string + description: The digest of the artifact (algorithm:hex-encoded-digest). + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + examples: + - sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + artifact_url: + type: string + format: uri + pattern: "^https://" + description: The URL where the artifact is stored. + examples: + - https://reg.example.com/artifactory/bar/libfoo-1.2.3 + path: + type: string + format: uri + description: The path of the artifact. + examples: + - com/github/bar/libfoo-1.2.3 + registry_url: + type: string + format: uri + pattern: "^https://" + description: The base URL of the artifact registry. + minLength: 1 + examples: + - https://reg.example.com/artifactory/ + repository: + type: string + description: The repository name within the registry. + examples: + - bar + status: + type: string + description: The status of the artifact (e.g., active, inactive). + enum: + - active + - eol + - deleted + default: active + examples: + - 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 + examples: + - 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: + - *74 + - 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 + type: integer + examples: + - 3 + 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 @@ -53984,7 +54521,7 @@ paths: '401': *23 '404': *6 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -54043,7 +54580,7 @@ paths: '404': *6 '422': *7 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -54086,7 +54623,7 @@ paths: '401': *23 '404': *6 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -54199,7 +54736,7 @@ paths: type: string '422': *15 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -54462,7 +54999,7 @@ paths: '403': *27 '401': *23 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -54563,7 +55100,7 @@ paths: message: type: string x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -55329,7 +55866,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 @@ -104955,7 +105493,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 @@ -105307,7 +105845,7 @@ paths: category: search subcategory: search deprecationDate: '2025-03-04' - removalDate: '2025-09-04' + removalDate: '2025-11-04' deprecated: true "/search/labels": get: @@ -120321,6 +120859,7 @@ webhooks: - app - pull_requests installation: *784 + enterprise: *783 organization: *785 repository: *786 sender: *4 @@ -120717,6 +121256,7 @@ webhooks: - created check_run: *796 installation: *784 + enterprise: *783 organization: *785 repository: *786 sender: *4 @@ -121116,6 +121656,7 @@ webhooks: - requested_action check_run: *796 installation: *784 + enterprise: *783 organization: *785 repository: *786 requested_action: @@ -121524,6 +122065,7 @@ webhooks: - rerequested check_run: *796 installation: *784 + enterprise: *783 organization: *785 repository: *786 sender: *4 diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 0d93b484dd..864cc419bd 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -42639,6 +42639,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", @@ -64943,7 +65761,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -83225,7 +84042,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -90140,7 +90956,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -115610,6 +116425,324 @@ } } }, + "/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.", + "minLength": 1, + "examples": [ + "libfoo-1.2.3" + ] + }, + "digest": { + "type": "string", + "description": "The digest of the artifact (algorithm:hex-encoded-digest).", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$", + "examples": [ + "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0..." + ] + }, + "artifact_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The URL where the artifact is stored.", + "examples": [ + "https://reg.example.com/artifactory/bar/libfoo-1.2.3" + ] + }, + "path": { + "type": "string", + "format": "uri", + "description": "The path of the artifact.", + "examples": [ + "com/github/bar/libfoo-1.2.3" + ] + }, + "registry_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The base URL of the artifact registry.", + "minLength": 1, + "examples": [ + "https://reg.example.com/artifactory/" + ] + }, + "repository": { + "type": "string", + "description": "The repository name within the registry.", + "examples": [ + "bar" + ] + }, + "status": { + "type": "string", + "description": "The status of the artifact (e.g., active, inactive).", + "enum": [ + "active", + "eol", + "deleted" + ], + "default": "active", + "examples": [ + "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", + "examples": [ + 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", + "type": "integer", + "examples": [ + 3 + ] + }, + "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", @@ -147229,7 +148362,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -160475,7 +161607,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -227834,7 +228965,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -228330,7 +229461,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -228446,7 +229577,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -228715,7 +229846,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -229680,7 +230811,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -230280,7 +231411,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -233832,7 +234963,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" ], @@ -376855,7 +377986,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -400144,7 +401274,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -403528,7 +404657,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -411088,7 +412216,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -416028,7 +417155,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -420765,7 +421891,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -424132,7 +425257,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -427499,7 +428623,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -430663,7 +431786,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -435818,7 +436940,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -439069,7 +440190,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -442404,7 +443524,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -445761,7 +446880,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -462185,7 +463303,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -466589,7 +467706,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -469850,7 +470966,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -473079,7 +474194,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -476413,7 +477527,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -490153,7 +491266,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -617681,7 +618793,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" ], @@ -620758,7 +621870,7 @@ "category": "search", "subcategory": "search", "deprecationDate": "2025-03-04", - "removalDate": "2025-09-04" + "removalDate": "2025-11-04" }, "deprecated": true } @@ -671641,7 +672753,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -707151,7 +708262,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -711094,7 +712204,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -715039,7 +716148,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -726399,7 +727507,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -730344,7 +731451,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -773314,6 +774420,96 @@ "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", @@ -778197,6 +779393,96 @@ "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", @@ -783080,6 +784366,96 @@ "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", @@ -787976,6 +789352,96 @@ "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", @@ -978853,7 +980319,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -981775,7 +983240,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -987540,7 +989004,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -990462,7 +991925,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -996227,7 +997689,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1000098,7 +1001559,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1004914,7 +1006374,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1008785,7 +1010244,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1490108,7 +1491566,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1493979,7 +1495436,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1498792,7 +1500248,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1502663,7 +1504118,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1507476,7 +1508930,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1511347,7 +1512800,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1516160,7 +1517612,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -1520031,7 +1521482,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index fca9a71025..cfdb967f5b 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -15483,6 +15483,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: + - *39 + 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': *89 + '401': *23 + '403': *27 + '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: + - *39 + 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': *89 + '401': *23 + '403': *27 + '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: + - *39 + 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': *89 + '401': *23 + '403': *27 + '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: + - *39 + 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': *89 + '401': *23 + '403': *27 + '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 @@ -21814,7 +22133,6 @@ paths: - title - url - user - - author_association - created_at - updated_at comment: &595 @@ -32246,6 +32564,225 @@ 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: + - *74 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the artifact. + minLength: 1 + examples: + - libfoo-1.2.3 + digest: + type: string + description: The digest of the artifact (algorithm:hex-encoded-digest). + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + examples: + - sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + artifact_url: + type: string + format: uri + pattern: "^https://" + description: The URL where the artifact is stored. + examples: + - https://reg.example.com/artifactory/bar/libfoo-1.2.3 + path: + type: string + format: uri + description: The path of the artifact. + examples: + - com/github/bar/libfoo-1.2.3 + registry_url: + type: string + format: uri + pattern: "^https://" + description: The base URL of the artifact registry. + minLength: 1 + examples: + - https://reg.example.com/artifactory/ + repository: + type: string + description: The repository name within the registry. + examples: + - bar + status: + type: string + description: The status of the artifact (e.g., active, inactive). + enum: + - active + - eol + - deleted + default: active + examples: + - 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 + examples: + - 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: + - *74 + - 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 + type: integer + examples: + - 3 + 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 @@ -53984,7 +54521,7 @@ paths: '401': *23 '404': *6 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -54043,7 +54580,7 @@ paths: '404': *6 '422': *7 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -54086,7 +54623,7 @@ paths: '401': *23 '404': *6 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -54199,7 +54736,7 @@ paths: type: string '422': *15 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -54462,7 +54999,7 @@ paths: '403': *27 '401': *23 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -54563,7 +55100,7 @@ paths: message: type: string x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -55329,7 +55866,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 @@ -104955,7 +105493,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 @@ -105307,7 +105845,7 @@ paths: category: search subcategory: search deprecationDate: '2025-03-04' - removalDate: '2025-09-04' + removalDate: '2025-11-04' deprecated: true "/search/labels": get: @@ -120321,6 +120859,7 @@ webhooks: - app - pull_requests installation: *784 + enterprise: *783 organization: *785 repository: *786 sender: *4 @@ -120717,6 +121256,7 @@ webhooks: - created check_run: *796 installation: *784 + enterprise: *783 organization: *785 repository: *786 sender: *4 @@ -121116,6 +121656,7 @@ webhooks: - requested_action check_run: *796 installation: *784 + enterprise: *783 organization: *785 repository: *786 requested_action: @@ -121524,6 +122065,7 @@ webhooks: - rerequested check_run: *796 installation: *784 + enterprise: *783 organization: *785 repository: *786 sender: *4 diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index 605da5141d..0a6d83798c 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -7990,6 +7990,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", @@ -19057,6 +19483,312 @@ } } }, + "/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.", + "minLength": 1, + "examples": [ + "libfoo-1.2.3" + ] + }, + "digest": { + "type": "string", + "description": "The digest of the artifact (algorithm:hex-encoded-digest).", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$", + "examples": [ + "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0..." + ] + }, + "artifact_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The URL where the artifact is stored.", + "examples": [ + "https://reg.example.com/artifactory/bar/libfoo-1.2.3" + ] + }, + "path": { + "type": "string", + "format": "uri", + "description": "The path of the artifact.", + "examples": [ + "com/github/bar/libfoo-1.2.3" + ] + }, + "registry_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The base URL of the artifact registry.", + "minLength": 1, + "examples": [ + "https://reg.example.com/artifactory/" + ] + }, + "repository": { + "type": "string", + "description": "The repository name within the registry.", + "examples": [ + "bar" + ] + }, + "status": { + "type": "string", + "description": "The status of the artifact (e.g., active, inactive).", + "enum": [ + "active", + "eol", + "deleted" + ], + "default": "active", + "examples": [ + "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", + "examples": [ + 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", + "type": "integer", + "examples": [ + 3 + ] + }, + "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", @@ -36328,7 +37060,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -36423,7 +37155,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -36487,7 +37219,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -36655,7 +37387,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -36917,7 +37649,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -37081,7 +37813,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -37951,7 +38683,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" ], @@ -74877,7 +75609,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" ], @@ -74985,7 +75717,7 @@ "category": "search", "subcategory": "search", "deprecationDate": "2025-03-04", - "removalDate": "2025-09-04" + "removalDate": "2025-11-04" }, "deprecated": true } @@ -124417,7 +125149,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -168949,6 +169680,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -168995,6 +169729,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -169041,6 +169778,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -169098,6 +169838,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index a0b3f0129f..2deea6e5a4 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -5672,6 +5672,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 @@ -13661,6 +13996,225 @@ 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. + minLength: 1 + examples: + - libfoo-1.2.3 + digest: + type: string + description: The digest of the artifact (algorithm:hex-encoded-digest). + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + examples: + - sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + artifact_url: + type: string + format: uri + pattern: "^https://" + description: The URL where the artifact is stored. + examples: + - https://reg.example.com/artifactory/bar/libfoo-1.2.3 + path: + type: string + format: uri + description: The path of the artifact. + examples: + - com/github/bar/libfoo-1.2.3 + registry_url: + type: string + format: uri + pattern: "^https://" + description: The base URL of the artifact registry. + minLength: 1 + examples: + - https://reg.example.com/artifactory/ + repository: + type: string + description: The repository name within the registry. + examples: + - bar + status: + type: string + description: The status of the artifact (e.g., active, inactive). + enum: + - active + - eol + - deleted + default: active + examples: + - 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 + examples: + - 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 + type: integer + examples: + - 3 + 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 @@ -26216,7 +26770,7 @@ paths: '404': "$ref": "#/components/responses/not_found" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26282,7 +26836,7 @@ paths: '422': "$ref": "#/components/responses/validation_failed_simple" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26328,7 +26882,7 @@ paths: '404': "$ref": "#/components/responses/not_found" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26444,7 +26998,7 @@ paths: '422': "$ref": "#/components/responses/validation_failed" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26630,7 +27184,7 @@ paths: '401': "$ref": "#/components/responses/requires_authentication" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26736,7 +27290,7 @@ paths: message: type: string x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -27375,7 +27929,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 @@ -54064,7 +54619,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 @@ -54148,7 +54703,7 @@ paths: category: search subcategory: search deprecationDate: '2025-03-04' - removalDate: '2025-09-04' + removalDate: '2025-11-04' deprecated: true "/search/labels": get: @@ -90082,7 +90637,6 @@ components: - title - url - user - - author_association - created_at - updated_at issue-comment: @@ -122481,6 +123035,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: @@ -122514,6 +123070,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: @@ -122547,6 +123105,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: @@ -122589,6 +123149,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-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index 605da5141d..0a6d83798c 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -7990,6 +7990,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", @@ -19057,6 +19483,312 @@ } } }, + "/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.", + "minLength": 1, + "examples": [ + "libfoo-1.2.3" + ] + }, + "digest": { + "type": "string", + "description": "The digest of the artifact (algorithm:hex-encoded-digest).", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$", + "examples": [ + "sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0..." + ] + }, + "artifact_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The URL where the artifact is stored.", + "examples": [ + "https://reg.example.com/artifactory/bar/libfoo-1.2.3" + ] + }, + "path": { + "type": "string", + "format": "uri", + "description": "The path of the artifact.", + "examples": [ + "com/github/bar/libfoo-1.2.3" + ] + }, + "registry_url": { + "type": "string", + "format": "uri", + "pattern": "^https://", + "description": "The base URL of the artifact registry.", + "minLength": 1, + "examples": [ + "https://reg.example.com/artifactory/" + ] + }, + "repository": { + "type": "string", + "description": "The repository name within the registry.", + "examples": [ + "bar" + ] + }, + "status": { + "type": "string", + "description": "The status of the artifact (e.g., active, inactive).", + "enum": [ + "active", + "eol", + "deleted" + ], + "default": "active", + "examples": [ + "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", + "examples": [ + 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", + "type": "integer", + "examples": [ + 3 + ] + }, + "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", @@ -36328,7 +37060,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -36423,7 +37155,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -36487,7 +37219,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -36655,7 +37387,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -36917,7 +37649,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -37081,7 +37813,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", "subcategory": "cards", @@ -37951,7 +38683,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" ], @@ -74877,7 +75609,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" ], @@ -74985,7 +75717,7 @@ "category": "search", "subcategory": "search", "deprecationDate": "2025-03-04", - "removalDate": "2025-09-04" + "removalDate": "2025-11-04" }, "deprecated": true } @@ -124417,7 +125149,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -168949,6 +169680,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -168995,6 +169729,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -169041,6 +169778,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, @@ -169098,6 +169838,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index a0b3f0129f..2deea6e5a4 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -5672,6 +5672,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 @@ -13661,6 +13996,225 @@ 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. + minLength: 1 + examples: + - libfoo-1.2.3 + digest: + type: string + description: The digest of the artifact (algorithm:hex-encoded-digest). + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + examples: + - sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0... + artifact_url: + type: string + format: uri + pattern: "^https://" + description: The URL where the artifact is stored. + examples: + - https://reg.example.com/artifactory/bar/libfoo-1.2.3 + path: + type: string + format: uri + description: The path of the artifact. + examples: + - com/github/bar/libfoo-1.2.3 + registry_url: + type: string + format: uri + pattern: "^https://" + description: The base URL of the artifact registry. + minLength: 1 + examples: + - https://reg.example.com/artifactory/ + repository: + type: string + description: The repository name within the registry. + examples: + - bar + status: + type: string + description: The status of the artifact (e.g., active, inactive). + enum: + - active + - eol + - deleted + default: active + examples: + - 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 + examples: + - 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 + type: integer + examples: + - 3 + 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 @@ -26216,7 +26770,7 @@ paths: '404': "$ref": "#/components/responses/not_found" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26282,7 +26836,7 @@ paths: '422': "$ref": "#/components/responses/validation_failed_simple" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26328,7 +26882,7 @@ paths: '404': "$ref": "#/components/responses/not_found" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26444,7 +26998,7 @@ paths: '422': "$ref": "#/components/responses/validation_failed" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26630,7 +27184,7 @@ paths: '401': "$ref": "#/components/responses/requires_authentication" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -26736,7 +27290,7 @@ paths: message: type: string x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards @@ -27375,7 +27929,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 @@ -54064,7 +54619,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 @@ -54148,7 +54703,7 @@ paths: category: search subcategory: search deprecationDate: '2025-03-04' - removalDate: '2025-09-04' + removalDate: '2025-11-04' deprecated: true "/search/labels": get: @@ -90082,7 +90637,6 @@ components: - title - url - user - - author_association - created_at - updated_at issue-comment: @@ -122481,6 +123035,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: @@ -122514,6 +123070,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: @@ -122547,6 +123105,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: @@ -122589,6 +123149,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-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json index 91f5508ac3..cf550bb5b3 100644 --- a/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json @@ -49800,7 +49800,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -68016,7 +68015,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -75184,7 +75182,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -105119,7 +105116,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -114200,7 +114196,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -166812,7 +166807,7 @@ "/projects/columns/cards/{card_id}": { "get": { "summary": "Get a project card", - "description": "Gets information about 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" ], @@ -167230,15 +167225,18 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "cards" - } + "subcategory": "cards", + "deprecationDate": "2024-05-23", + "removalDate": "2025-04-01" + }, + "deprecated": true }, "patch": { "summary": "Update an existing project card", - "description": "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" ], @@ -167723,15 +167721,18 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "cards" - } + "subcategory": "cards", + "deprecationDate": "2024-05-23", + "removalDate": "2025-04-01" + }, + "deprecated": true }, "delete": { "summary": "Delete a project card", - "description": "Deletes 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" ], @@ -167836,17 +167837,20 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "cards" - } + "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": "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" ], @@ -168102,11 +168106,14 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "cards" - } + "subcategory": "cards", + "deprecationDate": "2024-05-23", + "removalDate": "2025-04-01" + }, + "deprecated": true } }, "/projects/columns/{column_id}": { @@ -168617,7 +168624,7 @@ "/projects/columns/{column_id}/cards": { "get": { "summary": "List project cards", - "description": "Lists the project cards in a project.", + "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" ], @@ -169055,15 +169062,18 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "cards" - } + "subcategory": "cards", + "deprecationDate": "2024-05-23", + "removalDate": "2025-04-01" + }, + "deprecated": true }, "post": { "summary": "Create a project card", - "description": "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" ], @@ -169652,11 +169662,14 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "cards" - } + "subcategory": "cards", + "deprecationDate": "2024-05-23", + "removalDate": "2025-04-01" + }, + "deprecated": true } }, "/projects/columns/{column_id}/moves": { @@ -173147,7 +173160,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-server@3.14/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-server@3.14/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" ], @@ -292702,7 +292715,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -313402,7 +313414,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -316780,7 +316791,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -324316,7 +324326,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -329244,7 +329253,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -333969,7 +333977,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -337330,7 +337337,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -340691,7 +340697,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -343849,7 +343854,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -373649,7 +373653,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -500779,7 +500782,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -532497,7 +532499,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -536428,7 +536429,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -540361,7 +540361,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -551581,7 +551580,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -555514,7 +555512,6 @@ "title", "url", "user", - "author_association", "created_at", "updated_at" ] @@ -588059,6 +588056,96 @@ "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-server@3.14/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", @@ -592887,6 +592974,96 @@ "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-server@3.14/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", @@ -597715,6 +597892,96 @@ "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-server@3.14/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", @@ -602556,6 +602823,96 @@ "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-server@3.14/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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.", diff --git a/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml index 3a5db2ba2f..2aeb035e0d 100644 --- a/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml +++ b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml @@ -15554,7 +15554,6 @@ paths: - title - url - user - - author_association - created_at - updated_at comment: &441 @@ -39800,7 +39799,10 @@ paths: "/projects/columns/cards/{card_id}": get: summary: Get a project card - description: Gets information about 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 @@ -39931,13 +39933,19 @@ paths: '401': *39 '404': *24 x-github: - githubCloudOnly: false + githubCloudOnly: true 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: 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 @@ -39984,13 +39992,19 @@ paths: '404': *24 '422': *25 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true delete: summary: Delete a project card - description: Deletes 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 @@ -40021,14 +40035,20 @@ paths: '401': *39 '404': *24 x-github: - githubCloudOnly: false + githubCloudOnly: true 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: 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 @@ -40128,10 +40148,13 @@ paths: type: string '422': *33 x-github: - githubCloudOnly: false + githubCloudOnly: true 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 @@ -40299,7 +40322,10 @@ paths: "/projects/columns/{column_id}/cards": get: summary: List project cards - description: Lists the project cards in a project. + 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 @@ -40367,13 +40393,19 @@ paths: '403': *41 '401': *39 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: true category: projects-classic subcategory: cards + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true post: summary: Create a project card - description: 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 @@ -40462,10 +40494,13 @@ paths: message: type: string x-github: - githubCloudOnly: false + githubCloudOnly: true 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 @@ -41179,7 +41214,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-server@3.14/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-server@3.14/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 @@ -96032,6 +96068,7 @@ webhooks: - app - pull_requests installation: *599 + enterprise: *598 organization: *600 repository: *601 sender: *17 @@ -96438,6 +96475,7 @@ webhooks: - created check_run: *606 installation: *599 + enterprise: *598 organization: *600 repository: *601 sender: *17 @@ -96847,6 +96885,7 @@ webhooks: - requested_action check_run: *606 installation: *599 + enterprise: *598 organization: *600 repository: *601 requested_action: @@ -97265,6 +97304,7 @@ webhooks: - rerequested check_run: *606 installation: *599 + enterprise: *598 organization: *600 repository: *601 sen{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}