@octokit/openapi 11.0.0 → 11.1.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 +7867 -1059
- package/generated/api.github.com.json +1150 -152
- package/generated/ghec-diff-to-api.github.com.deref.json +4944 -11
- package/generated/ghec-diff-to-api.github.com.json +92 -1
- package/generated/ghec.deref.json +7870 -1062
- package/generated/ghec.json +1153 -155
- package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +0 -84
- package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +292 -4865
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +2 -675
- package/generated/ghes-3.5.deref.json +208 -60
- package/generated/ghes-3.5.json +21 -60
- package/generated/ghes-3.6-anicca-diff-to-ghes-3.7.deref.json +0 -48
- package/generated/ghes-3.6-diff-to-ghes-3.7.deref.json +2 -4739
- package/generated/ghes-3.6-diff-to-ghes-3.7.json +2 -684
- package/generated/ghes-3.6.deref.json +44 -60
- package/generated/ghes-3.6.json +21 -60
- package/generated/ghes-3.7-diff-to-ghes-3.8.deref.json +252 -11
- package/generated/ghes-3.7-diff-to-ghes-3.8.json +1 -1
- package/generated/ghes-3.7.deref.json +282 -63
- package/generated/ghes-3.7.json +133 -63
- package/generated/ghes-3.8-anicca-diff-to-api.github.com.deref.json +17 -38
- package/generated/ghes-3.8-diff-to-api.github.com.deref.json +252 -4758
- package/generated/ghes-3.8-diff-to-api.github.com.json +1 -672
- package/generated/ghes-3.8.deref.json +433 -70
- package/generated/ghes-3.8.json +284 -70
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +17 -84
- package/generated/github.ae-diff-to-api.github.com.deref.json +13247 -12990
- package/generated/github.ae-diff-to-api.github.com.json +1351 -1935
- package/generated/github.ae.deref.json +5201 -73
- package/generated/github.ae.json +424 -73
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "11.
|
|
4
|
+
"version": "11.1.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": {
|
|
@@ -42157,7 +42157,7 @@
|
|
|
42157
42157
|
"operationId": "gists/update",
|
|
42158
42158
|
"externalDocs": {
|
|
42159
42159
|
"description": "API method documentation",
|
|
42160
|
-
"url": "https://docs.github.com/
|
|
42160
|
+
"url": "https://docs.github.com/rest/reference/gists/#update-a-gist"
|
|
42161
42161
|
},
|
|
42162
42162
|
"parameters": [
|
|
42163
42163
|
{
|
|
@@ -42175,6 +42175,7 @@
|
|
|
42175
42175
|
"content": {
|
|
42176
42176
|
"application/json": {
|
|
42177
42177
|
"schema": {
|
|
42178
|
+
"type": "object",
|
|
42178
42179
|
"properties": {
|
|
42179
42180
|
"description": {
|
|
42180
42181
|
"description": "The description of the gist.",
|
|
@@ -42191,29 +42192,21 @@
|
|
|
42191
42192
|
},
|
|
42192
42193
|
"type": "object",
|
|
42193
42194
|
"additionalProperties": {
|
|
42194
|
-
"
|
|
42195
|
-
"nullable": true,
|
|
42196
|
-
"properties": {
|
|
42197
|
-
"content": {
|
|
42198
|
-
"description": "The new content of the file.",
|
|
42199
|
-
"type": "string"
|
|
42200
|
-
},
|
|
42201
|
-
"filename": {
|
|
42202
|
-
"description": "The new filename for the file.",
|
|
42203
|
-
"type": "string",
|
|
42204
|
-
"nullable": true
|
|
42205
|
-
}
|
|
42206
|
-
},
|
|
42207
|
-
"anyOf": [
|
|
42208
|
-
{
|
|
42209
|
-
"required": [
|
|
42210
|
-
"content"
|
|
42211
|
-
]
|
|
42212
|
-
},
|
|
42195
|
+
"oneOf": [
|
|
42213
42196
|
{
|
|
42214
|
-
"
|
|
42215
|
-
|
|
42216
|
-
|
|
42197
|
+
"type": "object",
|
|
42198
|
+
"nullable": true,
|
|
42199
|
+
"properties": {
|
|
42200
|
+
"content": {
|
|
42201
|
+
"description": "The new content of the file.",
|
|
42202
|
+
"type": "string"
|
|
42203
|
+
},
|
|
42204
|
+
"filename": {
|
|
42205
|
+
"description": "The new filename for the file.",
|
|
42206
|
+
"type": "string",
|
|
42207
|
+
"nullable": true
|
|
42208
|
+
}
|
|
42209
|
+
}
|
|
42217
42210
|
},
|
|
42218
42211
|
{
|
|
42219
42212
|
"type": "object",
|
|
@@ -42223,19 +42216,6 @@
|
|
|
42223
42216
|
}
|
|
42224
42217
|
}
|
|
42225
42218
|
},
|
|
42226
|
-
"anyOf": [
|
|
42227
|
-
{
|
|
42228
|
-
"required": [
|
|
42229
|
-
"description"
|
|
42230
|
-
]
|
|
42231
|
-
},
|
|
42232
|
-
{
|
|
42233
|
-
"required": [
|
|
42234
|
-
"files"
|
|
42235
|
-
]
|
|
42236
|
-
}
|
|
42237
|
-
],
|
|
42238
|
-
"type": "object",
|
|
42239
42219
|
"nullable": true
|
|
42240
42220
|
},
|
|
42241
42221
|
"examples": {
|
|
@@ -202976,7 +202956,7 @@
|
|
|
202976
202956
|
"/repos/{owner}/{repo}/events": {
|
|
202977
202957
|
"get": {
|
|
202978
202958
|
"summary": "List repository events",
|
|
202979
|
-
"description": "",
|
|
202959
|
+
"description": "**Note**: This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.\n",
|
|
202980
202960
|
"tags": [
|
|
202981
202961
|
"activity"
|
|
202982
202962
|
],
|
|
@@ -302231,14 +302211,14 @@
|
|
|
302231
302211
|
},
|
|
302232
302212
|
"post": {
|
|
302233
302213
|
"summary": "Request reviewers for a pull request",
|
|
302234
|
-
"description": "This endpoint triggers [notifications](https://docs.github.com/
|
|
302214
|
+
"description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
|
|
302235
302215
|
"tags": [
|
|
302236
302216
|
"pulls"
|
|
302237
302217
|
],
|
|
302238
302218
|
"operationId": "pulls/request-reviewers",
|
|
302239
302219
|
"externalDocs": {
|
|
302240
302220
|
"description": "API method documentation",
|
|
302241
|
-
"url": "https://docs.github.com/
|
|
302221
|
+
"url": "https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request"
|
|
302242
302222
|
},
|
|
302243
302223
|
"parameters": [
|
|
302244
302224
|
{
|
|
@@ -302290,19 +302270,7 @@
|
|
|
302290
302270
|
"type": "string"
|
|
302291
302271
|
}
|
|
302292
302272
|
}
|
|
302293
|
-
}
|
|
302294
|
-
"anyOf": [
|
|
302295
|
-
{
|
|
302296
|
-
"required": [
|
|
302297
|
-
"reviewers"
|
|
302298
|
-
]
|
|
302299
|
-
},
|
|
302300
|
-
{
|
|
302301
|
-
"required": [
|
|
302302
|
-
"team_reviewers"
|
|
302303
|
-
]
|
|
302304
|
-
}
|
|
302305
|
-
]
|
|
302273
|
+
}
|
|
302306
302274
|
},
|
|
302307
302275
|
"examples": {
|
|
302308
302276
|
"default": {
|
|
@@ -303216,6 +303184,9 @@
|
|
|
303216
303184
|
"privacy": {
|
|
303217
303185
|
"type": "string"
|
|
303218
303186
|
},
|
|
303187
|
+
"notification_setting": {
|
|
303188
|
+
"type": "string"
|
|
303189
|
+
},
|
|
303219
303190
|
"permission": {
|
|
303220
303191
|
"type": "string"
|
|
303221
303192
|
},
|
|
@@ -303307,6 +303278,11 @@
|
|
|
303307
303278
|
"type": "string",
|
|
303308
303279
|
"example": "closed"
|
|
303309
303280
|
},
|
|
303281
|
+
"notification_setting": {
|
|
303282
|
+
"description": "The notification setting the team has set",
|
|
303283
|
+
"type": "string",
|
|
303284
|
+
"example": "notifications_enabled"
|
|
303285
|
+
},
|
|
303310
303286
|
"html_url": {
|
|
303311
303287
|
"type": "string",
|
|
303312
303288
|
"format": "uri",
|
|
@@ -303977,6 +303953,12 @@
|
|
|
303977
303953
|
"type": "boolean",
|
|
303978
303954
|
"example": true
|
|
303979
303955
|
},
|
|
303956
|
+
"has_discussions": {
|
|
303957
|
+
"description": "Whether discussions are enabled.",
|
|
303958
|
+
"default": false,
|
|
303959
|
+
"type": "boolean",
|
|
303960
|
+
"example": true
|
|
303961
|
+
},
|
|
303980
303962
|
"archived": {
|
|
303981
303963
|
"description": "Whether the repository is archived.",
|
|
303982
303964
|
"default": false,
|
|
@@ -304332,6 +304314,43 @@
|
|
|
304332
304314
|
"allow_update_branch": {
|
|
304333
304315
|
"type": "boolean"
|
|
304334
304316
|
},
|
|
304317
|
+
"use_squash_pr_title_as_default": {
|
|
304318
|
+
"type": "boolean"
|
|
304319
|
+
},
|
|
304320
|
+
"squash_merge_commit_title": {
|
|
304321
|
+
"type": "string",
|
|
304322
|
+
"enum": [
|
|
304323
|
+
"PR_TITLE",
|
|
304324
|
+
"COMMIT_OR_PR_TITLE"
|
|
304325
|
+
],
|
|
304326
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
304327
|
+
},
|
|
304328
|
+
"squash_merge_commit_message": {
|
|
304329
|
+
"type": "string",
|
|
304330
|
+
"enum": [
|
|
304331
|
+
"PR_BODY",
|
|
304332
|
+
"COMMIT_MESSAGES",
|
|
304333
|
+
"BLANK"
|
|
304334
|
+
],
|
|
304335
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
304336
|
+
},
|
|
304337
|
+
"merge_commit_title": {
|
|
304338
|
+
"type": "string",
|
|
304339
|
+
"enum": [
|
|
304340
|
+
"PR_TITLE",
|
|
304341
|
+
"MERGE_MESSAGE"
|
|
304342
|
+
],
|
|
304343
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
304344
|
+
},
|
|
304345
|
+
"merge_commit_message": {
|
|
304346
|
+
"type": "string",
|
|
304347
|
+
"enum": [
|
|
304348
|
+
"PR_BODY",
|
|
304349
|
+
"PR_TITLE",
|
|
304350
|
+
"BLANK"
|
|
304351
|
+
],
|
|
304352
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
304353
|
+
},
|
|
304335
304354
|
"allow_merge_commit": {
|
|
304336
304355
|
"type": "boolean"
|
|
304337
304356
|
},
|
|
@@ -304370,6 +304389,46 @@
|
|
|
304370
304389
|
"type": "boolean",
|
|
304371
304390
|
"example": false
|
|
304372
304391
|
},
|
|
304392
|
+
"use_squash_pr_title_as_default": {
|
|
304393
|
+
"type": "boolean",
|
|
304394
|
+
"description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
|
|
304395
|
+
"default": false,
|
|
304396
|
+
"deprecated": true
|
|
304397
|
+
},
|
|
304398
|
+
"squash_merge_commit_title": {
|
|
304399
|
+
"type": "string",
|
|
304400
|
+
"enum": [
|
|
304401
|
+
"PR_TITLE",
|
|
304402
|
+
"COMMIT_OR_PR_TITLE"
|
|
304403
|
+
],
|
|
304404
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
304405
|
+
},
|
|
304406
|
+
"squash_merge_commit_message": {
|
|
304407
|
+
"type": "string",
|
|
304408
|
+
"enum": [
|
|
304409
|
+
"PR_BODY",
|
|
304410
|
+
"COMMIT_MESSAGES",
|
|
304411
|
+
"BLANK"
|
|
304412
|
+
],
|
|
304413
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
304414
|
+
},
|
|
304415
|
+
"merge_commit_title": {
|
|
304416
|
+
"type": "string",
|
|
304417
|
+
"enum": [
|
|
304418
|
+
"PR_TITLE",
|
|
304419
|
+
"MERGE_MESSAGE"
|
|
304420
|
+
],
|
|
304421
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
304422
|
+
},
|
|
304423
|
+
"merge_commit_message": {
|
|
304424
|
+
"type": "string",
|
|
304425
|
+
"enum": [
|
|
304426
|
+
"PR_BODY",
|
|
304427
|
+
"PR_TITLE",
|
|
304428
|
+
"BLANK"
|
|
304429
|
+
],
|
|
304430
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
304431
|
+
},
|
|
304373
304432
|
"allow_merge_commit": {
|
|
304374
304433
|
"description": "Whether to allow merge commits for pull requests.",
|
|
304375
304434
|
"default": true,
|
|
@@ -304380,6 +304439,11 @@
|
|
|
304380
304439
|
"description": "Whether to allow forking this repo",
|
|
304381
304440
|
"type": "boolean"
|
|
304382
304441
|
},
|
|
304442
|
+
"web_commit_signoff_required": {
|
|
304443
|
+
"description": "Whether to require contributors to sign off on web-based commits",
|
|
304444
|
+
"default": false,
|
|
304445
|
+
"type": "boolean"
|
|
304446
|
+
},
|
|
304383
304447
|
"subscribers_count": {
|
|
304384
304448
|
"type": "integer"
|
|
304385
304449
|
},
|
|
@@ -305231,6 +305295,12 @@
|
|
|
305231
305295
|
"type": "boolean",
|
|
305232
305296
|
"example": true
|
|
305233
305297
|
},
|
|
305298
|
+
"has_discussions": {
|
|
305299
|
+
"description": "Whether discussions are enabled.",
|
|
305300
|
+
"default": false,
|
|
305301
|
+
"type": "boolean",
|
|
305302
|
+
"example": true
|
|
305303
|
+
},
|
|
305234
305304
|
"archived": {
|
|
305235
305305
|
"description": "Whether the repository is archived.",
|
|
305236
305306
|
"default": false,
|
|
@@ -305586,6 +305656,43 @@
|
|
|
305586
305656
|
"allow_update_branch": {
|
|
305587
305657
|
"type": "boolean"
|
|
305588
305658
|
},
|
|
305659
|
+
"use_squash_pr_title_as_default": {
|
|
305660
|
+
"type": "boolean"
|
|
305661
|
+
},
|
|
305662
|
+
"squash_merge_commit_title": {
|
|
305663
|
+
"type": "string",
|
|
305664
|
+
"enum": [
|
|
305665
|
+
"PR_TITLE",
|
|
305666
|
+
"COMMIT_OR_PR_TITLE"
|
|
305667
|
+
],
|
|
305668
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
305669
|
+
},
|
|
305670
|
+
"squash_merge_commit_message": {
|
|
305671
|
+
"type": "string",
|
|
305672
|
+
"enum": [
|
|
305673
|
+
"PR_BODY",
|
|
305674
|
+
"COMMIT_MESSAGES",
|
|
305675
|
+
"BLANK"
|
|
305676
|
+
],
|
|
305677
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
305678
|
+
},
|
|
305679
|
+
"merge_commit_title": {
|
|
305680
|
+
"type": "string",
|
|
305681
|
+
"enum": [
|
|
305682
|
+
"PR_TITLE",
|
|
305683
|
+
"MERGE_MESSAGE"
|
|
305684
|
+
],
|
|
305685
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
305686
|
+
},
|
|
305687
|
+
"merge_commit_message": {
|
|
305688
|
+
"type": "string",
|
|
305689
|
+
"enum": [
|
|
305690
|
+
"PR_BODY",
|
|
305691
|
+
"PR_TITLE",
|
|
305692
|
+
"BLANK"
|
|
305693
|
+
],
|
|
305694
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
305695
|
+
},
|
|
305589
305696
|
"allow_merge_commit": {
|
|
305590
305697
|
"type": "boolean"
|
|
305591
305698
|
},
|
|
@@ -305624,6 +305731,46 @@
|
|
|
305624
305731
|
"type": "boolean",
|
|
305625
305732
|
"example": false
|
|
305626
305733
|
},
|
|
305734
|
+
"use_squash_pr_title_as_default": {
|
|
305735
|
+
"type": "boolean",
|
|
305736
|
+
"description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
|
|
305737
|
+
"default": false,
|
|
305738
|
+
"deprecated": true
|
|
305739
|
+
},
|
|
305740
|
+
"squash_merge_commit_title": {
|
|
305741
|
+
"type": "string",
|
|
305742
|
+
"enum": [
|
|
305743
|
+
"PR_TITLE",
|
|
305744
|
+
"COMMIT_OR_PR_TITLE"
|
|
305745
|
+
],
|
|
305746
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
305747
|
+
},
|
|
305748
|
+
"squash_merge_commit_message": {
|
|
305749
|
+
"type": "string",
|
|
305750
|
+
"enum": [
|
|
305751
|
+
"PR_BODY",
|
|
305752
|
+
"COMMIT_MESSAGES",
|
|
305753
|
+
"BLANK"
|
|
305754
|
+
],
|
|
305755
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
305756
|
+
},
|
|
305757
|
+
"merge_commit_title": {
|
|
305758
|
+
"type": "string",
|
|
305759
|
+
"enum": [
|
|
305760
|
+
"PR_TITLE",
|
|
305761
|
+
"MERGE_MESSAGE"
|
|
305762
|
+
],
|
|
305763
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
305764
|
+
},
|
|
305765
|
+
"merge_commit_message": {
|
|
305766
|
+
"type": "string",
|
|
305767
|
+
"enum": [
|
|
305768
|
+
"PR_BODY",
|
|
305769
|
+
"PR_TITLE",
|
|
305770
|
+
"BLANK"
|
|
305771
|
+
],
|
|
305772
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
305773
|
+
},
|
|
305627
305774
|
"allow_merge_commit": {
|
|
305628
305775
|
"description": "Whether to allow merge commits for pull requests.",
|
|
305629
305776
|
"default": true,
|
|
@@ -305634,6 +305781,11 @@
|
|
|
305634
305781
|
"description": "Whether to allow forking this repo",
|
|
305635
305782
|
"type": "boolean"
|
|
305636
305783
|
},
|
|
305784
|
+
"web_commit_signoff_required": {
|
|
305785
|
+
"description": "Whether to require contributors to sign off on web-based commits",
|
|
305786
|
+
"default": false,
|
|
305787
|
+
"type": "boolean"
|
|
305788
|
+
},
|
|
305637
305789
|
"subscribers_count": {
|
|
305638
305790
|
"type": "integer"
|
|
305639
305791
|
},
|
|
@@ -306419,6 +306571,7 @@
|
|
|
306419
306571
|
"slug": "justice-league",
|
|
306420
306572
|
"description": "A great team.",
|
|
306421
306573
|
"privacy": "closed",
|
|
306574
|
+
"notification_setting": "notifications_enabled",
|
|
306422
306575
|
"permission": "admin",
|
|
306423
306576
|
"members_url": "https://api.github.com/teams/1/members{/member}",
|
|
306424
306577
|
"repositories_url": "https://api.github.com/teams/1/repos",
|
|
@@ -306748,6 +306901,7 @@
|
|
|
306748
306901
|
}
|
|
306749
306902
|
},
|
|
306750
306903
|
"author_association": "OWNER",
|
|
306904
|
+
"auto_merge": null,
|
|
306751
306905
|
"draft": false
|
|
306752
306906
|
}
|
|
306753
306907
|
}
|
|
@@ -306792,13 +306946,7 @@
|
|
|
306792
306946
|
"category": "pulls",
|
|
306793
306947
|
"subcategory": "review-requests"
|
|
306794
306948
|
},
|
|
306795
|
-
"x-octokit": {
|
|
306796
|
-
"diff": {
|
|
306797
|
-
"ghes-3.6": {
|
|
306798
|
-
"type": "changed"
|
|
306799
|
-
}
|
|
306800
|
-
}
|
|
306801
|
-
}
|
|
306949
|
+
"x-octokit": {}
|
|
306802
306950
|
},
|
|
306803
306951
|
"delete": {
|
|
306804
306952
|
"summary": "Remove requested reviewers from a pull request",
|
package/generated/ghes-3.5.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "11.
|
|
4
|
+
"version": "11.1.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": {
|
|
@@ -7651,7 +7651,7 @@
|
|
|
7651
7651
|
"operationId": "gists/update",
|
|
7652
7652
|
"externalDocs": {
|
|
7653
7653
|
"description": "API method documentation",
|
|
7654
|
-
"url": "https://docs.github.com/
|
|
7654
|
+
"url": "https://docs.github.com/rest/reference/gists/#update-a-gist"
|
|
7655
7655
|
},
|
|
7656
7656
|
"parameters": [
|
|
7657
7657
|
{
|
|
@@ -7663,6 +7663,7 @@
|
|
|
7663
7663
|
"content": {
|
|
7664
7664
|
"application/json": {
|
|
7665
7665
|
"schema": {
|
|
7666
|
+
"type": "object",
|
|
7666
7667
|
"properties": {
|
|
7667
7668
|
"description": {
|
|
7668
7669
|
"description": "The description of the gist.",
|
|
@@ -7679,29 +7680,20 @@
|
|
|
7679
7680
|
},
|
|
7680
7681
|
"type": "object",
|
|
7681
7682
|
"additionalProperties": {
|
|
7682
|
-
"
|
|
7683
|
-
"nullable": true,
|
|
7684
|
-
"properties": {
|
|
7685
|
-
"content": {
|
|
7686
|
-
"description": "The new content of the file.",
|
|
7687
|
-
"type": "string"
|
|
7688
|
-
},
|
|
7689
|
-
"filename": {
|
|
7690
|
-
"description": "The new filename for the file.",
|
|
7691
|
-
"type": "string",
|
|
7692
|
-
"nullable": true
|
|
7693
|
-
}
|
|
7694
|
-
},
|
|
7695
|
-
"anyOf": [
|
|
7696
|
-
{
|
|
7697
|
-
"required": [
|
|
7698
|
-
"content"
|
|
7699
|
-
]
|
|
7700
|
-
},
|
|
7683
|
+
"oneOf": [
|
|
7701
7684
|
{
|
|
7702
|
-
"
|
|
7703
|
-
|
|
7704
|
-
|
|
7685
|
+
"type": "object",
|
|
7686
|
+
"properties": {
|
|
7687
|
+
"content": {
|
|
7688
|
+
"description": "The new content of the file.",
|
|
7689
|
+
"type": "string"
|
|
7690
|
+
},
|
|
7691
|
+
"filename": {
|
|
7692
|
+
"description": "The new filename for the file.",
|
|
7693
|
+
"type": "string",
|
|
7694
|
+
"nullable": true
|
|
7695
|
+
}
|
|
7696
|
+
}
|
|
7705
7697
|
},
|
|
7706
7698
|
{
|
|
7707
7699
|
"type": "object",
|
|
@@ -7711,19 +7703,6 @@
|
|
|
7711
7703
|
}
|
|
7712
7704
|
}
|
|
7713
7705
|
},
|
|
7714
|
-
"anyOf": [
|
|
7715
|
-
{
|
|
7716
|
-
"required": [
|
|
7717
|
-
"description"
|
|
7718
|
-
]
|
|
7719
|
-
},
|
|
7720
|
-
{
|
|
7721
|
-
"required": [
|
|
7722
|
-
"files"
|
|
7723
|
-
]
|
|
7724
|
-
}
|
|
7725
|
-
],
|
|
7726
|
-
"type": "object",
|
|
7727
7706
|
"nullable": true
|
|
7728
7707
|
},
|
|
7729
7708
|
"examples": {
|
|
@@ -32516,7 +32495,7 @@
|
|
|
32516
32495
|
"/repos/{owner}/{repo}/events": {
|
|
32517
32496
|
"get": {
|
|
32518
32497
|
"summary": "List repository events",
|
|
32519
|
-
"description": "",
|
|
32498
|
+
"description": "**Note**: This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.\n",
|
|
32520
32499
|
"tags": [
|
|
32521
32500
|
"activity"
|
|
32522
32501
|
],
|
|
@@ -41485,14 +41464,14 @@
|
|
|
41485
41464
|
},
|
|
41486
41465
|
"post": {
|
|
41487
41466
|
"summary": "Request reviewers for a pull request",
|
|
41488
|
-
"description": "This endpoint triggers [notifications](https://docs.github.com/
|
|
41467
|
+
"description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
|
|
41489
41468
|
"tags": [
|
|
41490
41469
|
"pulls"
|
|
41491
41470
|
],
|
|
41492
41471
|
"operationId": "pulls/request-reviewers",
|
|
41493
41472
|
"externalDocs": {
|
|
41494
41473
|
"description": "API method documentation",
|
|
41495
|
-
"url": "https://docs.github.com/
|
|
41474
|
+
"url": "https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request"
|
|
41496
41475
|
},
|
|
41497
41476
|
"parameters": [
|
|
41498
41477
|
{
|
|
@@ -41526,19 +41505,7 @@
|
|
|
41526
41505
|
"type": "string"
|
|
41527
41506
|
}
|
|
41528
41507
|
}
|
|
41529
|
-
}
|
|
41530
|
-
"anyOf": [
|
|
41531
|
-
{
|
|
41532
|
-
"required": [
|
|
41533
|
-
"reviewers"
|
|
41534
|
-
]
|
|
41535
|
-
},
|
|
41536
|
-
{
|
|
41537
|
-
"required": [
|
|
41538
|
-
"team_reviewers"
|
|
41539
|
-
]
|
|
41540
|
-
}
|
|
41541
|
-
]
|
|
41508
|
+
}
|
|
41542
41509
|
},
|
|
41543
41510
|
"examples": {
|
|
41544
41511
|
"default": {
|
|
@@ -41587,13 +41554,7 @@
|
|
|
41587
41554
|
"category": "pulls",
|
|
41588
41555
|
"subcategory": "review-requests"
|
|
41589
41556
|
},
|
|
41590
|
-
"x-octokit": {
|
|
41591
|
-
"diff": {
|
|
41592
|
-
"ghes-3.6": {
|
|
41593
|
-
"type": "changed"
|
|
41594
|
-
}
|
|
41595
|
-
}
|
|
41596
|
-
}
|
|
41557
|
+
"x-octokit": {}
|
|
41597
41558
|
},
|
|
41598
41559
|
"delete": {
|
|
41599
41560
|
"summary": "Remove requested reviewers from a pull request",
|
|
@@ -2275,54 +2275,6 @@
|
|
|
2275
2275
|
}
|
|
2276
2276
|
}
|
|
2277
2277
|
},
|
|
2278
|
-
"/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": {
|
|
2279
|
-
"post": {
|
|
2280
|
-
"responses": {
|
|
2281
|
-
"changed": {
|
|
2282
|
-
"201": {
|
|
2283
|
-
"content": {
|
|
2284
|
-
"changed": {
|
|
2285
|
-
"application/json": {
|
|
2286
|
-
"schema_changed": {
|
|
2287
|
-
"properties_changed": {
|
|
2288
|
-
"changed": {
|
|
2289
|
-
"base": {
|
|
2290
|
-
"properties_changed": {
|
|
2291
|
-
"changed": {
|
|
2292
|
-
"repo": {
|
|
2293
|
-
"properties_changed": {
|
|
2294
|
-
"removed": [
|
|
2295
|
-
"has_discussions"
|
|
2296
|
-
]
|
|
2297
|
-
}
|
|
2298
|
-
}
|
|
2299
|
-
}
|
|
2300
|
-
}
|
|
2301
|
-
},
|
|
2302
|
-
"head": {
|
|
2303
|
-
"properties_changed": {
|
|
2304
|
-
"changed": {
|
|
2305
|
-
"repo": {
|
|
2306
|
-
"properties_changed": {
|
|
2307
|
-
"removed": [
|
|
2308
|
-
"has_discussions"
|
|
2309
|
-
]
|
|
2310
|
-
}
|
|
2311
|
-
}
|
|
2312
|
-
}
|
|
2313
|
-
}
|
|
2314
|
-
}
|
|
2315
|
-
}
|
|
2316
|
-
}
|
|
2317
|
-
}
|
|
2318
|
-
}
|
|
2319
|
-
}
|
|
2320
|
-
}
|
|
2321
|
-
}
|
|
2322
|
-
}
|
|
2323
|
-
}
|
|
2324
|
-
}
|
|
2325
|
-
},
|
|
2326
2278
|
"/repos/{owner}/{repo}/secret-scanning/alerts": {
|
|
2327
2279
|
"get": {
|
|
2328
2280
|
"parameters": {
|