@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": {
@@ -88899,6 +88899,499 @@
88899
88899
  }
88900
88900
  },
88901
88901
  "responses": {
88902
+ "200": {
88903
+ "description": "Response when the updated information already exists",
88904
+ "content": {
88905
+ "application/json": {
88906
+ "schema": {
88907
+ "title": "Full Team",
88908
+ "description": "Groups of organization members that gives permissions on specified repositories.",
88909
+ "type": "object",
88910
+ "properties": {
88911
+ "id": {
88912
+ "description": "Unique identifier of the team",
88913
+ "example": 42,
88914
+ "type": "integer"
88915
+ },
88916
+ "node_id": {
88917
+ "type": "string",
88918
+ "example": "MDQ6VGVhbTE="
88919
+ },
88920
+ "url": {
88921
+ "description": "URL for the team",
88922
+ "example": "https://api.github.com/organizations/1/team/1",
88923
+ "type": "string",
88924
+ "format": "uri"
88925
+ },
88926
+ "html_url": {
88927
+ "type": "string",
88928
+ "format": "uri",
88929
+ "example": "https://github.com/orgs/rails/teams/core"
88930
+ },
88931
+ "name": {
88932
+ "description": "Name of the team",
88933
+ "example": "Developers",
88934
+ "type": "string"
88935
+ },
88936
+ "slug": {
88937
+ "type": "string",
88938
+ "example": "justice-league"
88939
+ },
88940
+ "description": {
88941
+ "type": "string",
88942
+ "example": "A great team.",
88943
+ "nullable": true
88944
+ },
88945
+ "privacy": {
88946
+ "description": "The level of privacy this team should have",
88947
+ "type": "string",
88948
+ "enum": [
88949
+ "closed",
88950
+ "secret"
88951
+ ],
88952
+ "example": "closed"
88953
+ },
88954
+ "permission": {
88955
+ "description": "Permission that the team will have for its repositories",
88956
+ "example": "push",
88957
+ "type": "string"
88958
+ },
88959
+ "members_url": {
88960
+ "type": "string",
88961
+ "example": "https://api.github.com/organizations/1/team/1/members{/member}"
88962
+ },
88963
+ "repositories_url": {
88964
+ "type": "string",
88965
+ "format": "uri",
88966
+ "example": "https://api.github.com/organizations/1/team/1/repos"
88967
+ },
88968
+ "parent": {
88969
+ "title": "Team Simple",
88970
+ "description": "Groups of organization members that gives permissions on specified repositories.",
88971
+ "type": "object",
88972
+ "properties": {
88973
+ "id": {
88974
+ "description": "Unique identifier of the team",
88975
+ "type": "integer",
88976
+ "example": 1
88977
+ },
88978
+ "node_id": {
88979
+ "type": "string",
88980
+ "example": "MDQ6VGVhbTE="
88981
+ },
88982
+ "url": {
88983
+ "description": "URL for the team",
88984
+ "type": "string",
88985
+ "format": "uri",
88986
+ "example": "https://api.github.com/organizations/1/team/1"
88987
+ },
88988
+ "members_url": {
88989
+ "type": "string",
88990
+ "example": "https://api.github.com/organizations/1/team/1/members{/member}"
88991
+ },
88992
+ "name": {
88993
+ "description": "Name of the team",
88994
+ "type": "string",
88995
+ "example": "Justice League"
88996
+ },
88997
+ "description": {
88998
+ "description": "Description of the team",
88999
+ "type": "string",
89000
+ "nullable": true,
89001
+ "example": "A great team."
89002
+ },
89003
+ "permission": {
89004
+ "description": "Permission that the team will have for its repositories",
89005
+ "type": "string",
89006
+ "example": "admin"
89007
+ },
89008
+ "privacy": {
89009
+ "description": "The level of privacy this team should have",
89010
+ "type": "string",
89011
+ "example": "closed"
89012
+ },
89013
+ "html_url": {
89014
+ "type": "string",
89015
+ "format": "uri",
89016
+ "example": "https://github.com/orgs/rails/teams/core"
89017
+ },
89018
+ "repositories_url": {
89019
+ "type": "string",
89020
+ "format": "uri",
89021
+ "example": "https://api.github.com/organizations/1/team/1/repos"
89022
+ },
89023
+ "slug": {
89024
+ "type": "string",
89025
+ "example": "justice-league"
89026
+ },
89027
+ "ldap_dn": {
89028
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
89029
+ "example": "uid=example,ou=users,dc=github,dc=com",
89030
+ "type": "string"
89031
+ }
89032
+ },
89033
+ "required": [
89034
+ "id",
89035
+ "node_id",
89036
+ "url",
89037
+ "members_url",
89038
+ "name",
89039
+ "description",
89040
+ "permission",
89041
+ "html_url",
89042
+ "repositories_url",
89043
+ "slug"
89044
+ ],
89045
+ "nullable": true
89046
+ },
89047
+ "members_count": {
89048
+ "type": "integer",
89049
+ "example": 3
89050
+ },
89051
+ "repos_count": {
89052
+ "type": "integer",
89053
+ "example": 10
89054
+ },
89055
+ "created_at": {
89056
+ "type": "string",
89057
+ "format": "date-time",
89058
+ "example": "2017-07-14T16:53:42Z"
89059
+ },
89060
+ "updated_at": {
89061
+ "type": "string",
89062
+ "format": "date-time",
89063
+ "example": "2017-08-17T12:37:15Z"
89064
+ },
89065
+ "organization": {
89066
+ "title": "Team Organization",
89067
+ "description": "Team Organization",
89068
+ "type": "object",
89069
+ "properties": {
89070
+ "login": {
89071
+ "type": "string",
89072
+ "example": "github"
89073
+ },
89074
+ "id": {
89075
+ "type": "integer",
89076
+ "example": 1
89077
+ },
89078
+ "node_id": {
89079
+ "type": "string",
89080
+ "example": "MDEyOk9yZ2FuaXphdGlvbjE="
89081
+ },
89082
+ "url": {
89083
+ "type": "string",
89084
+ "format": "uri",
89085
+ "example": "https://api.github.com/orgs/github"
89086
+ },
89087
+ "repos_url": {
89088
+ "type": "string",
89089
+ "format": "uri",
89090
+ "example": "https://api.github.com/orgs/github/repos"
89091
+ },
89092
+ "events_url": {
89093
+ "type": "string",
89094
+ "format": "uri",
89095
+ "example": "https://api.github.com/orgs/github/events"
89096
+ },
89097
+ "hooks_url": {
89098
+ "type": "string",
89099
+ "example": "https://api.github.com/orgs/github/hooks"
89100
+ },
89101
+ "issues_url": {
89102
+ "type": "string",
89103
+ "example": "https://api.github.com/orgs/github/issues"
89104
+ },
89105
+ "members_url": {
89106
+ "type": "string",
89107
+ "example": "https://api.github.com/orgs/github/members{/member}"
89108
+ },
89109
+ "public_members_url": {
89110
+ "type": "string",
89111
+ "example": "https://api.github.com/orgs/github/public_members{/member}"
89112
+ },
89113
+ "avatar_url": {
89114
+ "type": "string",
89115
+ "example": "https://github.com/images/error/octocat_happy.gif"
89116
+ },
89117
+ "description": {
89118
+ "type": "string",
89119
+ "example": "A great organization",
89120
+ "nullable": true
89121
+ },
89122
+ "name": {
89123
+ "type": "string",
89124
+ "example": "github"
89125
+ },
89126
+ "company": {
89127
+ "type": "string",
89128
+ "example": "GitHub"
89129
+ },
89130
+ "blog": {
89131
+ "type": "string",
89132
+ "format": "uri",
89133
+ "example": "https://github.com/blog"
89134
+ },
89135
+ "location": {
89136
+ "type": "string",
89137
+ "example": "San Francisco"
89138
+ },
89139
+ "email": {
89140
+ "type": "string",
89141
+ "format": "email",
89142
+ "example": "octocat@github.com"
89143
+ },
89144
+ "twitter_username": {
89145
+ "type": "string",
89146
+ "example": "github",
89147
+ "nullable": true
89148
+ },
89149
+ "is_verified": {
89150
+ "type": "boolean",
89151
+ "example": true
89152
+ },
89153
+ "has_organization_projects": {
89154
+ "type": "boolean",
89155
+ "example": true
89156
+ },
89157
+ "has_repository_projects": {
89158
+ "type": "boolean",
89159
+ "example": true
89160
+ },
89161
+ "public_repos": {
89162
+ "type": "integer",
89163
+ "example": 2
89164
+ },
89165
+ "public_gists": {
89166
+ "type": "integer",
89167
+ "example": 1
89168
+ },
89169
+ "followers": {
89170
+ "type": "integer",
89171
+ "example": 20
89172
+ },
89173
+ "following": {
89174
+ "type": "integer",
89175
+ "example": 0
89176
+ },
89177
+ "html_url": {
89178
+ "type": "string",
89179
+ "format": "uri",
89180
+ "example": "https://github.com/octocat"
89181
+ },
89182
+ "created_at": {
89183
+ "type": "string",
89184
+ "format": "date-time",
89185
+ "example": "2008-01-14T04:33:35Z"
89186
+ },
89187
+ "type": {
89188
+ "type": "string",
89189
+ "example": "Organization"
89190
+ },
89191
+ "total_private_repos": {
89192
+ "type": "integer",
89193
+ "example": 100
89194
+ },
89195
+ "owned_private_repos": {
89196
+ "type": "integer",
89197
+ "example": 100
89198
+ },
89199
+ "private_gists": {
89200
+ "type": "integer",
89201
+ "example": 81,
89202
+ "nullable": true
89203
+ },
89204
+ "disk_usage": {
89205
+ "type": "integer",
89206
+ "example": 10000,
89207
+ "nullable": true
89208
+ },
89209
+ "collaborators": {
89210
+ "type": "integer",
89211
+ "example": 8,
89212
+ "nullable": true
89213
+ },
89214
+ "billing_email": {
89215
+ "type": "string",
89216
+ "format": "email",
89217
+ "example": "org@example.com",
89218
+ "nullable": true
89219
+ },
89220
+ "plan": {
89221
+ "type": "object",
89222
+ "properties": {
89223
+ "name": {
89224
+ "type": "string"
89225
+ },
89226
+ "space": {
89227
+ "type": "integer"
89228
+ },
89229
+ "private_repos": {
89230
+ "type": "integer"
89231
+ },
89232
+ "filled_seats": {
89233
+ "type": "integer"
89234
+ },
89235
+ "seats": {
89236
+ "type": "integer"
89237
+ }
89238
+ },
89239
+ "required": [
89240
+ "name",
89241
+ "space",
89242
+ "private_repos"
89243
+ ]
89244
+ },
89245
+ "default_repository_permission": {
89246
+ "type": "string",
89247
+ "nullable": true
89248
+ },
89249
+ "members_can_create_repositories": {
89250
+ "type": "boolean",
89251
+ "example": true,
89252
+ "nullable": true
89253
+ },
89254
+ "two_factor_requirement_enabled": {
89255
+ "type": "boolean",
89256
+ "example": true,
89257
+ "nullable": true
89258
+ },
89259
+ "members_allowed_repository_creation_type": {
89260
+ "type": "string",
89261
+ "example": "all"
89262
+ },
89263
+ "members_can_create_public_repositories": {
89264
+ "type": "boolean",
89265
+ "example": true
89266
+ },
89267
+ "members_can_create_private_repositories": {
89268
+ "type": "boolean",
89269
+ "example": true
89270
+ },
89271
+ "members_can_create_internal_repositories": {
89272
+ "type": "boolean",
89273
+ "example": true
89274
+ },
89275
+ "members_can_create_pages": {
89276
+ "type": "boolean",
89277
+ "example": true
89278
+ },
89279
+ "members_can_create_public_pages": {
89280
+ "type": "boolean",
89281
+ "example": true
89282
+ },
89283
+ "members_can_create_private_pages": {
89284
+ "type": "boolean",
89285
+ "example": true
89286
+ },
89287
+ "updated_at": {
89288
+ "type": "string",
89289
+ "format": "date-time"
89290
+ }
89291
+ },
89292
+ "required": [
89293
+ "login",
89294
+ "url",
89295
+ "id",
89296
+ "node_id",
89297
+ "repos_url",
89298
+ "events_url",
89299
+ "hooks_url",
89300
+ "issues_url",
89301
+ "members_url",
89302
+ "public_members_url",
89303
+ "avatar_url",
89304
+ "description",
89305
+ "html_url",
89306
+ "has_organization_projects",
89307
+ "has_repository_projects",
89308
+ "public_repos",
89309
+ "public_gists",
89310
+ "followers",
89311
+ "following",
89312
+ "type",
89313
+ "created_at",
89314
+ "updated_at"
89315
+ ]
89316
+ },
89317
+ "ldap_dn": {
89318
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
89319
+ "example": "uid=example,ou=users,dc=github,dc=com",
89320
+ "type": "string"
89321
+ }
89322
+ },
89323
+ "required": [
89324
+ "id",
89325
+ "node_id",
89326
+ "url",
89327
+ "members_url",
89328
+ "name",
89329
+ "description",
89330
+ "permission",
89331
+ "html_url",
89332
+ "repositories_url",
89333
+ "slug",
89334
+ "created_at",
89335
+ "updated_at",
89336
+ "members_count",
89337
+ "repos_count",
89338
+ "organization"
89339
+ ]
89340
+ },
89341
+ "examples": {
89342
+ "default": {
89343
+ "value": {
89344
+ "id": 1,
89345
+ "node_id": "MDQ6VGVhbTE=",
89346
+ "url": "https://api.github.com/teams/1",
89347
+ "html_url": "https://github.com/orgs/github/teams/justice-league",
89348
+ "name": "Justice League",
89349
+ "slug": "justice-league",
89350
+ "description": "A great team.",
89351
+ "privacy": "closed",
89352
+ "permission": "admin",
89353
+ "members_url": "https://api.github.com/teams/1/members{/member}",
89354
+ "repositories_url": "https://api.github.com/teams/1/repos",
89355
+ "members_count": 3,
89356
+ "repos_count": 10,
89357
+ "created_at": "2017-07-14T16:53:42Z",
89358
+ "updated_at": "2017-08-17T12:37:15Z",
89359
+ "organization": {
89360
+ "login": "github",
89361
+ "id": 1,
89362
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
89363
+ "url": "https://api.github.com/orgs/github",
89364
+ "repos_url": "https://api.github.com/orgs/github/repos",
89365
+ "events_url": "https://api.github.com/orgs/github/events",
89366
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
89367
+ "issues_url": "https://api.github.com/orgs/github/issues",
89368
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
89369
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
89370
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
89371
+ "description": "A great organization",
89372
+ "name": "github",
89373
+ "company": "GitHub",
89374
+ "blog": "https://github.com/blog",
89375
+ "location": "San Francisco",
89376
+ "email": "octocat@github.com",
89377
+ "has_organization_projects": true,
89378
+ "has_repository_projects": true,
89379
+ "public_repos": 2,
89380
+ "public_gists": 1,
89381
+ "followers": 20,
89382
+ "following": 0,
89383
+ "html_url": "https://github.com/octocat",
89384
+ "created_at": "2008-01-14T04:33:35Z",
89385
+ "updated_at": "2017-08-17T12:37:15Z",
89386
+ "type": "Organization"
89387
+ },
89388
+ "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com"
89389
+ }
89390
+ }
89391
+ }
89392
+ }
89393
+ }
89394
+ },
88902
89395
  "201": {
88903
89396
  "description": "Response",
88904
89397
  "content": {
@@ -89391,6 +89884,127 @@
89391
89884
  }
89392
89885
  }
89393
89886
  }
89887
+ },
89888
+ "403": {
89889
+ "description": "Forbidden",
89890
+ "content": {
89891
+ "application/json": {
89892
+ "schema": {
89893
+ "title": "Basic Error",
89894
+ "description": "Basic Error",
89895
+ "type": "object",
89896
+ "properties": {
89897
+ "message": {
89898
+ "type": "string"
89899
+ },
89900
+ "documentation_url": {
89901
+ "type": "string"
89902
+ },
89903
+ "url": {
89904
+ "type": "string"
89905
+ },
89906
+ "status": {
89907
+ "type": "string"
89908
+ }
89909
+ }
89910
+ }
89911
+ }
89912
+ }
89913
+ },
89914
+ "404": {
89915
+ "description": "Resource not found",
89916
+ "content": {
89917
+ "application/json": {
89918
+ "schema": {
89919
+ "title": "Basic Error",
89920
+ "description": "Basic Error",
89921
+ "type": "object",
89922
+ "properties": {
89923
+ "message": {
89924
+ "type": "string"
89925
+ },
89926
+ "documentation_url": {
89927
+ "type": "string"
89928
+ },
89929
+ "url": {
89930
+ "type": "string"
89931
+ },
89932
+ "status": {
89933
+ "type": "string"
89934
+ }
89935
+ }
89936
+ }
89937
+ }
89938
+ }
89939
+ },
89940
+ "422": {
89941
+ "description": "Validation failed",
89942
+ "content": {
89943
+ "application/json": {
89944
+ "schema": {
89945
+ "title": "Validation Error",
89946
+ "description": "Validation Error",
89947
+ "type": "object",
89948
+ "required": [
89949
+ "message",
89950
+ "documentation_url"
89951
+ ],
89952
+ "properties": {
89953
+ "message": {
89954
+ "type": "string"
89955
+ },
89956
+ "documentation_url": {
89957
+ "type": "string"
89958
+ },
89959
+ "errors": {
89960
+ "type": "array",
89961
+ "items": {
89962
+ "type": "object",
89963
+ "required": [
89964
+ "code"
89965
+ ],
89966
+ "properties": {
89967
+ "resource": {
89968
+ "type": "string"
89969
+ },
89970
+ "field": {
89971
+ "type": "string"
89972
+ },
89973
+ "message": {
89974
+ "type": "string"
89975
+ },
89976
+ "code": {
89977
+ "type": "string"
89978
+ },
89979
+ "index": {
89980
+ "type": "integer"
89981
+ },
89982
+ "value": {
89983
+ "oneOf": [
89984
+ {
89985
+ "type": "string",
89986
+ "nullable": true
89987
+ },
89988
+ {
89989
+ "type": "integer",
89990
+ "nullable": true
89991
+ },
89992
+ {
89993
+ "type": "array",
89994
+ "nullable": true,
89995
+ "items": {
89996
+ "type": "string"
89997
+ }
89998
+ }
89999
+ ]
90000
+ }
90001
+ }
90002
+ }
90003
+ }
90004
+ }
90005
+ }
90006
+ }
90007
+ }
89394
90008
  }
89395
90009
  },
89396
90010
  "x-github": {
@@ -188361,6 +188975,7 @@
188361
188975
  "description": "The base branch and head branch to compare. This parameter expects the format `{base}...{head}`.",
188362
188976
  "in": "path",
188363
188977
  "required": true,
188978
+ "x-multi-segment": true,
188364
188979
  "schema": {
188365
188980
  "type": "string"
188366
188981
  }
@@ -212578,7 +213193,7 @@
212578
213193
  "/repos/{owner}/{repo}/git/trees/{tree_sha}": {
212579
213194
  "get": {
212580
213195
  "summary": "Get a tree",
212581
- "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.",
213196
+ "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.",
212582
213197
  "tags": [
212583
213198
  "git"
212584
213199
  ],