@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": {
@@ -21965,6 +21965,499 @@
21965
21965
  }
21966
21966
  },
21967
21967
  "responses": {
21968
+ "200": {
21969
+ "description": "Response when the updated information already exists",
21970
+ "content": {
21971
+ "application/json": {
21972
+ "schema": {
21973
+ "title": "Full Team",
21974
+ "description": "Groups of organization members that gives permissions on specified repositories.",
21975
+ "type": "object",
21976
+ "properties": {
21977
+ "id": {
21978
+ "description": "Unique identifier of the team",
21979
+ "example": 42,
21980
+ "type": "integer"
21981
+ },
21982
+ "node_id": {
21983
+ "type": "string",
21984
+ "example": "MDQ6VGVhbTE="
21985
+ },
21986
+ "url": {
21987
+ "description": "URL for the team",
21988
+ "example": "https://api.github.com/organizations/1/team/1",
21989
+ "type": "string",
21990
+ "format": "uri"
21991
+ },
21992
+ "html_url": {
21993
+ "type": "string",
21994
+ "format": "uri",
21995
+ "example": "https://github.com/orgs/rails/teams/core"
21996
+ },
21997
+ "name": {
21998
+ "description": "Name of the team",
21999
+ "example": "Developers",
22000
+ "type": "string"
22001
+ },
22002
+ "slug": {
22003
+ "type": "string",
22004
+ "example": "justice-league"
22005
+ },
22006
+ "description": {
22007
+ "type": "string",
22008
+ "example": "A great team.",
22009
+ "nullable": true
22010
+ },
22011
+ "privacy": {
22012
+ "description": "The level of privacy this team should have",
22013
+ "type": "string",
22014
+ "enum": [
22015
+ "closed",
22016
+ "secret"
22017
+ ],
22018
+ "example": "closed"
22019
+ },
22020
+ "permission": {
22021
+ "description": "Permission that the team will have for its repositories",
22022
+ "example": "push",
22023
+ "type": "string"
22024
+ },
22025
+ "members_url": {
22026
+ "type": "string",
22027
+ "example": "https://api.github.com/organizations/1/team/1/members{/member}"
22028
+ },
22029
+ "repositories_url": {
22030
+ "type": "string",
22031
+ "format": "uri",
22032
+ "example": "https://api.github.com/organizations/1/team/1/repos"
22033
+ },
22034
+ "parent": {
22035
+ "title": "Team Simple",
22036
+ "description": "Groups of organization members that gives permissions on specified repositories.",
22037
+ "type": "object",
22038
+ "properties": {
22039
+ "id": {
22040
+ "description": "Unique identifier of the team",
22041
+ "type": "integer",
22042
+ "example": 1
22043
+ },
22044
+ "node_id": {
22045
+ "type": "string",
22046
+ "example": "MDQ6VGVhbTE="
22047
+ },
22048
+ "url": {
22049
+ "description": "URL for the team",
22050
+ "type": "string",
22051
+ "format": "uri",
22052
+ "example": "https://api.github.com/organizations/1/team/1"
22053
+ },
22054
+ "members_url": {
22055
+ "type": "string",
22056
+ "example": "https://api.github.com/organizations/1/team/1/members{/member}"
22057
+ },
22058
+ "name": {
22059
+ "description": "Name of the team",
22060
+ "type": "string",
22061
+ "example": "Justice League"
22062
+ },
22063
+ "description": {
22064
+ "description": "Description of the team",
22065
+ "type": "string",
22066
+ "nullable": true,
22067
+ "example": "A great team."
22068
+ },
22069
+ "permission": {
22070
+ "description": "Permission that the team will have for its repositories",
22071
+ "type": "string",
22072
+ "example": "admin"
22073
+ },
22074
+ "privacy": {
22075
+ "description": "The level of privacy this team should have",
22076
+ "type": "string",
22077
+ "example": "closed"
22078
+ },
22079
+ "html_url": {
22080
+ "type": "string",
22081
+ "format": "uri",
22082
+ "example": "https://github.com/orgs/rails/teams/core"
22083
+ },
22084
+ "repositories_url": {
22085
+ "type": "string",
22086
+ "format": "uri",
22087
+ "example": "https://api.github.com/organizations/1/team/1/repos"
22088
+ },
22089
+ "slug": {
22090
+ "type": "string",
22091
+ "example": "justice-league"
22092
+ },
22093
+ "ldap_dn": {
22094
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
22095
+ "example": "uid=example,ou=users,dc=github,dc=com",
22096
+ "type": "string"
22097
+ }
22098
+ },
22099
+ "required": [
22100
+ "id",
22101
+ "node_id",
22102
+ "url",
22103
+ "members_url",
22104
+ "name",
22105
+ "description",
22106
+ "permission",
22107
+ "html_url",
22108
+ "repositories_url",
22109
+ "slug"
22110
+ ],
22111
+ "nullable": true
22112
+ },
22113
+ "members_count": {
22114
+ "type": "integer",
22115
+ "example": 3
22116
+ },
22117
+ "repos_count": {
22118
+ "type": "integer",
22119
+ "example": 10
22120
+ },
22121
+ "created_at": {
22122
+ "type": "string",
22123
+ "format": "date-time",
22124
+ "example": "2017-07-14T16:53:42Z"
22125
+ },
22126
+ "updated_at": {
22127
+ "type": "string",
22128
+ "format": "date-time",
22129
+ "example": "2017-08-17T12:37:15Z"
22130
+ },
22131
+ "organization": {
22132
+ "title": "Team Organization",
22133
+ "description": "Team Organization",
22134
+ "type": "object",
22135
+ "properties": {
22136
+ "login": {
22137
+ "type": "string",
22138
+ "example": "github"
22139
+ },
22140
+ "id": {
22141
+ "type": "integer",
22142
+ "example": 1
22143
+ },
22144
+ "node_id": {
22145
+ "type": "string",
22146
+ "example": "MDEyOk9yZ2FuaXphdGlvbjE="
22147
+ },
22148
+ "url": {
22149
+ "type": "string",
22150
+ "format": "uri",
22151
+ "example": "https://api.github.com/orgs/github"
22152
+ },
22153
+ "repos_url": {
22154
+ "type": "string",
22155
+ "format": "uri",
22156
+ "example": "https://api.github.com/orgs/github/repos"
22157
+ },
22158
+ "events_url": {
22159
+ "type": "string",
22160
+ "format": "uri",
22161
+ "example": "https://api.github.com/orgs/github/events"
22162
+ },
22163
+ "hooks_url": {
22164
+ "type": "string",
22165
+ "example": "https://api.github.com/orgs/github/hooks"
22166
+ },
22167
+ "issues_url": {
22168
+ "type": "string",
22169
+ "example": "https://api.github.com/orgs/github/issues"
22170
+ },
22171
+ "members_url": {
22172
+ "type": "string",
22173
+ "example": "https://api.github.com/orgs/github/members{/member}"
22174
+ },
22175
+ "public_members_url": {
22176
+ "type": "string",
22177
+ "example": "https://api.github.com/orgs/github/public_members{/member}"
22178
+ },
22179
+ "avatar_url": {
22180
+ "type": "string",
22181
+ "example": "https://github.com/images/error/octocat_happy.gif"
22182
+ },
22183
+ "description": {
22184
+ "type": "string",
22185
+ "example": "A great organization",
22186
+ "nullable": true
22187
+ },
22188
+ "name": {
22189
+ "type": "string",
22190
+ "example": "github"
22191
+ },
22192
+ "company": {
22193
+ "type": "string",
22194
+ "example": "GitHub"
22195
+ },
22196
+ "blog": {
22197
+ "type": "string",
22198
+ "format": "uri",
22199
+ "example": "https://github.com/blog"
22200
+ },
22201
+ "location": {
22202
+ "type": "string",
22203
+ "example": "San Francisco"
22204
+ },
22205
+ "email": {
22206
+ "type": "string",
22207
+ "format": "email",
22208
+ "example": "octocat@github.com"
22209
+ },
22210
+ "twitter_username": {
22211
+ "type": "string",
22212
+ "example": "github",
22213
+ "nullable": true
22214
+ },
22215
+ "is_verified": {
22216
+ "type": "boolean",
22217
+ "example": true
22218
+ },
22219
+ "has_organization_projects": {
22220
+ "type": "boolean",
22221
+ "example": true
22222
+ },
22223
+ "has_repository_projects": {
22224
+ "type": "boolean",
22225
+ "example": true
22226
+ },
22227
+ "public_repos": {
22228
+ "type": "integer",
22229
+ "example": 2
22230
+ },
22231
+ "public_gists": {
22232
+ "type": "integer",
22233
+ "example": 1
22234
+ },
22235
+ "followers": {
22236
+ "type": "integer",
22237
+ "example": 20
22238
+ },
22239
+ "following": {
22240
+ "type": "integer",
22241
+ "example": 0
22242
+ },
22243
+ "html_url": {
22244
+ "type": "string",
22245
+ "format": "uri",
22246
+ "example": "https://github.com/octocat"
22247
+ },
22248
+ "created_at": {
22249
+ "type": "string",
22250
+ "format": "date-time",
22251
+ "example": "2008-01-14T04:33:35Z"
22252
+ },
22253
+ "type": {
22254
+ "type": "string",
22255
+ "example": "Organization"
22256
+ },
22257
+ "total_private_repos": {
22258
+ "type": "integer",
22259
+ "example": 100
22260
+ },
22261
+ "owned_private_repos": {
22262
+ "type": "integer",
22263
+ "example": 100
22264
+ },
22265
+ "private_gists": {
22266
+ "type": "integer",
22267
+ "example": 81,
22268
+ "nullable": true
22269
+ },
22270
+ "disk_usage": {
22271
+ "type": "integer",
22272
+ "example": 10000,
22273
+ "nullable": true
22274
+ },
22275
+ "collaborators": {
22276
+ "type": "integer",
22277
+ "example": 8,
22278
+ "nullable": true
22279
+ },
22280
+ "billing_email": {
22281
+ "type": "string",
22282
+ "format": "email",
22283
+ "example": "org@example.com",
22284
+ "nullable": true
22285
+ },
22286
+ "plan": {
22287
+ "type": "object",
22288
+ "properties": {
22289
+ "name": {
22290
+ "type": "string"
22291
+ },
22292
+ "space": {
22293
+ "type": "integer"
22294
+ },
22295
+ "private_repos": {
22296
+ "type": "integer"
22297
+ },
22298
+ "filled_seats": {
22299
+ "type": "integer"
22300
+ },
22301
+ "seats": {
22302
+ "type": "integer"
22303
+ }
22304
+ },
22305
+ "required": [
22306
+ "name",
22307
+ "space",
22308
+ "private_repos"
22309
+ ]
22310
+ },
22311
+ "default_repository_permission": {
22312
+ "type": "string",
22313
+ "nullable": true
22314
+ },
22315
+ "members_can_create_repositories": {
22316
+ "type": "boolean",
22317
+ "example": true,
22318
+ "nullable": true
22319
+ },
22320
+ "two_factor_requirement_enabled": {
22321
+ "type": "boolean",
22322
+ "example": true,
22323
+ "nullable": true
22324
+ },
22325
+ "members_allowed_repository_creation_type": {
22326
+ "type": "string",
22327
+ "example": "all"
22328
+ },
22329
+ "members_can_create_public_repositories": {
22330
+ "type": "boolean",
22331
+ "example": true
22332
+ },
22333
+ "members_can_create_private_repositories": {
22334
+ "type": "boolean",
22335
+ "example": true
22336
+ },
22337
+ "members_can_create_internal_repositories": {
22338
+ "type": "boolean",
22339
+ "example": true
22340
+ },
22341
+ "members_can_create_pages": {
22342
+ "type": "boolean",
22343
+ "example": true
22344
+ },
22345
+ "members_can_create_public_pages": {
22346
+ "type": "boolean",
22347
+ "example": true
22348
+ },
22349
+ "members_can_create_private_pages": {
22350
+ "type": "boolean",
22351
+ "example": true
22352
+ },
22353
+ "updated_at": {
22354
+ "type": "string",
22355
+ "format": "date-time"
22356
+ }
22357
+ },
22358
+ "required": [
22359
+ "login",
22360
+ "url",
22361
+ "id",
22362
+ "node_id",
22363
+ "repos_url",
22364
+ "events_url",
22365
+ "hooks_url",
22366
+ "issues_url",
22367
+ "members_url",
22368
+ "public_members_url",
22369
+ "avatar_url",
22370
+ "description",
22371
+ "html_url",
22372
+ "has_organization_projects",
22373
+ "has_repository_projects",
22374
+ "public_repos",
22375
+ "public_gists",
22376
+ "followers",
22377
+ "following",
22378
+ "type",
22379
+ "created_at",
22380
+ "updated_at"
22381
+ ]
22382
+ },
22383
+ "ldap_dn": {
22384
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
22385
+ "example": "uid=example,ou=users,dc=github,dc=com",
22386
+ "type": "string"
22387
+ }
22388
+ },
22389
+ "required": [
22390
+ "id",
22391
+ "node_id",
22392
+ "url",
22393
+ "members_url",
22394
+ "name",
22395
+ "description",
22396
+ "permission",
22397
+ "html_url",
22398
+ "repositories_url",
22399
+ "slug",
22400
+ "created_at",
22401
+ "updated_at",
22402
+ "members_count",
22403
+ "repos_count",
22404
+ "organization"
22405
+ ]
22406
+ },
22407
+ "examples": {
22408
+ "default": {
22409
+ "value": {
22410
+ "id": 1,
22411
+ "node_id": "MDQ6VGVhbTE=",
22412
+ "url": "https://api.github.com/teams/1",
22413
+ "html_url": "https://github.com/orgs/github/teams/justice-league",
22414
+ "name": "Justice League",
22415
+ "slug": "justice-league",
22416
+ "description": "A great team.",
22417
+ "privacy": "closed",
22418
+ "permission": "admin",
22419
+ "members_url": "https://api.github.com/teams/1/members{/member}",
22420
+ "repositories_url": "https://api.github.com/teams/1/repos",
22421
+ "members_count": 3,
22422
+ "repos_count": 10,
22423
+ "created_at": "2017-07-14T16:53:42Z",
22424
+ "updated_at": "2017-08-17T12:37:15Z",
22425
+ "organization": {
22426
+ "login": "github",
22427
+ "id": 1,
22428
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
22429
+ "url": "https://api.github.com/orgs/github",
22430
+ "repos_url": "https://api.github.com/orgs/github/repos",
22431
+ "events_url": "https://api.github.com/orgs/github/events",
22432
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
22433
+ "issues_url": "https://api.github.com/orgs/github/issues",
22434
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
22435
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
22436
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
22437
+ "description": "A great organization",
22438
+ "name": "github",
22439
+ "company": "GitHub",
22440
+ "blog": "https://github.com/blog",
22441
+ "location": "San Francisco",
22442
+ "email": "octocat@github.com",
22443
+ "has_organization_projects": true,
22444
+ "has_repository_projects": true,
22445
+ "public_repos": 2,
22446
+ "public_gists": 1,
22447
+ "followers": 20,
22448
+ "following": 0,
22449
+ "html_url": "https://github.com/octocat",
22450
+ "created_at": "2008-01-14T04:33:35Z",
22451
+ "updated_at": "2017-08-17T12:37:15Z",
22452
+ "type": "Organization"
22453
+ },
22454
+ "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com"
22455
+ }
22456
+ }
22457
+ }
22458
+ }
22459
+ }
22460
+ },
21968
22461
  "201": {
21969
22462
  "description": "Response",
21970
22463
  "content": {
@@ -22457,6 +22950,127 @@
22457
22950
  }
22458
22951
  }
22459
22952
  }
22953
+ },
22954
+ "403": {
22955
+ "description": "Forbidden",
22956
+ "content": {
22957
+ "application/json": {
22958
+ "schema": {
22959
+ "title": "Basic Error",
22960
+ "description": "Basic Error",
22961
+ "type": "object",
22962
+ "properties": {
22963
+ "message": {
22964
+ "type": "string"
22965
+ },
22966
+ "documentation_url": {
22967
+ "type": "string"
22968
+ },
22969
+ "url": {
22970
+ "type": "string"
22971
+ },
22972
+ "status": {
22973
+ "type": "string"
22974
+ }
22975
+ }
22976
+ }
22977
+ }
22978
+ }
22979
+ },
22980
+ "404": {
22981
+ "description": "Resource not found",
22982
+ "content": {
22983
+ "application/json": {
22984
+ "schema": {
22985
+ "title": "Basic Error",
22986
+ "description": "Basic Error",
22987
+ "type": "object",
22988
+ "properties": {
22989
+ "message": {
22990
+ "type": "string"
22991
+ },
22992
+ "documentation_url": {
22993
+ "type": "string"
22994
+ },
22995
+ "url": {
22996
+ "type": "string"
22997
+ },
22998
+ "status": {
22999
+ "type": "string"
23000
+ }
23001
+ }
23002
+ }
23003
+ }
23004
+ }
23005
+ },
23006
+ "422": {
23007
+ "description": "Validation failed",
23008
+ "content": {
23009
+ "application/json": {
23010
+ "schema": {
23011
+ "title": "Validation Error",
23012
+ "description": "Validation Error",
23013
+ "type": "object",
23014
+ "required": [
23015
+ "message",
23016
+ "documentation_url"
23017
+ ],
23018
+ "properties": {
23019
+ "message": {
23020
+ "type": "string"
23021
+ },
23022
+ "documentation_url": {
23023
+ "type": "string"
23024
+ },
23025
+ "errors": {
23026
+ "type": "array",
23027
+ "items": {
23028
+ "type": "object",
23029
+ "required": [
23030
+ "code"
23031
+ ],
23032
+ "properties": {
23033
+ "resource": {
23034
+ "type": "string"
23035
+ },
23036
+ "field": {
23037
+ "type": "string"
23038
+ },
23039
+ "message": {
23040
+ "type": "string"
23041
+ },
23042
+ "code": {
23043
+ "type": "string"
23044
+ },
23045
+ "index": {
23046
+ "type": "integer"
23047
+ },
23048
+ "value": {
23049
+ "oneOf": [
23050
+ {
23051
+ "type": "string",
23052
+ "nullable": true
23053
+ },
23054
+ {
23055
+ "type": "integer",
23056
+ "nullable": true
23057
+ },
23058
+ {
23059
+ "type": "array",
23060
+ "nullable": true,
23061
+ "items": {
23062
+ "type": "string"
23063
+ }
23064
+ }
23065
+ ]
23066
+ }
23067
+ }
23068
+ }
23069
+ }
23070
+ }
23071
+ }
23072
+ }
23073
+ }
22460
23074
  }
22461
23075
  },
22462
23076
  "x-github": {
@@ -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": {
@@ -2571,6 +2571,21 @@
2571
2571
  }
2572
2572
  },
2573
2573
  "responses": {
2574
+ "200": {
2575
+ "description": "Response when the updated information already exists",
2576
+ "content": {
2577
+ "application/json": {
2578
+ "schema": {
2579
+ "$ref": "#/components/schemas/team-full"
2580
+ },
2581
+ "examples": {
2582
+ "default": {
2583
+ "$ref": "#/components/examples/team-full"
2584
+ }
2585
+ }
2586
+ }
2587
+ }
2588
+ },
2574
2589
  "201": {
2575
2590
  "description": "Response",
2576
2591
  "content": {
@@ -2585,6 +2600,15 @@
2585
2600
  }
2586
2601
  }
2587
2602
  }
2603
+ },
2604
+ "403": {
2605
+ "$ref": "#/components/responses/forbidden"
2606
+ },
2607
+ "404": {
2608
+ "$ref": "#/components/responses/not_found"
2609
+ },
2610
+ "422": {
2611
+ "$ref": "#/components/responses/validation_failed"
2588
2612
  }
2589
2613
  },
2590
2614
  "x-github": {