@octokit/openapi 6.1.3 → 6.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/generated/api.github.com.deref.json +19628 -17725
  2. package/generated/api.github.com.json +2713 -2227
  3. package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
  4. package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
  5. package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +1 -1
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +1 -1
  7. package/generated/ghes-3.2.deref.json +173 -3
  8. package/generated/ghes-3.2.json +163 -4
  9. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +1 -1
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.json +1 -1
  11. package/generated/ghes-3.3.deref.json +354 -1388
  12. package/generated/ghes-3.3.json +461 -287
  13. package/generated/ghes-3.4-anicca-diff-to-ghes-3.5.deref.json +0 -14
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +7801 -10209
  15. package/generated/ghes-3.4-diff-to-ghes-3.5.json +341 -326
  16. package/generated/ghes-3.4.deref.json +1408 -3641
  17. package/generated/ghes-3.4.json +1145 -968
  18. package/generated/ghes-3.5-anicca-diff-to-api.github.com.deref.json +10 -72
  19. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +29452 -32935
  20. package/generated/ghes-3.5-diff-to-api.github.com.json +442 -569
  21. package/generated/ghes-3.5.deref.json +1663 -4953
  22. package/generated/ghes-3.5.json +1301 -1254
  23. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +10 -0
  24. package/generated/github.ae-diff-to-api.github.com.deref.json +66 -1
  25. package/generated/github.ae-diff-to-api.github.com.json +69 -1
  26. package/generated/github.ae.deref.json +234 -2
  27. package/generated/github.ae.json +221 -3
  28. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.1.3",
4
+ "version": "6.2.1",
5
5
  "title": "GitHub's official OpenAPI spec + Octokit extension",
6
6
  "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
7
7
  "license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -6658,7 +6658,8 @@
6658
6658
  "description": "Response when creating a secret",
6659
6659
  "content": {
6660
6660
  "application/json": {
6661
- "schema": { "$ref": "#/components/schemas/empty-object" }
6661
+ "schema": { "$ref": "#/components/schemas/empty-object" },
6662
+ "examples": { "default": { "value": null } }
6662
6663
  }
6663
6664
  }
6664
6665
  },
@@ -12057,7 +12058,8 @@
12057
12058
  "headers": {
12058
12059
  "Location": { "$ref": "#/components/headers/location" }
12059
12060
  }
12060
- }
12061
+ },
12062
+ "410": { "$ref": "#/components/responses/gone" }
12061
12063
  },
12062
12064
  "x-github": {
12063
12065
  "githubCloudOnly": false,
@@ -19788,6 +19790,11 @@
19788
19790
  "schema": {
19789
19791
  "type": "array",
19790
19792
  "items": { "$ref": "#/components/schemas/event" }
19793
+ },
19794
+ "examples": {
19795
+ "200-response": {
19796
+ "$ref": "#/components/examples/repo-events-items"
19797
+ }
19791
19798
  }
19792
19799
  }
19793
19800
  }
@@ -34347,6 +34354,20 @@
34347
34354
  "responses": { "501": { "description": "Not Implemented" } }
34348
34355
  }
34349
34356
  },
34357
+ "/enterprises/{enterprise}/actions/oidc/customization/issuer": {
34358
+ "put": {
34359
+ "summary": "Set the GitHub Actions OIDC custom issuer policy for an enterprise",
34360
+ "description": "This endpoint does not exist github.ae.json. It was added in api.github.com.json",
34361
+ "tags": ["actions"],
34362
+ "operationId": "actions/set-actions-oidc-custom-issuer-policy-for-enterprise",
34363
+ "externalDocs": {
34364
+ "description": "API method documentation",
34365
+ "url": "https://docs.github.com/rest/reference/actions/oidc#set-actions-oidc-custom-issuer-policy-for-enterprise"
34366
+ },
34367
+ "x-octokit": { "api.github.com.json": "removed" },
34368
+ "responses": { "501": { "description": "Not Implemented" } }
34369
+ }
34370
+ },
34350
34371
  "/enterprises/{enterprise}/actions/permissions/workflow": {
34351
34372
  "get": {
34352
34373
  "summary": "Get default workflow permissions for an enterprise",
@@ -34685,6 +34706,20 @@
34685
34706
  "responses": { "501": { "description": "Not Implemented" } }
34686
34707
  }
34687
34708
  },
34709
+ "/orgs/{org_id}/codespaces": {
34710
+ "get": {
34711
+ "summary": "List codespaces for the organization",
34712
+ "description": "This endpoint does not exist github.ae.json. It was added in api.github.com.json",
34713
+ "tags": ["codespaces"],
34714
+ "operationId": "codespaces/list-in-organization",
34715
+ "externalDocs": {
34716
+ "description": "API method documentation",
34717
+ "url": "https://docs.github.com/rest/reference/codespaces#list-in-organization"
34718
+ },
34719
+ "x-octokit": { "api.github.com.json": "removed" },
34720
+ "responses": { "501": { "description": "Not Implemented" } }
34721
+ }
34722
+ },
34688
34723
  "/orgs/{org}/actions/cache/usage": {
34689
34724
  "get": {
34690
34725
  "summary": "Get GitHub Actions cache usage for an organization",
@@ -34713,6 +34748,32 @@
34713
34748
  "responses": { "501": { "description": "Not Implemented" } }
34714
34749
  }
34715
34750
  },
34751
+ "/orgs/{org}/actions/oidc/customization/sub": {
34752
+ "get": {
34753
+ "summary": "Get the customization template for an OIDC subject claim for an organization",
34754
+ "description": "This endpoint does not exist github.ae.json. It was added in api.github.com.json",
34755
+ "tags": ["oidc"],
34756
+ "operationId": "oidc/get-oidc-custom-sub-template-for-org",
34757
+ "externalDocs": {
34758
+ "description": "API method documentation",
34759
+ "url": "https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization"
34760
+ },
34761
+ "x-octokit": { "api.github.com.json": "removed" },
34762
+ "responses": { "501": { "description": "Not Implemented" } }
34763
+ },
34764
+ "put": {
34765
+ "summary": "Set the customization template for an OIDC subject claim for an organization",
34766
+ "description": "This endpoint does not exist github.ae.json. It was added in api.github.com.json",
34767
+ "tags": ["oidc"],
34768
+ "operationId": "oidc/update-oidc-custom-sub-template-for-org",
34769
+ "externalDocs": {
34770
+ "description": "API method documentation",
34771
+ "url": "https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization"
34772
+ },
34773
+ "x-octokit": { "api.github.com.json": "removed" },
34774
+ "responses": { "501": { "description": "Not Implemented" } }
34775
+ }
34776
+ },
34716
34777
  "/orgs/{org}/actions/permissions/workflow": {
34717
34778
  "get": {
34718
34779
  "summary": "Get default workflow permissions for an organization",
@@ -35213,6 +35274,34 @@
35213
35274
  "responses": { "501": { "description": "Not Implemented" } }
35214
35275
  }
35215
35276
  },
35277
+ "/orgs/{org}/members/{username}/codespaces/{codespace_name}": {
35278
+ "delete": {
35279
+ "summary": "Delete a codespace from the organization",
35280
+ "description": "This endpoint does not exist github.ae.json. It was added in api.github.com.json",
35281
+ "tags": ["codespaces"],
35282
+ "operationId": "codespaces/delete-from-organization",
35283
+ "externalDocs": {
35284
+ "description": "API method documentation",
35285
+ "url": "https://docs.github.com/rest/reference/codespaces"
35286
+ },
35287
+ "x-octokit": { "api.github.com.json": "removed" },
35288
+ "responses": { "501": { "description": "Not Implemented" } }
35289
+ }
35290
+ },
35291
+ "/orgs/{org}/members/{username}/codespaces/{codespace_name}/stop": {
35292
+ "post": {
35293
+ "summary": "Stop a codespace for an organization user",
35294
+ "description": "This endpoint does not exist github.ae.json. It was added in api.github.com.json",
35295
+ "tags": ["codespaces"],
35296
+ "operationId": "codespaces/stop-in-organization",
35297
+ "externalDocs": {
35298
+ "description": "API method documentation",
35299
+ "url": "https://docs.github.com/rest/reference/codespaces"
35300
+ },
35301
+ "x-octokit": { "api.github.com.json": "removed" },
35302
+ "responses": { "501": { "description": "Not Implemented" } }
35303
+ }
35304
+ },
35216
35305
  "/orgs/{org}/migrations/{migration_id}/archive": {
35217
35306
  "get": {
35218
35307
  "summary": "Download an organization migration archive",
@@ -35565,6 +35654,46 @@
35565
35654
  "responses": { "501": { "description": "Not Implemented" } }
35566
35655
  }
35567
35656
  },
35657
+ "/repos/{owner}/{repo}/actions/caches": {
35658
+ "get": {
35659
+ "summary": "List GitHub Actions caches for a repository",
35660
+ "description": "This endpoint does not exist github.ae.json. It was added in api.github.com.json",
35661
+ "tags": ["actions"],
35662
+ "operationId": "actions/get-actions-cache-list",
35663
+ "externalDocs": {
35664
+ "description": "API method documentation",
35665
+ "url": "https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository"
35666
+ },
35667
+ "x-octokit": { "api.github.com.json": "removed" },
35668
+ "responses": { "501": { "description": "Not Implemented" } }
35669
+ },
35670
+ "delete": {
35671
+ "summary": "Delete GitHub Actions caches for a repository (using a cache key)",
35672
+ "description": "This endpoint does not exist github.ae.json. It was added in api.github.com.json",
35673
+ "tags": ["actions"],
35674
+ "operationId": "actions/delete-actions-cache-by-key",
35675
+ "externalDocs": {
35676
+ "description": "API method documentation",
35677
+ "url": "https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key"
35678
+ },
35679
+ "x-octokit": { "api.github.com.json": "removed" },
35680
+ "responses": { "501": { "description": "Not Implemented" } }
35681
+ }
35682
+ },
35683
+ "/repos/{owner}/{repo}/actions/caches/{cache_id}": {
35684
+ "delete": {
35685
+ "summary": "Delete a GitHub Actions cache for a repository (using a cache ID)",
35686
+ "description": "This endpoint does not exist github.ae.json. It was added in api.github.com.json",
35687
+ "tags": ["actions"],
35688
+ "operationId": "actions/delete-actions-cache-by-id",
35689
+ "externalDocs": {
35690
+ "description": "API method documentation",
35691
+ "url": "https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id"
35692
+ },
35693
+ "x-octokit": { "api.github.com.json": "removed" },
35694
+ "responses": { "501": { "description": "Not Implemented" } }
35695
+ }
35696
+ },
35568
35697
  "/repos/{owner}/{repo}/actions/jobs/{job_id}/rerun": {
35569
35698
  "post": {
35570
35699
  "summary": "Re-run a job from a workflow run",
@@ -35579,6 +35708,32 @@
35579
35708
  "responses": { "501": { "description": "Not Implemented" } }
35580
35709
  }
35581
35710
  },
35711
+ "/repos/{owner}/{repo}/actions/oidc/customization/sub": {
35712
+ "get": {
35713
+ "summary": "Get the opt-out flag of an OIDC subject claim customization for a repository",
35714
+ "description": "This endpoint does not exist github.ae.json. It was added in api.github.com.json",
35715
+ "tags": ["actions"],
35716
+ "operationId": "actions/get-custom-oidc-sub-claim-for-repo",
35717
+ "externalDocs": {
35718
+ "description": "API method documentation",
35719
+ "url": "https://docs.github.com/rest/actions/oidc#get-the-opt-out-flag-of-an-oidc-subject-claim-customization-for-a-repository"
35720
+ },
35721
+ "x-octokit": { "api.github.com.json": "removed" },
35722
+ "responses": { "501": { "description": "Not Implemented" } }
35723
+ },
35724
+ "put": {
35725
+ "summary": "Set the opt-out flag of an OIDC subject claim customization for a repository",
35726
+ "description": "This endpoint does not exist github.ae.json. It was added in api.github.com.json",
35727
+ "tags": ["actions"],
35728
+ "operationId": "actions/set-custom-oidc-sub-claim-for-repo",
35729
+ "externalDocs": {
35730
+ "description": "API method documentation",
35731
+ "url": "https://docs.github.com/rest/actions/oidc#set-the-opt-out-flag-of-an-oidc-subject-claim-customization-for-a-repository"
35732
+ },
35733
+ "x-octokit": { "api.github.com.json": "removed" },
35734
+ "responses": { "501": { "description": "Not Implemented" } }
35735
+ }
35736
+ },
35582
35737
  "/repos/{owner}/{repo}/actions/permissions/access": {
35583
35738
  "get": {
35584
35739
  "summary": "Get the level of access for workflows outside of the repository",
@@ -64771,6 +64926,69 @@
64771
64926
  }
64772
64927
  }
64773
64928
  },
64929
+ "repo-events-items": {
64930
+ "value": [
64931
+ {
64932
+ "id": "22249084964",
64933
+ "type": "PushEvent",
64934
+ "actor": {
64935
+ "id": 583231,
64936
+ "login": "octocat",
64937
+ "display_login": "octocat",
64938
+ "gravatar_id": "",
64939
+ "url": "https://api.github.com/users/octocat",
64940
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4"
64941
+ },
64942
+ "repo": {
64943
+ "id": 1296269,
64944
+ "name": "octocat/Hello-World",
64945
+ "url": "https://api.github.com/repos/octocat/Hello-World"
64946
+ },
64947
+ "payload": {
64948
+ "push_id": 10115855396,
64949
+ "size": 1,
64950
+ "distinct_size": 1,
64951
+ "ref": "refs/heads/master",
64952
+ "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300",
64953
+ "before": "883efe034920928c47fe18598c01249d1a9fdabd",
64954
+ "commits": [
64955
+ {
64956
+ "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300",
64957
+ "author": {
64958
+ "email": "octocat@github.com",
64959
+ "name": "Monalisa Octocat"
64960
+ },
64961
+ "message": "commit",
64962
+ "distinct": true,
64963
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300"
64964
+ }
64965
+ ]
64966
+ },
64967
+ "public": true,
64968
+ "created_at": "2022-06-09T12:47:28Z"
64969
+ },
64970
+ {
64971
+ "id": "22237752260",
64972
+ "type": "WatchEvent",
64973
+ "actor": {
64974
+ "id": 583231,
64975
+ "login": "octocat",
64976
+ "display_login": "octocat",
64977
+ "gravatar_id": "",
64978
+ "url": "https://api.github.com/users/octocat",
64979
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4"
64980
+ },
64981
+ "repo": {
64982
+ "id": 1296269,
64983
+ "name": "octocat/Hello-World",
64984
+ "url": "https://api.github.com/repos/octocat/Hello-World"
64985
+ },
64986
+ "payload": { "action": "started" },
64987
+ "public": true,
64988
+ "created_at": "2022-06-08T23:29:25Z"
64989
+ }
64990
+ ]
64991
+ },
64774
64992
  "minimal-repository-items-2": {
64775
64993
  "value": [
64776
64994
  {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "6.1.3",
6
+ "version": "6.2.1",
7
7
  "description": "GitHub's official OpenAPI spec with Octokit extensions",
8
8
  "main": "index.js",
9
9
  "files": [
@@ -29,7 +29,7 @@
29
29
  "execa": "^5.1.1",
30
30
  "github-enterprise-server-versions": "^1.1.0",
31
31
  "lodash": "^4.17.21",
32
- "map-obj": "^5.0.0",
32
+ "map-obj": "^4.3.0",
33
33
  "prettier": "^2.6.2",
34
34
  "semantic-release": "^19.0.3",
35
35
  "semantic-release-plugin-update-version-in-files": "^1.1.0",