@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": {
@@ -48877,6 +48877,504 @@
48877
48877
  }
48878
48878
  },
48879
48879
  "responses": {
48880
+ "200": {
48881
+ "description": "Response when the updated information already exists",
48882
+ "content": {
48883
+ "application/json": {
48884
+ "schema": {
48885
+ "title": "Full Team",
48886
+ "description": "Groups of organization members that gives permissions on specified repositories.",
48887
+ "type": "object",
48888
+ "properties": {
48889
+ "id": {
48890
+ "description": "Unique identifier of the team",
48891
+ "example": 42,
48892
+ "type": "integer"
48893
+ },
48894
+ "node_id": {
48895
+ "type": "string",
48896
+ "example": "MDQ6VGVhbTE="
48897
+ },
48898
+ "url": {
48899
+ "description": "URL for the team",
48900
+ "example": "https://api.github.com/organizations/1/team/1",
48901
+ "type": "string",
48902
+ "format": "uri"
48903
+ },
48904
+ "html_url": {
48905
+ "type": "string",
48906
+ "format": "uri",
48907
+ "example": "https://github.com/orgs/rails/teams/core"
48908
+ },
48909
+ "name": {
48910
+ "description": "Name of the team",
48911
+ "example": "Developers",
48912
+ "type": "string"
48913
+ },
48914
+ "slug": {
48915
+ "type": "string",
48916
+ "example": "justice-league"
48917
+ },
48918
+ "description": {
48919
+ "type": "string",
48920
+ "example": "A great team.",
48921
+ "nullable": true
48922
+ },
48923
+ "privacy": {
48924
+ "description": "The level of privacy this team should have",
48925
+ "type": "string",
48926
+ "enum": [
48927
+ "closed",
48928
+ "secret"
48929
+ ],
48930
+ "example": "closed"
48931
+ },
48932
+ "permission": {
48933
+ "description": "Permission that the team will have for its repositories",
48934
+ "example": "push",
48935
+ "type": "string"
48936
+ },
48937
+ "members_url": {
48938
+ "type": "string",
48939
+ "example": "https://api.github.com/organizations/1/team/1/members{/member}"
48940
+ },
48941
+ "repositories_url": {
48942
+ "type": "string",
48943
+ "format": "uri",
48944
+ "example": "https://api.github.com/organizations/1/team/1/repos"
48945
+ },
48946
+ "parent": {
48947
+ "title": "Team Simple",
48948
+ "description": "Groups of organization members that gives permissions on specified repositories.",
48949
+ "type": "object",
48950
+ "properties": {
48951
+ "id": {
48952
+ "description": "Unique identifier of the team",
48953
+ "type": "integer",
48954
+ "example": 1
48955
+ },
48956
+ "node_id": {
48957
+ "type": "string",
48958
+ "example": "MDQ6VGVhbTE="
48959
+ },
48960
+ "url": {
48961
+ "description": "URL for the team",
48962
+ "type": "string",
48963
+ "format": "uri",
48964
+ "example": "https://api.github.com/organizations/1/team/1"
48965
+ },
48966
+ "members_url": {
48967
+ "type": "string",
48968
+ "example": "https://api.github.com/organizations/1/team/1/members{/member}"
48969
+ },
48970
+ "name": {
48971
+ "description": "Name of the team",
48972
+ "type": "string",
48973
+ "example": "Justice League"
48974
+ },
48975
+ "description": {
48976
+ "description": "Description of the team",
48977
+ "type": "string",
48978
+ "nullable": true,
48979
+ "example": "A great team."
48980
+ },
48981
+ "permission": {
48982
+ "description": "Permission that the team will have for its repositories",
48983
+ "type": "string",
48984
+ "example": "admin"
48985
+ },
48986
+ "privacy": {
48987
+ "description": "The level of privacy this team should have",
48988
+ "type": "string",
48989
+ "example": "closed"
48990
+ },
48991
+ "html_url": {
48992
+ "type": "string",
48993
+ "format": "uri",
48994
+ "example": "https://github.com/orgs/rails/teams/core"
48995
+ },
48996
+ "repositories_url": {
48997
+ "type": "string",
48998
+ "format": "uri",
48999
+ "example": "https://api.github.com/organizations/1/team/1/repos"
49000
+ },
49001
+ "slug": {
49002
+ "type": "string",
49003
+ "example": "justice-league"
49004
+ },
49005
+ "ldap_dn": {
49006
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
49007
+ "example": "uid=example,ou=users,dc=github,dc=com",
49008
+ "type": "string"
49009
+ }
49010
+ },
49011
+ "required": [
49012
+ "id",
49013
+ "node_id",
49014
+ "url",
49015
+ "members_url",
49016
+ "name",
49017
+ "description",
49018
+ "permission",
49019
+ "html_url",
49020
+ "repositories_url",
49021
+ "slug"
49022
+ ],
49023
+ "nullable": true
49024
+ },
49025
+ "members_count": {
49026
+ "type": "integer",
49027
+ "example": 3
49028
+ },
49029
+ "repos_count": {
49030
+ "type": "integer",
49031
+ "example": 10
49032
+ },
49033
+ "created_at": {
49034
+ "type": "string",
49035
+ "format": "date-time",
49036
+ "example": "2017-07-14T16:53:42Z"
49037
+ },
49038
+ "updated_at": {
49039
+ "type": "string",
49040
+ "format": "date-time",
49041
+ "example": "2017-08-17T12:37:15Z"
49042
+ },
49043
+ "organization": {
49044
+ "title": "Team Organization",
49045
+ "description": "Team Organization",
49046
+ "type": "object",
49047
+ "properties": {
49048
+ "login": {
49049
+ "type": "string",
49050
+ "example": "github"
49051
+ },
49052
+ "id": {
49053
+ "type": "integer",
49054
+ "example": 1
49055
+ },
49056
+ "node_id": {
49057
+ "type": "string",
49058
+ "example": "MDEyOk9yZ2FuaXphdGlvbjE="
49059
+ },
49060
+ "url": {
49061
+ "type": "string",
49062
+ "format": "uri",
49063
+ "example": "https://api.github.com/orgs/github"
49064
+ },
49065
+ "repos_url": {
49066
+ "type": "string",
49067
+ "format": "uri",
49068
+ "example": "https://api.github.com/orgs/github/repos"
49069
+ },
49070
+ "events_url": {
49071
+ "type": "string",
49072
+ "format": "uri",
49073
+ "example": "https://api.github.com/orgs/github/events"
49074
+ },
49075
+ "hooks_url": {
49076
+ "type": "string",
49077
+ "example": "https://api.github.com/orgs/github/hooks"
49078
+ },
49079
+ "issues_url": {
49080
+ "type": "string",
49081
+ "example": "https://api.github.com/orgs/github/issues"
49082
+ },
49083
+ "members_url": {
49084
+ "type": "string",
49085
+ "example": "https://api.github.com/orgs/github/members{/member}"
49086
+ },
49087
+ "public_members_url": {
49088
+ "type": "string",
49089
+ "example": "https://api.github.com/orgs/github/public_members{/member}"
49090
+ },
49091
+ "avatar_url": {
49092
+ "type": "string",
49093
+ "example": "https://github.com/images/error/octocat_happy.gif"
49094
+ },
49095
+ "description": {
49096
+ "type": "string",
49097
+ "example": "A great organization",
49098
+ "nullable": true
49099
+ },
49100
+ "name": {
49101
+ "type": "string",
49102
+ "example": "github"
49103
+ },
49104
+ "company": {
49105
+ "type": "string",
49106
+ "example": "GitHub"
49107
+ },
49108
+ "blog": {
49109
+ "type": "string",
49110
+ "format": "uri",
49111
+ "example": "https://github.com/blog"
49112
+ },
49113
+ "location": {
49114
+ "type": "string",
49115
+ "example": "San Francisco"
49116
+ },
49117
+ "email": {
49118
+ "type": "string",
49119
+ "format": "email",
49120
+ "example": "octocat@github.com"
49121
+ },
49122
+ "twitter_username": {
49123
+ "type": "string",
49124
+ "example": "github",
49125
+ "nullable": true
49126
+ },
49127
+ "is_verified": {
49128
+ "type": "boolean",
49129
+ "example": true
49130
+ },
49131
+ "has_organization_projects": {
49132
+ "type": "boolean",
49133
+ "example": true
49134
+ },
49135
+ "has_repository_projects": {
49136
+ "type": "boolean",
49137
+ "example": true
49138
+ },
49139
+ "public_repos": {
49140
+ "type": "integer",
49141
+ "example": 2
49142
+ },
49143
+ "public_gists": {
49144
+ "type": "integer",
49145
+ "example": 1
49146
+ },
49147
+ "followers": {
49148
+ "type": "integer",
49149
+ "example": 20
49150
+ },
49151
+ "following": {
49152
+ "type": "integer",
49153
+ "example": 0
49154
+ },
49155
+ "html_url": {
49156
+ "type": "string",
49157
+ "format": "uri",
49158
+ "example": "https://github.com/octocat"
49159
+ },
49160
+ "created_at": {
49161
+ "type": "string",
49162
+ "format": "date-time",
49163
+ "example": "2008-01-14T04:33:35Z"
49164
+ },
49165
+ "type": {
49166
+ "type": "string",
49167
+ "example": "Organization"
49168
+ },
49169
+ "total_private_repos": {
49170
+ "type": "integer",
49171
+ "example": 100
49172
+ },
49173
+ "owned_private_repos": {
49174
+ "type": "integer",
49175
+ "example": 100
49176
+ },
49177
+ "private_gists": {
49178
+ "type": "integer",
49179
+ "example": 81,
49180
+ "nullable": true
49181
+ },
49182
+ "disk_usage": {
49183
+ "type": "integer",
49184
+ "example": 10000,
49185
+ "nullable": true
49186
+ },
49187
+ "collaborators": {
49188
+ "type": "integer",
49189
+ "example": 8,
49190
+ "nullable": true
49191
+ },
49192
+ "billing_email": {
49193
+ "type": "string",
49194
+ "format": "email",
49195
+ "example": "org@example.com",
49196
+ "nullable": true
49197
+ },
49198
+ "plan": {
49199
+ "type": "object",
49200
+ "properties": {
49201
+ "name": {
49202
+ "type": "string"
49203
+ },
49204
+ "space": {
49205
+ "type": "integer"
49206
+ },
49207
+ "private_repos": {
49208
+ "type": "integer"
49209
+ },
49210
+ "filled_seats": {
49211
+ "type": "integer"
49212
+ },
49213
+ "seats": {
49214
+ "type": "integer"
49215
+ }
49216
+ },
49217
+ "required": [
49218
+ "name",
49219
+ "space",
49220
+ "private_repos"
49221
+ ]
49222
+ },
49223
+ "default_repository_permission": {
49224
+ "type": "string",
49225
+ "nullable": true
49226
+ },
49227
+ "members_can_create_repositories": {
49228
+ "type": "boolean",
49229
+ "example": true,
49230
+ "nullable": true
49231
+ },
49232
+ "two_factor_requirement_enabled": {
49233
+ "type": "boolean",
49234
+ "example": true,
49235
+ "nullable": true
49236
+ },
49237
+ "members_allowed_repository_creation_type": {
49238
+ "type": "string",
49239
+ "example": "all"
49240
+ },
49241
+ "members_can_create_public_repositories": {
49242
+ "type": "boolean",
49243
+ "example": true
49244
+ },
49245
+ "members_can_create_private_repositories": {
49246
+ "type": "boolean",
49247
+ "example": true
49248
+ },
49249
+ "members_can_create_internal_repositories": {
49250
+ "type": "boolean",
49251
+ "example": true
49252
+ },
49253
+ "members_can_create_pages": {
49254
+ "type": "boolean",
49255
+ "example": true
49256
+ },
49257
+ "members_can_create_public_pages": {
49258
+ "type": "boolean",
49259
+ "example": true
49260
+ },
49261
+ "members_can_create_private_pages": {
49262
+ "type": "boolean",
49263
+ "example": true
49264
+ },
49265
+ "members_can_fork_private_repositories": {
49266
+ "type": "boolean",
49267
+ "example": false,
49268
+ "nullable": true
49269
+ },
49270
+ "updated_at": {
49271
+ "type": "string",
49272
+ "format": "date-time"
49273
+ }
49274
+ },
49275
+ "required": [
49276
+ "login",
49277
+ "url",
49278
+ "id",
49279
+ "node_id",
49280
+ "repos_url",
49281
+ "events_url",
49282
+ "hooks_url",
49283
+ "issues_url",
49284
+ "members_url",
49285
+ "public_members_url",
49286
+ "avatar_url",
49287
+ "description",
49288
+ "html_url",
49289
+ "has_organization_projects",
49290
+ "has_repository_projects",
49291
+ "public_repos",
49292
+ "public_gists",
49293
+ "followers",
49294
+ "following",
49295
+ "type",
49296
+ "created_at",
49297
+ "updated_at"
49298
+ ]
49299
+ },
49300
+ "ldap_dn": {
49301
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
49302
+ "example": "uid=example,ou=users,dc=github,dc=com",
49303
+ "type": "string"
49304
+ }
49305
+ },
49306
+ "required": [
49307
+ "id",
49308
+ "node_id",
49309
+ "url",
49310
+ "members_url",
49311
+ "name",
49312
+ "description",
49313
+ "permission",
49314
+ "html_url",
49315
+ "repositories_url",
49316
+ "slug",
49317
+ "created_at",
49318
+ "updated_at",
49319
+ "members_count",
49320
+ "repos_count",
49321
+ "organization"
49322
+ ]
49323
+ },
49324
+ "examples": {
49325
+ "default": {
49326
+ "value": {
49327
+ "id": 1,
49328
+ "node_id": "MDQ6VGVhbTE=",
49329
+ "url": "https://api.github.com/teams/1",
49330
+ "html_url": "https://github.com/orgs/github/teams/justice-league",
49331
+ "name": "Justice League",
49332
+ "slug": "justice-league",
49333
+ "description": "A great team.",
49334
+ "privacy": "closed",
49335
+ "permission": "admin",
49336
+ "members_url": "https://api.github.com/teams/1/members{/member}",
49337
+ "repositories_url": "https://api.github.com/teams/1/repos",
49338
+ "members_count": 3,
49339
+ "repos_count": 10,
49340
+ "created_at": "2017-07-14T16:53:42Z",
49341
+ "updated_at": "2017-08-17T12:37:15Z",
49342
+ "organization": {
49343
+ "login": "github",
49344
+ "id": 1,
49345
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
49346
+ "url": "https://api.github.com/orgs/github",
49347
+ "repos_url": "https://api.github.com/orgs/github/repos",
49348
+ "events_url": "https://api.github.com/orgs/github/events",
49349
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
49350
+ "issues_url": "https://api.github.com/orgs/github/issues",
49351
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
49352
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
49353
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
49354
+ "description": "A great organization",
49355
+ "name": "github",
49356
+ "company": "GitHub",
49357
+ "blog": "https://github.com/blog",
49358
+ "location": "San Francisco",
49359
+ "email": "octocat@github.com",
49360
+ "has_organization_projects": true,
49361
+ "has_repository_projects": true,
49362
+ "public_repos": 2,
49363
+ "public_gists": 1,
49364
+ "followers": 20,
49365
+ "following": 0,
49366
+ "html_url": "https://github.com/octocat",
49367
+ "created_at": "2008-01-14T04:33:35Z",
49368
+ "updated_at": "2017-08-17T12:37:15Z",
49369
+ "type": "Organization"
49370
+ },
49371
+ "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com"
49372
+ }
49373
+ }
49374
+ }
49375
+ }
49376
+ }
49377
+ },
48880
49378
  "201": {
48881
49379
  "description": "Response",
48882
49380
  "content": {
@@ -49374,6 +49872,127 @@
49374
49872
  }
49375
49873
  }
49376
49874
  }
49875
+ },
49876
+ "403": {
49877
+ "description": "Forbidden",
49878
+ "content": {
49879
+ "application/json": {
49880
+ "schema": {
49881
+ "title": "Basic Error",
49882
+ "description": "Basic Error",
49883
+ "type": "object",
49884
+ "properties": {
49885
+ "message": {
49886
+ "type": "string"
49887
+ },
49888
+ "documentation_url": {
49889
+ "type": "string"
49890
+ },
49891
+ "url": {
49892
+ "type": "string"
49893
+ },
49894
+ "status": {
49895
+ "type": "string"
49896
+ }
49897
+ }
49898
+ }
49899
+ }
49900
+ }
49901
+ },
49902
+ "404": {
49903
+ "description": "Resource not found",
49904
+ "content": {
49905
+ "application/json": {
49906
+ "schema": {
49907
+ "title": "Basic Error",
49908
+ "description": "Basic Error",
49909
+ "type": "object",
49910
+ "properties": {
49911
+ "message": {
49912
+ "type": "string"
49913
+ },
49914
+ "documentation_url": {
49915
+ "type": "string"
49916
+ },
49917
+ "url": {
49918
+ "type": "string"
49919
+ },
49920
+ "status": {
49921
+ "type": "string"
49922
+ }
49923
+ }
49924
+ }
49925
+ }
49926
+ }
49927
+ },
49928
+ "422": {
49929
+ "description": "Validation failed",
49930
+ "content": {
49931
+ "application/json": {
49932
+ "schema": {
49933
+ "title": "Validation Error",
49934
+ "description": "Validation Error",
49935
+ "type": "object",
49936
+ "required": [
49937
+ "message",
49938
+ "documentation_url"
49939
+ ],
49940
+ "properties": {
49941
+ "message": {
49942
+ "type": "string"
49943
+ },
49944
+ "documentation_url": {
49945
+ "type": "string"
49946
+ },
49947
+ "errors": {
49948
+ "type": "array",
49949
+ "items": {
49950
+ "type": "object",
49951
+ "required": [
49952
+ "code"
49953
+ ],
49954
+ "properties": {
49955
+ "resource": {
49956
+ "type": "string"
49957
+ },
49958
+ "field": {
49959
+ "type": "string"
49960
+ },
49961
+ "message": {
49962
+ "type": "string"
49963
+ },
49964
+ "code": {
49965
+ "type": "string"
49966
+ },
49967
+ "index": {
49968
+ "type": "integer"
49969
+ },
49970
+ "value": {
49971
+ "oneOf": [
49972
+ {
49973
+ "type": "string",
49974
+ "nullable": true
49975
+ },
49976
+ {
49977
+ "type": "integer",
49978
+ "nullable": true
49979
+ },
49980
+ {
49981
+ "type": "array",
49982
+ "nullable": true,
49983
+ "items": {
49984
+ "type": "string"
49985
+ }
49986
+ }
49987
+ ]
49988
+ }
49989
+ }
49990
+ }
49991
+ }
49992
+ }
49993
+ }
49994
+ }
49995
+ }
49377
49996
  }
49378
49997
  },
49379
49998
  "x-github": {