@octokit/openapi 7.10.0 → 7.11.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.
Files changed (33) hide show
  1. package/generated/api.github.com.deref.json +628 -3
  2. package/generated/api.github.com.json +28 -3
  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 +617 -2
  8. package/generated/ghes-3.2.json +27 -2
  9. package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +21 -0
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +615 -1
  11. package/generated/ghes-3.3-diff-to-ghes-3.4.json +25 -1
  12. package/generated/ghes-3.3.deref.json +617 -2
  13. package/generated/ghes-3.3.json +27 -2
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
  15. package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
  16. package/generated/ghes-3.4.deref.json +622 -2
  17. package/generated/ghes-3.4.json +27 -2
  18. package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +21 -0
  19. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
  20. package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
  21. package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +620 -1
  22. package/generated/ghes-3.5-diff-to-ghes-3.6.json +25 -1
  23. package/generated/ghes-3.5.deref.json +622 -2
  24. package/generated/ghes-3.5.json +27 -2
  25. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +1 -1
  26. package/generated/ghes-3.6-diff-to-api.github.com.json +1 -1
  27. package/generated/ghes-3.6.deref.json +626 -2
  28. package/generated/ghes-3.6.json +27 -2
  29. package/generated/github.ae-diff-to-api.github.com.deref.json +1 -1
  30. package/generated/github.ae-diff-to-api.github.com.json +1 -1
  31. package/generated/github.ae.deref.json +627 -2
  32. package/generated/github.ae.json +27 -2
  33. package/package.json +1 -6
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.10.0",
4
+ "version": "7.11.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": {
@@ -71096,6 +71096,509 @@
71096
71096
  }
71097
71097
  },
71098
71098
  "responses": {
71099
+ "200": {
71100
+ "description": "Response when the updated information already exists",
71101
+ "content": {
71102
+ "application/json": {
71103
+ "schema": {
71104
+ "title": "Full Team",
71105
+ "description": "Groups of organization members that gives permissions on specified repositories.",
71106
+ "type": "object",
71107
+ "properties": {
71108
+ "id": {
71109
+ "description": "Unique identifier of the team",
71110
+ "example": 42,
71111
+ "type": "integer"
71112
+ },
71113
+ "node_id": {
71114
+ "type": "string",
71115
+ "example": "MDQ6VGVhbTE="
71116
+ },
71117
+ "url": {
71118
+ "description": "URL for the team",
71119
+ "example": "https://api.github.com/organizations/1/team/1",
71120
+ "type": "string",
71121
+ "format": "uri"
71122
+ },
71123
+ "html_url": {
71124
+ "type": "string",
71125
+ "format": "uri",
71126
+ "example": "https://github.com/orgs/rails/teams/core"
71127
+ },
71128
+ "name": {
71129
+ "description": "Name of the team",
71130
+ "example": "Developers",
71131
+ "type": "string"
71132
+ },
71133
+ "slug": {
71134
+ "type": "string",
71135
+ "example": "justice-league"
71136
+ },
71137
+ "description": {
71138
+ "type": "string",
71139
+ "example": "A great team.",
71140
+ "nullable": true
71141
+ },
71142
+ "privacy": {
71143
+ "description": "The level of privacy this team should have",
71144
+ "type": "string",
71145
+ "enum": [
71146
+ "closed",
71147
+ "secret"
71148
+ ],
71149
+ "example": "closed"
71150
+ },
71151
+ "permission": {
71152
+ "description": "Permission that the team will have for its repositories",
71153
+ "example": "push",
71154
+ "type": "string"
71155
+ },
71156
+ "members_url": {
71157
+ "type": "string",
71158
+ "example": "https://api.github.com/organizations/1/team/1/members{/member}"
71159
+ },
71160
+ "repositories_url": {
71161
+ "type": "string",
71162
+ "format": "uri",
71163
+ "example": "https://api.github.com/organizations/1/team/1/repos"
71164
+ },
71165
+ "parent": {
71166
+ "title": "Team Simple",
71167
+ "description": "Groups of organization members that gives permissions on specified repositories.",
71168
+ "type": "object",
71169
+ "properties": {
71170
+ "id": {
71171
+ "description": "Unique identifier of the team",
71172
+ "type": "integer",
71173
+ "example": 1
71174
+ },
71175
+ "node_id": {
71176
+ "type": "string",
71177
+ "example": "MDQ6VGVhbTE="
71178
+ },
71179
+ "url": {
71180
+ "description": "URL for the team",
71181
+ "type": "string",
71182
+ "format": "uri",
71183
+ "example": "https://api.github.com/organizations/1/team/1"
71184
+ },
71185
+ "members_url": {
71186
+ "type": "string",
71187
+ "example": "https://api.github.com/organizations/1/team/1/members{/member}"
71188
+ },
71189
+ "name": {
71190
+ "description": "Name of the team",
71191
+ "type": "string",
71192
+ "example": "Justice League"
71193
+ },
71194
+ "description": {
71195
+ "description": "Description of the team",
71196
+ "type": "string",
71197
+ "nullable": true,
71198
+ "example": "A great team."
71199
+ },
71200
+ "permission": {
71201
+ "description": "Permission that the team will have for its repositories",
71202
+ "type": "string",
71203
+ "example": "admin"
71204
+ },
71205
+ "privacy": {
71206
+ "description": "The level of privacy this team should have",
71207
+ "type": "string",
71208
+ "example": "closed"
71209
+ },
71210
+ "html_url": {
71211
+ "type": "string",
71212
+ "format": "uri",
71213
+ "example": "https://github.com/orgs/rails/teams/core"
71214
+ },
71215
+ "repositories_url": {
71216
+ "type": "string",
71217
+ "format": "uri",
71218
+ "example": "https://api.github.com/organizations/1/team/1/repos"
71219
+ },
71220
+ "slug": {
71221
+ "type": "string",
71222
+ "example": "justice-league"
71223
+ },
71224
+ "ldap_dn": {
71225
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
71226
+ "example": "uid=example,ou=users,dc=github,dc=com",
71227
+ "type": "string"
71228
+ }
71229
+ },
71230
+ "required": [
71231
+ "id",
71232
+ "node_id",
71233
+ "url",
71234
+ "members_url",
71235
+ "name",
71236
+ "description",
71237
+ "permission",
71238
+ "html_url",
71239
+ "repositories_url",
71240
+ "slug"
71241
+ ],
71242
+ "nullable": true
71243
+ },
71244
+ "members_count": {
71245
+ "type": "integer",
71246
+ "example": 3
71247
+ },
71248
+ "repos_count": {
71249
+ "type": "integer",
71250
+ "example": 10
71251
+ },
71252
+ "created_at": {
71253
+ "type": "string",
71254
+ "format": "date-time",
71255
+ "example": "2017-07-14T16:53:42Z"
71256
+ },
71257
+ "updated_at": {
71258
+ "type": "string",
71259
+ "format": "date-time",
71260
+ "example": "2017-08-17T12:37:15Z"
71261
+ },
71262
+ "organization": {
71263
+ "title": "Team Organization",
71264
+ "description": "Team Organization",
71265
+ "type": "object",
71266
+ "properties": {
71267
+ "login": {
71268
+ "type": "string",
71269
+ "example": "github"
71270
+ },
71271
+ "id": {
71272
+ "type": "integer",
71273
+ "example": 1
71274
+ },
71275
+ "node_id": {
71276
+ "type": "string",
71277
+ "example": "MDEyOk9yZ2FuaXphdGlvbjE="
71278
+ },
71279
+ "url": {
71280
+ "type": "string",
71281
+ "format": "uri",
71282
+ "example": "https://api.github.com/orgs/github"
71283
+ },
71284
+ "repos_url": {
71285
+ "type": "string",
71286
+ "format": "uri",
71287
+ "example": "https://api.github.com/orgs/github/repos"
71288
+ },
71289
+ "events_url": {
71290
+ "type": "string",
71291
+ "format": "uri",
71292
+ "example": "https://api.github.com/orgs/github/events"
71293
+ },
71294
+ "hooks_url": {
71295
+ "type": "string",
71296
+ "example": "https://api.github.com/orgs/github/hooks"
71297
+ },
71298
+ "issues_url": {
71299
+ "type": "string",
71300
+ "example": "https://api.github.com/orgs/github/issues"
71301
+ },
71302
+ "members_url": {
71303
+ "type": "string",
71304
+ "example": "https://api.github.com/orgs/github/members{/member}"
71305
+ },
71306
+ "public_members_url": {
71307
+ "type": "string",
71308
+ "example": "https://api.github.com/orgs/github/public_members{/member}"
71309
+ },
71310
+ "avatar_url": {
71311
+ "type": "string",
71312
+ "example": "https://github.com/images/error/octocat_happy.gif"
71313
+ },
71314
+ "description": {
71315
+ "type": "string",
71316
+ "example": "A great organization",
71317
+ "nullable": true
71318
+ },
71319
+ "name": {
71320
+ "type": "string",
71321
+ "example": "github"
71322
+ },
71323
+ "company": {
71324
+ "type": "string",
71325
+ "example": "GitHub"
71326
+ },
71327
+ "blog": {
71328
+ "type": "string",
71329
+ "format": "uri",
71330
+ "example": "https://github.com/blog"
71331
+ },
71332
+ "location": {
71333
+ "type": "string",
71334
+ "example": "San Francisco"
71335
+ },
71336
+ "email": {
71337
+ "type": "string",
71338
+ "format": "email",
71339
+ "example": "octocat@github.com"
71340
+ },
71341
+ "twitter_username": {
71342
+ "type": "string",
71343
+ "example": "github",
71344
+ "nullable": true
71345
+ },
71346
+ "is_verified": {
71347
+ "type": "boolean",
71348
+ "example": true
71349
+ },
71350
+ "has_organization_projects": {
71351
+ "type": "boolean",
71352
+ "example": true
71353
+ },
71354
+ "has_repository_projects": {
71355
+ "type": "boolean",
71356
+ "example": true
71357
+ },
71358
+ "public_repos": {
71359
+ "type": "integer",
71360
+ "example": 2
71361
+ },
71362
+ "public_gists": {
71363
+ "type": "integer",
71364
+ "example": 1
71365
+ },
71366
+ "followers": {
71367
+ "type": "integer",
71368
+ "example": 20
71369
+ },
71370
+ "following": {
71371
+ "type": "integer",
71372
+ "example": 0
71373
+ },
71374
+ "html_url": {
71375
+ "type": "string",
71376
+ "format": "uri",
71377
+ "example": "https://github.com/octocat"
71378
+ },
71379
+ "created_at": {
71380
+ "type": "string",
71381
+ "format": "date-time",
71382
+ "example": "2008-01-14T04:33:35Z"
71383
+ },
71384
+ "type": {
71385
+ "type": "string",
71386
+ "example": "Organization"
71387
+ },
71388
+ "total_private_repos": {
71389
+ "type": "integer",
71390
+ "example": 100
71391
+ },
71392
+ "owned_private_repos": {
71393
+ "type": "integer",
71394
+ "example": 100
71395
+ },
71396
+ "private_gists": {
71397
+ "type": "integer",
71398
+ "example": 81,
71399
+ "nullable": true
71400
+ },
71401
+ "disk_usage": {
71402
+ "type": "integer",
71403
+ "example": 10000,
71404
+ "nullable": true
71405
+ },
71406
+ "collaborators": {
71407
+ "type": "integer",
71408
+ "example": 8,
71409
+ "nullable": true
71410
+ },
71411
+ "billing_email": {
71412
+ "type": "string",
71413
+ "format": "email",
71414
+ "example": "org@example.com",
71415
+ "nullable": true
71416
+ },
71417
+ "plan": {
71418
+ "type": "object",
71419
+ "properties": {
71420
+ "name": {
71421
+ "type": "string"
71422
+ },
71423
+ "space": {
71424
+ "type": "integer"
71425
+ },
71426
+ "private_repos": {
71427
+ "type": "integer"
71428
+ },
71429
+ "filled_seats": {
71430
+ "type": "integer"
71431
+ },
71432
+ "seats": {
71433
+ "type": "integer"
71434
+ }
71435
+ },
71436
+ "required": [
71437
+ "name",
71438
+ "space",
71439
+ "private_repos"
71440
+ ]
71441
+ },
71442
+ "default_repository_permission": {
71443
+ "type": "string",
71444
+ "nullable": true
71445
+ },
71446
+ "members_can_create_repositories": {
71447
+ "type": "boolean",
71448
+ "example": true,
71449
+ "nullable": true
71450
+ },
71451
+ "two_factor_requirement_enabled": {
71452
+ "type": "boolean",
71453
+ "example": true,
71454
+ "nullable": true
71455
+ },
71456
+ "members_allowed_repository_creation_type": {
71457
+ "type": "string",
71458
+ "example": "all"
71459
+ },
71460
+ "members_can_create_public_repositories": {
71461
+ "type": "boolean",
71462
+ "example": true
71463
+ },
71464
+ "members_can_create_private_repositories": {
71465
+ "type": "boolean",
71466
+ "example": true
71467
+ },
71468
+ "members_can_create_internal_repositories": {
71469
+ "type": "boolean",
71470
+ "example": true
71471
+ },
71472
+ "members_can_create_pages": {
71473
+ "type": "boolean",
71474
+ "example": true
71475
+ },
71476
+ "members_can_create_public_pages": {
71477
+ "type": "boolean",
71478
+ "example": true
71479
+ },
71480
+ "members_can_create_private_pages": {
71481
+ "type": "boolean",
71482
+ "example": true
71483
+ },
71484
+ "members_can_fork_private_repositories": {
71485
+ "type": "boolean",
71486
+ "example": false,
71487
+ "nullable": true
71488
+ },
71489
+ "web_commit_signoff_required": {
71490
+ "type": "boolean",
71491
+ "example": false
71492
+ },
71493
+ "updated_at": {
71494
+ "type": "string",
71495
+ "format": "date-time"
71496
+ }
71497
+ },
71498
+ "required": [
71499
+ "login",
71500
+ "url",
71501
+ "id",
71502
+ "node_id",
71503
+ "repos_url",
71504
+ "events_url",
71505
+ "hooks_url",
71506
+ "issues_url",
71507
+ "members_url",
71508
+ "public_members_url",
71509
+ "avatar_url",
71510
+ "description",
71511
+ "html_url",
71512
+ "has_organization_projects",
71513
+ "has_repository_projects",
71514
+ "public_repos",
71515
+ "public_gists",
71516
+ "followers",
71517
+ "following",
71518
+ "type",
71519
+ "created_at",
71520
+ "updated_at"
71521
+ ]
71522
+ },
71523
+ "ldap_dn": {
71524
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
71525
+ "example": "uid=example,ou=users,dc=github,dc=com",
71526
+ "type": "string"
71527
+ }
71528
+ },
71529
+ "required": [
71530
+ "id",
71531
+ "node_id",
71532
+ "url",
71533
+ "members_url",
71534
+ "name",
71535
+ "description",
71536
+ "permission",
71537
+ "html_url",
71538
+ "repositories_url",
71539
+ "slug",
71540
+ "created_at",
71541
+ "updated_at",
71542
+ "members_count",
71543
+ "repos_count",
71544
+ "organization"
71545
+ ]
71546
+ },
71547
+ "examples": {
71548
+ "default": {
71549
+ "value": {
71550
+ "id": 1,
71551
+ "node_id": "MDQ6VGVhbTE=",
71552
+ "url": "https://api.github.com/teams/1",
71553
+ "html_url": "https://github.com/orgs/github/teams/justice-league",
71554
+ "name": "Justice League",
71555
+ "slug": "justice-league",
71556
+ "description": "A great team.",
71557
+ "privacy": "closed",
71558
+ "permission": "admin",
71559
+ "members_url": "https://api.github.com/teams/1/members{/member}",
71560
+ "repositories_url": "https://api.github.com/teams/1/repos",
71561
+ "parent": null,
71562
+ "members_count": 3,
71563
+ "repos_count": 10,
71564
+ "created_at": "2017-07-14T16:53:42Z",
71565
+ "updated_at": "2017-08-17T12:37:15Z",
71566
+ "organization": {
71567
+ "login": "github",
71568
+ "id": 1,
71569
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
71570
+ "url": "https://api.github.com/orgs/github",
71571
+ "repos_url": "https://api.github.com/orgs/github/repos",
71572
+ "events_url": "https://api.github.com/orgs/github/events",
71573
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
71574
+ "issues_url": "https://api.github.com/orgs/github/issues",
71575
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
71576
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
71577
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
71578
+ "description": "A great organization",
71579
+ "name": "github",
71580
+ "company": "GitHub",
71581
+ "blog": "https://github.com/blog",
71582
+ "location": "San Francisco",
71583
+ "email": "octocat@github.com",
71584
+ "is_verified": true,
71585
+ "has_organization_projects": true,
71586
+ "has_repository_projects": true,
71587
+ "public_repos": 2,
71588
+ "public_gists": 1,
71589
+ "followers": 20,
71590
+ "following": 0,
71591
+ "html_url": "https://github.com/octocat",
71592
+ "created_at": "2008-01-14T04:33:35Z",
71593
+ "updated_at": "2017-08-17T12:37:15Z",
71594
+ "type": "Organization"
71595
+ }
71596
+ }
71597
+ }
71598
+ }
71599
+ }
71600
+ }
71601
+ },
71099
71602
  "201": {
71100
71603
  "description": "Response",
71101
71604
  "content": {
@@ -71598,6 +72101,127 @@
71598
72101
  }
71599
72102
  }
71600
72103
  }
72104
+ },
72105
+ "403": {
72106
+ "description": "Forbidden",
72107
+ "content": {
72108
+ "application/json": {
72109
+ "schema": {
72110
+ "title": "Basic Error",
72111
+ "description": "Basic Error",
72112
+ "type": "object",
72113
+ "properties": {
72114
+ "message": {
72115
+ "type": "string"
72116
+ },
72117
+ "documentation_url": {
72118
+ "type": "string"
72119
+ },
72120
+ "url": {
72121
+ "type": "string"
72122
+ },
72123
+ "status": {
72124
+ "type": "string"
72125
+ }
72126
+ }
72127
+ }
72128
+ }
72129
+ }
72130
+ },
72131
+ "404": {
72132
+ "description": "Resource not found",
72133
+ "content": {
72134
+ "application/json": {
72135
+ "schema": {
72136
+ "title": "Basic Error",
72137
+ "description": "Basic Error",
72138
+ "type": "object",
72139
+ "properties": {
72140
+ "message": {
72141
+ "type": "string"
72142
+ },
72143
+ "documentation_url": {
72144
+ "type": "string"
72145
+ },
72146
+ "url": {
72147
+ "type": "string"
72148
+ },
72149
+ "status": {
72150
+ "type": "string"
72151
+ }
72152
+ }
72153
+ }
72154
+ }
72155
+ }
72156
+ },
72157
+ "422": {
72158
+ "description": "Validation failed",
72159
+ "content": {
72160
+ "application/json": {
72161
+ "schema": {
72162
+ "title": "Validation Error",
72163
+ "description": "Validation Error",
72164
+ "type": "object",
72165
+ "required": [
72166
+ "message",
72167
+ "documentation_url"
72168
+ ],
72169
+ "properties": {
72170
+ "message": {
72171
+ "type": "string"
72172
+ },
72173
+ "documentation_url": {
72174
+ "type": "string"
72175
+ },
72176
+ "errors": {
72177
+ "type": "array",
72178
+ "items": {
72179
+ "type": "object",
72180
+ "required": [
72181
+ "code"
72182
+ ],
72183
+ "properties": {
72184
+ "resource": {
72185
+ "type": "string"
72186
+ },
72187
+ "field": {
72188
+ "type": "string"
72189
+ },
72190
+ "message": {
72191
+ "type": "string"
72192
+ },
72193
+ "code": {
72194
+ "type": "string"
72195
+ },
72196
+ "index": {
72197
+ "type": "integer"
72198
+ },
72199
+ "value": {
72200
+ "oneOf": [
72201
+ {
72202
+ "type": "string",
72203
+ "nullable": true
72204
+ },
72205
+ {
72206
+ "type": "integer",
72207
+ "nullable": true
72208
+ },
72209
+ {
72210
+ "type": "array",
72211
+ "nullable": true,
72212
+ "items": {
72213
+ "type": "string"
72214
+ }
72215
+ }
72216
+ ]
72217
+ }
72218
+ }
72219
+ }
72220
+ }
72221
+ }
72222
+ }
72223
+ }
72224
+ }
71601
72225
  }
71602
72226
  },
71603
72227
  "x-github": {
@@ -177790,6 +178414,7 @@
177790
178414
  "description": "The base branch and head branch to compare. This parameter expects the format `{base}...{head}`.",
177791
178415
  "in": "path",
177792
178416
  "required": true,
178417
+ "x-multi-segment": true,
177793
178418
  "schema": {
177794
178419
  "type": "string"
177795
178420
  }
@@ -201746,7 +202371,7 @@
201746
202371
  "/repos/{owner}/{repo}/git/trees/{tree_sha}": {
201747
202372
  "get": {
201748
202373
  "summary": "Get a tree",
201749
- "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.",
202374
+ "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\n\n**Note**: The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter.",
201750
202375
  "tags": [
201751
202376
  "git"
201752
202377
  ],