From d14957b7ce2f4d59f7e39ef054a7bd133606efb6 Mon Sep 17 00:00:00 2001 From: Octokit Bot Date: Wed, 25 Oct 2023 15:31:21 -0500 Subject: [PATCH] fix: description and sample payload updates (#365) --- cache/api.github.com.json | 259 +++++++++++++----- cache/ghec.json | 259 +++++++++++++----- cache/ghes-3.10.json | 94 +++---- cache/ghes-3.7.json | 84 +++--- cache/ghes-3.8.json | 94 +++---- cache/ghes-3.9.json | 94 +++---- cache/github.ae.json | 82 +++--- packages/openapi-types-ghec/package.json | 2 +- packages/openapi-types-ghec/types.d.ts | 20 +- packages/openapi-types-ghes-3.10/package.json | 2 +- packages/openapi-types-ghes-3.10/types.d.ts | 3 +- packages/openapi-types-ghes-3.7/package.json | 2 +- packages/openapi-types-ghes-3.7/types.d.ts | 3 +- packages/openapi-types-ghes-3.8/package.json | 2 +- packages/openapi-types-ghes-3.8/types.d.ts | 3 +- packages/openapi-types-ghes-3.9/package.json | 2 +- packages/openapi-types-ghes-3.9/types.d.ts | 3 +- packages/openapi-types-github.ae/package.json | 2 +- packages/openapi-types-github.ae/types.d.ts | 3 +- packages/openapi-types/package.json | 2 +- packages/openapi-types/types.d.ts | 20 +- 21 files changed, 641 insertions(+), 394 deletions(-) diff --git a/cache/api.github.com.json b/cache/api.github.com.json index 6ac90fba6..bf0419c00 100644 --- a/cache/api.github.com.json +++ b/cache/api.github.com.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "13.1.0", + "version": "13.2.0", "title": "GitHub's official OpenAPI spec + Octokit extension", "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs", "license": { @@ -15583,23 +15583,8 @@ } }, "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/org-repo-custom-property-values" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/org-repo-custom-property-values" - } - } - } - } + "204": { + "description": "No Content when custom property values are successfully created or updated" }, "403": { "$ref": "#/components/responses/forbidden" @@ -38029,7 +38014,7 @@ "operationId": "repos/list-webhooks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/webhooks/repos#list-repository-webhooks" + "url": "https://docs.github.com/rest/repos/webhooks#list-repository-webhooks" }, "parameters": [ { @@ -38076,8 +38061,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -38090,7 +38075,7 @@ "operationId": "repos/create-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/webhooks/repos#create-a-repository-webhook" + "url": "https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook" }, "parameters": [ { @@ -38213,8 +38198,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -38229,7 +38214,7 @@ "operationId": "repos/get-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/webhooks/repos#get-a-repository-webhook" + "url": "https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook" }, "parameters": [ { @@ -38265,8 +38250,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -38279,7 +38264,7 @@ "operationId": "repos/update-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/webhooks/repos#update-a-repository-webhook" + "url": "https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook" }, "parameters": [ { @@ -38398,8 +38383,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -38412,7 +38397,7 @@ "operationId": "repos/delete-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/webhooks/repos#delete-a-repository-webhook" + "url": "https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook" }, "parameters": [ { @@ -38436,8 +38421,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -38452,7 +38437,7 @@ "operationId": "repos/get-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -38485,8 +38470,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-config" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -38499,7 +38484,7 @@ "operationId": "repos/update-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -38566,8 +38551,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-config" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -38582,7 +38567,7 @@ "operationId": "repos/list-webhook-deliveries", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook" + "url": "https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook" }, "parameters": [ { @@ -38638,8 +38623,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -38654,7 +38639,7 @@ "operationId": "repos/get-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -38696,8 +38681,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -38712,7 +38697,7 @@ "operationId": "repos/redeliver-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -38742,8 +38727,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -38758,7 +38743,7 @@ "operationId": "repos/ping-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/webhooks/repos#ping-a-repository-webhook" + "url": "https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook" }, "parameters": [ { @@ -38782,8 +38767,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -38798,7 +38783,7 @@ "operationId": "repos/test-push-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/webhooks/repos#test-the-push-repository-webhook" + "url": "https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook" }, "parameters": [ { @@ -38822,8 +38807,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -42924,6 +42909,9 @@ } } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -44699,7 +44687,7 @@ "/repos/{owner}/{repo}/properties/values": { "get": { "summary": "Get all custom property values for a repository", - "description": "Gets all custom property values that are set for a repository.\nUsers with admin access to the repository can use this endpoint.", + "description": "Gets all custom property values that are set for a repository.\nUsers with read access to the repository can use this endpoint.", "tags": [ "repos" ], @@ -78303,7 +78291,7 @@ "pull-request-edited": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "The title or body of a pull request was edited.", + "description": "The title or body of a pull request was edited, or the base branch of a pull request was changed.", "operationId": "pull-request/edited", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" @@ -97770,7 +97758,9 @@ }, "url": { "type": "string", - "description": "The API URL for the advisory." + "format": "uri", + "description": "The API URL for the advisory.", + "readOnly": true }, "html_url": { "type": "string", @@ -101454,7 +101444,8 @@ "enum": [ "queued", "in_progress", - "completed" + "completed", + "waiting" ] }, "conclusion": { @@ -285828,7 +285819,8 @@ "permission": "admin", "parent": null } - ] + ], + "private_fork": null }, { "ghsa_id": "GHSA-1234-5678-9012", @@ -285894,11 +285886,9 @@ "published_at": "2020-01-04T00:00:00Z", "closed_at": null, "withdrawn_at": null, - "submission": [ - { - "accepted": true - } - ], + "submission": { + "accepted": true + }, "vulnerabilities": [ { "package": { @@ -286006,7 +285996,74 @@ "permission": "admin", "parent": null } - ] + ], + "private_fork": { + "id": 217723378, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", + "name": "octo-repo-ghsa-1234-5678-9012", + "full_name": "octo-org/octo-repo-ghsa-1234-5678-9012", + "owner": { + "login": "octo-org", + "id": 6811672, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", + "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/octo-org", + "html_url": "https://github.com/octo-org", + "followers_url": "https://api.github.com/users/octo-org/followers", + "following_url": "https://api.github.com/users/octo-org/following{/other_user}", + "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", + "organizations_url": "https://api.github.com/users/octo-org/orgs", + "repos_url": "https://api.github.com/users/octo-org/repos", + "events_url": "https://api.github.com/users/octo-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/octo-org/received_events", + "type": "Organization", + "site_admin": false + }, + "private": true, + "html_url": "https://github.com/octo-org/octo-repo-ghsa-1234-5678-9012", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012", + "archive_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/comments{/number}", + "commits_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/commits{/sha}", + "compare_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/contributors", + "deployments_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/deployments", + "downloads_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/downloads", + "events_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/events", + "forks_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/forks", + "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/hooks", + "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/issues{/number}", + "keys_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/labels{/name}", + "languages_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/languages", + "merges_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/merges", + "milestones_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/pulls{/number}", + "releases_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/stargazers", + "statuses_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/subscribers", + "subscription_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/subscription", + "tags_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/tags", + "teams_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/teams", + "trees_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/trees{/sha}" + } } ] }, @@ -300090,7 +300147,74 @@ "permission": "admin", "parent": null } - ] + ], + "private_fork": { + "id": 217723378, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", + "name": "octo-repo-ghsa-abcd-1234-efgh", + "full_name": "octo-org/octo-repo-ghsa-abcd-1234-efgh", + "owner": { + "login": "octo-org", + "id": 6811672, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", + "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/octo-org", + "html_url": "https://github.com/octo-org", + "followers_url": "https://api.github.com/users/octo-org/followers", + "following_url": "https://api.github.com/users/octo-org/following{/other_user}", + "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", + "organizations_url": "https://api.github.com/users/octo-org/orgs", + "repos_url": "https://api.github.com/users/octo-org/repos", + "events_url": "https://api.github.com/users/octo-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/octo-org/received_events", + "type": "Organization", + "site_admin": false + }, + "private": true, + "html_url": "https://github.com/octo-org/octo-repo-ghsa-abcd-1234-efgh", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh", + "archive_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/comments{/number}", + "commits_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/commits{/sha}", + "compare_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/contributors", + "deployments_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/deployments", + "downloads_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/downloads", + "events_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/events", + "forks_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/forks", + "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/hooks", + "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/issues{/number}", + "keys_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/labels{/name}", + "languages_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/languages", + "merges_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/merges", + "milestones_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/pulls{/number}", + "releases_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/stargazers", + "statuses_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/subscribers", + "subscription_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/subscription", + "tags_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/tags", + "teams_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/teams", + "trees_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/trees{/sha}" + } } }, "repository-advisory-pvr": { @@ -300235,7 +300359,8 @@ "permission": "admin", "parent": null } - ] + ], + "private_fork": null } }, "simple-user-items-default-response": { diff --git a/cache/ghec.json b/cache/ghec.json index cb99e9866..8ba5ef288 100644 --- a/cache/ghec.json +++ b/cache/ghec.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "13.1.0", + "version": "13.2.0", "title": "GitHub's official OpenAPI spec + Octokit extension", "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs", "license": { @@ -20209,23 +20209,8 @@ } }, "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/org-repo-custom-property-values" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/org-repo-custom-property-values" - } - } - } - } + "204": { + "description": "No Content when custom property values are successfully created or updated" }, "403": { "$ref": "#/components/responses/forbidden" @@ -43123,7 +43108,7 @@ "operationId": "repos/list-webhooks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/webhooks/repos#list-repository-webhooks" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks" }, "parameters": [ { @@ -43170,8 +43155,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -43184,7 +43169,7 @@ "operationId": "repos/create-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/webhooks/repos#create-a-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook" }, "parameters": [ { @@ -43307,8 +43292,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -43323,7 +43308,7 @@ "operationId": "repos/get-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/webhooks/repos#get-a-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook" }, "parameters": [ { @@ -43359,8 +43344,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -43373,7 +43358,7 @@ "operationId": "repos/update-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/webhooks/repos#update-a-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook" }, "parameters": [ { @@ -43492,8 +43477,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -43506,7 +43491,7 @@ "operationId": "repos/delete-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/webhooks/repos#delete-a-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook" }, "parameters": [ { @@ -43530,8 +43515,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -43546,7 +43531,7 @@ "operationId": "repos/get-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -43579,8 +43564,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-config" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -43593,7 +43578,7 @@ "operationId": "repos/update-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -43660,8 +43645,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-config" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -43676,7 +43661,7 @@ "operationId": "repos/list-webhook-deliveries", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook" }, "parameters": [ { @@ -43732,8 +43717,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -43748,7 +43733,7 @@ "operationId": "repos/get-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -43790,8 +43775,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -43806,7 +43791,7 @@ "operationId": "repos/redeliver-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -43836,8 +43821,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -43852,7 +43837,7 @@ "operationId": "repos/ping-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/webhooks/repos#ping-a-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook" }, "parameters": [ { @@ -43876,8 +43861,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -43892,7 +43877,7 @@ "operationId": "repos/test-push-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/webhooks/repos#test-the-push-repository-webhook" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook" }, "parameters": [ { @@ -43916,8 +43901,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -48087,6 +48072,9 @@ } } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -49866,7 +49854,7 @@ "/repos/{owner}/{repo}/properties/values": { "get": { "summary": "Get all custom property values for a repository", - "description": "Gets all custom property values that are set for a repository.\nUsers with admin access to the repository can use this endpoint.", + "description": "Gets all custom property values that are set for a repository.\nUsers with read access to the repository can use this endpoint.", "tags": [ "repos" ], @@ -85309,7 +85297,7 @@ "pull-request-edited": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "The title or body of a pull request was edited.", + "description": "The title or body of a pull request was edited, or the base branch of a pull request was changed.", "operationId": "pull-request/edited", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" @@ -106394,7 +106382,9 @@ }, "url": { "type": "string", - "description": "The API URL for the advisory." + "format": "uri", + "description": "The API URL for the advisory.", + "readOnly": true }, "html_url": { "type": "string", @@ -110005,7 +109995,8 @@ "enum": [ "queued", "in_progress", - "completed" + "completed", + "waiting" ] }, "conclusion": { @@ -296428,7 +296419,8 @@ "permission": "admin", "parent": null } - ] + ], + "private_fork": null }, { "ghsa_id": "GHSA-1234-5678-9012", @@ -296494,11 +296486,9 @@ "published_at": "2020-01-04T00:00:00Z", "closed_at": null, "withdrawn_at": null, - "submission": [ - { - "accepted": true - } - ], + "submission": { + "accepted": true + }, "vulnerabilities": [ { "package": { @@ -296606,7 +296596,74 @@ "permission": "admin", "parent": null } - ] + ], + "private_fork": { + "id": 217723378, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", + "name": "octo-repo-ghsa-1234-5678-9012", + "full_name": "octo-org/octo-repo-ghsa-1234-5678-9012", + "owner": { + "login": "octo-org", + "id": 6811672, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", + "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/octo-org", + "html_url": "https://github.com/octo-org", + "followers_url": "https://api.github.com/users/octo-org/followers", + "following_url": "https://api.github.com/users/octo-org/following{/other_user}", + "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", + "organizations_url": "https://api.github.com/users/octo-org/orgs", + "repos_url": "https://api.github.com/users/octo-org/repos", + "events_url": "https://api.github.com/users/octo-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/octo-org/received_events", + "type": "Organization", + "site_admin": false + }, + "private": true, + "html_url": "https://github.com/octo-org/octo-repo-ghsa-1234-5678-9012", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012", + "archive_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/comments{/number}", + "commits_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/commits{/sha}", + "compare_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/contributors", + "deployments_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/deployments", + "downloads_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/downloads", + "events_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/events", + "forks_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/forks", + "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/hooks", + "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/issues{/number}", + "keys_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/labels{/name}", + "languages_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/languages", + "merges_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/merges", + "milestones_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/pulls{/number}", + "releases_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/stargazers", + "statuses_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/subscribers", + "subscription_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/subscription", + "tags_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/tags", + "teams_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/teams", + "trees_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/trees{/sha}" + } } ] }, @@ -310696,7 +310753,74 @@ "permission": "admin", "parent": null } - ] + ], + "private_fork": { + "id": 217723378, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", + "name": "octo-repo-ghsa-abcd-1234-efgh", + "full_name": "octo-org/octo-repo-ghsa-abcd-1234-efgh", + "owner": { + "login": "octo-org", + "id": 6811672, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", + "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/octo-org", + "html_url": "https://github.com/octo-org", + "followers_url": "https://api.github.com/users/octo-org/followers", + "following_url": "https://api.github.com/users/octo-org/following{/other_user}", + "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", + "organizations_url": "https://api.github.com/users/octo-org/orgs", + "repos_url": "https://api.github.com/users/octo-org/repos", + "events_url": "https://api.github.com/users/octo-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/octo-org/received_events", + "type": "Organization", + "site_admin": false + }, + "private": true, + "html_url": "https://github.com/octo-org/octo-repo-ghsa-abcd-1234-efgh", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh", + "archive_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/comments{/number}", + "commits_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/commits{/sha}", + "compare_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/contributors", + "deployments_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/deployments", + "downloads_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/downloads", + "events_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/events", + "forks_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/forks", + "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/hooks", + "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/issues{/number}", + "keys_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/labels{/name}", + "languages_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/languages", + "merges_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/merges", + "milestones_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/pulls{/number}", + "releases_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/stargazers", + "statuses_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/subscribers", + "subscription_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/subscription", + "tags_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/tags", + "teams_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/teams", + "trees_url": "https://api.github.com/repos/octo-org/octo-repo-ghsa-abcd-1234-efgh/git/trees{/sha}" + } } }, "repository-advisory-pvr": { @@ -310841,7 +310965,8 @@ "permission": "admin", "parent": null } - ] + ], + "private_fork": null } }, "simple-user-items-default-response": { diff --git a/cache/ghes-3.10.json b/cache/ghes-3.10.json index 015199c3c..3e5716875 100644 --- a/cache/ghes-3.10.json +++ b/cache/ghes-3.10.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "13.1.0", + "version": "13.2.0", "title": "GitHub's official OpenAPI spec + Octokit extension", "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs", "license": { @@ -40252,7 +40252,7 @@ "operationId": "repos/list-webhooks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repos#list-repository-webhooks" + "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#list-repository-webhooks" }, "parameters": [ { @@ -40299,8 +40299,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -40313,7 +40313,7 @@ "operationId": "repos/create-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repos#create-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#create-a-repository-webhook" }, "parameters": [ { @@ -40436,8 +40436,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -40452,7 +40452,7 @@ "operationId": "repos/get-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repos#get-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#get-a-repository-webhook" }, "parameters": [ { @@ -40488,8 +40488,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -40502,7 +40502,7 @@ "operationId": "repos/update-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repos#update-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#update-a-repository-webhook" }, "parameters": [ { @@ -40621,8 +40621,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -40635,7 +40635,7 @@ "operationId": "repos/delete-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repos#delete-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#delete-a-repository-webhook" }, "parameters": [ { @@ -40659,8 +40659,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -40675,7 +40675,7 @@ "operationId": "repos/get-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -40708,8 +40708,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-config" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -40722,7 +40722,7 @@ "operationId": "repos/update-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -40789,8 +40789,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-config" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -40805,7 +40805,7 @@ "operationId": "repos/list-webhook-deliveries", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#list-deliveries-for-a-repository-webhook" }, "parameters": [ { @@ -40861,8 +40861,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -40877,7 +40877,7 @@ "operationId": "repos/get-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -40919,8 +40919,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -40935,7 +40935,7 @@ "operationId": "repos/redeliver-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -40965,8 +40965,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -40981,7 +40981,7 @@ "operationId": "repos/ping-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repos#ping-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#ping-a-repository-webhook" }, "parameters": [ { @@ -41005,8 +41005,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -41021,7 +41021,7 @@ "operationId": "repos/test-push-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repos#test-the-push-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#test-the-push-repository-webhook" }, "parameters": [ { @@ -41045,8 +41045,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -44443,6 +44443,9 @@ } } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -79104,7 +79107,7 @@ "pull-request-edited": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.10/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "The title or body of a pull request was edited.", + "description": "The title or body of a pull request was edited, or the base branch of a pull request was changed.", "operationId": "pull-request/edited", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.10/webhooks/webhook-events-and-payloads#pull_request" @@ -101779,7 +101782,8 @@ "enum": [ "queued", "in_progress", - "completed" + "completed", + "waiting" ] }, "conclusion": { @@ -278162,7 +278166,6 @@ "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", "svn_url": "https://svn.github.com/octocat/Hello-World", "homepage": "https://github.com", - "language": null, "forks_count": 9, "forks": 9, "stargazers_count": 80, @@ -278547,7 +278550,6 @@ "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", "svn_url": "https://svn.github.com/octocat/Hello-World", "homepage": "https://github.com", - "language": null, "forks_count": 9, "stargazers_count": 80, "watchers_count": 80, @@ -289790,16 +289792,10 @@ "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42", "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations", "state": "open", - "resolution": null, - "resolved_at": null, - "resolved_by": null, "secret_type": "mailchimp_api_key", "secret_type_display_name": "Mailchimp API Key", "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", - "push_protection_bypassed_by": null, - "push_protection_bypassed": false, - "push_protection_bypassed_at": null, - "resolution_comment": null + "push_protection_bypassed": false } }, "secret-scanning-alert-resolved": { @@ -289836,8 +289832,6 @@ "secret_type_display_name": "Mailchimp API Key", "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", "push_protection_bypassed": false, - "push_protection_bypassed_by": null, - "push_protection_bypassed_at": null, "resolution_comment": "Example comment" } }, diff --git a/cache/ghes-3.7.json b/cache/ghes-3.7.json index 593741c1a..4579a2b55 100644 --- a/cache/ghes-3.7.json +++ b/cache/ghes-3.7.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "13.1.0", + "version": "13.2.0", "title": "GitHub's official OpenAPI spec + Octokit extension", "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs", "license": { @@ -35528,7 +35528,7 @@ "operationId": "repos/list-webhooks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.7/rest/webhooks/repos#list-repository-webhooks" + "url": "https://docs.github.com/enterprise-server@3.7/rest/repos/webhooks#list-repository-webhooks" }, "parameters": [ { @@ -35575,8 +35575,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -35589,7 +35589,7 @@ "operationId": "repos/create-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.7/rest/webhooks/repos#create-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.7/rest/repos/webhooks#create-a-repository-webhook" }, "parameters": [ { @@ -35712,8 +35712,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -35728,7 +35728,7 @@ "operationId": "repos/get-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.7/rest/webhooks/repos#get-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.7/rest/repos/webhooks#get-a-repository-webhook" }, "parameters": [ { @@ -35764,8 +35764,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -35778,7 +35778,7 @@ "operationId": "repos/update-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.7/rest/webhooks/repos#update-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.7/rest/repos/webhooks#update-a-repository-webhook" }, "parameters": [ { @@ -35897,8 +35897,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -35911,7 +35911,7 @@ "operationId": "repos/delete-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.7/rest/webhooks/repos#delete-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.7/rest/repos/webhooks#delete-a-repository-webhook" }, "parameters": [ { @@ -35935,8 +35935,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -35951,7 +35951,7 @@ "operationId": "repos/get-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.7/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.7/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -35984,8 +35984,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-config" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -35998,7 +35998,7 @@ "operationId": "repos/update-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.7/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.7/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -36065,8 +36065,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-config" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -36081,7 +36081,7 @@ "operationId": "repos/list-webhook-deliveries", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.7/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.7/rest/repos/webhooks#list-deliveries-for-a-repository-webhook" }, "parameters": [ { @@ -36137,8 +36137,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -36153,7 +36153,7 @@ "operationId": "repos/get-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.7/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.7/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -36195,8 +36195,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -36211,7 +36211,7 @@ "operationId": "repos/redeliver-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.7/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.7/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -36241,8 +36241,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -36257,7 +36257,7 @@ "operationId": "repos/ping-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.7/rest/webhooks/repos#ping-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.7/rest/repos/webhooks#ping-a-repository-webhook" }, "parameters": [ { @@ -36281,8 +36281,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -36297,7 +36297,7 @@ "operationId": "repos/test-push-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.7/rest/webhooks/repos#test-the-push-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.7/rest/repos/webhooks#test-the-push-repository-webhook" }, "parameters": [ { @@ -36321,8 +36321,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -39719,6 +39719,9 @@ } } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -71434,7 +71437,7 @@ "pull-request-edited": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.7/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.7/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "The title or body of a pull request was edited.", + "description": "The title or body of a pull request was edited, or the base branch of a pull request was changed.", "operationId": "pull-request/edited", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.7/webhooks/webhook-events-and-payloads#pull_request" @@ -92198,7 +92201,8 @@ "enum": [ "queued", "in_progress", - "completed" + "completed", + "waiting" ] }, "conclusion": { @@ -266200,7 +266204,6 @@ "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", "svn_url": "https://svn.github.com/octocat/Hello-World", "homepage": "https://github.com", - "language": null, "forks_count": 9, "forks": 9, "stargazers_count": 80, @@ -266585,7 +266588,6 @@ "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", "svn_url": "https://svn.github.com/octocat/Hello-World", "homepage": "https://github.com", - "language": null, "forks_count": 9, "stargazers_count": 80, "watchers_count": 80, diff --git a/cache/ghes-3.8.json b/cache/ghes-3.8.json index ed94ebca4..c87285529 100644 --- a/cache/ghes-3.8.json +++ b/cache/ghes-3.8.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "13.1.0", + "version": "13.2.0", "title": "GitHub's official OpenAPI spec + Octokit extension", "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs", "license": { @@ -37219,7 +37219,7 @@ "operationId": "repos/list-webhooks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.8/rest/webhooks/repos#list-repository-webhooks" + "url": "https://docs.github.com/enterprise-server@3.8/rest/repos/webhooks#list-repository-webhooks" }, "parameters": [ { @@ -37266,8 +37266,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -37280,7 +37280,7 @@ "operationId": "repos/create-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.8/rest/webhooks/repos#create-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.8/rest/repos/webhooks#create-a-repository-webhook" }, "parameters": [ { @@ -37403,8 +37403,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -37419,7 +37419,7 @@ "operationId": "repos/get-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.8/rest/webhooks/repos#get-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.8/rest/repos/webhooks#get-a-repository-webhook" }, "parameters": [ { @@ -37455,8 +37455,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -37469,7 +37469,7 @@ "operationId": "repos/update-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.8/rest/webhooks/repos#update-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.8/rest/repos/webhooks#update-a-repository-webhook" }, "parameters": [ { @@ -37588,8 +37588,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -37602,7 +37602,7 @@ "operationId": "repos/delete-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.8/rest/webhooks/repos#delete-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.8/rest/repos/webhooks#delete-a-repository-webhook" }, "parameters": [ { @@ -37626,8 +37626,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -37642,7 +37642,7 @@ "operationId": "repos/get-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.8/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.8/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -37675,8 +37675,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-config" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -37689,7 +37689,7 @@ "operationId": "repos/update-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.8/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.8/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -37756,8 +37756,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-config" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -37772,7 +37772,7 @@ "operationId": "repos/list-webhook-deliveries", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.8/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.8/rest/repos/webhooks#list-deliveries-for-a-repository-webhook" }, "parameters": [ { @@ -37828,8 +37828,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -37844,7 +37844,7 @@ "operationId": "repos/get-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.8/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.8/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -37886,8 +37886,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -37902,7 +37902,7 @@ "operationId": "repos/redeliver-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.8/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.8/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -37932,8 +37932,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -37948,7 +37948,7 @@ "operationId": "repos/ping-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.8/rest/webhooks/repos#ping-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.8/rest/repos/webhooks#ping-a-repository-webhook" }, "parameters": [ { @@ -37972,8 +37972,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -37988,7 +37988,7 @@ "operationId": "repos/test-push-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.8/rest/webhooks/repos#test-the-push-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.8/rest/repos/webhooks#test-the-push-repository-webhook" }, "parameters": [ { @@ -38012,8 +38012,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -41410,6 +41410,9 @@ } } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -73452,7 +73455,7 @@ "pull-request-edited": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.8/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.8/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.8/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "The title or body of a pull request was edited.", + "description": "The title or body of a pull request was edited, or the base branch of a pull request was changed.", "operationId": "pull-request/edited", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.8/webhooks/webhook-events-and-payloads#pull_request" @@ -94838,7 +94841,8 @@ "enum": [ "queued", "in_progress", - "completed" + "completed", + "waiting" ] }, "conclusion": { @@ -269398,7 +269402,6 @@ "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", "svn_url": "https://svn.github.com/octocat/Hello-World", "homepage": "https://github.com", - "language": null, "forks_count": 9, "forks": 9, "stargazers_count": 80, @@ -269783,7 +269786,6 @@ "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", "svn_url": "https://svn.github.com/octocat/Hello-World", "homepage": "https://github.com", - "language": null, "forks_count": 9, "stargazers_count": 80, "watchers_count": 80, @@ -280887,16 +280889,10 @@ "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42", "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations", "state": "open", - "resolution": null, - "resolved_at": null, - "resolved_by": null, "secret_type": "mailchimp_api_key", "secret_type_display_name": "Mailchimp API Key", "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", - "push_protection_bypassed_by": null, - "push_protection_bypassed": false, - "push_protection_bypassed_at": null, - "resolution_comment": null + "push_protection_bypassed": false } }, "secret-scanning-alert-resolved": { @@ -280933,8 +280929,6 @@ "secret_type_display_name": "Mailchimp API Key", "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", "push_protection_bypassed": false, - "push_protection_bypassed_by": null, - "push_protection_bypassed_at": null, "resolution_comment": "Example comment" } }, diff --git a/cache/ghes-3.9.json b/cache/ghes-3.9.json index ae7089b21..36e3902bf 100644 --- a/cache/ghes-3.9.json +++ b/cache/ghes-3.9.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "13.1.0", + "version": "13.2.0", "title": "GitHub's official OpenAPI spec + Octokit extension", "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs", "license": { @@ -38655,7 +38655,7 @@ "operationId": "repos/list-webhooks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repos#list-repository-webhooks" + "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#list-repository-webhooks" }, "parameters": [ { @@ -38702,8 +38702,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -38716,7 +38716,7 @@ "operationId": "repos/create-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repos#create-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#create-a-repository-webhook" }, "parameters": [ { @@ -38839,8 +38839,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -38855,7 +38855,7 @@ "operationId": "repos/get-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repos#get-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#get-a-repository-webhook" }, "parameters": [ { @@ -38891,8 +38891,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -38905,7 +38905,7 @@ "operationId": "repos/update-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repos#update-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#update-a-repository-webhook" }, "parameters": [ { @@ -39024,8 +39024,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -39038,7 +39038,7 @@ "operationId": "repos/delete-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repos#delete-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#delete-a-repository-webhook" }, "parameters": [ { @@ -39062,8 +39062,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -39078,7 +39078,7 @@ "operationId": "repos/get-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -39111,8 +39111,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-config" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -39125,7 +39125,7 @@ "operationId": "repos/update-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -39192,8 +39192,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-config" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -39208,7 +39208,7 @@ "operationId": "repos/list-webhook-deliveries", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#list-deliveries-for-a-repository-webhook" }, "parameters": [ { @@ -39264,8 +39264,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -39280,7 +39280,7 @@ "operationId": "repos/get-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -39322,8 +39322,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -39338,7 +39338,7 @@ "operationId": "repos/redeliver-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -39368,8 +39368,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -39384,7 +39384,7 @@ "operationId": "repos/ping-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repos#ping-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#ping-a-repository-webhook" }, "parameters": [ { @@ -39408,8 +39408,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -39424,7 +39424,7 @@ "operationId": "repos/test-push-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repos#test-the-push-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#test-the-push-repository-webhook" }, "parameters": [ { @@ -39448,8 +39448,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -42846,6 +42846,9 @@ } } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -77024,7 +77027,7 @@ "pull-request-edited": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "The title or body of a pull request was edited.", + "description": "The title or body of a pull request was edited, or the base branch of a pull request was changed.", "operationId": "pull-request/edited", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.9/webhooks/webhook-events-and-payloads#pull_request" @@ -99329,7 +99332,8 @@ "enum": [ "queued", "in_progress", - "completed" + "completed", + "waiting" ] }, "conclusion": { @@ -274889,7 +274893,6 @@ "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", "svn_url": "https://svn.github.com/octocat/Hello-World", "homepage": "https://github.com", - "language": null, "forks_count": 9, "forks": 9, "stargazers_count": 80, @@ -275274,7 +275277,6 @@ "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", "svn_url": "https://svn.github.com/octocat/Hello-World", "homepage": "https://github.com", - "language": null, "forks_count": 9, "stargazers_count": 80, "watchers_count": 80, @@ -286431,16 +286433,10 @@ "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42", "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations", "state": "open", - "resolution": null, - "resolved_at": null, - "resolved_by": null, "secret_type": "mailchimp_api_key", "secret_type_display_name": "Mailchimp API Key", "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", - "push_protection_bypassed_by": null, - "push_protection_bypassed": false, - "push_protection_bypassed_at": null, - "resolution_comment": null + "push_protection_bypassed": false } }, "secret-scanning-alert-resolved": { @@ -286477,8 +286473,6 @@ "secret_type_display_name": "Mailchimp API Key", "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", "push_protection_bypassed": false, - "push_protection_bypassed_by": null, - "push_protection_bypassed_at": null, "resolution_comment": "Example comment" } }, diff --git a/cache/github.ae.json b/cache/github.ae.json index ae08058eb..41f02c859 100644 --- a/cache/github.ae.json +++ b/cache/github.ae.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "13.1.0", + "version": "13.2.0", "title": "GitHub's official OpenAPI spec + Octokit extension", "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs", "license": { @@ -29152,7 +29152,7 @@ "operationId": "repos/list-webhooks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repos#list-repository-webhooks" + "url": "https://docs.github.com/github-ae@latest/rest/repos/webhooks#list-repository-webhooks" }, "parameters": [ { @@ -29199,8 +29199,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -29213,7 +29213,7 @@ "operationId": "repos/create-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repos#create-a-repository-webhook" + "url": "https://docs.github.com/github-ae@latest/rest/repos/webhooks#create-a-repository-webhook" }, "parameters": [ { @@ -29336,8 +29336,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -29352,7 +29352,7 @@ "operationId": "repos/get-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repos#get-a-repository-webhook" + "url": "https://docs.github.com/github-ae@latest/rest/repos/webhooks#get-a-repository-webhook" }, "parameters": [ { @@ -29388,8 +29388,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -29402,7 +29402,7 @@ "operationId": "repos/update-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repos#update-a-repository-webhook" + "url": "https://docs.github.com/github-ae@latest/rest/repos/webhooks#update-a-repository-webhook" }, "parameters": [ { @@ -29521,8 +29521,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -29535,7 +29535,7 @@ "operationId": "repos/delete-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repos#delete-a-repository-webhook" + "url": "https://docs.github.com/github-ae@latest/rest/repos/webhooks#delete-a-repository-webhook" }, "parameters": [ { @@ -29559,8 +29559,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -29575,7 +29575,7 @@ "operationId": "repos/get-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/github-ae@latest/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -29608,8 +29608,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-config" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} }, @@ -29622,7 +29622,7 @@ "operationId": "repos/update-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/github-ae@latest/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -29689,8 +29689,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-config" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -29705,7 +29705,7 @@ "operationId": "repos/list-webhook-deliveries", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook" + "url": "https://docs.github.com/github-ae@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook" }, "parameters": [ { @@ -29761,8 +29761,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -29777,7 +29777,7 @@ "operationId": "repos/get-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/github-ae@latest/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -29819,8 +29819,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -29835,7 +29835,7 @@ "operationId": "repos/redeliver-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/github-ae@latest/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -29865,8 +29865,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repo-deliveries" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -29881,7 +29881,7 @@ "operationId": "repos/ping-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repos#ping-a-repository-webhook" + "url": "https://docs.github.com/github-ae@latest/rest/repos/webhooks#ping-a-repository-webhook" }, "parameters": [ { @@ -29905,8 +29905,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -29921,7 +29921,7 @@ "operationId": "repos/test-push-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repos#test-the-push-repository-webhook" + "url": "https://docs.github.com/github-ae@latest/rest/repos/webhooks#test-the-push-repository-webhook" }, "parameters": [ { @@ -29945,8 +29945,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "repos" + "category": "repos", + "subcategory": "webhooks" }, "x-octokit": {} } @@ -33385,6 +33385,9 @@ } } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { @@ -58847,7 +58850,7 @@ "pull-request-edited": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/github-ae@latest/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/github-ae@latest/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "The title or body of a pull request was edited.", + "description": "The title or body of a pull request was edited, or the base branch of a pull request was changed.", "operationId": "pull-request/edited", "externalDocs": { "url": "https://docs.github.com/github-ae@latest/webhooks/webhook-events-and-payloads#pull_request" @@ -76569,7 +76572,8 @@ "enum": [ "queued", "in_progress", - "completed" + "completed", + "waiting" ] }, "conclusion": { diff --git a/packages/openapi-types-ghec/package.json b/packages/openapi-types-ghec/package.json index de3e8f6c4..93e8548a0 100644 --- a/packages/openapi-types-ghec/package.json +++ b/packages/openapi-types-ghec/package.json @@ -15,6 +15,6 @@ "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "octokit": { - "openapi-version": "13.1.0" + "openapi-version": "13.2.0" } } diff --git a/packages/openapi-types-ghec/types.d.ts b/packages/openapi-types-ghec/types.d.ts index ecf46a2e1..63c556b38 100644 --- a/packages/openapi-types-ghec/types.d.ts +++ b/packages/openapi-types-ghec/types.d.ts @@ -6764,7 +6764,7 @@ export interface paths { /** * Get all custom property values for a repository * @description Gets all custom property values that are set for a repository. - * Users with admin access to the repository can use this endpoint. + * Users with read access to the repository can use this endpoint. */ get: operations["repos/get-custom-properties-values"]; }; @@ -16318,7 +16318,10 @@ export interface components { ghsa_id: string; /** @description The Common Vulnerabilities and Exposures (CVE) ID. */ cve_id: string | null; - /** @description The API URL for the advisory. */ + /** + * Format: uri + * @description The API URL for the advisory. + */ url: string; /** * Format: uri @@ -18327,7 +18330,7 @@ export interface components { * @example queued * @enum {string} */ - status: "queued" | "in_progress" | "completed"; + status: "queued" | "in_progress" | "completed" | "waiting"; /** * @description The outcome of the job. * @example success @@ -99046,11 +99049,9 @@ export interface operations { }; }; responses: { - /** @description Response */ - 200: { - content: { - "application/json": components["schemas"]["org-repo-custom-property-values"][]; - }; + /** @description No Content when custom property values are successfully created or updated */ + 204: { + content: never; }; 403: components["responses"]["forbidden"]; 404: components["responses"]["not_found"]; @@ -112153,6 +112154,7 @@ export interface operations { "application/json": components["schemas"]["license-content"]; }; }; + 404: components["responses"]["not_found"]; }; }; /** @@ -112920,7 +112922,7 @@ export interface operations { /** * Get all custom property values for a repository * @description Gets all custom property values that are set for a repository. - * Users with admin access to the repository can use this endpoint. + * Users with read access to the repository can use this endpoint. */ "repos/get-custom-properties-values": { parameters: { diff --git a/packages/openapi-types-ghes-3.10/package.json b/packages/openapi-types-ghes-3.10/package.json index a08f09fc6..4374df305 100644 --- a/packages/openapi-types-ghes-3.10/package.json +++ b/packages/openapi-types-ghes-3.10/package.json @@ -15,6 +15,6 @@ "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "octokit": { - "openapi-version": "13.1.0" + "openapi-version": "13.2.0" } } diff --git a/packages/openapi-types-ghes-3.10/types.d.ts b/packages/openapi-types-ghes-3.10/types.d.ts index f44fc0bbf..e02c0ab36 100644 --- a/packages/openapi-types-ghes-3.10/types.d.ts +++ b/packages/openapi-types-ghes-3.10/types.d.ts @@ -15486,7 +15486,7 @@ export interface components { * @example queued * @enum {string} */ - status: "queued" | "in_progress" | "completed"; + status: "queued" | "in_progress" | "completed" | "waiting"; /** * @description The outcome of the job. * @example success @@ -103314,6 +103314,7 @@ export interface operations { "application/json": components["schemas"]["license-content"]; }; }; + 404: components["responses"]["not_found"]; }; }; /** diff --git a/packages/openapi-types-ghes-3.7/package.json b/packages/openapi-types-ghes-3.7/package.json index 4862bfe22..29c56f532 100644 --- a/packages/openapi-types-ghes-3.7/package.json +++ b/packages/openapi-types-ghes-3.7/package.json @@ -15,6 +15,6 @@ "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "octokit": { - "openapi-version": "13.1.0" + "openapi-version": "13.2.0" } } diff --git a/packages/openapi-types-ghes-3.7/types.d.ts b/packages/openapi-types-ghes-3.7/types.d.ts index f1edb54fa..904656036 100644 --- a/packages/openapi-types-ghes-3.7/types.d.ts +++ b/packages/openapi-types-ghes-3.7/types.d.ts @@ -13687,7 +13687,7 @@ export interface components { * @example queued * @enum {string} */ - status: "queued" | "in_progress" | "completed"; + status: "queued" | "in_progress" | "completed" | "waiting"; /** * @description The outcome of the job. * @example success @@ -98418,6 +98418,7 @@ export interface operations { "application/json": components["schemas"]["license-content"]; }; }; + 404: components["responses"]["not_found"]; }; }; /** diff --git a/packages/openapi-types-ghes-3.8/package.json b/packages/openapi-types-ghes-3.8/package.json index 79b1ed3f8..8ec1d0964 100644 --- a/packages/openapi-types-ghes-3.8/package.json +++ b/packages/openapi-types-ghes-3.8/package.json @@ -15,6 +15,6 @@ "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "octokit": { - "openapi-version": "13.1.0" + "openapi-version": "13.2.0" } } diff --git a/packages/openapi-types-ghes-3.8/types.d.ts b/packages/openapi-types-ghes-3.8/types.d.ts index f1bdfcb7c..4367ec490 100644 --- a/packages/openapi-types-ghes-3.8/types.d.ts +++ b/packages/openapi-types-ghes-3.8/types.d.ts @@ -14208,7 +14208,7 @@ export interface components { * @example queued * @enum {string} */ - status: "queued" | "in_progress" | "completed"; + status: "queued" | "in_progress" | "completed" | "waiting"; /** * @description The outcome of the job. * @example success @@ -99930,6 +99930,7 @@ export interface operations { "application/json": components["schemas"]["license-content"]; }; }; + 404: components["responses"]["not_found"]; }; }; /** diff --git a/packages/openapi-types-ghes-3.9/package.json b/packages/openapi-types-ghes-3.9/package.json index e0b675b28..ae638e47e 100644 --- a/packages/openapi-types-ghes-3.9/package.json +++ b/packages/openapi-types-ghes-3.9/package.json @@ -15,6 +15,6 @@ "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "octokit": { - "openapi-version": "13.1.0" + "openapi-version": "13.2.0" } } diff --git a/packages/openapi-types-ghes-3.9/types.d.ts b/packages/openapi-types-ghes-3.9/types.d.ts index 4fb23b5ac..a0ef90119 100644 --- a/packages/openapi-types-ghes-3.9/types.d.ts +++ b/packages/openapi-types-ghes-3.9/types.d.ts @@ -15126,7 +15126,7 @@ export interface components { * @example queued * @enum {string} */ - status: "queued" | "in_progress" | "completed"; + status: "queued" | "in_progress" | "completed" | "waiting"; /** * @description The outcome of the job. * @example success @@ -101892,6 +101892,7 @@ export interface operations { "application/json": components["schemas"]["license-content"]; }; }; + 404: components["responses"]["not_found"]; }; }; /** diff --git a/packages/openapi-types-github.ae/package.json b/packages/openapi-types-github.ae/package.json index e69e0f599..069ec6480 100644 --- a/packages/openapi-types-github.ae/package.json +++ b/packages/openapi-types-github.ae/package.json @@ -15,6 +15,6 @@ "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "octokit": { - "openapi-version": "13.1.0" + "openapi-version": "13.2.0" } } diff --git a/packages/openapi-types-github.ae/types.d.ts b/packages/openapi-types-github.ae/types.d.ts index b297ee51a..4c4042863 100644 --- a/packages/openapi-types-github.ae/types.d.ts +++ b/packages/openapi-types-github.ae/types.d.ts @@ -11551,7 +11551,7 @@ export interface components { * @example queued * @enum {string} */ - status: "queued" | "in_progress" | "completed"; + status: "queued" | "in_progress" | "completed" | "waiting"; /** * @description The outcome of the job. * @example success @@ -91826,6 +91826,7 @@ export interface operations { "application/json": components["schemas"]["license-content"]; }; }; + 404: components["responses"]["not_found"]; }; }; /** diff --git a/packages/openapi-types/package.json b/packages/openapi-types/package.json index 5797863a2..a22c53044 100644 --- a/packages/openapi-types/package.json +++ b/packages/openapi-types/package.json @@ -15,6 +15,6 @@ "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "octokit": { - "openapi-version": "13.1.0" + "openapi-version": "13.2.0" } } diff --git a/packages/openapi-types/types.d.ts b/packages/openapi-types/types.d.ts index 9e5d19d6b..2e88a80f9 100644 --- a/packages/openapi-types/types.d.ts +++ b/packages/openapi-types/types.d.ts @@ -5878,7 +5878,7 @@ export interface paths { /** * Get all custom property values for a repository * @description Gets all custom property values that are set for a repository. - * Users with admin access to the repository can use this endpoint. + * Users with read access to the repository can use this endpoint. */ get: operations["repos/get-custom-properties-values"]; }; @@ -14528,7 +14528,10 @@ export interface components { ghsa_id: string; /** @description The Common Vulnerabilities and Exposures (CVE) ID. */ cve_id: string | null; - /** @description The API URL for the advisory. */ + /** + * Format: uri + * @description The API URL for the advisory. + */ url: string; /** * Format: uri @@ -16545,7 +16548,7 @@ export interface components { * @example queued * @enum {string} */ - status: "queued" | "in_progress" | "completed"; + status: "queued" | "in_progress" | "completed" | "waiting"; /** * @description The outcome of the job. * @example success @@ -94288,11 +94291,9 @@ export interface operations { }; }; responses: { - /** @description Response */ - 200: { - content: { - "application/json": components["schemas"]["org-repo-custom-property-values"][]; - }; + /** @description No Content when custom property values are successfully created or updated */ + 204: { + content: never; }; 403: components["responses"]["forbidden"]; 404: components["responses"]["not_found"]; @@ -107122,6 +107123,7 @@ export interface operations { "application/json": components["schemas"]["license-content"]; }; }; + 404: components["responses"]["not_found"]; }; }; /** @@ -107887,7 +107889,7 @@ export interface operations { /** * Get all custom property values for a repository * @description Gets all custom property values that are set for a repository. - * Users with admin access to the repository can use this endpoint. + * Users with read access to the repository can use this endpoint. */ "repos/get-custom-properties-values": { parameters: {