From 43479d506d2f0d42faaabed29ffb4ce6286685d6 Mon Sep 17 00:00:00 2001 From: WyriHaximus <147145+WyriHaximus@users.noreply.github.com> Date: Thu, 30 Jan 2025 20:57:10 +0000 Subject: [PATCH] =?UTF-8?q?[GitHubEnterpriseCloud]=20Update=20to=201.1.4-9?= =?UTF-8?q?d96349c2889ab814e17092fa3c3cd46=20from=201.1.4-a6db3e8c17ce7749?= =?UTF-8?q?767e24fcd8e8540a=20Detected=20Schema=20changes:=202025-01-30=20?= =?UTF-8?q?20:27:50=20ERROR=20unable=20to=20open=20the=20rolodex=20file,?= =?UTF-8?q?=20check=20specification=20references=20and=20base=20path=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=E2=94=9C=20file:=20/=5F=5Fw/github-root/github-root/server-sta?= =?UTF-8?q?tistics-actions.yaml=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=E2=94=94=20error:=20open=20/=5F=5Fw?= =?UTF-8?q?/github-root/github-root/server-statistics-actions.yaml:=20no?= =?UTF-8?q?=20such=20file=20or=20directory=202025-01-30=2020:27:50=20ERROR?= =?UTF-8?q?=20unable=20to=20open=20the=20rolodex=20file,=20check=20specifi?= =?UTF-8?q?cation=20references=20and=20base=20path=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=E2=94=9C=20file:?= =?UTF-8?q?=20/=5F=5Fw/github-root/github-root/server-statistics-packages.?= =?UTF-8?q?yaml=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=E2=94=94=20error:=20open=20/=5F=5Fw/github-root/gi?= =?UTF-8?q?thub-root/server-statistics-packages.yaml:=20no=20such=20file?= =?UTF-8?q?=20or=20directory=202025-01-30=2020:27:50=20ERROR=20unable=20to?= =?UTF-8?q?=20open=20the=20rolodex=20file,=20check=20specification=20refer?= =?UTF-8?q?ences=20and=20base=20path=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=E2=94=9C=20file:=20/=5F=5Fw/g?= =?UTF-8?q?ithub-root/github-root/server-statistics-advisory-db.yaml=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=E2=94=94=20error:=20open=20/=5F=5Fw/github-root/github-root/se?= =?UTF-8?q?rver-statistics-advisory-db.yaml:=20no=20such=20file=20or=20dir?= =?UTF-8?q?ectory=202025-01-30=2020:27:53=20ERROR=20unable=20to=20open=20t?= =?UTF-8?q?he=20rolodex=20file,=20check=20specification=20references=20and?= =?UTF-8?q?=20base=20path=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=E2=94=9C=20file:=20/=5F=5Fw/github-root/g?= =?UTF-8?q?ithub-root/server-statistics-actions.yaml=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=E2=94=94=20err?= =?UTF-8?q?or:=20open=20/=5F=5Fw/github-root/github-root/server-statistics?= =?UTF-8?q?-actions.yaml:=20no=20such=20file=20or=20directory=202025-01-30?= =?UTF-8?q?=2020:27:53=20ERROR=20unable=20to=20open=20the=20rolodex=20file?= =?UTF-8?q?,=20check=20specification=20references=20and=20base=20path=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=E2=94=9C=20file:=20/=5F=5Fw/github-root/github-root/server-?= =?UTF-8?q?statistics-packages.yaml=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=E2=94=94=20error:=20open=20/=5F?= =?UTF-8?q?=5Fw/github-root/github-root/server-statistics-packages.yaml:?= =?UTF-8?q?=20no=20such=20file=20or=20directory=202025-01-30=2020:27:53=20?= =?UTF-8?q?ERROR=20unable=20to=20open=20the=20rolodex=20file,=20check=20sp?= =?UTF-8?q?ecification=20references=20and=20base=20path=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=E2=94=9C=20?= =?UTF-8?q?file:=20/=5F=5Fw/github-root/github-root/server-statistics-advi?= =?UTF-8?q?sory-db.yaml=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=E2=94=94=20error:=20open=20/=5F=5Fw/github-r?= =?UTF-8?q?oot/github-root/server-statistics-advisory-db.yaml:=20no=20such?= =?UTF-8?q?=20file=20or=20directory=20ERROR:=20component=20`server-statist?= =?UTF-8?q?ics-actions.yaml`=20does=20not=20exist=20in=20the=20specificati?= =?UTF-8?q?on=20ERROR:=20component=20`server-statistics-packages.yaml`=20d?= =?UTF-8?q?oes=20not=20exist=20in=20the=20specification=20ERROR:=20compone?= =?UTF-8?q?nt=20`server-statistics-advisory-db.yaml`=20does=20not=20exist?= =?UTF-8?q?=20in=20the=20specification=20ERROR:=20cannot=20resolve=20refer?= =?UTF-8?q?ence=20`server-statistics-actions.yaml`,=20it's=20missing:=20?= =?UTF-8?q?=20[215019:11]=20ERROR:=20cannot=20resolve=20reference=20`serve?= =?UTF-8?q?r-statistics-packages.yaml`,=20it's=20missing:=20=20[215021:11]?= =?UTF-8?q?=20ERROR:=20cannot=20resolve=20reference=20`server-statistics-a?= =?UTF-8?q?dvisory-db.yaml`,=20it's=20missing:=20=20[215023:11]=20ERROR:?= =?UTF-8?q?=20component=20`server-statistics-actions.yaml`=20does=20not=20?= =?UTF-8?q?exist=20in=20the=20specification=20ERROR:=20component=20`server?= =?UTF-8?q?-statistics-packages.yaml`=20does=20not=20exist=20in=20the=20sp?= =?UTF-8?q?ecification=20ERROR:=20component=20`server-statistics-advisory-?= =?UTF-8?q?db.yaml`=20does=20not=20exist=20in=20the=20specification=20ERRO?= =?UTF-8?q?R:=20cannot=20resolve=20reference=20`server-statistics-actions.?= =?UTF-8?q?yaml`,=20it's=20missing:=20=20[214891:11]=20ERROR:=20cannot=20r?= =?UTF-8?q?esolve=20reference=20`server-statistics-packages.yaml`,=20it's?= =?UTF-8?q?=20missing:=20=20[214893:11]=20ERROR:=20cannot=20resolve=20refe?= =?UTF-8?q?rence=20`server-statistics-advisory-db.yaml`,=20it's=20missing:?= =?UTF-8?q?=20=20[214895:11]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../etc/openapi-client-generator.state | 52 ++-- .../Request/ApplicationJson.php | 6 +- .../Request/ApplicationJson.php | 8 +- .../Tiet2A83A4E8/TietFA266CAF.php} | 7 +- .../src/Schema/BranchWithProtection.php | 3 +- .../Request/ApplicationJson.php | 4 +- .../src/Schema/Commit.php | 3 +- .../src/Schema/Commit/Commit.php | 3 +- .../src/Schema/CommitComparison.php | 9 +- .../src/Schema/CommitSearchResultItem.php | 3 +- .../Schema/CommitSearchResultItem/Commit.php | 3 +- .../src/Schema/GitCommit.php | 3 +- .../src/Schema/GitCommit/Verification.php | 2 +- .../src/Schema/GitTag.php | 3 +- .../Commits/Response/ApplicationJson/Ok.php | 3 +- .../src/Schema/TimelineCommittedEvent.php | 3 +- .../TimelineCommittedEvent/Verification.php | 2 +- .../src/Schema/TimelineIssueEvents.php | 3 +- .../src/Schema/Verification.php | 3 +- .../src/Schema/WebhookStatus.php | 3 +- .../src/Schema/WebhookStatus/Commit.php | 3 +- .../Schema/WebhookStatus/Commit/Commit.php | 3 +- .../Commit/Commit/Verification.php | 3 +- .../GitHubEnterpriseCloud/current.spec.yaml | 244 +++++++++++++----- 24 files changed, 266 insertions(+), 113 deletions(-) rename clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/{TietE746E247/Tiet29FCA330/Tiet8C6E229F/TietB9C53521.php => TietADA0376A/TietE291E6D1/Tiet2A83A4E8/TietFA266CAF.php} (91%) diff --git a/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state b/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state index 8ed8824b063..5f85b5242b6 100644 --- a/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state +++ b/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "a6db3e8c17ce7749767e24fcd8e8540a", + "specHash": "9d96349c2889ab814e17092fa3c3cd46", "generatedFiles": { "files": [ { @@ -904,7 +904,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Verification.php", - "hash": "13c5681e4254fbd0283d2b25707caaff" + "hash": "92764d99e343d107075b0d78ec2b9944" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/DiffEntry.php", @@ -912,11 +912,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Commit.php", - "hash": "4104e946bf6169d315523110a4a1eb75" + "hash": "4fd9880c93c86102b5bc97ab3a2be09b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/BranchWithProtection.php", - "hash": "ff5bc3bfe56a52d2a3ee04a5183556be" + "hash": "dfadba78186e1e109fd3a3dfbe949908" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/StatusCheckPolicy.php", @@ -1080,7 +1080,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CommitComparison.php", - "hash": "3185a7853b51eeb52c214597f5c09891" + "hash": "959009a99b66e43a69b80d64a572108d" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/ContentTree.php", @@ -1184,7 +1184,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GitCommit.php", - "hash": "d571fef2b04c10f3c659c848f621bc4e" + "hash": "faa4580243221961803bf080ef608a0d" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GitRef.php", @@ -1192,7 +1192,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GitTag.php", - "hash": "9bd02d700fba6e79a7f1766752779b32" + "hash": "0d102281a62a58460323f9e3a83cb26d" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GitTree.php", @@ -1320,7 +1320,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/TimelineCommittedEvent.php", - "hash": "10cf4cc9b7cd6202b3d7a2c55ba36f3d" + "hash": "1b9febe9147b3121c427887ddd5c1e51" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/TimelineReviewedEvent.php", @@ -1352,7 +1352,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/TimelineIssueEvents.php", - "hash": "27022fdd4c0b0c76c425f286d53e5edb" + "hash": "45d62d9c7cd3366bf1fc08de8362df6d" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/DeployKey.php", @@ -1564,7 +1564,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CommitSearchResultItem.php", - "hash": "7d7eb120b8d520e4814674d8830f0111" + "hash": "3f33118a747d9e5d22f14e6442d96865" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/IssueSearchResultItem.php", @@ -2568,7 +2568,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookStatus.php", - "hash": "55fed07188600ca5b46a97642dfd6ecf" + "hash": "b36681669d43709e29da77b2379924d3" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookTeamAdd.php", @@ -3068,7 +3068,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Commit\/Commit.php", - "hash": "091524e0e6f489d2cfee9ae0127e6e06" + "hash": "85569e1a6a36557b596682ab08d90dc4" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Commit\/Commit\/Tree.php", @@ -3268,7 +3268,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GitCommit\/Verification.php", - "hash": "820fdd15c9483b134b7592933be9a970" + "hash": "16424b3731cdb142a562fc5242f0774f" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GitRef\/Object_.php", @@ -3436,7 +3436,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CommitSearchResultItem\/Commit.php", - "hash": "2effcf067473a19d36d3c59221abef28" + "hash": "cf3d8646bd92a9eadb547d7d3898b002" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CommitSearchResultItem\/Commit\/Author.php", @@ -4476,7 +4476,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookStatus\/Commit.php", - "hash": "a8bc7e241c7936cb528bae8d0a1b524e" + "hash": "7b477a07bdc5a518fb38ccbbf4179089" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookStatus\/Commit\/Author.php", @@ -4484,11 +4484,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookStatus\/Commit\/Commit.php", - "hash": "c44a28e37b22b7293715f0e942c2f491" + "hash": "fc2b898db58d9c80a8f77788b8c33e33" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookStatus\/Commit\/Commit\/Verification.php", - "hash": "44aa639b47de1531fffd76af4d39b6f6" + "hash": "0f29fc870914f8005bc180a333175d3d" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookStatus\/Commit\/Parents.php", @@ -4800,7 +4800,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Actions\/CreateOrUpdateOrgSecret\/Request\/ApplicationJson.php", - "hash": "543cfa4f2d7f85681857381341ad721c" + "hash": "0ee7a6fae77e465bc6adacfe015b1b9d" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelectedReposForOrgSecret\/Response\/ApplicationJson\/Ok.php", @@ -5084,7 +5084,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Actions\/CreateOrUpdateRepoSecret\/Request\/ApplicationJson.php", - "hash": "27c8b482a56fb7df3c07a093103da894" + "hash": "744b5c708583bb3d493946ff16cde5b6" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Actions\/CreateRepoVariable\/Request\/ApplicationJson.php", @@ -5716,7 +5716,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Search\/Commits\/Response\/ApplicationJson\/Ok.php", - "hash": "c6aff97ddcc1a7d857a64c6bb9647f32" + "hash": "b55299413ce79c611a44afc8dac80c18" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Search\/IssuesAndPullRequests\/Response\/ApplicationJson\/Ok.php", @@ -6716,7 +6716,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/TimelineCommittedEvent\/Verification.php", - "hash": "706689a1afdbab7a8526fd3d87864a6f" + "hash": "720096dd349760d1eeec5d878b2f2e41" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet89D46EC0\/TietEE21A228\/Tiet63FBE554\/Tiet65D1C42C.php", @@ -33330,10 +33330,6 @@ "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecretScanningScanHistory.php", "hash": "0e233a126e301705a743e4f1e31fe223" }, - { - "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietE746E247\/Tiet29FCA330\/Tiet8C6E229F\/TietB9C53521.php", - "hash": "afe52cf474607c4df48f033fedc6ce64" - }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/SecretScanning\/ScanHistory.php", "hash": "d3899345edded4eb8182dcfa69029f57" @@ -34000,7 +33996,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeSecurity\/AttachEnterpriseConfiguration\/Request\/ApplicationJson.php", - "hash": "7a1f575c4e68431273161a64b681c347" + "hash": "65d187b84880e54cdea1dacb8a526209" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietA915022E\/Tiet867AF88E\/Tiet207FA02F\/Tiet074F28B9.php", @@ -34877,6 +34873,10 @@ { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecurityAdvisoryEpss.php", "hash": "0f756903ae10959959de4da76e68feba" + }, + { + "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietADA0376A\/TietE291E6D1\/Tiet2A83A4E8\/TietFA266CAF.php", + "hash": "000b0dd21ac882954539044bb3c03c15" } ] }, diff --git a/clients/GitHubEnterpriseCloud/src/Schema/Actions/CreateOrUpdateOrgSecret/Request/ApplicationJson.php b/clients/GitHubEnterpriseCloud/src/Schema/Actions/CreateOrUpdateOrgSecret/Request/ApplicationJson.php index a73316aa4cb..99430bb4de7 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/Actions/CreateOrUpdateOrgSecret/Request/ApplicationJson.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/Actions/CreateOrUpdateOrgSecret/Request/ApplicationJson.php @@ -10,6 +10,8 @@ { public const SCHEMA_JSON = '{ "required": [ + "encrypted_value", + "key_id", "visibility" ], "type": "object", @@ -60,8 +62,8 @@ * selectedRepositoryIds: An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints. */ public function __construct(#[MapFrom('encrypted_value')] - public string|null $encryptedValue, #[MapFrom('key_id')] - public string|null $keyId, public string $visibility, #[MapFrom('selected_repository_ids')] + public string $encryptedValue, #[MapFrom('key_id')] + public string $keyId, public string $visibility, #[MapFrom('selected_repository_ids')] public array|null $selectedRepositoryIds,) { } diff --git a/clients/GitHubEnterpriseCloud/src/Schema/Actions/CreateOrUpdateRepoSecret/Request/ApplicationJson.php b/clients/GitHubEnterpriseCloud/src/Schema/Actions/CreateOrUpdateRepoSecret/Request/ApplicationJson.php index 338e562ea85..d52fbd35320 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/Actions/CreateOrUpdateRepoSecret/Request/ApplicationJson.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/Actions/CreateOrUpdateRepoSecret/Request/ApplicationJson.php @@ -9,6 +9,10 @@ final readonly class ApplicationJson { public const SCHEMA_JSON = '{ + "required": [ + "encrypted_value", + "key_id" + ], "type": "object", "properties": { "encrypted_value": { @@ -34,8 +38,8 @@ * keyId: ID of the key you used to encrypt the secret. */ public function __construct(#[MapFrom('encrypted_value')] - public string|null $encryptedValue, #[MapFrom('key_id')] - public string|null $keyId,) + public string $encryptedValue, #[MapFrom('key_id')] + public string $keyId,) { } } diff --git a/clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/TietE746E247/Tiet29FCA330/Tiet8C6E229F/TietB9C53521.php b/clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/TietADA0376A/TietE291E6D1/Tiet2A83A4E8/TietFA266CAF.php similarity index 91% rename from clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/TietE746E247/Tiet29FCA330/Tiet8C6E229F/TietB9C53521.php rename to clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/TietADA0376A/TietE291E6D1/Tiet2A83A4E8/TietFA266CAF.php index 31e9fa60acc..8c3b2b90289 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/TietE746E247/Tiet29FCA330/Tiet8C6E229F/TietB9C53521.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/TietADA0376A/TietE291E6D1/Tiet2A83A4E8/TietFA266CAF.php @@ -2,18 +2,19 @@ declare(strict_types=1); -namespace ApiClients\Client\GitHubEnterpriseCloud\Schema\AliasAbstract\TietE746E247\Tiet29FCA330\Tiet8C6E229F; +namespace ApiClients\Client\GitHubEnterpriseCloud\Schema\AliasAbstract\TietADA0376A\TietE291E6D1\Tiet2A83A4E8; use EventSauce\ObjectHydrator\MapFrom; -abstract readonly class TietB9C53521 +abstract readonly class TietFA266CAF { public const SCHEMA_JSON = '{ "required": [ "verified", "reason", "signature", - "payload" + "payload", + "verified_at" ], "type": "object", "properties": { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/BranchWithProtection.php b/clients/GitHubEnterpriseCloud/src/Schema/BranchWithProtection.php index e45e495d563..4aa2dca153d 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/BranchWithProtection.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/BranchWithProtection.php @@ -194,7 +194,8 @@ "verified", "reason", "payload", - "signature" + "signature", + "verified_at" ], "type": "object", "properties": { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CodeSecurity/AttachEnterpriseConfiguration/Request/ApplicationJson.php b/clients/GitHubEnterpriseCloud/src/Schema/CodeSecurity/AttachEnterpriseConfiguration/Request/ApplicationJson.php index 9b1b0e33963..8a616ab8514 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CodeSecurity/AttachEnterpriseConfiguration/Request/ApplicationJson.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CodeSecurity/AttachEnterpriseConfiguration/Request/ApplicationJson.php @@ -18,7 +18,7 @@ "all_without_configurations" ], "type": "string", - "description": "The type of repositories to attach the configuration to. `selected` means the configuration will be attached to only the repositories specified by `selected_repository_ids`" + "description": "The type of repositories to attach the configuration to." } }, "additionalProperties": false @@ -30,7 +30,7 @@ }'; /** - * scope: The type of repositories to attach the configuration to. `selected` means the configuration will be attached to only the repositories specified by `selected_repository_ids` + * scope: The type of repositories to attach the configuration to. */ public function __construct(public string $scope) { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/Commit.php b/clients/GitHubEnterpriseCloud/src/Schema/Commit.php index 6946eefe372..84fa28134f7 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/Commit.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/Commit.php @@ -181,7 +181,8 @@ "verified", "reason", "payload", - "signature" + "signature", + "verified_at" ], "type": "object", "properties": { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/Commit/Commit.php b/clients/GitHubEnterpriseCloud/src/Schema/Commit/Commit.php index 50e632f7161..8e4850160d1 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/Commit/Commit.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/Commit/Commit.php @@ -131,7 +131,8 @@ "verified", "reason", "payload", - "signature" + "signature", + "verified_at" ], "type": "object", "properties": { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CommitComparison.php b/clients/GitHubEnterpriseCloud/src/Schema/CommitComparison.php index 677772c60f9..c221f64ab54 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CommitComparison.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CommitComparison.php @@ -232,7 +232,8 @@ "verified", "reason", "payload", - "signature" + "signature", + "verified_at" ], "type": "object", "properties": { @@ -948,7 +949,8 @@ "verified", "reason", "payload", - "signature" + "signature", + "verified_at" ], "type": "object", "properties": { @@ -1696,7 +1698,8 @@ "verified", "reason", "payload", - "signature" + "signature", + "verified_at" ], "type": "object", "properties": { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CommitSearchResultItem.php b/clients/GitHubEnterpriseCloud/src/Schema/CommitSearchResultItem.php index f1c44857967..29313427d69 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CommitSearchResultItem.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CommitSearchResultItem.php @@ -136,7 +136,8 @@ "verified", "reason", "payload", - "signature" + "signature", + "verified_at" ], "type": "object", "properties": { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/CommitSearchResultItem/Commit.php b/clients/GitHubEnterpriseCloud/src/Schema/CommitSearchResultItem/Commit.php index b14d5847f30..6fcca4b17ec 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/CommitSearchResultItem/Commit.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/CommitSearchResultItem/Commit.php @@ -104,7 +104,8 @@ "verified", "reason", "payload", - "signature" + "signature", + "verified_at" ], "type": "object", "properties": { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/GitCommit.php b/clients/GitHubEnterpriseCloud/src/Schema/GitCommit.php index 0b64987c2bf..7597584a777 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/GitCommit.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/GitCommit.php @@ -165,7 +165,8 @@ "verified", "reason", "signature", - "payload" + "payload", + "verified_at" ], "type": "object", "properties": { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/GitCommit/Verification.php b/clients/GitHubEnterpriseCloud/src/Schema/GitCommit/Verification.php index 9121549b71c..312c3e282a0 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/GitCommit/Verification.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/GitCommit/Verification.php @@ -6,6 +6,6 @@ use ApiClients\Client\GitHubEnterpriseCloud\Schema; -final readonly class Verification extends Schema\AliasAbstract\TietE746E247\Tiet29FCA330\Tiet8C6E229F\TietB9C53521 +final readonly class Verification extends Schema\AliasAbstract\TietADA0376A\TietE291E6D1\Tiet2A83A4E8\TietFA266CAF { } diff --git a/clients/GitHubEnterpriseCloud/src/Schema/GitTag.php b/clients/GitHubEnterpriseCloud/src/Schema/GitTag.php index 76520805e67..db91ce1a653 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/GitTag.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/GitTag.php @@ -101,7 +101,8 @@ "verified", "reason", "payload", - "signature" + "signature", + "verified_at" ], "type": "object", "properties": { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/Operations/Search/Commits/Response/ApplicationJson/Ok.php b/clients/GitHubEnterpriseCloud/src/Schema/Operations/Search/Commits/Response/ApplicationJson/Ok.php index 72cd5145808..149f156c185 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/Operations/Search/Commits/Response/ApplicationJson/Ok.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/Operations/Search/Commits/Response/ApplicationJson/Ok.php @@ -151,7 +151,8 @@ "verified", "reason", "payload", - "signature" + "signature", + "verified_at" ], "type": "object", "properties": { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/TimelineCommittedEvent.php b/clients/GitHubEnterpriseCloud/src/Schema/TimelineCommittedEvent.php index 8ce2dfd7f3f..278dec46e65 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/TimelineCommittedEvent.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/TimelineCommittedEvent.php @@ -168,7 +168,8 @@ "verified", "reason", "signature", - "payload" + "payload", + "verified_at" ], "type": "object", "properties": { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/TimelineCommittedEvent/Verification.php b/clients/GitHubEnterpriseCloud/src/Schema/TimelineCommittedEvent/Verification.php index 2999b478444..3d53817ad2e 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/TimelineCommittedEvent/Verification.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/TimelineCommittedEvent/Verification.php @@ -6,6 +6,6 @@ use ApiClients\Client\GitHubEnterpriseCloud\Schema; -final readonly class Verification extends Schema\AliasAbstract\TietE746E247\Tiet29FCA330\Tiet8C6E229F\TietB9C53521 +final readonly class Verification extends Schema\AliasAbstract\TietADA0376A\TietE291E6D1\Tiet2A83A4E8\TietFA266CAF { } diff --git a/clients/GitHubEnterpriseCloud/src/Schema/TimelineIssueEvents.php b/clients/GitHubEnterpriseCloud/src/Schema/TimelineIssueEvents.php index 127fe5e3d10..989f6f14461 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/TimelineIssueEvents.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/TimelineIssueEvents.php @@ -13665,7 +13665,8 @@ "verified", "reason", "signature", - "payload" + "payload", + "verified_at" ], "type": "object", "properties": { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/Verification.php b/clients/GitHubEnterpriseCloud/src/Schema/Verification.php index 545fe5cb3bc..0395083fa33 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/Verification.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/Verification.php @@ -14,7 +14,8 @@ "verified", "reason", "payload", - "signature" + "signature", + "verified_at" ], "type": "object", "properties": { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/WebhookStatus.php b/clients/GitHubEnterpriseCloud/src/Schema/WebhookStatus.php index fe8b0d3d5d2..93aa13890a3 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/WebhookStatus.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/WebhookStatus.php @@ -330,7 +330,8 @@ "verified", "reason", "signature", - "payload" + "payload", + "verified_at" ], "type": "object", "properties": { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/WebhookStatus/Commit.php b/clients/GitHubEnterpriseCloud/src/Schema/WebhookStatus/Commit.php index 4a9eb6b7287..8774e88b68c 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/WebhookStatus/Commit.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/WebhookStatus/Commit.php @@ -262,7 +262,8 @@ "verified", "reason", "signature", - "payload" + "payload", + "verified_at" ], "type": "object", "properties": { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/WebhookStatus/Commit/Commit.php b/clients/GitHubEnterpriseCloud/src/Schema/WebhookStatus/Commit/Commit.php index 1be23a7e6ef..1f52ad758fe 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/WebhookStatus/Commit/Commit.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/WebhookStatus/Commit/Commit.php @@ -152,7 +152,8 @@ "verified", "reason", "signature", - "payload" + "payload", + "verified_at" ], "type": "object", "properties": { diff --git a/clients/GitHubEnterpriseCloud/src/Schema/WebhookStatus/Commit/Commit/Verification.php b/clients/GitHubEnterpriseCloud/src/Schema/WebhookStatus/Commit/Commit/Verification.php index 7b66e1c1a39..7a533c8f367 100644 --- a/clients/GitHubEnterpriseCloud/src/Schema/WebhookStatus/Commit/Commit/Verification.php +++ b/clients/GitHubEnterpriseCloud/src/Schema/WebhookStatus/Commit/Commit/Verification.php @@ -13,7 +13,8 @@ "verified", "reason", "signature", - "payload" + "payload", + "verified_at" ], "type": "object", "properties": { diff --git a/etc/specs/GitHubEnterpriseCloud/current.spec.yaml b/etc/specs/GitHubEnterpriseCloud/current.spec.yaml index fb8989cfd45..972a845cf5b 100644 --- a/etc/specs/GitHubEnterpriseCloud/current.spec.yaml +++ b/etc/specs/GitHubEnterpriseCloud/current.spec.yaml @@ -4319,8 +4319,7 @@ paths: scope: type: string description: The type of repositories to attach the configuration - to. `selected` means the configuration will be attached to only - the repositories specified by `selected_repository_ids` + to. enum: - all - all_without_configurations @@ -10968,6 +10967,8 @@ paths: items: type: integer required: + - encrypted_value + - key_id - visibility examples: default: @@ -19083,10 +19084,10 @@ paths: "/orgs/{org}/projects": get: summary: List organization projects - description: Lists the projects in an organization. Returns a `404 Not Found` - status if projects are disabled in the organization. If you do not have sufficient - privileges to perform this action, a `401 Unauthorized` or `410 Gone` status - is returned. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/list-for-org @@ -19130,12 +19131,15 @@ paths: enabledForGitHubApps: true category: projects subcategory: projects + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true post: summary: Create an organization project - description: Creates an organization project board. Returns a `410 Gone` status - if projects are disabled in the organization or if the organization does not - have existing classic projects. If you do not have sufficient privileges to - perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/create-for-org @@ -19189,6 +19193,9 @@ paths: enabledForGitHubApps: true category: projects subcategory: projects + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true "/orgs/{org}/properties/schema": get: summary: Get all custom properties for an organization @@ -23049,7 +23056,10 @@ paths: "/projects/columns/cards/{card_id}": get: summary: Get a project card - description: Gets information about a project card. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/get-card @@ -23081,9 +23091,15 @@ paths: enabledForGitHubApps: true category: projects subcategory: cards + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true patch: summary: Update an existing project card - description: '' + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/update-card @@ -23141,9 +23157,15 @@ paths: enabledForGitHubApps: true category: projects subcategory: cards + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true delete: summary: Delete a project card - description: Deletes a project card + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/delete-card @@ -23181,10 +23203,16 @@ paths: enabledForGitHubApps: true category: projects subcategory: cards + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true "/projects/columns/cards/{card_id}/moves": post: summary: Move a project card - description: '' + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/move-card @@ -23291,10 +23319,16 @@ paths: enabledForGitHubApps: true category: projects subcategory: cards + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true "/projects/columns/{column_id}": get: summary: Get a project column - description: Gets information about a project column. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/get-column @@ -23326,9 +23360,15 @@ paths: enabledForGitHubApps: true category: projects subcategory: columns + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true patch: summary: Update an existing project column - description: '' + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/update-column @@ -23377,9 +23417,15 @@ paths: enabledForGitHubApps: true category: projects subcategory: columns + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true delete: summary: Delete a project column - description: Deletes a project column. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/delete-column @@ -23402,10 +23448,16 @@ paths: enabledForGitHubApps: true category: projects subcategory: columns + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true "/projects/columns/{column_id}/cards": get: summary: List project cards - description: Lists the project cards in a project. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/list-cards @@ -23453,9 +23505,15 @@ paths: enabledForGitHubApps: true category: projects subcategory: cards + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true post: summary: Create a project card - description: '' + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/create-card @@ -23553,10 +23611,16 @@ paths: enabledForGitHubApps: true category: projects subcategory: cards + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true "/projects/columns/{column_id}/moves": post: summary: Move a project column - description: '' + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/move-column @@ -23612,12 +23676,16 @@ paths: enabledForGitHubApps: true category: projects subcategory: columns + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true "/projects/{project_id}": get: summary: Get a project - description: Gets a project by its `id`. Returns a `404 Not Found` status if - projects are disabled. If you do not have sufficient privileges to perform - this action, a `401 Unauthorized` or `410 Gone` status is returned. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/get @@ -23647,11 +23715,15 @@ paths: enabledForGitHubApps: true category: projects subcategory: projects + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true patch: summary: Update a project - description: Updates a project board's information. Returns a `404 Not Found` - status if projects are disabled. If you do not have sufficient privileges - to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. operationId: projects/update tags: - projects @@ -23744,10 +23816,15 @@ paths: enabledForGitHubApps: true category: projects subcategory: projects + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true delete: summary: Delete a project - description: Deletes a project board. Returns a `404 Not Found` status if projects - are disabled. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. operationId: projects/delete tags: - projects @@ -23787,15 +23864,16 @@ paths: enabledForGitHubApps: true category: projects subcategory: projects + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true "/projects/{project_id}/collaborators": get: summary: List project collaborators - description: Lists the collaborators for an organization project. For a project, - the list of collaborators includes outside collaborators, organization members - that are direct collaborators, organization members with access through team - memberships, organization members with access through default organization - permissions, and organization owners. You must be an organization owner or - a project `admin` to list collaborators. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/list-collaborators @@ -23851,11 +23929,16 @@ paths: enabledForGitHubApps: true category: projects subcategory: collaborators + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true "/projects/{project_id}/collaborators/{username}": put: summary: Add project collaborator - description: Adds a collaborator to an organization project and sets their permission - level. You must be an organization owner or a project `admin` to add a collaborator. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/add-collaborator @@ -23907,10 +23990,15 @@ paths: enabledForGitHubApps: true category: projects subcategory: collaborators + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true delete: summary: Remove user as a collaborator - description: Removes a collaborator from an organization project. You must be - an organization owner or a project `admin` to remove a collaborator. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/remove-collaborator @@ -23938,13 +24026,16 @@ paths: enabledForGitHubApps: true category: projects subcategory: collaborators + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true "/projects/{project_id}/collaborators/{username}/permission": get: summary: Get project permission for a user - description: 'Returns the collaborator''s permission level for an organization - project. Possible values for the `permission` key: `admin`, `write`, `read`, - `none`. You must be an organization owner or a project `admin` to review a - user''s permission level.' + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/get-permission-for-user @@ -23979,10 +24070,16 @@ paths: enabledForGitHubApps: true category: projects subcategory: collaborators + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true "/projects/{project_id}/columns": get: summary: List project columns - description: Lists the project columns in a project. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/list-columns @@ -24019,9 +24116,15 @@ paths: enabledForGitHubApps: true category: projects subcategory: columns + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true post: summary: Create a project column - description: Creates a new project column. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/create-column @@ -24079,6 +24182,9 @@ paths: enabledForGitHubApps: true category: projects subcategory: columns + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true "/rate_limit": get: summary: Get rate limit status for the authenticated user @@ -26855,6 +26961,9 @@ paths: key_id: type: string description: ID of the key you used to encrypt the secret. + required: + - encrypted_value + - key_id examples: default: value: @@ -42721,10 +42830,10 @@ paths: "/repos/{owner}/{repo}/projects": get: summary: List repository projects - description: Lists the projects in a repository. Returns a `404 Not Found` status - if projects are disabled in the repository. If you do not have sufficient - privileges to perform this action, a `401 Unauthorized` or `410 Gone` status - is returned. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/list-for-repo @@ -42777,12 +42886,15 @@ paths: enabledForGitHubApps: true category: projects subcategory: projects + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true post: summary: Create a repository project - description: Creates a repository project board. Returns a `410 Gone` status - if projects are disabled in the repository or if the repository does not have - existing classic projects. If you do not have sufficient privileges to perform - this action, a `401 Unauthorized` or `410 Gone` status is returned. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/create-for-repo @@ -42837,6 +42949,9 @@ paths: enabledForGitHubApps: true category: projects subcategory: projects + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true "/repos/{owner}/{repo}/properties/values": get: summary: Get all custom property values for a repository @@ -48028,7 +48143,7 @@ paths: description: Not Found if repository is not enabled with vulnerability alerts x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: repos subcategory: repos put: @@ -55114,10 +55229,10 @@ paths: "/user/projects": post: summary: Create a user project - description: Creates a user project board. Returns a `410 Gone` status if the - user does not have existing classic projects. If you do not have sufficient - privileges to perform this action, a `401 Unauthorized` or `410 Gone` status - is returned. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/create-for-authenticated-user @@ -55175,6 +55290,9 @@ paths: enabledForGitHubApps: true category: projects subcategory: projects + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true "/user/public_emails": get: summary: List public email addresses for the authenticated user @@ -57180,7 +57298,10 @@ paths: "/users/{username}/projects": get: summary: List user projects - description: Lists projects for a user. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects operationId: projects/list-for-user @@ -57224,6 +57345,9 @@ paths: enabledForGitHubApps: false category: projects subcategory: projects + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true "/users/{username}/received_events": get: summary: List events received by the authenticated user @@ -92549,6 +92673,7 @@ components: - reason - payload - signature + - verified_at diff-entry: title: Diff Entry description: Diff Entry @@ -97046,6 +97171,7 @@ components: - reason - signature - payload + - verified_at html_url: type: string format: uri @@ -98733,6 +98859,7 @@ components: - reason - signature - payload + - verified_at html_url: type: string format: uri @@ -205349,6 +205476,7 @@ components: - reason - signature - payload + - verified_at required: - author - committer