@octokit/openapi 6.2.1 → 6.3.0
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 +7628 -7780
- package/generated/api.github.com.json +1267 -1290
- 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 +60 -2
- 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 +44 -45
- package/generated/ghes-3.5.json +65 -68
- 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 +34 -117
- package/generated/github.ae.json +57 -93
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.3.0",
|
|
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" },
|
|
@@ -54010,7 +54010,7 @@
|
|
|
54010
54010
|
"selected_repository_ids": {
|
|
54011
54011
|
"type": "array",
|
|
54012
54012
|
"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/enterprise-server@3.3/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.3/rest/reference/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.3/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints.",
|
|
54013
|
-
"items": { "type": "
|
|
54013
|
+
"items": { "type": "integer" }
|
|
54014
54014
|
}
|
|
54015
54015
|
},
|
|
54016
54016
|
"required": ["visibility"]
|
|
@@ -54021,7 +54021,7 @@
|
|
|
54021
54021
|
"encrypted_value": "c2VjcmV0",
|
|
54022
54022
|
"key_id": "012345678912345678",
|
|
54023
54023
|
"visibility": "selected",
|
|
54024
|
-
"selected_repository_ids": [
|
|
54024
|
+
"selected_repository_ids": [1296269, 1296280]
|
|
54025
54025
|
}
|
|
54026
54026
|
}
|
|
54027
54027
|
}
|
|
@@ -54052,7 +54052,7 @@
|
|
|
54052
54052
|
"category": "actions",
|
|
54053
54053
|
"subcategory": "secrets"
|
|
54054
54054
|
},
|
|
54055
|
-
"x-octokit": {}
|
|
54055
|
+
"x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
|
|
54056
54056
|
},
|
|
54057
54057
|
"delete": {
|
|
54058
54058
|
"summary": "Delete an organization secret",
|
|
@@ -109569,7 +109569,7 @@
|
|
|
109569
109569
|
},
|
|
109570
109570
|
"url_template": {
|
|
109571
109571
|
"type": "string",
|
|
109572
|
-
"description": "The URL must contain
|
|
109572
|
+
"description": "The URL must contain `<num>` for the reference number."
|
|
109573
109573
|
}
|
|
109574
109574
|
},
|
|
109575
109575
|
"required": ["key_prefix", "url_template"]
|
|
@@ -197121,7 +197121,7 @@
|
|
|
197121
197121
|
"operationId": "issues/remove-assignees",
|
|
197122
197122
|
"externalDocs": {
|
|
197123
197123
|
"description": "API method documentation",
|
|
197124
|
-
"url": "https://docs.github.com/
|
|
197124
|
+
"url": "https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue"
|
|
197125
197125
|
},
|
|
197126
197126
|
"parameters": [
|
|
197127
197127
|
{
|
|
@@ -197147,6 +197147,7 @@
|
|
|
197147
197147
|
}
|
|
197148
197148
|
],
|
|
197149
197149
|
"requestBody": {
|
|
197150
|
+
"required": true,
|
|
197150
197151
|
"content": {
|
|
197151
197152
|
"application/json": {
|
|
197152
197153
|
"schema": {
|
|
@@ -197157,7 +197158,8 @@
|
|
|
197157
197158
|
"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._",
|
|
197158
197159
|
"items": { "type": "string" }
|
|
197159
197160
|
}
|
|
197160
|
-
}
|
|
197161
|
+
},
|
|
197162
|
+
"required": ["assignees"]
|
|
197161
197163
|
},
|
|
197162
197164
|
"examples": {
|
|
197163
197165
|
"default": { "value": { "assignees": ["hubot", "other_user"] } }
|
|
@@ -198588,6 +198590,9 @@
|
|
|
198588
198590
|
"allow_auto_merge": { "type": "boolean" },
|
|
198589
198591
|
"delete_branch_on_merge": { "type": "boolean" },
|
|
198590
198592
|
"allow_update_branch": { "type": "boolean" },
|
|
198593
|
+
"use_squash_pr_title_as_default": {
|
|
198594
|
+
"type": "boolean"
|
|
198595
|
+
},
|
|
198591
198596
|
"allow_merge_commit": { "type": "boolean" },
|
|
198592
198597
|
"subscribers_count": { "type": "integer" },
|
|
198593
198598
|
"network_count": { "type": "integer" }
|
|
@@ -198618,6 +198623,11 @@
|
|
|
198618
198623
|
"type": "boolean",
|
|
198619
198624
|
"example": false
|
|
198620
198625
|
},
|
|
198626
|
+
"use_squash_pr_title_as_default": {
|
|
198627
|
+
"type": "boolean",
|
|
198628
|
+
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
198629
|
+
"default": false
|
|
198630
|
+
},
|
|
198621
198631
|
"allow_merge_commit": {
|
|
198622
198632
|
"description": "Whether to allow merge commits for pull requests.",
|
|
198623
198633
|
"default": true,
|
|
@@ -327961,7 +327971,7 @@
|
|
|
327961
327971
|
"operationId": "dependabot/create-or-update-org-secret",
|
|
327962
327972
|
"externalDocs": {
|
|
327963
327973
|
"description": "API method documentation",
|
|
327964
|
-
"url": "https://docs.github.com/
|
|
327974
|
+
"url": "https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret"
|
|
327965
327975
|
},
|
|
327966
327976
|
"x-octokit": { "ghes-3.4": "removed" },
|
|
327967
327977
|
"responses": { "501": { "description": "Not Implemented" } }
|
package/generated/ghes-3.3.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.3.0",
|
|
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" },
|
|
@@ -8483,7 +8483,7 @@
|
|
|
8483
8483
|
"selected_repository_ids": {
|
|
8484
8484
|
"type": "array",
|
|
8485
8485
|
"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/enterprise-server@3.3/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.3/rest/reference/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.3/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints.",
|
|
8486
|
-
"items": { "type": "
|
|
8486
|
+
"items": { "type": "integer" }
|
|
8487
8487
|
}
|
|
8488
8488
|
},
|
|
8489
8489
|
"required": ["visibility"]
|
|
@@ -8494,7 +8494,7 @@
|
|
|
8494
8494
|
"encrypted_value": "c2VjcmV0",
|
|
8495
8495
|
"key_id": "012345678912345678",
|
|
8496
8496
|
"visibility": "selected",
|
|
8497
|
-
"selected_repository_ids": [
|
|
8497
|
+
"selected_repository_ids": [1296269, 1296280]
|
|
8498
8498
|
}
|
|
8499
8499
|
}
|
|
8500
8500
|
}
|
|
@@ -8519,7 +8519,7 @@
|
|
|
8519
8519
|
"category": "actions",
|
|
8520
8520
|
"subcategory": "secrets"
|
|
8521
8521
|
},
|
|
8522
|
-
"x-octokit": {}
|
|
8522
|
+
"x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
|
|
8523
8523
|
},
|
|
8524
8524
|
"delete": {
|
|
8525
8525
|
"summary": "Delete an organization secret",
|
|
@@ -15548,7 +15548,7 @@
|
|
|
15548
15548
|
},
|
|
15549
15549
|
"url_template": {
|
|
15550
15550
|
"type": "string",
|
|
15551
|
-
"description": "The URL must contain
|
|
15551
|
+
"description": "The URL must contain `<num>` for the reference number."
|
|
15552
15552
|
}
|
|
15553
15553
|
},
|
|
15554
15554
|
"required": ["key_prefix", "url_template"]
|
|
@@ -21521,7 +21521,7 @@
|
|
|
21521
21521
|
}
|
|
21522
21522
|
},
|
|
21523
21523
|
"deployment_branch_policy": {
|
|
21524
|
-
"$ref": "#/components/schemas/
|
|
21524
|
+
"$ref": "#/components/schemas/deployment-branch-policy"
|
|
21525
21525
|
}
|
|
21526
21526
|
},
|
|
21527
21527
|
"additionalProperties": false
|
|
@@ -24244,7 +24244,7 @@
|
|
|
24244
24244
|
"operationId": "issues/remove-assignees",
|
|
24245
24245
|
"externalDocs": {
|
|
24246
24246
|
"description": "API method documentation",
|
|
24247
|
-
"url": "https://docs.github.com/
|
|
24247
|
+
"url": "https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue"
|
|
24248
24248
|
},
|
|
24249
24249
|
"parameters": [
|
|
24250
24250
|
{ "$ref": "#/components/parameters/owner" },
|
|
@@ -24252,6 +24252,7 @@
|
|
|
24252
24252
|
{ "$ref": "#/components/parameters/issue-number" }
|
|
24253
24253
|
],
|
|
24254
24254
|
"requestBody": {
|
|
24255
|
+
"required": true,
|
|
24255
24256
|
"content": {
|
|
24256
24257
|
"application/json": {
|
|
24257
24258
|
"schema": {
|
|
@@ -24262,7 +24263,8 @@
|
|
|
24262
24263
|
"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._",
|
|
24263
24264
|
"items": { "type": "string" }
|
|
24264
24265
|
}
|
|
24265
|
-
}
|
|
24266
|
+
},
|
|
24267
|
+
"required": ["assignees"]
|
|
24266
24268
|
},
|
|
24267
24269
|
"examples": {
|
|
24268
24270
|
"default": { "value": { "assignees": ["hubot", "other_user"] } }
|
|
@@ -37425,7 +37427,7 @@
|
|
|
37425
37427
|
"operationId": "dependabot/create-or-update-org-secret",
|
|
37426
37428
|
"externalDocs": {
|
|
37427
37429
|
"description": "API method documentation",
|
|
37428
|
-
"url": "https://docs.github.com/
|
|
37430
|
+
"url": "https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret"
|
|
37429
37431
|
},
|
|
37430
37432
|
"x-octokit": { "ghes-3.4.json": "removed" },
|
|
37431
37433
|
"responses": { "501": { "description": "Not Implemented" } }
|
|
@@ -40688,7 +40690,7 @@
|
|
|
40688
40690
|
],
|
|
40689
40691
|
"nullable": true
|
|
40690
40692
|
},
|
|
40691
|
-
"
|
|
40693
|
+
"author-association": {
|
|
40692
40694
|
"title": "author_association",
|
|
40693
40695
|
"type": "string",
|
|
40694
40696
|
"example": "OWNER",
|
|
@@ -40854,7 +40856,7 @@
|
|
|
40854
40856
|
"$ref": "#/components/schemas/nullable-integration"
|
|
40855
40857
|
},
|
|
40856
40858
|
"author_association": {
|
|
40857
|
-
"$ref": "#/components/schemas/
|
|
40859
|
+
"$ref": "#/components/schemas/author-association"
|
|
40858
40860
|
},
|
|
40859
40861
|
"reactions": { "$ref": "#/components/schemas/reaction-rollup" }
|
|
40860
40862
|
},
|
|
@@ -40920,7 +40922,7 @@
|
|
|
40920
40922
|
},
|
|
40921
40923
|
"issue_url": { "type": "string", "format": "uri" },
|
|
40922
40924
|
"author_association": {
|
|
40923
|
-
"$ref": "#/components/schemas/
|
|
40925
|
+
"$ref": "#/components/schemas/author-association"
|
|
40924
40926
|
},
|
|
40925
40927
|
"performed_via_github_app": {
|
|
40926
40928
|
"$ref": "#/components/schemas/nullable-integration"
|
|
@@ -41395,7 +41397,7 @@
|
|
|
41395
41397
|
"example": "2011-04-18T23:23:56Z"
|
|
41396
41398
|
},
|
|
41397
41399
|
"author_association": {
|
|
41398
|
-
"$ref": "#/components/schemas/
|
|
41400
|
+
"$ref": "#/components/schemas/author-association"
|
|
41399
41401
|
}
|
|
41400
41402
|
},
|
|
41401
41403
|
"required": [
|
|
@@ -47526,7 +47528,7 @@
|
|
|
47526
47528
|
"created_at": { "type": "string", "format": "date-time" },
|
|
47527
47529
|
"updated_at": { "type": "string", "format": "date-time" },
|
|
47528
47530
|
"author_association": {
|
|
47529
|
-
"$ref": "#/components/schemas/
|
|
47531
|
+
"$ref": "#/components/schemas/author-association"
|
|
47530
47532
|
},
|
|
47531
47533
|
"reactions": { "$ref": "#/components/schemas/reaction-rollup" }
|
|
47532
47534
|
},
|
|
@@ -47571,7 +47573,7 @@
|
|
|
47571
47573
|
"properties": { "href": { "type": "string" } },
|
|
47572
47574
|
"required": ["href"]
|
|
47573
47575
|
},
|
|
47574
|
-
"
|
|
47576
|
+
"auto-merge": {
|
|
47575
47577
|
"title": "Auto merge",
|
|
47576
47578
|
"description": "The status of auto merging a pull request.",
|
|
47577
47579
|
"type": "object",
|
|
@@ -47787,9 +47789,9 @@
|
|
|
47787
47789
|
]
|
|
47788
47790
|
},
|
|
47789
47791
|
"author_association": {
|
|
47790
|
-
"$ref": "#/components/schemas/
|
|
47792
|
+
"$ref": "#/components/schemas/author-association"
|
|
47791
47793
|
},
|
|
47792
|
-
"auto_merge": { "$ref": "#/components/schemas/
|
|
47794
|
+
"auto_merge": { "$ref": "#/components/schemas/auto-merge" },
|
|
47793
47795
|
"draft": {
|
|
47794
47796
|
"description": "Indicates whether or not the pull request is a draft.",
|
|
47795
47797
|
"example": false,
|
|
@@ -48513,7 +48515,7 @@
|
|
|
48513
48515
|
"example": 30,
|
|
48514
48516
|
"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)."
|
|
48515
48517
|
},
|
|
48516
|
-
"
|
|
48518
|
+
"deployment-branch-policy": {
|
|
48517
48519
|
"type": "object",
|
|
48518
48520
|
"description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.",
|
|
48519
48521
|
"properties": {
|
|
@@ -48634,7 +48636,7 @@
|
|
|
48634
48636
|
}
|
|
48635
48637
|
},
|
|
48636
48638
|
"deployment_branch_policy": {
|
|
48637
|
-
"$ref": "#/components/schemas/
|
|
48639
|
+
"$ref": "#/components/schemas/deployment-branch-policy"
|
|
48638
48640
|
}
|
|
48639
48641
|
},
|
|
48640
48642
|
"required": [
|
|
@@ -49151,7 +49153,7 @@
|
|
|
49151
49153
|
"$ref": "#/components/schemas/nullable-integration"
|
|
49152
49154
|
},
|
|
49153
49155
|
"author_association": {
|
|
49154
|
-
"$ref": "#/components/schemas/
|
|
49156
|
+
"$ref": "#/components/schemas/author-association"
|
|
49155
49157
|
},
|
|
49156
49158
|
"reactions": { "$ref": "#/components/schemas/reaction-rollup" }
|
|
49157
49159
|
},
|
|
@@ -49281,7 +49283,7 @@
|
|
|
49281
49283
|
},
|
|
49282
49284
|
"rename": { "$ref": "#/components/schemas/issue-event-rename" },
|
|
49283
49285
|
"author_association": {
|
|
49284
|
-
"$ref": "#/components/schemas/
|
|
49286
|
+
"$ref": "#/components/schemas/author-association"
|
|
49285
49287
|
},
|
|
49286
49288
|
"lock_reason": { "type": "string", "nullable": true },
|
|
49287
49289
|
"performed_via_github_app": {
|
|
@@ -49984,7 +49986,7 @@
|
|
|
49984
49986
|
},
|
|
49985
49987
|
"issue_url": { "type": "string", "format": "uri" },
|
|
49986
49988
|
"author_association": {
|
|
49987
|
-
"$ref": "#/components/schemas/
|
|
49989
|
+
"$ref": "#/components/schemas/author-association"
|
|
49988
49990
|
},
|
|
49989
49991
|
"performed_via_github_app": {
|
|
49990
49992
|
"$ref": "#/components/schemas/nullable-integration"
|
|
@@ -50199,7 +50201,7 @@
|
|
|
50199
50201
|
"body_html": { "type": "string" },
|
|
50200
50202
|
"body_text": { "type": "string" },
|
|
50201
50203
|
"author_association": {
|
|
50202
|
-
"$ref": "#/components/schemas/
|
|
50204
|
+
"$ref": "#/components/schemas/author-association"
|
|
50203
50205
|
}
|
|
50204
50206
|
},
|
|
50205
50207
|
"required": [
|
|
@@ -50306,7 +50308,7 @@
|
|
|
50306
50308
|
"example": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
|
|
50307
50309
|
},
|
|
50308
50310
|
"author_association": {
|
|
50309
|
-
"$ref": "#/components/schemas/
|
|
50311
|
+
"$ref": "#/components/schemas/author-association"
|
|
50310
50312
|
},
|
|
50311
50313
|
"_links": {
|
|
50312
50314
|
"type": "object",
|
|
@@ -51758,9 +51760,9 @@
|
|
|
51758
51760
|
]
|
|
51759
51761
|
},
|
|
51760
51762
|
"author_association": {
|
|
51761
|
-
"$ref": "#/components/schemas/
|
|
51763
|
+
"$ref": "#/components/schemas/author-association"
|
|
51762
51764
|
},
|
|
51763
|
-
"auto_merge": { "$ref": "#/components/schemas/
|
|
51765
|
+
"auto_merge": { "$ref": "#/components/schemas/auto-merge" },
|
|
51764
51766
|
"draft": {
|
|
51765
51767
|
"description": "Indicates whether or not the pull request is a draft.",
|
|
51766
51768
|
"example": false,
|
|
@@ -51915,7 +51917,7 @@
|
|
|
51915
51917
|
"body_html": { "type": "string" },
|
|
51916
51918
|
"body_text": { "type": "string" },
|
|
51917
51919
|
"author_association": {
|
|
51918
|
-
"$ref": "#/components/schemas/
|
|
51920
|
+
"$ref": "#/components/schemas/author-association"
|
|
51919
51921
|
}
|
|
51920
51922
|
},
|
|
51921
51923
|
"required": [
|
|
@@ -51990,7 +51992,7 @@
|
|
|
51990
51992
|
"example": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
|
|
51991
51993
|
},
|
|
51992
51994
|
"author_association": {
|
|
51993
|
-
"$ref": "#/components/schemas/
|
|
51995
|
+
"$ref": "#/components/schemas/author-association"
|
|
51994
51996
|
},
|
|
51995
51997
|
"_links": {
|
|
51996
51998
|
"type": "object",
|
|
@@ -52677,7 +52679,7 @@
|
|
|
52677
52679
|
"body": { "type": "string" },
|
|
52678
52680
|
"score": { "type": "number" },
|
|
52679
52681
|
"author_association": {
|
|
52680
|
-
"$ref": "#/components/schemas/
|
|
52682
|
+
"$ref": "#/components/schemas/author-association"
|
|
52681
52683
|
},
|
|
52682
52684
|
"draft": { "type": "boolean" },
|
|
52683
52685
|
"repository": { "$ref": "#/components/schemas/repository" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.3.0",
|
|
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" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.3.0",
|
|
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" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.3.0",
|
|
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" },
|
|
@@ -55064,7 +55064,7 @@
|
|
|
55064
55064
|
"operationId": "actions/create-or-update-org-secret",
|
|
55065
55065
|
"externalDocs": {
|
|
55066
55066
|
"description": "API method documentation",
|
|
55067
|
-
"url": "https://docs.github.com/
|
|
55067
|
+
"url": "https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret"
|
|
55068
55068
|
},
|
|
55069
55069
|
"parameters": [
|
|
55070
55070
|
{
|
|
@@ -55091,7 +55091,7 @@
|
|
|
55091
55091
|
"properties": {
|
|
55092
55092
|
"encrypted_value": {
|
|
55093
55093
|
"type": "string",
|
|
55094
|
-
"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/
|
|
55094
|
+
"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.",
|
|
55095
55095
|
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$"
|
|
55096
55096
|
},
|
|
55097
55097
|
"key_id": {
|
|
@@ -55105,8 +55105,10 @@
|
|
|
55105
55105
|
},
|
|
55106
55106
|
"selected_repository_ids": {
|
|
55107
55107
|
"type": "array",
|
|
55108
|
-
"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/
|
|
55109
|
-
"items": {
|
|
55108
|
+
"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.",
|
|
55109
|
+
"items": {
|
|
55110
|
+
"anyOf": [{ "type": "integer" }, { "type": "string" }]
|
|
55111
|
+
}
|
|
55110
55112
|
}
|
|
55111
55113
|
},
|
|
55112
55114
|
"required": ["visibility"]
|
|
@@ -55117,7 +55119,7 @@
|
|
|
55117
55119
|
"encrypted_value": "c2VjcmV0",
|
|
55118
55120
|
"key_id": "012345678912345678",
|
|
55119
55121
|
"visibility": "selected",
|
|
55120
|
-
"selected_repository_ids": [
|
|
55122
|
+
"selected_repository_ids": [1296269, 1296280]
|
|
55121
55123
|
}
|
|
55122
55124
|
}
|
|
55123
55125
|
}
|
|
@@ -57386,7 +57388,7 @@
|
|
|
57386
57388
|
"operationId": "dependabot/create-or-update-org-secret",
|
|
57387
57389
|
"externalDocs": {
|
|
57388
57390
|
"description": "API method documentation",
|
|
57389
|
-
"url": "https://docs.github.com/
|
|
57391
|
+
"url": "https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret"
|
|
57390
57392
|
},
|
|
57391
57393
|
"parameters": [
|
|
57392
57394
|
{
|
|
@@ -57413,7 +57415,7 @@
|
|
|
57413
57415
|
"properties": {
|
|
57414
57416
|
"encrypted_value": {
|
|
57415
57417
|
"type": "string",
|
|
57416
|
-
"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/
|
|
57418
|
+
"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.",
|
|
57417
57419
|
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$"
|
|
57418
57420
|
},
|
|
57419
57421
|
"key_id": {
|
|
@@ -57427,8 +57429,10 @@
|
|
|
57427
57429
|
},
|
|
57428
57430
|
"selected_repository_ids": {
|
|
57429
57431
|
"type": "array",
|
|
57430
|
-
"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/
|
|
57431
|
-
"items": {
|
|
57432
|
+
"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.",
|
|
57433
|
+
"items": {
|
|
57434
|
+
"anyOf": [{ "type": "string" }, { "type": "integer" }]
|
|
57435
|
+
}
|
|
57432
57436
|
}
|
|
57433
57437
|
},
|
|
57434
57438
|
"required": ["visibility"]
|
|
@@ -117245,7 +117249,7 @@
|
|
|
117245
117249
|
},
|
|
117246
117250
|
"url_template": {
|
|
117247
117251
|
"type": "string",
|
|
117248
|
-
"description": "The URL must contain
|
|
117252
|
+
"description": "The URL must contain `<num>` for the reference number."
|
|
117249
117253
|
}
|
|
117250
117254
|
},
|
|
117251
117255
|
"required": ["key_prefix", "url_template"]
|
|
@@ -208637,7 +208641,7 @@
|
|
|
208637
208641
|
"operationId": "issues/remove-assignees",
|
|
208638
208642
|
"externalDocs": {
|
|
208639
208643
|
"description": "API method documentation",
|
|
208640
|
-
"url": "https://docs.github.com/
|
|
208644
|
+
"url": "https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue"
|
|
208641
208645
|
},
|
|
208642
208646
|
"parameters": [
|
|
208643
208647
|
{
|
|
@@ -208663,6 +208667,7 @@
|
|
|
208663
208667
|
}
|
|
208664
208668
|
],
|
|
208665
208669
|
"requestBody": {
|
|
208670
|
+
"required": true,
|
|
208666
208671
|
"content": {
|
|
208667
208672
|
"application/json": {
|
|
208668
208673
|
"schema": {
|
|
@@ -208673,7 +208678,8 @@
|
|
|
208673
208678
|
"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._",
|
|
208674
208679
|
"items": { "type": "string" }
|
|
208675
208680
|
}
|
|
208676
|
-
}
|
|
208681
|
+
},
|
|
208682
|
+
"required": ["assignees"]
|
|
208677
208683
|
},
|
|
208678
208684
|
"examples": {
|
|
208679
208685
|
"default": { "value": { "assignees": ["hubot", "other_user"] } }
|
|
@@ -210104,6 +210110,9 @@
|
|
|
210104
210110
|
"allow_auto_merge": { "type": "boolean" },
|
|
210105
210111
|
"delete_branch_on_merge": { "type": "boolean" },
|
|
210106
210112
|
"allow_update_branch": { "type": "boolean" },
|
|
210113
|
+
"use_squash_pr_title_as_default": {
|
|
210114
|
+
"type": "boolean"
|
|
210115
|
+
},
|
|
210107
210116
|
"allow_merge_commit": { "type": "boolean" },
|
|
210108
210117
|
"subscribers_count": { "type": "integer" },
|
|
210109
210118
|
"network_count": { "type": "integer" }
|
|
@@ -210134,6 +210143,11 @@
|
|
|
210134
210143
|
"type": "boolean",
|
|
210135
210144
|
"example": false
|
|
210136
210145
|
},
|
|
210146
|
+
"use_squash_pr_title_as_default": {
|
|
210147
|
+
"type": "boolean",
|
|
210148
|
+
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
210149
|
+
"default": false
|
|
210150
|
+
},
|
|
210137
210151
|
"allow_merge_commit": {
|
|
210138
210152
|
"description": "Whether to allow merge commits for pull requests.",
|
|
210139
210153
|
"default": true,
|