@octokit/openapi 6.2.0 → 6.3.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.
- package/generated/api.github.com.deref.json +7626 -7769
- package/generated/api.github.com.json +3925 -3453
- package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +1 -1
- package/generated/ghes-3.2.deref.json +15 -5
- package/generated/ghes-3.2.json +28 -26
- package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +23 -0
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +96 -1
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +92 -1
- package/generated/ghes-3.3.deref.json +18 -8
- package/generated/ghes-3.3.json +31 -29
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
- package/generated/ghes-3.4.deref.json +27 -13
- package/generated/ghes-3.4.json +40 -34
- package/generated/ghes-3.5-anicca-diff-to-api.github.com.deref.json +112594 -10961
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +328 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +206 -10
- package/generated/ghes-3.5.deref.json +218 -2503
- package/generated/ghes-3.5.json +233 -2746
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +83 -1
- package/generated/github.ae-diff-to-api.github.com.deref.json +423 -1
- package/generated/github.ae-diff-to-api.github.com.json +294 -12
- package/generated/github.ae.deref.json +154 -3680
- package/generated/github.ae.json +169 -3840
- package/package.json +1 -1
package/generated/ghes-3.4.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.3.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" },
|
|
@@ -8842,7 +8842,7 @@
|
|
|
8842
8842
|
"operationId": "actions/create-or-update-org-secret",
|
|
8843
8843
|
"externalDocs": {
|
|
8844
8844
|
"description": "API method documentation",
|
|
8845
|
-
"url": "https://docs.github.com/
|
|
8845
|
+
"url": "https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret"
|
|
8846
8846
|
},
|
|
8847
8847
|
"parameters": [
|
|
8848
8848
|
{ "$ref": "#/components/parameters/org" },
|
|
@@ -8857,7 +8857,7 @@
|
|
|
8857
8857
|
"properties": {
|
|
8858
8858
|
"encrypted_value": {
|
|
8859
8859
|
"type": "string",
|
|
8860
|
-
"description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/
|
|
8860
|
+
"description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/reference/actions#get-an-organization-public-key) endpoint.",
|
|
8861
8861
|
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$"
|
|
8862
8862
|
},
|
|
8863
8863
|
"key_id": {
|
|
@@ -8871,8 +8871,10 @@
|
|
|
8871
8871
|
},
|
|
8872
8872
|
"selected_repository_ids": {
|
|
8873
8873
|
"type": "array",
|
|
8874
|
-
"description": "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/
|
|
8875
|
-
"items": {
|
|
8874
|
+
"description": "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/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints.",
|
|
8875
|
+
"items": {
|
|
8876
|
+
"anyOf": [{ "type": "integer" }, { "type": "string" }]
|
|
8877
|
+
}
|
|
8876
8878
|
}
|
|
8877
8879
|
},
|
|
8878
8880
|
"required": ["visibility"]
|
|
@@ -8883,7 +8885,7 @@
|
|
|
8883
8885
|
"encrypted_value": "c2VjcmV0",
|
|
8884
8886
|
"key_id": "012345678912345678",
|
|
8885
8887
|
"visibility": "selected",
|
|
8886
|
-
"selected_repository_ids": [
|
|
8888
|
+
"selected_repository_ids": [1296269, 1296280]
|
|
8887
8889
|
}
|
|
8888
8890
|
}
|
|
8889
8891
|
}
|
|
@@ -9282,7 +9284,7 @@
|
|
|
9282
9284
|
"operationId": "dependabot/create-or-update-org-secret",
|
|
9283
9285
|
"externalDocs": {
|
|
9284
9286
|
"description": "API method documentation",
|
|
9285
|
-
"url": "https://docs.github.com/
|
|
9287
|
+
"url": "https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret"
|
|
9286
9288
|
},
|
|
9287
9289
|
"parameters": [
|
|
9288
9290
|
{ "$ref": "#/components/parameters/org" },
|
|
@@ -9297,7 +9299,7 @@
|
|
|
9297
9299
|
"properties": {
|
|
9298
9300
|
"encrypted_value": {
|
|
9299
9301
|
"type": "string",
|
|
9300
|
-
"description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/
|
|
9302
|
+
"description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/reference/dependabot#get-an-organization-public-key) endpoint.",
|
|
9301
9303
|
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$"
|
|
9302
9304
|
},
|
|
9303
9305
|
"key_id": {
|
|
@@ -9311,8 +9313,10 @@
|
|
|
9311
9313
|
},
|
|
9312
9314
|
"selected_repository_ids": {
|
|
9313
9315
|
"type": "array",
|
|
9314
|
-
"description": "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/
|
|
9315
|
-
"items": {
|
|
9316
|
+
"description": "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/rest/reference/dependabot#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret) endpoints.",
|
|
9317
|
+
"items": {
|
|
9318
|
+
"anyOf": [{ "type": "string" }, { "type": "integer" }]
|
|
9319
|
+
}
|
|
9316
9320
|
}
|
|
9317
9321
|
},
|
|
9318
9322
|
"required": ["visibility"]
|
|
@@ -16778,7 +16782,7 @@
|
|
|
16778
16782
|
},
|
|
16779
16783
|
"url_template": {
|
|
16780
16784
|
"type": "string",
|
|
16781
|
-
"description": "The URL must contain
|
|
16785
|
+
"description": "The URL must contain `<num>` for the reference number."
|
|
16782
16786
|
}
|
|
16783
16787
|
},
|
|
16784
16788
|
"required": ["key_prefix", "url_template"]
|
|
@@ -22935,7 +22939,7 @@
|
|
|
22935
22939
|
}
|
|
22936
22940
|
},
|
|
22937
22941
|
"deployment_branch_policy": {
|
|
22938
|
-
"$ref": "#/components/schemas/
|
|
22942
|
+
"$ref": "#/components/schemas/deployment-branch-policy"
|
|
22939
22943
|
}
|
|
22940
22944
|
},
|
|
22941
22945
|
"additionalProperties": false
|
|
@@ -25658,7 +25662,7 @@
|
|
|
25658
25662
|
"operationId": "issues/remove-assignees",
|
|
25659
25663
|
"externalDocs": {
|
|
25660
25664
|
"description": "API method documentation",
|
|
25661
|
-
"url": "https://docs.github.com/
|
|
25665
|
+
"url": "https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue"
|
|
25662
25666
|
},
|
|
25663
25667
|
"parameters": [
|
|
25664
25668
|
{ "$ref": "#/components/parameters/owner" },
|
|
@@ -25666,6 +25670,7 @@
|
|
|
25666
25670
|
{ "$ref": "#/components/parameters/issue-number" }
|
|
25667
25671
|
],
|
|
25668
25672
|
"requestBody": {
|
|
25673
|
+
"required": true,
|
|
25669
25674
|
"content": {
|
|
25670
25675
|
"application/json": {
|
|
25671
25676
|
"schema": {
|
|
@@ -25676,7 +25681,8 @@
|
|
|
25676
25681
|
"description": "Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._",
|
|
25677
25682
|
"items": { "type": "string" }
|
|
25678
25683
|
}
|
|
25679
|
-
}
|
|
25684
|
+
},
|
|
25685
|
+
"required": ["assignees"]
|
|
25680
25686
|
},
|
|
25681
25687
|
"examples": {
|
|
25682
25688
|
"default": { "value": { "assignees": ["hubot", "other_user"] } }
|
|
@@ -42413,7 +42419,7 @@
|
|
|
42413
42419
|
],
|
|
42414
42420
|
"nullable": true
|
|
42415
42421
|
},
|
|
42416
|
-
"
|
|
42422
|
+
"author-association": {
|
|
42417
42423
|
"title": "author_association",
|
|
42418
42424
|
"type": "string",
|
|
42419
42425
|
"example": "OWNER",
|
|
@@ -42579,7 +42585,7 @@
|
|
|
42579
42585
|
"$ref": "#/components/schemas/nullable-integration"
|
|
42580
42586
|
},
|
|
42581
42587
|
"author_association": {
|
|
42582
|
-
"$ref": "#/components/schemas/
|
|
42588
|
+
"$ref": "#/components/schemas/author-association"
|
|
42583
42589
|
},
|
|
42584
42590
|
"reactions": { "$ref": "#/components/schemas/reaction-rollup" }
|
|
42585
42591
|
},
|
|
@@ -42645,7 +42651,7 @@
|
|
|
42645
42651
|
},
|
|
42646
42652
|
"issue_url": { "type": "string", "format": "uri" },
|
|
42647
42653
|
"author_association": {
|
|
42648
|
-
"$ref": "#/components/schemas/
|
|
42654
|
+
"$ref": "#/components/schemas/author-association"
|
|
42649
42655
|
},
|
|
42650
42656
|
"performed_via_github_app": {
|
|
42651
42657
|
"$ref": "#/components/schemas/nullable-integration"
|
|
@@ -43120,7 +43126,7 @@
|
|
|
43120
43126
|
"example": "2011-04-18T23:23:56Z"
|
|
43121
43127
|
},
|
|
43122
43128
|
"author_association": {
|
|
43123
|
-
"$ref": "#/components/schemas/
|
|
43129
|
+
"$ref": "#/components/schemas/author-association"
|
|
43124
43130
|
}
|
|
43125
43131
|
},
|
|
43126
43132
|
"required": [
|
|
@@ -49091,7 +49097,7 @@
|
|
|
49091
49097
|
"created_at": { "type": "string", "format": "date-time" },
|
|
49092
49098
|
"updated_at": { "type": "string", "format": "date-time" },
|
|
49093
49099
|
"author_association": {
|
|
49094
|
-
"$ref": "#/components/schemas/
|
|
49100
|
+
"$ref": "#/components/schemas/author-association"
|
|
49095
49101
|
},
|
|
49096
49102
|
"reactions": { "$ref": "#/components/schemas/reaction-rollup" }
|
|
49097
49103
|
},
|
|
@@ -49136,7 +49142,7 @@
|
|
|
49136
49142
|
"properties": { "href": { "type": "string" } },
|
|
49137
49143
|
"required": ["href"]
|
|
49138
49144
|
},
|
|
49139
|
-
"
|
|
49145
|
+
"auto-merge": {
|
|
49140
49146
|
"title": "Auto merge",
|
|
49141
49147
|
"description": "The status of auto merging a pull request.",
|
|
49142
49148
|
"type": "object",
|
|
@@ -49352,9 +49358,9 @@
|
|
|
49352
49358
|
]
|
|
49353
49359
|
},
|
|
49354
49360
|
"author_association": {
|
|
49355
|
-
"$ref": "#/components/schemas/
|
|
49361
|
+
"$ref": "#/components/schemas/author-association"
|
|
49356
49362
|
},
|
|
49357
|
-
"auto_merge": { "$ref": "#/components/schemas/
|
|
49363
|
+
"auto_merge": { "$ref": "#/components/schemas/auto-merge" },
|
|
49358
49364
|
"draft": {
|
|
49359
49365
|
"description": "Indicates whether or not the pull request is a draft.",
|
|
49360
49366
|
"example": false,
|
|
@@ -50063,7 +50069,7 @@
|
|
|
50063
50069
|
"example": 30,
|
|
50064
50070
|
"description": "The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days)."
|
|
50065
50071
|
},
|
|
50066
|
-
"
|
|
50072
|
+
"deployment-branch-policy": {
|
|
50067
50073
|
"type": "object",
|
|
50068
50074
|
"description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.",
|
|
50069
50075
|
"properties": {
|
|
@@ -50184,7 +50190,7 @@
|
|
|
50184
50190
|
}
|
|
50185
50191
|
},
|
|
50186
50192
|
"deployment_branch_policy": {
|
|
50187
|
-
"$ref": "#/components/schemas/
|
|
50193
|
+
"$ref": "#/components/schemas/deployment-branch-policy"
|
|
50188
50194
|
}
|
|
50189
50195
|
},
|
|
50190
50196
|
"required": [
|
|
@@ -50701,7 +50707,7 @@
|
|
|
50701
50707
|
"$ref": "#/components/schemas/nullable-integration"
|
|
50702
50708
|
},
|
|
50703
50709
|
"author_association": {
|
|
50704
|
-
"$ref": "#/components/schemas/
|
|
50710
|
+
"$ref": "#/components/schemas/author-association"
|
|
50705
50711
|
},
|
|
50706
50712
|
"reactions": { "$ref": "#/components/schemas/reaction-rollup" }
|
|
50707
50713
|
},
|
|
@@ -50831,7 +50837,7 @@
|
|
|
50831
50837
|
},
|
|
50832
50838
|
"rename": { "$ref": "#/components/schemas/issue-event-rename" },
|
|
50833
50839
|
"author_association": {
|
|
50834
|
-
"$ref": "#/components/schemas/
|
|
50840
|
+
"$ref": "#/components/schemas/author-association"
|
|
50835
50841
|
},
|
|
50836
50842
|
"lock_reason": { "type": "string", "nullable": true },
|
|
50837
50843
|
"performed_via_github_app": {
|
|
@@ -51534,7 +51540,7 @@
|
|
|
51534
51540
|
},
|
|
51535
51541
|
"issue_url": { "type": "string", "format": "uri" },
|
|
51536
51542
|
"author_association": {
|
|
51537
|
-
"$ref": "#/components/schemas/
|
|
51543
|
+
"$ref": "#/components/schemas/author-association"
|
|
51538
51544
|
},
|
|
51539
51545
|
"performed_via_github_app": {
|
|
51540
51546
|
"$ref": "#/components/schemas/nullable-integration"
|
|
@@ -51749,7 +51755,7 @@
|
|
|
51749
51755
|
"body_html": { "type": "string" },
|
|
51750
51756
|
"body_text": { "type": "string" },
|
|
51751
51757
|
"author_association": {
|
|
51752
|
-
"$ref": "#/components/schemas/
|
|
51758
|
+
"$ref": "#/components/schemas/author-association"
|
|
51753
51759
|
}
|
|
51754
51760
|
},
|
|
51755
51761
|
"required": [
|
|
@@ -51856,7 +51862,7 @@
|
|
|
51856
51862
|
"example": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
|
|
51857
51863
|
},
|
|
51858
51864
|
"author_association": {
|
|
51859
|
-
"$ref": "#/components/schemas/
|
|
51865
|
+
"$ref": "#/components/schemas/author-association"
|
|
51860
51866
|
},
|
|
51861
51867
|
"_links": {
|
|
51862
51868
|
"type": "object",
|
|
@@ -53308,9 +53314,9 @@
|
|
|
53308
53314
|
]
|
|
53309
53315
|
},
|
|
53310
53316
|
"author_association": {
|
|
53311
|
-
"$ref": "#/components/schemas/
|
|
53317
|
+
"$ref": "#/components/schemas/author-association"
|
|
53312
53318
|
},
|
|
53313
|
-
"auto_merge": { "$ref": "#/components/schemas/
|
|
53319
|
+
"auto_merge": { "$ref": "#/components/schemas/auto-merge" },
|
|
53314
53320
|
"draft": {
|
|
53315
53321
|
"description": "Indicates whether or not the pull request is a draft.",
|
|
53316
53322
|
"example": false,
|
|
@@ -53465,7 +53471,7 @@
|
|
|
53465
53471
|
"body_html": { "type": "string" },
|
|
53466
53472
|
"body_text": { "type": "string" },
|
|
53467
53473
|
"author_association": {
|
|
53468
|
-
"$ref": "#/components/schemas/
|
|
53474
|
+
"$ref": "#/components/schemas/author-association"
|
|
53469
53475
|
}
|
|
53470
53476
|
},
|
|
53471
53477
|
"required": [
|
|
@@ -53540,7 +53546,7 @@
|
|
|
53540
53546
|
"example": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
|
|
53541
53547
|
},
|
|
53542
53548
|
"author_association": {
|
|
53543
|
-
"$ref": "#/components/schemas/
|
|
53549
|
+
"$ref": "#/components/schemas/author-association"
|
|
53544
53550
|
},
|
|
53545
53551
|
"_links": {
|
|
53546
53552
|
"type": "object",
|
|
@@ -54221,7 +54227,7 @@
|
|
|
54221
54227
|
"body": { "type": "string" },
|
|
54222
54228
|
"score": { "type": "number" },
|
|
54223
54229
|
"author_association": {
|
|
54224
|
-
"$ref": "#/components/schemas/
|
|
54230
|
+
"$ref": "#/components/schemas/author-association"
|
|
54225
54231
|
},
|
|
54226
54232
|
"draft": { "type": "boolean" },
|
|
54227
54233
|
"repository": { "$ref": "#/components/schemas/repository" },
|