@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": {
@@ -101586,6 +101586,504 @@
101586
101586
  }
101587
101587
  },
101588
101588
  "responses": {
101589
+ "200": {
101590
+ "description": "Response when the updated information already exists",
101591
+ "content": {
101592
+ "application/json": {
101593
+ "schema": {
101594
+ "title": "Full Team",
101595
+ "description": "Groups of organization members that gives permissions on specified repositories.",
101596
+ "type": "object",
101597
+ "properties": {
101598
+ "id": {
101599
+ "description": "Unique identifier of the team",
101600
+ "example": 42,
101601
+ "type": "integer"
101602
+ },
101603
+ "node_id": {
101604
+ "type": "string",
101605
+ "example": "MDQ6VGVhbTE="
101606
+ },
101607
+ "url": {
101608
+ "description": "URL for the team",
101609
+ "example": "https://api.github.com/organizations/1/team/1",
101610
+ "type": "string",
101611
+ "format": "uri"
101612
+ },
101613
+ "html_url": {
101614
+ "type": "string",
101615
+ "format": "uri",
101616
+ "example": "https://github.com/orgs/rails/teams/core"
101617
+ },
101618
+ "name": {
101619
+ "description": "Name of the team",
101620
+ "example": "Developers",
101621
+ "type": "string"
101622
+ },
101623
+ "slug": {
101624
+ "type": "string",
101625
+ "example": "justice-league"
101626
+ },
101627
+ "description": {
101628
+ "type": "string",
101629
+ "example": "A great team.",
101630
+ "nullable": true
101631
+ },
101632
+ "privacy": {
101633
+ "description": "The level of privacy this team should have",
101634
+ "type": "string",
101635
+ "enum": [
101636
+ "closed",
101637
+ "secret"
101638
+ ],
101639
+ "example": "closed"
101640
+ },
101641
+ "permission": {
101642
+ "description": "Permission that the team will have for its repositories",
101643
+ "example": "push",
101644
+ "type": "string"
101645
+ },
101646
+ "members_url": {
101647
+ "type": "string",
101648
+ "example": "https://api.github.com/organizations/1/team/1/members{/member}"
101649
+ },
101650
+ "repositories_url": {
101651
+ "type": "string",
101652
+ "format": "uri",
101653
+ "example": "https://api.github.com/organizations/1/team/1/repos"
101654
+ },
101655
+ "parent": {
101656
+ "title": "Team Simple",
101657
+ "description": "Groups of organization members that gives permissions on specified repositories.",
101658
+ "type": "object",
101659
+ "properties": {
101660
+ "id": {
101661
+ "description": "Unique identifier of the team",
101662
+ "type": "integer",
101663
+ "example": 1
101664
+ },
101665
+ "node_id": {
101666
+ "type": "string",
101667
+ "example": "MDQ6VGVhbTE="
101668
+ },
101669
+ "url": {
101670
+ "description": "URL for the team",
101671
+ "type": "string",
101672
+ "format": "uri",
101673
+ "example": "https://api.github.com/organizations/1/team/1"
101674
+ },
101675
+ "members_url": {
101676
+ "type": "string",
101677
+ "example": "https://api.github.com/organizations/1/team/1/members{/member}"
101678
+ },
101679
+ "name": {
101680
+ "description": "Name of the team",
101681
+ "type": "string",
101682
+ "example": "Justice League"
101683
+ },
101684
+ "description": {
101685
+ "description": "Description of the team",
101686
+ "type": "string",
101687
+ "nullable": true,
101688
+ "example": "A great team."
101689
+ },
101690
+ "permission": {
101691
+ "description": "Permission that the team will have for its repositories",
101692
+ "type": "string",
101693
+ "example": "admin"
101694
+ },
101695
+ "privacy": {
101696
+ "description": "The level of privacy this team should have",
101697
+ "type": "string",
101698
+ "example": "closed"
101699
+ },
101700
+ "html_url": {
101701
+ "type": "string",
101702
+ "format": "uri",
101703
+ "example": "https://github.com/orgs/rails/teams/core"
101704
+ },
101705
+ "repositories_url": {
101706
+ "type": "string",
101707
+ "format": "uri",
101708
+ "example": "https://api.github.com/organizations/1/team/1/repos"
101709
+ },
101710
+ "slug": {
101711
+ "type": "string",
101712
+ "example": "justice-league"
101713
+ },
101714
+ "ldap_dn": {
101715
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
101716
+ "example": "uid=example,ou=users,dc=github,dc=com",
101717
+ "type": "string"
101718
+ }
101719
+ },
101720
+ "required": [
101721
+ "id",
101722
+ "node_id",
101723
+ "url",
101724
+ "members_url",
101725
+ "name",
101726
+ "description",
101727
+ "permission",
101728
+ "html_url",
101729
+ "repositories_url",
101730
+ "slug"
101731
+ ],
101732
+ "nullable": true
101733
+ },
101734
+ "members_count": {
101735
+ "type": "integer",
101736
+ "example": 3
101737
+ },
101738
+ "repos_count": {
101739
+ "type": "integer",
101740
+ "example": 10
101741
+ },
101742
+ "created_at": {
101743
+ "type": "string",
101744
+ "format": "date-time",
101745
+ "example": "2017-07-14T16:53:42Z"
101746
+ },
101747
+ "updated_at": {
101748
+ "type": "string",
101749
+ "format": "date-time",
101750
+ "example": "2017-08-17T12:37:15Z"
101751
+ },
101752
+ "organization": {
101753
+ "title": "Team Organization",
101754
+ "description": "Team Organization",
101755
+ "type": "object",
101756
+ "properties": {
101757
+ "login": {
101758
+ "type": "string",
101759
+ "example": "github"
101760
+ },
101761
+ "id": {
101762
+ "type": "integer",
101763
+ "example": 1
101764
+ },
101765
+ "node_id": {
101766
+ "type": "string",
101767
+ "example": "MDEyOk9yZ2FuaXphdGlvbjE="
101768
+ },
101769
+ "url": {
101770
+ "type": "string",
101771
+ "format": "uri",
101772
+ "example": "https://api.github.com/orgs/github"
101773
+ },
101774
+ "repos_url": {
101775
+ "type": "string",
101776
+ "format": "uri",
101777
+ "example": "https://api.github.com/orgs/github/repos"
101778
+ },
101779
+ "events_url": {
101780
+ "type": "string",
101781
+ "format": "uri",
101782
+ "example": "https://api.github.com/orgs/github/events"
101783
+ },
101784
+ "hooks_url": {
101785
+ "type": "string",
101786
+ "example": "https://api.github.com/orgs/github/hooks"
101787
+ },
101788
+ "issues_url": {
101789
+ "type": "string",
101790
+ "example": "https://api.github.com/orgs/github/issues"
101791
+ },
101792
+ "members_url": {
101793
+ "type": "string",
101794
+ "example": "https://api.github.com/orgs/github/members{/member}"
101795
+ },
101796
+ "public_members_url": {
101797
+ "type": "string",
101798
+ "example": "https://api.github.com/orgs/github/public_members{/member}"
101799
+ },
101800
+ "avatar_url": {
101801
+ "type": "string",
101802
+ "example": "https://github.com/images/error/octocat_happy.gif"
101803
+ },
101804
+ "description": {
101805
+ "type": "string",
101806
+ "example": "A great organization",
101807
+ "nullable": true
101808
+ },
101809
+ "name": {
101810
+ "type": "string",
101811
+ "example": "github"
101812
+ },
101813
+ "company": {
101814
+ "type": "string",
101815
+ "example": "GitHub"
101816
+ },
101817
+ "blog": {
101818
+ "type": "string",
101819
+ "format": "uri",
101820
+ "example": "https://github.com/blog"
101821
+ },
101822
+ "location": {
101823
+ "type": "string",
101824
+ "example": "San Francisco"
101825
+ },
101826
+ "email": {
101827
+ "type": "string",
101828
+ "format": "email",
101829
+ "example": "octocat@github.com"
101830
+ },
101831
+ "twitter_username": {
101832
+ "type": "string",
101833
+ "example": "github",
101834
+ "nullable": true
101835
+ },
101836
+ "is_verified": {
101837
+ "type": "boolean",
101838
+ "example": true
101839
+ },
101840
+ "has_organization_projects": {
101841
+ "type": "boolean",
101842
+ "example": true
101843
+ },
101844
+ "has_repository_projects": {
101845
+ "type": "boolean",
101846
+ "example": true
101847
+ },
101848
+ "public_repos": {
101849
+ "type": "integer",
101850
+ "example": 2
101851
+ },
101852
+ "public_gists": {
101853
+ "type": "integer",
101854
+ "example": 1
101855
+ },
101856
+ "followers": {
101857
+ "type": "integer",
101858
+ "example": 20
101859
+ },
101860
+ "following": {
101861
+ "type": "integer",
101862
+ "example": 0
101863
+ },
101864
+ "html_url": {
101865
+ "type": "string",
101866
+ "format": "uri",
101867
+ "example": "https://github.com/octocat"
101868
+ },
101869
+ "created_at": {
101870
+ "type": "string",
101871
+ "format": "date-time",
101872
+ "example": "2008-01-14T04:33:35Z"
101873
+ },
101874
+ "type": {
101875
+ "type": "string",
101876
+ "example": "Organization"
101877
+ },
101878
+ "total_private_repos": {
101879
+ "type": "integer",
101880
+ "example": 100
101881
+ },
101882
+ "owned_private_repos": {
101883
+ "type": "integer",
101884
+ "example": 100
101885
+ },
101886
+ "private_gists": {
101887
+ "type": "integer",
101888
+ "example": 81,
101889
+ "nullable": true
101890
+ },
101891
+ "disk_usage": {
101892
+ "type": "integer",
101893
+ "example": 10000,
101894
+ "nullable": true
101895
+ },
101896
+ "collaborators": {
101897
+ "type": "integer",
101898
+ "example": 8,
101899
+ "nullable": true
101900
+ },
101901
+ "billing_email": {
101902
+ "type": "string",
101903
+ "format": "email",
101904
+ "example": "org@example.com",
101905
+ "nullable": true
101906
+ },
101907
+ "plan": {
101908
+ "type": "object",
101909
+ "properties": {
101910
+ "name": {
101911
+ "type": "string"
101912
+ },
101913
+ "space": {
101914
+ "type": "integer"
101915
+ },
101916
+ "private_repos": {
101917
+ "type": "integer"
101918
+ },
101919
+ "filled_seats": {
101920
+ "type": "integer"
101921
+ },
101922
+ "seats": {
101923
+ "type": "integer"
101924
+ }
101925
+ },
101926
+ "required": [
101927
+ "name",
101928
+ "space",
101929
+ "private_repos"
101930
+ ]
101931
+ },
101932
+ "default_repository_permission": {
101933
+ "type": "string",
101934
+ "nullable": true
101935
+ },
101936
+ "members_can_create_repositories": {
101937
+ "type": "boolean",
101938
+ "example": true,
101939
+ "nullable": true
101940
+ },
101941
+ "two_factor_requirement_enabled": {
101942
+ "type": "boolean",
101943
+ "example": true,
101944
+ "nullable": true
101945
+ },
101946
+ "members_allowed_repository_creation_type": {
101947
+ "type": "string",
101948
+ "example": "all"
101949
+ },
101950
+ "members_can_create_public_repositories": {
101951
+ "type": "boolean",
101952
+ "example": true
101953
+ },
101954
+ "members_can_create_private_repositories": {
101955
+ "type": "boolean",
101956
+ "example": true
101957
+ },
101958
+ "members_can_create_internal_repositories": {
101959
+ "type": "boolean",
101960
+ "example": true
101961
+ },
101962
+ "members_can_create_pages": {
101963
+ "type": "boolean",
101964
+ "example": true
101965
+ },
101966
+ "members_can_create_public_pages": {
101967
+ "type": "boolean",
101968
+ "example": true
101969
+ },
101970
+ "members_can_create_private_pages": {
101971
+ "type": "boolean",
101972
+ "example": true
101973
+ },
101974
+ "members_can_fork_private_repositories": {
101975
+ "type": "boolean",
101976
+ "example": false,
101977
+ "nullable": true
101978
+ },
101979
+ "updated_at": {
101980
+ "type": "string",
101981
+ "format": "date-time"
101982
+ }
101983
+ },
101984
+ "required": [
101985
+ "login",
101986
+ "url",
101987
+ "id",
101988
+ "node_id",
101989
+ "repos_url",
101990
+ "events_url",
101991
+ "hooks_url",
101992
+ "issues_url",
101993
+ "members_url",
101994
+ "public_members_url",
101995
+ "avatar_url",
101996
+ "description",
101997
+ "html_url",
101998
+ "has_organization_projects",
101999
+ "has_repository_projects",
102000
+ "public_repos",
102001
+ "public_gists",
102002
+ "followers",
102003
+ "following",
102004
+ "type",
102005
+ "created_at",
102006
+ "updated_at"
102007
+ ]
102008
+ },
102009
+ "ldap_dn": {
102010
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
102011
+ "example": "uid=example,ou=users,dc=github,dc=com",
102012
+ "type": "string"
102013
+ }
102014
+ },
102015
+ "required": [
102016
+ "id",
102017
+ "node_id",
102018
+ "url",
102019
+ "members_url",
102020
+ "name",
102021
+ "description",
102022
+ "permission",
102023
+ "html_url",
102024
+ "repositories_url",
102025
+ "slug",
102026
+ "created_at",
102027
+ "updated_at",
102028
+ "members_count",
102029
+ "repos_count",
102030
+ "organization"
102031
+ ]
102032
+ },
102033
+ "examples": {
102034
+ "default": {
102035
+ "value": {
102036
+ "id": 1,
102037
+ "node_id": "MDQ6VGVhbTE=",
102038
+ "url": "https://api.github.com/teams/1",
102039
+ "html_url": "https://github.com/orgs/github/teams/justice-league",
102040
+ "name": "Justice League",
102041
+ "slug": "justice-league",
102042
+ "description": "A great team.",
102043
+ "privacy": "closed",
102044
+ "permission": "admin",
102045
+ "members_url": "https://api.github.com/teams/1/members{/member}",
102046
+ "repositories_url": "https://api.github.com/teams/1/repos",
102047
+ "members_count": 3,
102048
+ "repos_count": 10,
102049
+ "created_at": "2017-07-14T16:53:42Z",
102050
+ "updated_at": "2017-08-17T12:37:15Z",
102051
+ "organization": {
102052
+ "login": "github",
102053
+ "id": 1,
102054
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
102055
+ "url": "https://api.github.com/orgs/github",
102056
+ "repos_url": "https://api.github.com/orgs/github/repos",
102057
+ "events_url": "https://api.github.com/orgs/github/events",
102058
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
102059
+ "issues_url": "https://api.github.com/orgs/github/issues",
102060
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
102061
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
102062
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
102063
+ "description": "A great organization",
102064
+ "name": "github",
102065
+ "company": "GitHub",
102066
+ "blog": "https://github.com/blog",
102067
+ "location": "San Francisco",
102068
+ "email": "octocat@github.com",
102069
+ "has_organization_projects": true,
102070
+ "has_repository_projects": true,
102071
+ "public_repos": 2,
102072
+ "public_gists": 1,
102073
+ "followers": 20,
102074
+ "following": 0,
102075
+ "html_url": "https://github.com/octocat",
102076
+ "created_at": "2008-01-14T04:33:35Z",
102077
+ "updated_at": "2017-08-17T12:37:15Z",
102078
+ "type": "Organization"
102079
+ },
102080
+ "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com"
102081
+ }
102082
+ }
102083
+ }
102084
+ }
102085
+ }
102086
+ },
101589
102087
  "201": {
101590
102088
  "description": "Response",
101591
102089
  "content": {
@@ -102083,6 +102581,127 @@
102083
102581
  }
102084
102582
  }
102085
102583
  }
102584
+ },
102585
+ "403": {
102586
+ "description": "Forbidden",
102587
+ "content": {
102588
+ "application/json": {
102589
+ "schema": {
102590
+ "title": "Basic Error",
102591
+ "description": "Basic Error",
102592
+ "type": "object",
102593
+ "properties": {
102594
+ "message": {
102595
+ "type": "string"
102596
+ },
102597
+ "documentation_url": {
102598
+ "type": "string"
102599
+ },
102600
+ "url": {
102601
+ "type": "string"
102602
+ },
102603
+ "status": {
102604
+ "type": "string"
102605
+ }
102606
+ }
102607
+ }
102608
+ }
102609
+ }
102610
+ },
102611
+ "404": {
102612
+ "description": "Resource not found",
102613
+ "content": {
102614
+ "application/json": {
102615
+ "schema": {
102616
+ "title": "Basic Error",
102617
+ "description": "Basic Error",
102618
+ "type": "object",
102619
+ "properties": {
102620
+ "message": {
102621
+ "type": "string"
102622
+ },
102623
+ "documentation_url": {
102624
+ "type": "string"
102625
+ },
102626
+ "url": {
102627
+ "type": "string"
102628
+ },
102629
+ "status": {
102630
+ "type": "string"
102631
+ }
102632
+ }
102633
+ }
102634
+ }
102635
+ }
102636
+ },
102637
+ "422": {
102638
+ "description": "Validation failed",
102639
+ "content": {
102640
+ "application/json": {
102641
+ "schema": {
102642
+ "title": "Validation Error",
102643
+ "description": "Validation Error",
102644
+ "type": "object",
102645
+ "required": [
102646
+ "message",
102647
+ "documentation_url"
102648
+ ],
102649
+ "properties": {
102650
+ "message": {
102651
+ "type": "string"
102652
+ },
102653
+ "documentation_url": {
102654
+ "type": "string"
102655
+ },
102656
+ "errors": {
102657
+ "type": "array",
102658
+ "items": {
102659
+ "type": "object",
102660
+ "required": [
102661
+ "code"
102662
+ ],
102663
+ "properties": {
102664
+ "resource": {
102665
+ "type": "string"
102666
+ },
102667
+ "field": {
102668
+ "type": "string"
102669
+ },
102670
+ "message": {
102671
+ "type": "string"
102672
+ },
102673
+ "code": {
102674
+ "type": "string"
102675
+ },
102676
+ "index": {
102677
+ "type": "integer"
102678
+ },
102679
+ "value": {
102680
+ "oneOf": [
102681
+ {
102682
+ "type": "string",
102683
+ "nullable": true
102684
+ },
102685
+ {
102686
+ "type": "integer",
102687
+ "nullable": true
102688
+ },
102689
+ {
102690
+ "type": "array",
102691
+ "nullable": true,
102692
+ "items": {
102693
+ "type": "string"
102694
+ }
102695
+ }
102696
+ ]
102697
+ }
102698
+ }
102699
+ }
102700
+ }
102701
+ }
102702
+ }
102703
+ }
102704
+ }
102086
102705
  }
102087
102706
  },
102088
102707
  "x-github": {
@@ -212599,6 +213218,7 @@
212599
213218
  "description": "The base branch and head branch to compare. This parameter expects the format `{base}...{head}`.",
212600
213219
  "in": "path",
212601
213220
  "required": true,
213221
+ "x-multi-segment": true,
212602
213222
  "schema": {
212603
213223
  "type": "string"
212604
213224
  }
@@ -236977,7 +237597,7 @@
236977
237597
  "/repos/{owner}/{repo}/git/trees/{tree_sha}": {
236978
237598
  "get": {
236979
237599
  "summary": "Get a tree",
236980
- "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.",
237600
+ "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.",
236981
237601
  "tags": [
236982
237602
  "git"
236983
237603
  ],