@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": {
@@ -99381,6 +99381,504 @@
99381
99381
  }
99382
99382
  },
99383
99383
  "responses": {
99384
+ "200": {
99385
+ "description": "Response when the updated information already exists",
99386
+ "content": {
99387
+ "application/json": {
99388
+ "schema": {
99389
+ "title": "Full Team",
99390
+ "description": "Groups of organization members that gives permissions on specified repositories.",
99391
+ "type": "object",
99392
+ "properties": {
99393
+ "id": {
99394
+ "description": "Unique identifier of the team",
99395
+ "example": 42,
99396
+ "type": "integer"
99397
+ },
99398
+ "node_id": {
99399
+ "type": "string",
99400
+ "example": "MDQ6VGVhbTE="
99401
+ },
99402
+ "url": {
99403
+ "description": "URL for the team",
99404
+ "example": "https://api.github.com/organizations/1/team/1",
99405
+ "type": "string",
99406
+ "format": "uri"
99407
+ },
99408
+ "html_url": {
99409
+ "type": "string",
99410
+ "format": "uri",
99411
+ "example": "https://github.com/orgs/rails/teams/core"
99412
+ },
99413
+ "name": {
99414
+ "description": "Name of the team",
99415
+ "example": "Developers",
99416
+ "type": "string"
99417
+ },
99418
+ "slug": {
99419
+ "type": "string",
99420
+ "example": "justice-league"
99421
+ },
99422
+ "description": {
99423
+ "type": "string",
99424
+ "example": "A great team.",
99425
+ "nullable": true
99426
+ },
99427
+ "privacy": {
99428
+ "description": "The level of privacy this team should have",
99429
+ "type": "string",
99430
+ "enum": [
99431
+ "closed",
99432
+ "secret"
99433
+ ],
99434
+ "example": "closed"
99435
+ },
99436
+ "permission": {
99437
+ "description": "Permission that the team will have for its repositories",
99438
+ "example": "push",
99439
+ "type": "string"
99440
+ },
99441
+ "members_url": {
99442
+ "type": "string",
99443
+ "example": "https://api.github.com/organizations/1/team/1/members{/member}"
99444
+ },
99445
+ "repositories_url": {
99446
+ "type": "string",
99447
+ "format": "uri",
99448
+ "example": "https://api.github.com/organizations/1/team/1/repos"
99449
+ },
99450
+ "parent": {
99451
+ "title": "Team Simple",
99452
+ "description": "Groups of organization members that gives permissions on specified repositories.",
99453
+ "type": "object",
99454
+ "properties": {
99455
+ "id": {
99456
+ "description": "Unique identifier of the team",
99457
+ "type": "integer",
99458
+ "example": 1
99459
+ },
99460
+ "node_id": {
99461
+ "type": "string",
99462
+ "example": "MDQ6VGVhbTE="
99463
+ },
99464
+ "url": {
99465
+ "description": "URL for the team",
99466
+ "type": "string",
99467
+ "format": "uri",
99468
+ "example": "https://api.github.com/organizations/1/team/1"
99469
+ },
99470
+ "members_url": {
99471
+ "type": "string",
99472
+ "example": "https://api.github.com/organizations/1/team/1/members{/member}"
99473
+ },
99474
+ "name": {
99475
+ "description": "Name of the team",
99476
+ "type": "string",
99477
+ "example": "Justice League"
99478
+ },
99479
+ "description": {
99480
+ "description": "Description of the team",
99481
+ "type": "string",
99482
+ "nullable": true,
99483
+ "example": "A great team."
99484
+ },
99485
+ "permission": {
99486
+ "description": "Permission that the team will have for its repositories",
99487
+ "type": "string",
99488
+ "example": "admin"
99489
+ },
99490
+ "privacy": {
99491
+ "description": "The level of privacy this team should have",
99492
+ "type": "string",
99493
+ "example": "closed"
99494
+ },
99495
+ "html_url": {
99496
+ "type": "string",
99497
+ "format": "uri",
99498
+ "example": "https://github.com/orgs/rails/teams/core"
99499
+ },
99500
+ "repositories_url": {
99501
+ "type": "string",
99502
+ "format": "uri",
99503
+ "example": "https://api.github.com/organizations/1/team/1/repos"
99504
+ },
99505
+ "slug": {
99506
+ "type": "string",
99507
+ "example": "justice-league"
99508
+ },
99509
+ "ldap_dn": {
99510
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
99511
+ "example": "uid=example,ou=users,dc=github,dc=com",
99512
+ "type": "string"
99513
+ }
99514
+ },
99515
+ "required": [
99516
+ "id",
99517
+ "node_id",
99518
+ "url",
99519
+ "members_url",
99520
+ "name",
99521
+ "description",
99522
+ "permission",
99523
+ "html_url",
99524
+ "repositories_url",
99525
+ "slug"
99526
+ ],
99527
+ "nullable": true
99528
+ },
99529
+ "members_count": {
99530
+ "type": "integer",
99531
+ "example": 3
99532
+ },
99533
+ "repos_count": {
99534
+ "type": "integer",
99535
+ "example": 10
99536
+ },
99537
+ "created_at": {
99538
+ "type": "string",
99539
+ "format": "date-time",
99540
+ "example": "2017-07-14T16:53:42Z"
99541
+ },
99542
+ "updated_at": {
99543
+ "type": "string",
99544
+ "format": "date-time",
99545
+ "example": "2017-08-17T12:37:15Z"
99546
+ },
99547
+ "organization": {
99548
+ "title": "Team Organization",
99549
+ "description": "Team Organization",
99550
+ "type": "object",
99551
+ "properties": {
99552
+ "login": {
99553
+ "type": "string",
99554
+ "example": "github"
99555
+ },
99556
+ "id": {
99557
+ "type": "integer",
99558
+ "example": 1
99559
+ },
99560
+ "node_id": {
99561
+ "type": "string",
99562
+ "example": "MDEyOk9yZ2FuaXphdGlvbjE="
99563
+ },
99564
+ "url": {
99565
+ "type": "string",
99566
+ "format": "uri",
99567
+ "example": "https://api.github.com/orgs/github"
99568
+ },
99569
+ "repos_url": {
99570
+ "type": "string",
99571
+ "format": "uri",
99572
+ "example": "https://api.github.com/orgs/github/repos"
99573
+ },
99574
+ "events_url": {
99575
+ "type": "string",
99576
+ "format": "uri",
99577
+ "example": "https://api.github.com/orgs/github/events"
99578
+ },
99579
+ "hooks_url": {
99580
+ "type": "string",
99581
+ "example": "https://api.github.com/orgs/github/hooks"
99582
+ },
99583
+ "issues_url": {
99584
+ "type": "string",
99585
+ "example": "https://api.github.com/orgs/github/issues"
99586
+ },
99587
+ "members_url": {
99588
+ "type": "string",
99589
+ "example": "https://api.github.com/orgs/github/members{/member}"
99590
+ },
99591
+ "public_members_url": {
99592
+ "type": "string",
99593
+ "example": "https://api.github.com/orgs/github/public_members{/member}"
99594
+ },
99595
+ "avatar_url": {
99596
+ "type": "string",
99597
+ "example": "https://github.com/images/error/octocat_happy.gif"
99598
+ },
99599
+ "description": {
99600
+ "type": "string",
99601
+ "example": "A great organization",
99602
+ "nullable": true
99603
+ },
99604
+ "name": {
99605
+ "type": "string",
99606
+ "example": "github"
99607
+ },
99608
+ "company": {
99609
+ "type": "string",
99610
+ "example": "GitHub"
99611
+ },
99612
+ "blog": {
99613
+ "type": "string",
99614
+ "format": "uri",
99615
+ "example": "https://github.com/blog"
99616
+ },
99617
+ "location": {
99618
+ "type": "string",
99619
+ "example": "San Francisco"
99620
+ },
99621
+ "email": {
99622
+ "type": "string",
99623
+ "format": "email",
99624
+ "example": "octocat@github.com"
99625
+ },
99626
+ "twitter_username": {
99627
+ "type": "string",
99628
+ "example": "github",
99629
+ "nullable": true
99630
+ },
99631
+ "is_verified": {
99632
+ "type": "boolean",
99633
+ "example": true
99634
+ },
99635
+ "has_organization_projects": {
99636
+ "type": "boolean",
99637
+ "example": true
99638
+ },
99639
+ "has_repository_projects": {
99640
+ "type": "boolean",
99641
+ "example": true
99642
+ },
99643
+ "public_repos": {
99644
+ "type": "integer",
99645
+ "example": 2
99646
+ },
99647
+ "public_gists": {
99648
+ "type": "integer",
99649
+ "example": 1
99650
+ },
99651
+ "followers": {
99652
+ "type": "integer",
99653
+ "example": 20
99654
+ },
99655
+ "following": {
99656
+ "type": "integer",
99657
+ "example": 0
99658
+ },
99659
+ "html_url": {
99660
+ "type": "string",
99661
+ "format": "uri",
99662
+ "example": "https://github.com/octocat"
99663
+ },
99664
+ "created_at": {
99665
+ "type": "string",
99666
+ "format": "date-time",
99667
+ "example": "2008-01-14T04:33:35Z"
99668
+ },
99669
+ "type": {
99670
+ "type": "string",
99671
+ "example": "Organization"
99672
+ },
99673
+ "total_private_repos": {
99674
+ "type": "integer",
99675
+ "example": 100
99676
+ },
99677
+ "owned_private_repos": {
99678
+ "type": "integer",
99679
+ "example": 100
99680
+ },
99681
+ "private_gists": {
99682
+ "type": "integer",
99683
+ "example": 81,
99684
+ "nullable": true
99685
+ },
99686
+ "disk_usage": {
99687
+ "type": "integer",
99688
+ "example": 10000,
99689
+ "nullable": true
99690
+ },
99691
+ "collaborators": {
99692
+ "type": "integer",
99693
+ "example": 8,
99694
+ "nullable": true
99695
+ },
99696
+ "billing_email": {
99697
+ "type": "string",
99698
+ "format": "email",
99699
+ "example": "org@example.com",
99700
+ "nullable": true
99701
+ },
99702
+ "plan": {
99703
+ "type": "object",
99704
+ "properties": {
99705
+ "name": {
99706
+ "type": "string"
99707
+ },
99708
+ "space": {
99709
+ "type": "integer"
99710
+ },
99711
+ "private_repos": {
99712
+ "type": "integer"
99713
+ },
99714
+ "filled_seats": {
99715
+ "type": "integer"
99716
+ },
99717
+ "seats": {
99718
+ "type": "integer"
99719
+ }
99720
+ },
99721
+ "required": [
99722
+ "name",
99723
+ "space",
99724
+ "private_repos"
99725
+ ]
99726
+ },
99727
+ "default_repository_permission": {
99728
+ "type": "string",
99729
+ "nullable": true
99730
+ },
99731
+ "members_can_create_repositories": {
99732
+ "type": "boolean",
99733
+ "example": true,
99734
+ "nullable": true
99735
+ },
99736
+ "two_factor_requirement_enabled": {
99737
+ "type": "boolean",
99738
+ "example": true,
99739
+ "nullable": true
99740
+ },
99741
+ "members_allowed_repository_creation_type": {
99742
+ "type": "string",
99743
+ "example": "all"
99744
+ },
99745
+ "members_can_create_public_repositories": {
99746
+ "type": "boolean",
99747
+ "example": true
99748
+ },
99749
+ "members_can_create_private_repositories": {
99750
+ "type": "boolean",
99751
+ "example": true
99752
+ },
99753
+ "members_can_create_internal_repositories": {
99754
+ "type": "boolean",
99755
+ "example": true
99756
+ },
99757
+ "members_can_create_pages": {
99758
+ "type": "boolean",
99759
+ "example": true
99760
+ },
99761
+ "members_can_create_public_pages": {
99762
+ "type": "boolean",
99763
+ "example": true
99764
+ },
99765
+ "members_can_create_private_pages": {
99766
+ "type": "boolean",
99767
+ "example": true
99768
+ },
99769
+ "members_can_fork_private_repositories": {
99770
+ "type": "boolean",
99771
+ "example": false,
99772
+ "nullable": true
99773
+ },
99774
+ "updated_at": {
99775
+ "type": "string",
99776
+ "format": "date-time"
99777
+ }
99778
+ },
99779
+ "required": [
99780
+ "login",
99781
+ "url",
99782
+ "id",
99783
+ "node_id",
99784
+ "repos_url",
99785
+ "events_url",
99786
+ "hooks_url",
99787
+ "issues_url",
99788
+ "members_url",
99789
+ "public_members_url",
99790
+ "avatar_url",
99791
+ "description",
99792
+ "html_url",
99793
+ "has_organization_projects",
99794
+ "has_repository_projects",
99795
+ "public_repos",
99796
+ "public_gists",
99797
+ "followers",
99798
+ "following",
99799
+ "type",
99800
+ "created_at",
99801
+ "updated_at"
99802
+ ]
99803
+ },
99804
+ "ldap_dn": {
99805
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
99806
+ "example": "uid=example,ou=users,dc=github,dc=com",
99807
+ "type": "string"
99808
+ }
99809
+ },
99810
+ "required": [
99811
+ "id",
99812
+ "node_id",
99813
+ "url",
99814
+ "members_url",
99815
+ "name",
99816
+ "description",
99817
+ "permission",
99818
+ "html_url",
99819
+ "repositories_url",
99820
+ "slug",
99821
+ "created_at",
99822
+ "updated_at",
99823
+ "members_count",
99824
+ "repos_count",
99825
+ "organization"
99826
+ ]
99827
+ },
99828
+ "examples": {
99829
+ "default": {
99830
+ "value": {
99831
+ "id": 1,
99832
+ "node_id": "MDQ6VGVhbTE=",
99833
+ "url": "https://api.github.com/teams/1",
99834
+ "html_url": "https://github.com/orgs/github/teams/justice-league",
99835
+ "name": "Justice League",
99836
+ "slug": "justice-league",
99837
+ "description": "A great team.",
99838
+ "privacy": "closed",
99839
+ "permission": "admin",
99840
+ "members_url": "https://api.github.com/teams/1/members{/member}",
99841
+ "repositories_url": "https://api.github.com/teams/1/repos",
99842
+ "members_count": 3,
99843
+ "repos_count": 10,
99844
+ "created_at": "2017-07-14T16:53:42Z",
99845
+ "updated_at": "2017-08-17T12:37:15Z",
99846
+ "organization": {
99847
+ "login": "github",
99848
+ "id": 1,
99849
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
99850
+ "url": "https://api.github.com/orgs/github",
99851
+ "repos_url": "https://api.github.com/orgs/github/repos",
99852
+ "events_url": "https://api.github.com/orgs/github/events",
99853
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
99854
+ "issues_url": "https://api.github.com/orgs/github/issues",
99855
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
99856
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
99857
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
99858
+ "description": "A great organization",
99859
+ "name": "github",
99860
+ "company": "GitHub",
99861
+ "blog": "https://github.com/blog",
99862
+ "location": "San Francisco",
99863
+ "email": "octocat@github.com",
99864
+ "has_organization_projects": true,
99865
+ "has_repository_projects": true,
99866
+ "public_repos": 2,
99867
+ "public_gists": 1,
99868
+ "followers": 20,
99869
+ "following": 0,
99870
+ "html_url": "https://github.com/octocat",
99871
+ "created_at": "2008-01-14T04:33:35Z",
99872
+ "updated_at": "2017-08-17T12:37:15Z",
99873
+ "type": "Organization"
99874
+ },
99875
+ "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com"
99876
+ }
99877
+ }
99878
+ }
99879
+ }
99880
+ }
99881
+ },
99384
99882
  "201": {
99385
99883
  "description": "Response",
99386
99884
  "content": {
@@ -99878,6 +100376,127 @@
99878
100376
  }
99879
100377
  }
99880
100378
  }
100379
+ },
100380
+ "403": {
100381
+ "description": "Forbidden",
100382
+ "content": {
100383
+ "application/json": {
100384
+ "schema": {
100385
+ "title": "Basic Error",
100386
+ "description": "Basic Error",
100387
+ "type": "object",
100388
+ "properties": {
100389
+ "message": {
100390
+ "type": "string"
100391
+ },
100392
+ "documentation_url": {
100393
+ "type": "string"
100394
+ },
100395
+ "url": {
100396
+ "type": "string"
100397
+ },
100398
+ "status": {
100399
+ "type": "string"
100400
+ }
100401
+ }
100402
+ }
100403
+ }
100404
+ }
100405
+ },
100406
+ "404": {
100407
+ "description": "Resource not found",
100408
+ "content": {
100409
+ "application/json": {
100410
+ "schema": {
100411
+ "title": "Basic Error",
100412
+ "description": "Basic Error",
100413
+ "type": "object",
100414
+ "properties": {
100415
+ "message": {
100416
+ "type": "string"
100417
+ },
100418
+ "documentation_url": {
100419
+ "type": "string"
100420
+ },
100421
+ "url": {
100422
+ "type": "string"
100423
+ },
100424
+ "status": {
100425
+ "type": "string"
100426
+ }
100427
+ }
100428
+ }
100429
+ }
100430
+ }
100431
+ },
100432
+ "422": {
100433
+ "description": "Validation failed",
100434
+ "content": {
100435
+ "application/json": {
100436
+ "schema": {
100437
+ "title": "Validation Error",
100438
+ "description": "Validation Error",
100439
+ "type": "object",
100440
+ "required": [
100441
+ "message",
100442
+ "documentation_url"
100443
+ ],
100444
+ "properties": {
100445
+ "message": {
100446
+ "type": "string"
100447
+ },
100448
+ "documentation_url": {
100449
+ "type": "string"
100450
+ },
100451
+ "errors": {
100452
+ "type": "array",
100453
+ "items": {
100454
+ "type": "object",
100455
+ "required": [
100456
+ "code"
100457
+ ],
100458
+ "properties": {
100459
+ "resource": {
100460
+ "type": "string"
100461
+ },
100462
+ "field": {
100463
+ "type": "string"
100464
+ },
100465
+ "message": {
100466
+ "type": "string"
100467
+ },
100468
+ "code": {
100469
+ "type": "string"
100470
+ },
100471
+ "index": {
100472
+ "type": "integer"
100473
+ },
100474
+ "value": {
100475
+ "oneOf": [
100476
+ {
100477
+ "type": "string",
100478
+ "nullable": true
100479
+ },
100480
+ {
100481
+ "type": "integer",
100482
+ "nullable": true
100483
+ },
100484
+ {
100485
+ "type": "array",
100486
+ "nullable": true,
100487
+ "items": {
100488
+ "type": "string"
100489
+ }
100490
+ }
100491
+ ]
100492
+ }
100493
+ }
100494
+ }
100495
+ }
100496
+ }
100497
+ }
100498
+ }
100499
+ }
99881
100500
  }
99882
100501
  },
99883
100502
  "x-github": {
@@ -204009,6 +204628,7 @@
204009
204628
  "description": "The base branch and head branch to compare. This parameter expects the format `{base}...{head}`.",
204010
204629
  "in": "path",
204011
204630
  "required": true,
204631
+ "x-multi-segment": true,
204012
204632
  "schema": {
204013
204633
  "type": "string"
204014
204634
  }
@@ -228371,7 +228991,7 @@
228371
228991
  "/repos/{owner}/{repo}/git/trees/{tree_sha}": {
228372
228992
  "get": {
228373
228993
  "summary": "Get a tree",
228374
- "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.",
228994
+ "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.",
228375
228995
  "tags": [
228376
228996
  "git"
228377
228997
  ],