@octokit/openapi 7.9.1 → 7.12.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.
- package/generated/api.github.com.deref.json +2592 -690
- package/generated/api.github.com.json +567 -30
- package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +8 -6
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +8 -6
- package/generated/ghes-3.2.deref.json +763 -130
- package/generated/ghes-3.2.json +53 -10
- package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +21 -0
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +615 -1
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +25 -1
- package/generated/ghes-3.3.deref.json +768 -135
- package/generated/ghes-3.3.json +53 -10
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +18 -2
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +18 -2
- package/generated/ghes-3.4.deref.json +768 -130
- package/generated/ghes-3.4.json +55 -12
- package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +21 -0
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +753 -132
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +32 -6
- package/generated/ghes-3.5.deref.json +773 -135
- package/generated/ghes-3.5.json +55 -12
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +46 -0
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +141 -20
- package/generated/ghes-3.6-diff-to-api.github.com.json +126 -6
- package/generated/ghes-3.6.deref.json +1254 -421
- package/generated/ghes-3.6.json +160 -23
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +10 -0
- package/generated/github.ae-diff-to-api.github.com.deref.json +24 -6
- package/generated/github.ae-diff-to-api.github.com.json +24 -6
- package/generated/github.ae.deref.json +1019 -290
- package/generated/github.ae.json +145 -16
- package/package.json +1 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.12.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": {
|
|
@@ -45138,8 +45138,9 @@
|
|
|
45138
45138
|
},
|
|
45139
45139
|
"use_squash_pr_title_as_default": {
|
|
45140
45140
|
"type": "boolean",
|
|
45141
|
-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
45142
|
-
"default": false
|
|
45141
|
+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
|
|
45142
|
+
"default": false,
|
|
45143
|
+
"deprecated": true
|
|
45143
45144
|
},
|
|
45144
45145
|
"squash_merge_commit_title": {
|
|
45145
45146
|
"type": "string",
|
|
@@ -48254,7 +48255,630 @@
|
|
|
48254
48255
|
],
|
|
48255
48256
|
"responses": {
|
|
48256
48257
|
"200": {
|
|
48257
|
-
"description": "Response",
|
|
48258
|
+
"description": "Response",
|
|
48259
|
+
"content": {
|
|
48260
|
+
"application/json": {
|
|
48261
|
+
"schema": {
|
|
48262
|
+
"title": "Full Team",
|
|
48263
|
+
"description": "Groups of organization members that gives permissions on specified repositories.",
|
|
48264
|
+
"type": "object",
|
|
48265
|
+
"properties": {
|
|
48266
|
+
"id": {
|
|
48267
|
+
"description": "Unique identifier of the team",
|
|
48268
|
+
"example": 42,
|
|
48269
|
+
"type": "integer"
|
|
48270
|
+
},
|
|
48271
|
+
"node_id": {
|
|
48272
|
+
"type": "string",
|
|
48273
|
+
"example": "MDQ6VGVhbTE="
|
|
48274
|
+
},
|
|
48275
|
+
"url": {
|
|
48276
|
+
"description": "URL for the team",
|
|
48277
|
+
"example": "https://api.github.com/organizations/1/team/1",
|
|
48278
|
+
"type": "string",
|
|
48279
|
+
"format": "uri"
|
|
48280
|
+
},
|
|
48281
|
+
"html_url": {
|
|
48282
|
+
"type": "string",
|
|
48283
|
+
"format": "uri",
|
|
48284
|
+
"example": "https://github.com/orgs/rails/teams/core"
|
|
48285
|
+
},
|
|
48286
|
+
"name": {
|
|
48287
|
+
"description": "Name of the team",
|
|
48288
|
+
"example": "Developers",
|
|
48289
|
+
"type": "string"
|
|
48290
|
+
},
|
|
48291
|
+
"slug": {
|
|
48292
|
+
"type": "string",
|
|
48293
|
+
"example": "justice-league"
|
|
48294
|
+
},
|
|
48295
|
+
"description": {
|
|
48296
|
+
"type": "string",
|
|
48297
|
+
"example": "A great team.",
|
|
48298
|
+
"nullable": true
|
|
48299
|
+
},
|
|
48300
|
+
"privacy": {
|
|
48301
|
+
"description": "The level of privacy this team should have",
|
|
48302
|
+
"type": "string",
|
|
48303
|
+
"enum": [
|
|
48304
|
+
"closed",
|
|
48305
|
+
"secret"
|
|
48306
|
+
],
|
|
48307
|
+
"example": "closed"
|
|
48308
|
+
},
|
|
48309
|
+
"permission": {
|
|
48310
|
+
"description": "Permission that the team will have for its repositories",
|
|
48311
|
+
"example": "push",
|
|
48312
|
+
"type": "string"
|
|
48313
|
+
},
|
|
48314
|
+
"members_url": {
|
|
48315
|
+
"type": "string",
|
|
48316
|
+
"example": "https://api.github.com/organizations/1/team/1/members{/member}"
|
|
48317
|
+
},
|
|
48318
|
+
"repositories_url": {
|
|
48319
|
+
"type": "string",
|
|
48320
|
+
"format": "uri",
|
|
48321
|
+
"example": "https://api.github.com/organizations/1/team/1/repos"
|
|
48322
|
+
},
|
|
48323
|
+
"parent": {
|
|
48324
|
+
"title": "Team Simple",
|
|
48325
|
+
"description": "Groups of organization members that gives permissions on specified repositories.",
|
|
48326
|
+
"type": "object",
|
|
48327
|
+
"properties": {
|
|
48328
|
+
"id": {
|
|
48329
|
+
"description": "Unique identifier of the team",
|
|
48330
|
+
"type": "integer",
|
|
48331
|
+
"example": 1
|
|
48332
|
+
},
|
|
48333
|
+
"node_id": {
|
|
48334
|
+
"type": "string",
|
|
48335
|
+
"example": "MDQ6VGVhbTE="
|
|
48336
|
+
},
|
|
48337
|
+
"url": {
|
|
48338
|
+
"description": "URL for the team",
|
|
48339
|
+
"type": "string",
|
|
48340
|
+
"format": "uri",
|
|
48341
|
+
"example": "https://api.github.com/organizations/1/team/1"
|
|
48342
|
+
},
|
|
48343
|
+
"members_url": {
|
|
48344
|
+
"type": "string",
|
|
48345
|
+
"example": "https://api.github.com/organizations/1/team/1/members{/member}"
|
|
48346
|
+
},
|
|
48347
|
+
"name": {
|
|
48348
|
+
"description": "Name of the team",
|
|
48349
|
+
"type": "string",
|
|
48350
|
+
"example": "Justice League"
|
|
48351
|
+
},
|
|
48352
|
+
"description": {
|
|
48353
|
+
"description": "Description of the team",
|
|
48354
|
+
"type": "string",
|
|
48355
|
+
"nullable": true,
|
|
48356
|
+
"example": "A great team."
|
|
48357
|
+
},
|
|
48358
|
+
"permission": {
|
|
48359
|
+
"description": "Permission that the team will have for its repositories",
|
|
48360
|
+
"type": "string",
|
|
48361
|
+
"example": "admin"
|
|
48362
|
+
},
|
|
48363
|
+
"privacy": {
|
|
48364
|
+
"description": "The level of privacy this team should have",
|
|
48365
|
+
"type": "string",
|
|
48366
|
+
"example": "closed"
|
|
48367
|
+
},
|
|
48368
|
+
"html_url": {
|
|
48369
|
+
"type": "string",
|
|
48370
|
+
"format": "uri",
|
|
48371
|
+
"example": "https://github.com/orgs/rails/teams/core"
|
|
48372
|
+
},
|
|
48373
|
+
"repositories_url": {
|
|
48374
|
+
"type": "string",
|
|
48375
|
+
"format": "uri",
|
|
48376
|
+
"example": "https://api.github.com/organizations/1/team/1/repos"
|
|
48377
|
+
},
|
|
48378
|
+
"slug": {
|
|
48379
|
+
"type": "string",
|
|
48380
|
+
"example": "justice-league"
|
|
48381
|
+
},
|
|
48382
|
+
"ldap_dn": {
|
|
48383
|
+
"description": "Distinguished Name (DN) that team maps to within LDAP environment",
|
|
48384
|
+
"example": "uid=example,ou=users,dc=github,dc=com",
|
|
48385
|
+
"type": "string"
|
|
48386
|
+
}
|
|
48387
|
+
},
|
|
48388
|
+
"required": [
|
|
48389
|
+
"id",
|
|
48390
|
+
"node_id",
|
|
48391
|
+
"url",
|
|
48392
|
+
"members_url",
|
|
48393
|
+
"name",
|
|
48394
|
+
"description",
|
|
48395
|
+
"permission",
|
|
48396
|
+
"html_url",
|
|
48397
|
+
"repositories_url",
|
|
48398
|
+
"slug"
|
|
48399
|
+
],
|
|
48400
|
+
"nullable": true
|
|
48401
|
+
},
|
|
48402
|
+
"members_count": {
|
|
48403
|
+
"type": "integer",
|
|
48404
|
+
"example": 3
|
|
48405
|
+
},
|
|
48406
|
+
"repos_count": {
|
|
48407
|
+
"type": "integer",
|
|
48408
|
+
"example": 10
|
|
48409
|
+
},
|
|
48410
|
+
"created_at": {
|
|
48411
|
+
"type": "string",
|
|
48412
|
+
"format": "date-time",
|
|
48413
|
+
"example": "2017-07-14T16:53:42Z"
|
|
48414
|
+
},
|
|
48415
|
+
"updated_at": {
|
|
48416
|
+
"type": "string",
|
|
48417
|
+
"format": "date-time",
|
|
48418
|
+
"example": "2017-08-17T12:37:15Z"
|
|
48419
|
+
},
|
|
48420
|
+
"organization": {
|
|
48421
|
+
"title": "Team Organization",
|
|
48422
|
+
"description": "Team Organization",
|
|
48423
|
+
"type": "object",
|
|
48424
|
+
"properties": {
|
|
48425
|
+
"login": {
|
|
48426
|
+
"type": "string",
|
|
48427
|
+
"example": "github"
|
|
48428
|
+
},
|
|
48429
|
+
"id": {
|
|
48430
|
+
"type": "integer",
|
|
48431
|
+
"example": 1
|
|
48432
|
+
},
|
|
48433
|
+
"node_id": {
|
|
48434
|
+
"type": "string",
|
|
48435
|
+
"example": "MDEyOk9yZ2FuaXphdGlvbjE="
|
|
48436
|
+
},
|
|
48437
|
+
"url": {
|
|
48438
|
+
"type": "string",
|
|
48439
|
+
"format": "uri",
|
|
48440
|
+
"example": "https://api.github.com/orgs/github"
|
|
48441
|
+
},
|
|
48442
|
+
"repos_url": {
|
|
48443
|
+
"type": "string",
|
|
48444
|
+
"format": "uri",
|
|
48445
|
+
"example": "https://api.github.com/orgs/github/repos"
|
|
48446
|
+
},
|
|
48447
|
+
"events_url": {
|
|
48448
|
+
"type": "string",
|
|
48449
|
+
"format": "uri",
|
|
48450
|
+
"example": "https://api.github.com/orgs/github/events"
|
|
48451
|
+
},
|
|
48452
|
+
"hooks_url": {
|
|
48453
|
+
"type": "string",
|
|
48454
|
+
"example": "https://api.github.com/orgs/github/hooks"
|
|
48455
|
+
},
|
|
48456
|
+
"issues_url": {
|
|
48457
|
+
"type": "string",
|
|
48458
|
+
"example": "https://api.github.com/orgs/github/issues"
|
|
48459
|
+
},
|
|
48460
|
+
"members_url": {
|
|
48461
|
+
"type": "string",
|
|
48462
|
+
"example": "https://api.github.com/orgs/github/members{/member}"
|
|
48463
|
+
},
|
|
48464
|
+
"public_members_url": {
|
|
48465
|
+
"type": "string",
|
|
48466
|
+
"example": "https://api.github.com/orgs/github/public_members{/member}"
|
|
48467
|
+
},
|
|
48468
|
+
"avatar_url": {
|
|
48469
|
+
"type": "string",
|
|
48470
|
+
"example": "https://github.com/images/error/octocat_happy.gif"
|
|
48471
|
+
},
|
|
48472
|
+
"description": {
|
|
48473
|
+
"type": "string",
|
|
48474
|
+
"example": "A great organization",
|
|
48475
|
+
"nullable": true
|
|
48476
|
+
},
|
|
48477
|
+
"name": {
|
|
48478
|
+
"type": "string",
|
|
48479
|
+
"example": "github"
|
|
48480
|
+
},
|
|
48481
|
+
"company": {
|
|
48482
|
+
"type": "string",
|
|
48483
|
+
"example": "GitHub"
|
|
48484
|
+
},
|
|
48485
|
+
"blog": {
|
|
48486
|
+
"type": "string",
|
|
48487
|
+
"format": "uri",
|
|
48488
|
+
"example": "https://github.com/blog"
|
|
48489
|
+
},
|
|
48490
|
+
"location": {
|
|
48491
|
+
"type": "string",
|
|
48492
|
+
"example": "San Francisco"
|
|
48493
|
+
},
|
|
48494
|
+
"email": {
|
|
48495
|
+
"type": "string",
|
|
48496
|
+
"format": "email",
|
|
48497
|
+
"example": "octocat@github.com"
|
|
48498
|
+
},
|
|
48499
|
+
"twitter_username": {
|
|
48500
|
+
"type": "string",
|
|
48501
|
+
"example": "github",
|
|
48502
|
+
"nullable": true
|
|
48503
|
+
},
|
|
48504
|
+
"is_verified": {
|
|
48505
|
+
"type": "boolean",
|
|
48506
|
+
"example": true
|
|
48507
|
+
},
|
|
48508
|
+
"has_organization_projects": {
|
|
48509
|
+
"type": "boolean",
|
|
48510
|
+
"example": true
|
|
48511
|
+
},
|
|
48512
|
+
"has_repository_projects": {
|
|
48513
|
+
"type": "boolean",
|
|
48514
|
+
"example": true
|
|
48515
|
+
},
|
|
48516
|
+
"public_repos": {
|
|
48517
|
+
"type": "integer",
|
|
48518
|
+
"example": 2
|
|
48519
|
+
},
|
|
48520
|
+
"public_gists": {
|
|
48521
|
+
"type": "integer",
|
|
48522
|
+
"example": 1
|
|
48523
|
+
},
|
|
48524
|
+
"followers": {
|
|
48525
|
+
"type": "integer",
|
|
48526
|
+
"example": 20
|
|
48527
|
+
},
|
|
48528
|
+
"following": {
|
|
48529
|
+
"type": "integer",
|
|
48530
|
+
"example": 0
|
|
48531
|
+
},
|
|
48532
|
+
"html_url": {
|
|
48533
|
+
"type": "string",
|
|
48534
|
+
"format": "uri",
|
|
48535
|
+
"example": "https://github.com/octocat"
|
|
48536
|
+
},
|
|
48537
|
+
"created_at": {
|
|
48538
|
+
"type": "string",
|
|
48539
|
+
"format": "date-time",
|
|
48540
|
+
"example": "2008-01-14T04:33:35Z"
|
|
48541
|
+
},
|
|
48542
|
+
"type": {
|
|
48543
|
+
"type": "string",
|
|
48544
|
+
"example": "Organization"
|
|
48545
|
+
},
|
|
48546
|
+
"total_private_repos": {
|
|
48547
|
+
"type": "integer",
|
|
48548
|
+
"example": 100
|
|
48549
|
+
},
|
|
48550
|
+
"owned_private_repos": {
|
|
48551
|
+
"type": "integer",
|
|
48552
|
+
"example": 100
|
|
48553
|
+
},
|
|
48554
|
+
"private_gists": {
|
|
48555
|
+
"type": "integer",
|
|
48556
|
+
"example": 81,
|
|
48557
|
+
"nullable": true
|
|
48558
|
+
},
|
|
48559
|
+
"disk_usage": {
|
|
48560
|
+
"type": "integer",
|
|
48561
|
+
"example": 10000,
|
|
48562
|
+
"nullable": true
|
|
48563
|
+
},
|
|
48564
|
+
"collaborators": {
|
|
48565
|
+
"type": "integer",
|
|
48566
|
+
"example": 8,
|
|
48567
|
+
"nullable": true
|
|
48568
|
+
},
|
|
48569
|
+
"billing_email": {
|
|
48570
|
+
"type": "string",
|
|
48571
|
+
"format": "email",
|
|
48572
|
+
"example": "org@example.com",
|
|
48573
|
+
"nullable": true
|
|
48574
|
+
},
|
|
48575
|
+
"plan": {
|
|
48576
|
+
"type": "object",
|
|
48577
|
+
"properties": {
|
|
48578
|
+
"name": {
|
|
48579
|
+
"type": "string"
|
|
48580
|
+
},
|
|
48581
|
+
"space": {
|
|
48582
|
+
"type": "integer"
|
|
48583
|
+
},
|
|
48584
|
+
"private_repos": {
|
|
48585
|
+
"type": "integer"
|
|
48586
|
+
},
|
|
48587
|
+
"filled_seats": {
|
|
48588
|
+
"type": "integer"
|
|
48589
|
+
},
|
|
48590
|
+
"seats": {
|
|
48591
|
+
"type": "integer"
|
|
48592
|
+
}
|
|
48593
|
+
},
|
|
48594
|
+
"required": [
|
|
48595
|
+
"name",
|
|
48596
|
+
"space",
|
|
48597
|
+
"private_repos"
|
|
48598
|
+
]
|
|
48599
|
+
},
|
|
48600
|
+
"default_repository_permission": {
|
|
48601
|
+
"type": "string",
|
|
48602
|
+
"nullable": true
|
|
48603
|
+
},
|
|
48604
|
+
"members_can_create_repositories": {
|
|
48605
|
+
"type": "boolean",
|
|
48606
|
+
"example": true,
|
|
48607
|
+
"nullable": true
|
|
48608
|
+
},
|
|
48609
|
+
"two_factor_requirement_enabled": {
|
|
48610
|
+
"type": "boolean",
|
|
48611
|
+
"example": true,
|
|
48612
|
+
"nullable": true
|
|
48613
|
+
},
|
|
48614
|
+
"members_allowed_repository_creation_type": {
|
|
48615
|
+
"type": "string",
|
|
48616
|
+
"example": "all"
|
|
48617
|
+
},
|
|
48618
|
+
"members_can_create_public_repositories": {
|
|
48619
|
+
"type": "boolean",
|
|
48620
|
+
"example": true
|
|
48621
|
+
},
|
|
48622
|
+
"members_can_create_private_repositories": {
|
|
48623
|
+
"type": "boolean",
|
|
48624
|
+
"example": true
|
|
48625
|
+
},
|
|
48626
|
+
"members_can_create_internal_repositories": {
|
|
48627
|
+
"type": "boolean",
|
|
48628
|
+
"example": true
|
|
48629
|
+
},
|
|
48630
|
+
"members_can_create_pages": {
|
|
48631
|
+
"type": "boolean",
|
|
48632
|
+
"example": true
|
|
48633
|
+
},
|
|
48634
|
+
"members_can_create_public_pages": {
|
|
48635
|
+
"type": "boolean",
|
|
48636
|
+
"example": true
|
|
48637
|
+
},
|
|
48638
|
+
"members_can_create_private_pages": {
|
|
48639
|
+
"type": "boolean",
|
|
48640
|
+
"example": true
|
|
48641
|
+
},
|
|
48642
|
+
"members_can_fork_private_repositories": {
|
|
48643
|
+
"type": "boolean",
|
|
48644
|
+
"example": false,
|
|
48645
|
+
"nullable": true
|
|
48646
|
+
},
|
|
48647
|
+
"updated_at": {
|
|
48648
|
+
"type": "string",
|
|
48649
|
+
"format": "date-time"
|
|
48650
|
+
}
|
|
48651
|
+
},
|
|
48652
|
+
"required": [
|
|
48653
|
+
"login",
|
|
48654
|
+
"url",
|
|
48655
|
+
"id",
|
|
48656
|
+
"node_id",
|
|
48657
|
+
"repos_url",
|
|
48658
|
+
"events_url",
|
|
48659
|
+
"hooks_url",
|
|
48660
|
+
"issues_url",
|
|
48661
|
+
"members_url",
|
|
48662
|
+
"public_members_url",
|
|
48663
|
+
"avatar_url",
|
|
48664
|
+
"description",
|
|
48665
|
+
"html_url",
|
|
48666
|
+
"has_organization_projects",
|
|
48667
|
+
"has_repository_projects",
|
|
48668
|
+
"public_repos",
|
|
48669
|
+
"public_gists",
|
|
48670
|
+
"followers",
|
|
48671
|
+
"following",
|
|
48672
|
+
"type",
|
|
48673
|
+
"created_at",
|
|
48674
|
+
"updated_at"
|
|
48675
|
+
]
|
|
48676
|
+
},
|
|
48677
|
+
"ldap_dn": {
|
|
48678
|
+
"description": "Distinguished Name (DN) that team maps to within LDAP environment",
|
|
48679
|
+
"example": "uid=example,ou=users,dc=github,dc=com",
|
|
48680
|
+
"type": "string"
|
|
48681
|
+
}
|
|
48682
|
+
},
|
|
48683
|
+
"required": [
|
|
48684
|
+
"id",
|
|
48685
|
+
"node_id",
|
|
48686
|
+
"url",
|
|
48687
|
+
"members_url",
|
|
48688
|
+
"name",
|
|
48689
|
+
"description",
|
|
48690
|
+
"permission",
|
|
48691
|
+
"html_url",
|
|
48692
|
+
"repositories_url",
|
|
48693
|
+
"slug",
|
|
48694
|
+
"created_at",
|
|
48695
|
+
"updated_at",
|
|
48696
|
+
"members_count",
|
|
48697
|
+
"repos_count",
|
|
48698
|
+
"organization"
|
|
48699
|
+
]
|
|
48700
|
+
},
|
|
48701
|
+
"examples": {
|
|
48702
|
+
"default": {
|
|
48703
|
+
"value": {
|
|
48704
|
+
"id": 1,
|
|
48705
|
+
"node_id": "MDQ6VGVhbTE=",
|
|
48706
|
+
"url": "https://api.github.com/teams/1",
|
|
48707
|
+
"html_url": "https://github.com/orgs/github/teams/justice-league",
|
|
48708
|
+
"name": "Justice League",
|
|
48709
|
+
"slug": "justice-league",
|
|
48710
|
+
"description": "A great team.",
|
|
48711
|
+
"privacy": "closed",
|
|
48712
|
+
"permission": "admin",
|
|
48713
|
+
"members_url": "https://api.github.com/teams/1/members{/member}",
|
|
48714
|
+
"repositories_url": "https://api.github.com/teams/1/repos",
|
|
48715
|
+
"members_count": 3,
|
|
48716
|
+
"repos_count": 10,
|
|
48717
|
+
"created_at": "2017-07-14T16:53:42Z",
|
|
48718
|
+
"updated_at": "2017-08-17T12:37:15Z",
|
|
48719
|
+
"organization": {
|
|
48720
|
+
"login": "github",
|
|
48721
|
+
"id": 1,
|
|
48722
|
+
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
|
|
48723
|
+
"url": "https://api.github.com/orgs/github",
|
|
48724
|
+
"repos_url": "https://api.github.com/orgs/github/repos",
|
|
48725
|
+
"events_url": "https://api.github.com/orgs/github/events",
|
|
48726
|
+
"hooks_url": "https://api.github.com/orgs/github/hooks",
|
|
48727
|
+
"issues_url": "https://api.github.com/orgs/github/issues",
|
|
48728
|
+
"members_url": "https://api.github.com/orgs/github/members{/member}",
|
|
48729
|
+
"public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
|
|
48730
|
+
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
48731
|
+
"description": "A great organization",
|
|
48732
|
+
"name": "github",
|
|
48733
|
+
"company": "GitHub",
|
|
48734
|
+
"blog": "https://github.com/blog",
|
|
48735
|
+
"location": "San Francisco",
|
|
48736
|
+
"email": "octocat@github.com",
|
|
48737
|
+
"has_organization_projects": true,
|
|
48738
|
+
"has_repository_projects": true,
|
|
48739
|
+
"public_repos": 2,
|
|
48740
|
+
"public_gists": 1,
|
|
48741
|
+
"followers": 20,
|
|
48742
|
+
"following": 0,
|
|
48743
|
+
"html_url": "https://github.com/octocat",
|
|
48744
|
+
"created_at": "2008-01-14T04:33:35Z",
|
|
48745
|
+
"updated_at": "2017-08-17T12:37:15Z",
|
|
48746
|
+
"type": "Organization"
|
|
48747
|
+
},
|
|
48748
|
+
"ldap_dn": "uid=asdf,ou=users,dc=github,dc=com"
|
|
48749
|
+
}
|
|
48750
|
+
}
|
|
48751
|
+
}
|
|
48752
|
+
}
|
|
48753
|
+
}
|
|
48754
|
+
},
|
|
48755
|
+
"404": {
|
|
48756
|
+
"description": "Resource not found",
|
|
48757
|
+
"content": {
|
|
48758
|
+
"application/json": {
|
|
48759
|
+
"schema": {
|
|
48760
|
+
"title": "Basic Error",
|
|
48761
|
+
"description": "Basic Error",
|
|
48762
|
+
"type": "object",
|
|
48763
|
+
"properties": {
|
|
48764
|
+
"message": {
|
|
48765
|
+
"type": "string"
|
|
48766
|
+
},
|
|
48767
|
+
"documentation_url": {
|
|
48768
|
+
"type": "string"
|
|
48769
|
+
},
|
|
48770
|
+
"url": {
|
|
48771
|
+
"type": "string"
|
|
48772
|
+
},
|
|
48773
|
+
"status": {
|
|
48774
|
+
"type": "string"
|
|
48775
|
+
}
|
|
48776
|
+
}
|
|
48777
|
+
}
|
|
48778
|
+
}
|
|
48779
|
+
}
|
|
48780
|
+
}
|
|
48781
|
+
},
|
|
48782
|
+
"x-github": {
|
|
48783
|
+
"githubCloudOnly": false,
|
|
48784
|
+
"enabledForGitHubApps": true,
|
|
48785
|
+
"category": "teams",
|
|
48786
|
+
"subcategory": null
|
|
48787
|
+
},
|
|
48788
|
+
"x-octokit": {
|
|
48789
|
+
"diff": {
|
|
48790
|
+
"ghes-3.6": {
|
|
48791
|
+
"type": "changed"
|
|
48792
|
+
}
|
|
48793
|
+
}
|
|
48794
|
+
}
|
|
48795
|
+
},
|
|
48796
|
+
"patch": {
|
|
48797
|
+
"summary": "Update a team",
|
|
48798
|
+
"description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.",
|
|
48799
|
+
"tags": [
|
|
48800
|
+
"teams"
|
|
48801
|
+
],
|
|
48802
|
+
"operationId": "teams/update-in-org",
|
|
48803
|
+
"externalDocs": {
|
|
48804
|
+
"description": "API method documentation",
|
|
48805
|
+
"url": "https://docs.github.com/enterprise-server@3.5/rest/reference/teams#update-a-team"
|
|
48806
|
+
},
|
|
48807
|
+
"parameters": [
|
|
48808
|
+
{
|
|
48809
|
+
"name": "org",
|
|
48810
|
+
"description": "The organization name. The name is not case sensitive.",
|
|
48811
|
+
"in": "path",
|
|
48812
|
+
"required": true,
|
|
48813
|
+
"schema": {
|
|
48814
|
+
"type": "string"
|
|
48815
|
+
}
|
|
48816
|
+
},
|
|
48817
|
+
{
|
|
48818
|
+
"name": "team_slug",
|
|
48819
|
+
"description": "The slug of the team name.",
|
|
48820
|
+
"in": "path",
|
|
48821
|
+
"required": true,
|
|
48822
|
+
"schema": {
|
|
48823
|
+
"type": "string"
|
|
48824
|
+
}
|
|
48825
|
+
}
|
|
48826
|
+
],
|
|
48827
|
+
"requestBody": {
|
|
48828
|
+
"required": false,
|
|
48829
|
+
"content": {
|
|
48830
|
+
"application/json": {
|
|
48831
|
+
"schema": {
|
|
48832
|
+
"type": "object",
|
|
48833
|
+
"properties": {
|
|
48834
|
+
"name": {
|
|
48835
|
+
"type": "string",
|
|
48836
|
+
"description": "The name of the team."
|
|
48837
|
+
},
|
|
48838
|
+
"description": {
|
|
48839
|
+
"type": "string",
|
|
48840
|
+
"description": "The description of the team."
|
|
48841
|
+
},
|
|
48842
|
+
"privacy": {
|
|
48843
|
+
"type": "string",
|
|
48844
|
+
"description": "The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. When a team is nested, the `privacy` for parent teams cannot be `secret`. The options are: \n**For a non-nested team:** \n\\* `secret` - only visible to organization owners and members of this team. \n\\* `closed` - visible to all members of this organization. \n**For a parent or child team:** \n\\* `closed` - visible to all members of this organization.",
|
|
48845
|
+
"enum": [
|
|
48846
|
+
"secret",
|
|
48847
|
+
"closed"
|
|
48848
|
+
]
|
|
48849
|
+
},
|
|
48850
|
+
"permission": {
|
|
48851
|
+
"type": "string",
|
|
48852
|
+
"description": "**Deprecated**. The permission that new repositories will be added to the team with when none is specified.",
|
|
48853
|
+
"enum": [
|
|
48854
|
+
"pull",
|
|
48855
|
+
"push",
|
|
48856
|
+
"admin"
|
|
48857
|
+
],
|
|
48858
|
+
"default": "pull"
|
|
48859
|
+
},
|
|
48860
|
+
"parent_team_id": {
|
|
48861
|
+
"type": "integer",
|
|
48862
|
+
"description": "The ID of a team to set as the parent team.",
|
|
48863
|
+
"nullable": true
|
|
48864
|
+
}
|
|
48865
|
+
}
|
|
48866
|
+
},
|
|
48867
|
+
"examples": {
|
|
48868
|
+
"default": {
|
|
48869
|
+
"value": {
|
|
48870
|
+
"name": "new team name",
|
|
48871
|
+
"description": "new team description",
|
|
48872
|
+
"privacy": "closed"
|
|
48873
|
+
}
|
|
48874
|
+
}
|
|
48875
|
+
}
|
|
48876
|
+
}
|
|
48877
|
+
}
|
|
48878
|
+
},
|
|
48879
|
+
"responses": {
|
|
48880
|
+
"200": {
|
|
48881
|
+
"description": "Response when the updated information already exists",
|
|
48258
48882
|
"content": {
|
|
48259
48883
|
"application/json": {
|
|
48260
48884
|
"schema": {
|
|
@@ -48751,131 +49375,6 @@
|
|
|
48751
49375
|
}
|
|
48752
49376
|
}
|
|
48753
49377
|
},
|
|
48754
|
-
"404": {
|
|
48755
|
-
"description": "Resource not found",
|
|
48756
|
-
"content": {
|
|
48757
|
-
"application/json": {
|
|
48758
|
-
"schema": {
|
|
48759
|
-
"title": "Basic Error",
|
|
48760
|
-
"description": "Basic Error",
|
|
48761
|
-
"type": "object",
|
|
48762
|
-
"properties": {
|
|
48763
|
-
"message": {
|
|
48764
|
-
"type": "string"
|
|
48765
|
-
},
|
|
48766
|
-
"documentation_url": {
|
|
48767
|
-
"type": "string"
|
|
48768
|
-
},
|
|
48769
|
-
"url": {
|
|
48770
|
-
"type": "string"
|
|
48771
|
-
},
|
|
48772
|
-
"status": {
|
|
48773
|
-
"type": "string"
|
|
48774
|
-
}
|
|
48775
|
-
}
|
|
48776
|
-
}
|
|
48777
|
-
}
|
|
48778
|
-
}
|
|
48779
|
-
}
|
|
48780
|
-
},
|
|
48781
|
-
"x-github": {
|
|
48782
|
-
"githubCloudOnly": false,
|
|
48783
|
-
"enabledForGitHubApps": true,
|
|
48784
|
-
"category": "teams",
|
|
48785
|
-
"subcategory": null
|
|
48786
|
-
},
|
|
48787
|
-
"x-octokit": {
|
|
48788
|
-
"diff": {
|
|
48789
|
-
"ghes-3.6": {
|
|
48790
|
-
"type": "changed"
|
|
48791
|
-
}
|
|
48792
|
-
}
|
|
48793
|
-
}
|
|
48794
|
-
},
|
|
48795
|
-
"patch": {
|
|
48796
|
-
"summary": "Update a team",
|
|
48797
|
-
"description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.",
|
|
48798
|
-
"tags": [
|
|
48799
|
-
"teams"
|
|
48800
|
-
],
|
|
48801
|
-
"operationId": "teams/update-in-org",
|
|
48802
|
-
"externalDocs": {
|
|
48803
|
-
"description": "API method documentation",
|
|
48804
|
-
"url": "https://docs.github.com/enterprise-server@3.5/rest/reference/teams#update-a-team"
|
|
48805
|
-
},
|
|
48806
|
-
"parameters": [
|
|
48807
|
-
{
|
|
48808
|
-
"name": "org",
|
|
48809
|
-
"description": "The organization name. The name is not case sensitive.",
|
|
48810
|
-
"in": "path",
|
|
48811
|
-
"required": true,
|
|
48812
|
-
"schema": {
|
|
48813
|
-
"type": "string"
|
|
48814
|
-
}
|
|
48815
|
-
},
|
|
48816
|
-
{
|
|
48817
|
-
"name": "team_slug",
|
|
48818
|
-
"description": "The slug of the team name.",
|
|
48819
|
-
"in": "path",
|
|
48820
|
-
"required": true,
|
|
48821
|
-
"schema": {
|
|
48822
|
-
"type": "string"
|
|
48823
|
-
}
|
|
48824
|
-
}
|
|
48825
|
-
],
|
|
48826
|
-
"requestBody": {
|
|
48827
|
-
"required": false,
|
|
48828
|
-
"content": {
|
|
48829
|
-
"application/json": {
|
|
48830
|
-
"schema": {
|
|
48831
|
-
"type": "object",
|
|
48832
|
-
"properties": {
|
|
48833
|
-
"name": {
|
|
48834
|
-
"type": "string",
|
|
48835
|
-
"description": "The name of the team."
|
|
48836
|
-
},
|
|
48837
|
-
"description": {
|
|
48838
|
-
"type": "string",
|
|
48839
|
-
"description": "The description of the team."
|
|
48840
|
-
},
|
|
48841
|
-
"privacy": {
|
|
48842
|
-
"type": "string",
|
|
48843
|
-
"description": "The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. When a team is nested, the `privacy` for parent teams cannot be `secret`. The options are: \n**For a non-nested team:** \n\\* `secret` - only visible to organization owners and members of this team. \n\\* `closed` - visible to all members of this organization. \n**For a parent or child team:** \n\\* `closed` - visible to all members of this organization.",
|
|
48844
|
-
"enum": [
|
|
48845
|
-
"secret",
|
|
48846
|
-
"closed"
|
|
48847
|
-
]
|
|
48848
|
-
},
|
|
48849
|
-
"permission": {
|
|
48850
|
-
"type": "string",
|
|
48851
|
-
"description": "**Deprecated**. The permission that new repositories will be added to the team with when none is specified.",
|
|
48852
|
-
"enum": [
|
|
48853
|
-
"pull",
|
|
48854
|
-
"push",
|
|
48855
|
-
"admin"
|
|
48856
|
-
],
|
|
48857
|
-
"default": "pull"
|
|
48858
|
-
},
|
|
48859
|
-
"parent_team_id": {
|
|
48860
|
-
"type": "integer",
|
|
48861
|
-
"description": "The ID of a team to set as the parent team.",
|
|
48862
|
-
"nullable": true
|
|
48863
|
-
}
|
|
48864
|
-
}
|
|
48865
|
-
},
|
|
48866
|
-
"examples": {
|
|
48867
|
-
"default": {
|
|
48868
|
-
"value": {
|
|
48869
|
-
"name": "new team name",
|
|
48870
|
-
"description": "new team description",
|
|
48871
|
-
"privacy": "closed"
|
|
48872
|
-
}
|
|
48873
|
-
}
|
|
48874
|
-
}
|
|
48875
|
-
}
|
|
48876
|
-
}
|
|
48877
|
-
},
|
|
48878
|
-
"responses": {
|
|
48879
49378
|
"201": {
|
|
48880
49379
|
"description": "Response",
|
|
48881
49380
|
"content": {
|
|
@@ -49373,6 +49872,127 @@
|
|
|
49373
49872
|
}
|
|
49374
49873
|
}
|
|
49375
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
|
+
}
|
|
49376
49996
|
}
|
|
49377
49997
|
},
|
|
49378
49998
|
"x-github": {
|
|
@@ -58342,8 +58962,9 @@
|
|
|
58342
58962
|
},
|
|
58343
58963
|
"use_squash_pr_title_as_default": {
|
|
58344
58964
|
"type": "boolean",
|
|
58345
|
-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
58346
|
-
"default": false
|
|
58965
|
+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
|
|
58966
|
+
"default": false,
|
|
58967
|
+
"deprecated": true
|
|
58347
58968
|
},
|
|
58348
58969
|
"squash_merge_commit_title": {
|
|
58349
58970
|
"type": "string",
|
|
@@ -78786,7 +79407,7 @@
|
|
|
78786
79407
|
},
|
|
78787
79408
|
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
|
|
78788
79409
|
"get": {
|
|
78789
|
-
"summary": "List workflow runs",
|
|
79410
|
+
"summary": "List workflow runs for a workflow",
|
|
78790
79411
|
"description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.",
|
|
78791
79412
|
"tags": [
|
|
78792
79413
|
"actions"
|