@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": {
@@ -104281,6 +104281,508 @@
104281
104281
  }
104282
104282
  },
104283
104283
  "responses": {
104284
+ "200": {
104285
+ "description": "Response when the updated information already exists",
104286
+ "content": {
104287
+ "application/json": {
104288
+ "schema": {
104289
+ "title": "Full Team",
104290
+ "description": "Groups of organization members that gives permissions on specified repositories.",
104291
+ "type": "object",
104292
+ "properties": {
104293
+ "id": {
104294
+ "description": "Unique identifier of the team",
104295
+ "example": 42,
104296
+ "type": "integer"
104297
+ },
104298
+ "node_id": {
104299
+ "type": "string",
104300
+ "example": "MDQ6VGVhbTE="
104301
+ },
104302
+ "url": {
104303
+ "description": "URL for the team",
104304
+ "example": "https://api.github.com/organizations/1/team/1",
104305
+ "type": "string",
104306
+ "format": "uri"
104307
+ },
104308
+ "html_url": {
104309
+ "type": "string",
104310
+ "format": "uri",
104311
+ "example": "https://github.com/orgs/rails/teams/core"
104312
+ },
104313
+ "name": {
104314
+ "description": "Name of the team",
104315
+ "example": "Developers",
104316
+ "type": "string"
104317
+ },
104318
+ "slug": {
104319
+ "type": "string",
104320
+ "example": "justice-league"
104321
+ },
104322
+ "description": {
104323
+ "type": "string",
104324
+ "example": "A great team.",
104325
+ "nullable": true
104326
+ },
104327
+ "privacy": {
104328
+ "description": "The level of privacy this team should have",
104329
+ "type": "string",
104330
+ "enum": [
104331
+ "closed",
104332
+ "secret"
104333
+ ],
104334
+ "example": "closed"
104335
+ },
104336
+ "permission": {
104337
+ "description": "Permission that the team will have for its repositories",
104338
+ "example": "push",
104339
+ "type": "string"
104340
+ },
104341
+ "members_url": {
104342
+ "type": "string",
104343
+ "example": "https://api.github.com/organizations/1/team/1/members{/member}"
104344
+ },
104345
+ "repositories_url": {
104346
+ "type": "string",
104347
+ "format": "uri",
104348
+ "example": "https://api.github.com/organizations/1/team/1/repos"
104349
+ },
104350
+ "parent": {
104351
+ "title": "Team Simple",
104352
+ "description": "Groups of organization members that gives permissions on specified repositories.",
104353
+ "type": "object",
104354
+ "properties": {
104355
+ "id": {
104356
+ "description": "Unique identifier of the team",
104357
+ "type": "integer",
104358
+ "example": 1
104359
+ },
104360
+ "node_id": {
104361
+ "type": "string",
104362
+ "example": "MDQ6VGVhbTE="
104363
+ },
104364
+ "url": {
104365
+ "description": "URL for the team",
104366
+ "type": "string",
104367
+ "format": "uri",
104368
+ "example": "https://api.github.com/organizations/1/team/1"
104369
+ },
104370
+ "members_url": {
104371
+ "type": "string",
104372
+ "example": "https://api.github.com/organizations/1/team/1/members{/member}"
104373
+ },
104374
+ "name": {
104375
+ "description": "Name of the team",
104376
+ "type": "string",
104377
+ "example": "Justice League"
104378
+ },
104379
+ "description": {
104380
+ "description": "Description of the team",
104381
+ "type": "string",
104382
+ "nullable": true,
104383
+ "example": "A great team."
104384
+ },
104385
+ "permission": {
104386
+ "description": "Permission that the team will have for its repositories",
104387
+ "type": "string",
104388
+ "example": "admin"
104389
+ },
104390
+ "privacy": {
104391
+ "description": "The level of privacy this team should have",
104392
+ "type": "string",
104393
+ "example": "closed"
104394
+ },
104395
+ "html_url": {
104396
+ "type": "string",
104397
+ "format": "uri",
104398
+ "example": "https://github.com/orgs/rails/teams/core"
104399
+ },
104400
+ "repositories_url": {
104401
+ "type": "string",
104402
+ "format": "uri",
104403
+ "example": "https://api.github.com/organizations/1/team/1/repos"
104404
+ },
104405
+ "slug": {
104406
+ "type": "string",
104407
+ "example": "justice-league"
104408
+ },
104409
+ "ldap_dn": {
104410
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
104411
+ "example": "uid=example,ou=users,dc=github,dc=com",
104412
+ "type": "string"
104413
+ }
104414
+ },
104415
+ "required": [
104416
+ "id",
104417
+ "node_id",
104418
+ "url",
104419
+ "members_url",
104420
+ "name",
104421
+ "description",
104422
+ "permission",
104423
+ "html_url",
104424
+ "repositories_url",
104425
+ "slug"
104426
+ ],
104427
+ "nullable": true
104428
+ },
104429
+ "members_count": {
104430
+ "type": "integer",
104431
+ "example": 3
104432
+ },
104433
+ "repos_count": {
104434
+ "type": "integer",
104435
+ "example": 10
104436
+ },
104437
+ "created_at": {
104438
+ "type": "string",
104439
+ "format": "date-time",
104440
+ "example": "2017-07-14T16:53:42Z"
104441
+ },
104442
+ "updated_at": {
104443
+ "type": "string",
104444
+ "format": "date-time",
104445
+ "example": "2017-08-17T12:37:15Z"
104446
+ },
104447
+ "organization": {
104448
+ "title": "Team Organization",
104449
+ "description": "Team Organization",
104450
+ "type": "object",
104451
+ "properties": {
104452
+ "login": {
104453
+ "type": "string",
104454
+ "example": "github"
104455
+ },
104456
+ "id": {
104457
+ "type": "integer",
104458
+ "example": 1
104459
+ },
104460
+ "node_id": {
104461
+ "type": "string",
104462
+ "example": "MDEyOk9yZ2FuaXphdGlvbjE="
104463
+ },
104464
+ "url": {
104465
+ "type": "string",
104466
+ "format": "uri",
104467
+ "example": "https://api.github.com/orgs/github"
104468
+ },
104469
+ "repos_url": {
104470
+ "type": "string",
104471
+ "format": "uri",
104472
+ "example": "https://api.github.com/orgs/github/repos"
104473
+ },
104474
+ "events_url": {
104475
+ "type": "string",
104476
+ "format": "uri",
104477
+ "example": "https://api.github.com/orgs/github/events"
104478
+ },
104479
+ "hooks_url": {
104480
+ "type": "string",
104481
+ "example": "https://api.github.com/orgs/github/hooks"
104482
+ },
104483
+ "issues_url": {
104484
+ "type": "string",
104485
+ "example": "https://api.github.com/orgs/github/issues"
104486
+ },
104487
+ "members_url": {
104488
+ "type": "string",
104489
+ "example": "https://api.github.com/orgs/github/members{/member}"
104490
+ },
104491
+ "public_members_url": {
104492
+ "type": "string",
104493
+ "example": "https://api.github.com/orgs/github/public_members{/member}"
104494
+ },
104495
+ "avatar_url": {
104496
+ "type": "string",
104497
+ "example": "https://github.com/images/error/octocat_happy.gif"
104498
+ },
104499
+ "description": {
104500
+ "type": "string",
104501
+ "example": "A great organization",
104502
+ "nullable": true
104503
+ },
104504
+ "name": {
104505
+ "type": "string",
104506
+ "example": "github"
104507
+ },
104508
+ "company": {
104509
+ "type": "string",
104510
+ "example": "GitHub"
104511
+ },
104512
+ "blog": {
104513
+ "type": "string",
104514
+ "format": "uri",
104515
+ "example": "https://github.com/blog"
104516
+ },
104517
+ "location": {
104518
+ "type": "string",
104519
+ "example": "San Francisco"
104520
+ },
104521
+ "email": {
104522
+ "type": "string",
104523
+ "format": "email",
104524
+ "example": "octocat@github.com"
104525
+ },
104526
+ "twitter_username": {
104527
+ "type": "string",
104528
+ "example": "github",
104529
+ "nullable": true
104530
+ },
104531
+ "is_verified": {
104532
+ "type": "boolean",
104533
+ "example": true
104534
+ },
104535
+ "has_organization_projects": {
104536
+ "type": "boolean",
104537
+ "example": true
104538
+ },
104539
+ "has_repository_projects": {
104540
+ "type": "boolean",
104541
+ "example": true
104542
+ },
104543
+ "public_repos": {
104544
+ "type": "integer",
104545
+ "example": 2
104546
+ },
104547
+ "public_gists": {
104548
+ "type": "integer",
104549
+ "example": 1
104550
+ },
104551
+ "followers": {
104552
+ "type": "integer",
104553
+ "example": 20
104554
+ },
104555
+ "following": {
104556
+ "type": "integer",
104557
+ "example": 0
104558
+ },
104559
+ "html_url": {
104560
+ "type": "string",
104561
+ "format": "uri",
104562
+ "example": "https://github.com/octocat"
104563
+ },
104564
+ "created_at": {
104565
+ "type": "string",
104566
+ "format": "date-time",
104567
+ "example": "2008-01-14T04:33:35Z"
104568
+ },
104569
+ "type": {
104570
+ "type": "string",
104571
+ "example": "Organization"
104572
+ },
104573
+ "total_private_repos": {
104574
+ "type": "integer",
104575
+ "example": 100
104576
+ },
104577
+ "owned_private_repos": {
104578
+ "type": "integer",
104579
+ "example": 100
104580
+ },
104581
+ "private_gists": {
104582
+ "type": "integer",
104583
+ "example": 81,
104584
+ "nullable": true
104585
+ },
104586
+ "disk_usage": {
104587
+ "type": "integer",
104588
+ "example": 10000,
104589
+ "nullable": true
104590
+ },
104591
+ "collaborators": {
104592
+ "type": "integer",
104593
+ "example": 8,
104594
+ "nullable": true
104595
+ },
104596
+ "billing_email": {
104597
+ "type": "string",
104598
+ "format": "email",
104599
+ "example": "org@example.com",
104600
+ "nullable": true
104601
+ },
104602
+ "plan": {
104603
+ "type": "object",
104604
+ "properties": {
104605
+ "name": {
104606
+ "type": "string"
104607
+ },
104608
+ "space": {
104609
+ "type": "integer"
104610
+ },
104611
+ "private_repos": {
104612
+ "type": "integer"
104613
+ },
104614
+ "filled_seats": {
104615
+ "type": "integer"
104616
+ },
104617
+ "seats": {
104618
+ "type": "integer"
104619
+ }
104620
+ },
104621
+ "required": [
104622
+ "name",
104623
+ "space",
104624
+ "private_repos"
104625
+ ]
104626
+ },
104627
+ "default_repository_permission": {
104628
+ "type": "string",
104629
+ "nullable": true
104630
+ },
104631
+ "members_can_create_repositories": {
104632
+ "type": "boolean",
104633
+ "example": true,
104634
+ "nullable": true
104635
+ },
104636
+ "two_factor_requirement_enabled": {
104637
+ "type": "boolean",
104638
+ "example": true,
104639
+ "nullable": true
104640
+ },
104641
+ "members_allowed_repository_creation_type": {
104642
+ "type": "string",
104643
+ "example": "all"
104644
+ },
104645
+ "members_can_create_public_repositories": {
104646
+ "type": "boolean",
104647
+ "example": true
104648
+ },
104649
+ "members_can_create_private_repositories": {
104650
+ "type": "boolean",
104651
+ "example": true
104652
+ },
104653
+ "members_can_create_internal_repositories": {
104654
+ "type": "boolean",
104655
+ "example": true
104656
+ },
104657
+ "members_can_create_pages": {
104658
+ "type": "boolean",
104659
+ "example": true
104660
+ },
104661
+ "members_can_create_public_pages": {
104662
+ "type": "boolean",
104663
+ "example": true
104664
+ },
104665
+ "members_can_create_private_pages": {
104666
+ "type": "boolean",
104667
+ "example": true
104668
+ },
104669
+ "members_can_fork_private_repositories": {
104670
+ "type": "boolean",
104671
+ "example": false,
104672
+ "nullable": true
104673
+ },
104674
+ "web_commit_signoff_required": {
104675
+ "type": "boolean",
104676
+ "example": false
104677
+ },
104678
+ "updated_at": {
104679
+ "type": "string",
104680
+ "format": "date-time"
104681
+ }
104682
+ },
104683
+ "required": [
104684
+ "login",
104685
+ "url",
104686
+ "id",
104687
+ "node_id",
104688
+ "repos_url",
104689
+ "events_url",
104690
+ "hooks_url",
104691
+ "issues_url",
104692
+ "members_url",
104693
+ "public_members_url",
104694
+ "avatar_url",
104695
+ "description",
104696
+ "html_url",
104697
+ "has_organization_projects",
104698
+ "has_repository_projects",
104699
+ "public_repos",
104700
+ "public_gists",
104701
+ "followers",
104702
+ "following",
104703
+ "type",
104704
+ "created_at",
104705
+ "updated_at"
104706
+ ]
104707
+ },
104708
+ "ldap_dn": {
104709
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
104710
+ "example": "uid=example,ou=users,dc=github,dc=com",
104711
+ "type": "string"
104712
+ }
104713
+ },
104714
+ "required": [
104715
+ "id",
104716
+ "node_id",
104717
+ "url",
104718
+ "members_url",
104719
+ "name",
104720
+ "description",
104721
+ "permission",
104722
+ "html_url",
104723
+ "repositories_url",
104724
+ "slug",
104725
+ "created_at",
104726
+ "updated_at",
104727
+ "members_count",
104728
+ "repos_count",
104729
+ "organization"
104730
+ ]
104731
+ },
104732
+ "examples": {
104733
+ "default": {
104734
+ "value": {
104735
+ "id": 1,
104736
+ "node_id": "MDQ6VGVhbTE=",
104737
+ "url": "https://api.github.com/teams/1",
104738
+ "html_url": "https://github.com/orgs/github/teams/justice-league",
104739
+ "name": "Justice League",
104740
+ "slug": "justice-league",
104741
+ "description": "A great team.",
104742
+ "privacy": "closed",
104743
+ "permission": "admin",
104744
+ "members_url": "https://api.github.com/teams/1/members{/member}",
104745
+ "repositories_url": "https://api.github.com/teams/1/repos",
104746
+ "members_count": 3,
104747
+ "repos_count": 10,
104748
+ "created_at": "2017-07-14T16:53:42Z",
104749
+ "updated_at": "2017-08-17T12:37:15Z",
104750
+ "organization": {
104751
+ "login": "github",
104752
+ "id": 1,
104753
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
104754
+ "url": "https://api.github.com/orgs/github",
104755
+ "repos_url": "https://api.github.com/orgs/github/repos",
104756
+ "events_url": "https://api.github.com/orgs/github/events",
104757
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
104758
+ "issues_url": "https://api.github.com/orgs/github/issues",
104759
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
104760
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
104761
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
104762
+ "description": "A great organization",
104763
+ "name": "github",
104764
+ "company": "GitHub",
104765
+ "blog": "https://github.com/blog",
104766
+ "location": "San Francisco",
104767
+ "email": "octocat@github.com",
104768
+ "has_organization_projects": true,
104769
+ "has_repository_projects": true,
104770
+ "public_repos": 2,
104771
+ "public_gists": 1,
104772
+ "followers": 20,
104773
+ "following": 0,
104774
+ "html_url": "https://github.com/octocat",
104775
+ "created_at": "2008-01-14T04:33:35Z",
104776
+ "updated_at": "2017-08-17T12:37:15Z",
104777
+ "type": "Organization"
104778
+ },
104779
+ "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com"
104780
+ }
104781
+ }
104782
+ }
104783
+ }
104784
+ }
104785
+ },
104284
104786
  "201": {
104285
104787
  "description": "Response",
104286
104788
  "content": {
@@ -104782,6 +105284,127 @@
104782
105284
  }
104783
105285
  }
104784
105286
  }
105287
+ },
105288
+ "403": {
105289
+ "description": "Forbidden",
105290
+ "content": {
105291
+ "application/json": {
105292
+ "schema": {
105293
+ "title": "Basic Error",
105294
+ "description": "Basic Error",
105295
+ "type": "object",
105296
+ "properties": {
105297
+ "message": {
105298
+ "type": "string"
105299
+ },
105300
+ "documentation_url": {
105301
+ "type": "string"
105302
+ },
105303
+ "url": {
105304
+ "type": "string"
105305
+ },
105306
+ "status": {
105307
+ "type": "string"
105308
+ }
105309
+ }
105310
+ }
105311
+ }
105312
+ }
105313
+ },
105314
+ "404": {
105315
+ "description": "Resource not found",
105316
+ "content": {
105317
+ "application/json": {
105318
+ "schema": {
105319
+ "title": "Basic Error",
105320
+ "description": "Basic Error",
105321
+ "type": "object",
105322
+ "properties": {
105323
+ "message": {
105324
+ "type": "string"
105325
+ },
105326
+ "documentation_url": {
105327
+ "type": "string"
105328
+ },
105329
+ "url": {
105330
+ "type": "string"
105331
+ },
105332
+ "status": {
105333
+ "type": "string"
105334
+ }
105335
+ }
105336
+ }
105337
+ }
105338
+ }
105339
+ },
105340
+ "422": {
105341
+ "description": "Validation failed",
105342
+ "content": {
105343
+ "application/json": {
105344
+ "schema": {
105345
+ "title": "Validation Error",
105346
+ "description": "Validation Error",
105347
+ "type": "object",
105348
+ "required": [
105349
+ "message",
105350
+ "documentation_url"
105351
+ ],
105352
+ "properties": {
105353
+ "message": {
105354
+ "type": "string"
105355
+ },
105356
+ "documentation_url": {
105357
+ "type": "string"
105358
+ },
105359
+ "errors": {
105360
+ "type": "array",
105361
+ "items": {
105362
+ "type": "object",
105363
+ "required": [
105364
+ "code"
105365
+ ],
105366
+ "properties": {
105367
+ "resource": {
105368
+ "type": "string"
105369
+ },
105370
+ "field": {
105371
+ "type": "string"
105372
+ },
105373
+ "message": {
105374
+ "type": "string"
105375
+ },
105376
+ "code": {
105377
+ "type": "string"
105378
+ },
105379
+ "index": {
105380
+ "type": "integer"
105381
+ },
105382
+ "value": {
105383
+ "oneOf": [
105384
+ {
105385
+ "type": "string",
105386
+ "nullable": true
105387
+ },
105388
+ {
105389
+ "type": "integer",
105390
+ "nullable": true
105391
+ },
105392
+ {
105393
+ "type": "array",
105394
+ "nullable": true,
105395
+ "items": {
105396
+ "type": "string"
105397
+ }
105398
+ }
105399
+ ]
105400
+ }
105401
+ }
105402
+ }
105403
+ }
105404
+ }
105405
+ }
105406
+ }
105407
+ }
104785
105408
  }
104786
105409
  },
104787
105410
  "x-github": {
@@ -218010,6 +218633,7 @@
218010
218633
  "description": "The base branch and head branch to compare. This parameter expects the format `{base}...{head}`.",
218011
218634
  "in": "path",
218012
218635
  "required": true,
218636
+ "x-multi-segment": true,
218013
218637
  "schema": {
218014
218638
  "type": "string"
218015
218639
  }
@@ -243100,7 +243724,7 @@
243100
243724
  "/repos/{owner}/{repo}/git/trees/{tree_sha}": {
243101
243725
  "get": {
243102
243726
  "summary": "Get a tree",
243103
- "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.",
243727
+ "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.",
243104
243728
  "tags": [
243105
243729
  "git"
243106
243730
  ],