@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": {
|
|
@@ -85860,8 +85860,9 @@
|
|
|
85860
85860
|
},
|
|
85861
85861
|
"use_squash_pr_title_as_default": {
|
|
85862
85862
|
"type": "boolean",
|
|
85863
|
-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
85864
|
-
"default": false
|
|
85863
|
+
"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.",
|
|
85864
|
+
"default": false,
|
|
85865
|
+
"deprecated": true
|
|
85865
85866
|
},
|
|
85866
85867
|
"squash_merge_commit_title": {
|
|
85867
85868
|
"type": "string",
|
|
@@ -88287,7 +88288,619 @@
|
|
|
88287
88288
|
],
|
|
88288
88289
|
"responses": {
|
|
88289
88290
|
"200": {
|
|
88290
|
-
"description": "Response",
|
|
88291
|
+
"description": "Response",
|
|
88292
|
+
"content": {
|
|
88293
|
+
"application/json": {
|
|
88294
|
+
"schema": {
|
|
88295
|
+
"title": "Full Team",
|
|
88296
|
+
"description": "Groups of organization members that gives permissions on specified repositories.",
|
|
88297
|
+
"type": "object",
|
|
88298
|
+
"properties": {
|
|
88299
|
+
"id": {
|
|
88300
|
+
"description": "Unique identifier of the team",
|
|
88301
|
+
"example": 42,
|
|
88302
|
+
"type": "integer"
|
|
88303
|
+
},
|
|
88304
|
+
"node_id": {
|
|
88305
|
+
"type": "string",
|
|
88306
|
+
"example": "MDQ6VGVhbTE="
|
|
88307
|
+
},
|
|
88308
|
+
"url": {
|
|
88309
|
+
"description": "URL for the team",
|
|
88310
|
+
"example": "https://api.github.com/organizations/1/team/1",
|
|
88311
|
+
"type": "string",
|
|
88312
|
+
"format": "uri"
|
|
88313
|
+
},
|
|
88314
|
+
"html_url": {
|
|
88315
|
+
"type": "string",
|
|
88316
|
+
"format": "uri",
|
|
88317
|
+
"example": "https://github.com/orgs/rails/teams/core"
|
|
88318
|
+
},
|
|
88319
|
+
"name": {
|
|
88320
|
+
"description": "Name of the team",
|
|
88321
|
+
"example": "Developers",
|
|
88322
|
+
"type": "string"
|
|
88323
|
+
},
|
|
88324
|
+
"slug": {
|
|
88325
|
+
"type": "string",
|
|
88326
|
+
"example": "justice-league"
|
|
88327
|
+
},
|
|
88328
|
+
"description": {
|
|
88329
|
+
"type": "string",
|
|
88330
|
+
"example": "A great team.",
|
|
88331
|
+
"nullable": true
|
|
88332
|
+
},
|
|
88333
|
+
"privacy": {
|
|
88334
|
+
"description": "The level of privacy this team should have",
|
|
88335
|
+
"type": "string",
|
|
88336
|
+
"enum": [
|
|
88337
|
+
"closed",
|
|
88338
|
+
"secret"
|
|
88339
|
+
],
|
|
88340
|
+
"example": "closed"
|
|
88341
|
+
},
|
|
88342
|
+
"permission": {
|
|
88343
|
+
"description": "Permission that the team will have for its repositories",
|
|
88344
|
+
"example": "push",
|
|
88345
|
+
"type": "string"
|
|
88346
|
+
},
|
|
88347
|
+
"members_url": {
|
|
88348
|
+
"type": "string",
|
|
88349
|
+
"example": "https://api.github.com/organizations/1/team/1/members{/member}"
|
|
88350
|
+
},
|
|
88351
|
+
"repositories_url": {
|
|
88352
|
+
"type": "string",
|
|
88353
|
+
"format": "uri",
|
|
88354
|
+
"example": "https://api.github.com/organizations/1/team/1/repos"
|
|
88355
|
+
},
|
|
88356
|
+
"parent": {
|
|
88357
|
+
"title": "Team Simple",
|
|
88358
|
+
"description": "Groups of organization members that gives permissions on specified repositories.",
|
|
88359
|
+
"type": "object",
|
|
88360
|
+
"properties": {
|
|
88361
|
+
"id": {
|
|
88362
|
+
"description": "Unique identifier of the team",
|
|
88363
|
+
"type": "integer",
|
|
88364
|
+
"example": 1
|
|
88365
|
+
},
|
|
88366
|
+
"node_id": {
|
|
88367
|
+
"type": "string",
|
|
88368
|
+
"example": "MDQ6VGVhbTE="
|
|
88369
|
+
},
|
|
88370
|
+
"url": {
|
|
88371
|
+
"description": "URL for the team",
|
|
88372
|
+
"type": "string",
|
|
88373
|
+
"format": "uri",
|
|
88374
|
+
"example": "https://api.github.com/organizations/1/team/1"
|
|
88375
|
+
},
|
|
88376
|
+
"members_url": {
|
|
88377
|
+
"type": "string",
|
|
88378
|
+
"example": "https://api.github.com/organizations/1/team/1/members{/member}"
|
|
88379
|
+
},
|
|
88380
|
+
"name": {
|
|
88381
|
+
"description": "Name of the team",
|
|
88382
|
+
"type": "string",
|
|
88383
|
+
"example": "Justice League"
|
|
88384
|
+
},
|
|
88385
|
+
"description": {
|
|
88386
|
+
"description": "Description of the team",
|
|
88387
|
+
"type": "string",
|
|
88388
|
+
"nullable": true,
|
|
88389
|
+
"example": "A great team."
|
|
88390
|
+
},
|
|
88391
|
+
"permission": {
|
|
88392
|
+
"description": "Permission that the team will have for its repositories",
|
|
88393
|
+
"type": "string",
|
|
88394
|
+
"example": "admin"
|
|
88395
|
+
},
|
|
88396
|
+
"privacy": {
|
|
88397
|
+
"description": "The level of privacy this team should have",
|
|
88398
|
+
"type": "string",
|
|
88399
|
+
"example": "closed"
|
|
88400
|
+
},
|
|
88401
|
+
"html_url": {
|
|
88402
|
+
"type": "string",
|
|
88403
|
+
"format": "uri",
|
|
88404
|
+
"example": "https://github.com/orgs/rails/teams/core"
|
|
88405
|
+
},
|
|
88406
|
+
"repositories_url": {
|
|
88407
|
+
"type": "string",
|
|
88408
|
+
"format": "uri",
|
|
88409
|
+
"example": "https://api.github.com/organizations/1/team/1/repos"
|
|
88410
|
+
},
|
|
88411
|
+
"slug": {
|
|
88412
|
+
"type": "string",
|
|
88413
|
+
"example": "justice-league"
|
|
88414
|
+
},
|
|
88415
|
+
"ldap_dn": {
|
|
88416
|
+
"description": "Distinguished Name (DN) that team maps to within LDAP environment",
|
|
88417
|
+
"example": "uid=example,ou=users,dc=github,dc=com",
|
|
88418
|
+
"type": "string"
|
|
88419
|
+
}
|
|
88420
|
+
},
|
|
88421
|
+
"required": [
|
|
88422
|
+
"id",
|
|
88423
|
+
"node_id",
|
|
88424
|
+
"url",
|
|
88425
|
+
"members_url",
|
|
88426
|
+
"name",
|
|
88427
|
+
"description",
|
|
88428
|
+
"permission",
|
|
88429
|
+
"html_url",
|
|
88430
|
+
"repositories_url",
|
|
88431
|
+
"slug"
|
|
88432
|
+
],
|
|
88433
|
+
"nullable": true
|
|
88434
|
+
},
|
|
88435
|
+
"members_count": {
|
|
88436
|
+
"type": "integer",
|
|
88437
|
+
"example": 3
|
|
88438
|
+
},
|
|
88439
|
+
"repos_count": {
|
|
88440
|
+
"type": "integer",
|
|
88441
|
+
"example": 10
|
|
88442
|
+
},
|
|
88443
|
+
"created_at": {
|
|
88444
|
+
"type": "string",
|
|
88445
|
+
"format": "date-time",
|
|
88446
|
+
"example": "2017-07-14T16:53:42Z"
|
|
88447
|
+
},
|
|
88448
|
+
"updated_at": {
|
|
88449
|
+
"type": "string",
|
|
88450
|
+
"format": "date-time",
|
|
88451
|
+
"example": "2017-08-17T12:37:15Z"
|
|
88452
|
+
},
|
|
88453
|
+
"organization": {
|
|
88454
|
+
"title": "Team Organization",
|
|
88455
|
+
"description": "Team Organization",
|
|
88456
|
+
"type": "object",
|
|
88457
|
+
"properties": {
|
|
88458
|
+
"login": {
|
|
88459
|
+
"type": "string",
|
|
88460
|
+
"example": "github"
|
|
88461
|
+
},
|
|
88462
|
+
"id": {
|
|
88463
|
+
"type": "integer",
|
|
88464
|
+
"example": 1
|
|
88465
|
+
},
|
|
88466
|
+
"node_id": {
|
|
88467
|
+
"type": "string",
|
|
88468
|
+
"example": "MDEyOk9yZ2FuaXphdGlvbjE="
|
|
88469
|
+
},
|
|
88470
|
+
"url": {
|
|
88471
|
+
"type": "string",
|
|
88472
|
+
"format": "uri",
|
|
88473
|
+
"example": "https://api.github.com/orgs/github"
|
|
88474
|
+
},
|
|
88475
|
+
"repos_url": {
|
|
88476
|
+
"type": "string",
|
|
88477
|
+
"format": "uri",
|
|
88478
|
+
"example": "https://api.github.com/orgs/github/repos"
|
|
88479
|
+
},
|
|
88480
|
+
"events_url": {
|
|
88481
|
+
"type": "string",
|
|
88482
|
+
"format": "uri",
|
|
88483
|
+
"example": "https://api.github.com/orgs/github/events"
|
|
88484
|
+
},
|
|
88485
|
+
"hooks_url": {
|
|
88486
|
+
"type": "string",
|
|
88487
|
+
"example": "https://api.github.com/orgs/github/hooks"
|
|
88488
|
+
},
|
|
88489
|
+
"issues_url": {
|
|
88490
|
+
"type": "string",
|
|
88491
|
+
"example": "https://api.github.com/orgs/github/issues"
|
|
88492
|
+
},
|
|
88493
|
+
"members_url": {
|
|
88494
|
+
"type": "string",
|
|
88495
|
+
"example": "https://api.github.com/orgs/github/members{/member}"
|
|
88496
|
+
},
|
|
88497
|
+
"public_members_url": {
|
|
88498
|
+
"type": "string",
|
|
88499
|
+
"example": "https://api.github.com/orgs/github/public_members{/member}"
|
|
88500
|
+
},
|
|
88501
|
+
"avatar_url": {
|
|
88502
|
+
"type": "string",
|
|
88503
|
+
"example": "https://github.com/images/error/octocat_happy.gif"
|
|
88504
|
+
},
|
|
88505
|
+
"description": {
|
|
88506
|
+
"type": "string",
|
|
88507
|
+
"example": "A great organization",
|
|
88508
|
+
"nullable": true
|
|
88509
|
+
},
|
|
88510
|
+
"name": {
|
|
88511
|
+
"type": "string",
|
|
88512
|
+
"example": "github"
|
|
88513
|
+
},
|
|
88514
|
+
"company": {
|
|
88515
|
+
"type": "string",
|
|
88516
|
+
"example": "GitHub"
|
|
88517
|
+
},
|
|
88518
|
+
"blog": {
|
|
88519
|
+
"type": "string",
|
|
88520
|
+
"format": "uri",
|
|
88521
|
+
"example": "https://github.com/blog"
|
|
88522
|
+
},
|
|
88523
|
+
"location": {
|
|
88524
|
+
"type": "string",
|
|
88525
|
+
"example": "San Francisco"
|
|
88526
|
+
},
|
|
88527
|
+
"email": {
|
|
88528
|
+
"type": "string",
|
|
88529
|
+
"format": "email",
|
|
88530
|
+
"example": "octocat@github.com"
|
|
88531
|
+
},
|
|
88532
|
+
"twitter_username": {
|
|
88533
|
+
"type": "string",
|
|
88534
|
+
"example": "github",
|
|
88535
|
+
"nullable": true
|
|
88536
|
+
},
|
|
88537
|
+
"is_verified": {
|
|
88538
|
+
"type": "boolean",
|
|
88539
|
+
"example": true
|
|
88540
|
+
},
|
|
88541
|
+
"has_organization_projects": {
|
|
88542
|
+
"type": "boolean",
|
|
88543
|
+
"example": true
|
|
88544
|
+
},
|
|
88545
|
+
"has_repository_projects": {
|
|
88546
|
+
"type": "boolean",
|
|
88547
|
+
"example": true
|
|
88548
|
+
},
|
|
88549
|
+
"public_repos": {
|
|
88550
|
+
"type": "integer",
|
|
88551
|
+
"example": 2
|
|
88552
|
+
},
|
|
88553
|
+
"public_gists": {
|
|
88554
|
+
"type": "integer",
|
|
88555
|
+
"example": 1
|
|
88556
|
+
},
|
|
88557
|
+
"followers": {
|
|
88558
|
+
"type": "integer",
|
|
88559
|
+
"example": 20
|
|
88560
|
+
},
|
|
88561
|
+
"following": {
|
|
88562
|
+
"type": "integer",
|
|
88563
|
+
"example": 0
|
|
88564
|
+
},
|
|
88565
|
+
"html_url": {
|
|
88566
|
+
"type": "string",
|
|
88567
|
+
"format": "uri",
|
|
88568
|
+
"example": "https://github.com/octocat"
|
|
88569
|
+
},
|
|
88570
|
+
"created_at": {
|
|
88571
|
+
"type": "string",
|
|
88572
|
+
"format": "date-time",
|
|
88573
|
+
"example": "2008-01-14T04:33:35Z"
|
|
88574
|
+
},
|
|
88575
|
+
"type": {
|
|
88576
|
+
"type": "string",
|
|
88577
|
+
"example": "Organization"
|
|
88578
|
+
},
|
|
88579
|
+
"total_private_repos": {
|
|
88580
|
+
"type": "integer",
|
|
88581
|
+
"example": 100
|
|
88582
|
+
},
|
|
88583
|
+
"owned_private_repos": {
|
|
88584
|
+
"type": "integer",
|
|
88585
|
+
"example": 100
|
|
88586
|
+
},
|
|
88587
|
+
"private_gists": {
|
|
88588
|
+
"type": "integer",
|
|
88589
|
+
"example": 81,
|
|
88590
|
+
"nullable": true
|
|
88591
|
+
},
|
|
88592
|
+
"disk_usage": {
|
|
88593
|
+
"type": "integer",
|
|
88594
|
+
"example": 10000,
|
|
88595
|
+
"nullable": true
|
|
88596
|
+
},
|
|
88597
|
+
"collaborators": {
|
|
88598
|
+
"type": "integer",
|
|
88599
|
+
"example": 8,
|
|
88600
|
+
"nullable": true
|
|
88601
|
+
},
|
|
88602
|
+
"billing_email": {
|
|
88603
|
+
"type": "string",
|
|
88604
|
+
"format": "email",
|
|
88605
|
+
"example": "org@example.com",
|
|
88606
|
+
"nullable": true
|
|
88607
|
+
},
|
|
88608
|
+
"plan": {
|
|
88609
|
+
"type": "object",
|
|
88610
|
+
"properties": {
|
|
88611
|
+
"name": {
|
|
88612
|
+
"type": "string"
|
|
88613
|
+
},
|
|
88614
|
+
"space": {
|
|
88615
|
+
"type": "integer"
|
|
88616
|
+
},
|
|
88617
|
+
"private_repos": {
|
|
88618
|
+
"type": "integer"
|
|
88619
|
+
},
|
|
88620
|
+
"filled_seats": {
|
|
88621
|
+
"type": "integer"
|
|
88622
|
+
},
|
|
88623
|
+
"seats": {
|
|
88624
|
+
"type": "integer"
|
|
88625
|
+
}
|
|
88626
|
+
},
|
|
88627
|
+
"required": [
|
|
88628
|
+
"name",
|
|
88629
|
+
"space",
|
|
88630
|
+
"private_repos"
|
|
88631
|
+
]
|
|
88632
|
+
},
|
|
88633
|
+
"default_repository_permission": {
|
|
88634
|
+
"type": "string",
|
|
88635
|
+
"nullable": true
|
|
88636
|
+
},
|
|
88637
|
+
"members_can_create_repositories": {
|
|
88638
|
+
"type": "boolean",
|
|
88639
|
+
"example": true,
|
|
88640
|
+
"nullable": true
|
|
88641
|
+
},
|
|
88642
|
+
"two_factor_requirement_enabled": {
|
|
88643
|
+
"type": "boolean",
|
|
88644
|
+
"example": true,
|
|
88645
|
+
"nullable": true
|
|
88646
|
+
},
|
|
88647
|
+
"members_allowed_repository_creation_type": {
|
|
88648
|
+
"type": "string",
|
|
88649
|
+
"example": "all"
|
|
88650
|
+
},
|
|
88651
|
+
"members_can_create_public_repositories": {
|
|
88652
|
+
"type": "boolean",
|
|
88653
|
+
"example": true
|
|
88654
|
+
},
|
|
88655
|
+
"members_can_create_private_repositories": {
|
|
88656
|
+
"type": "boolean",
|
|
88657
|
+
"example": true
|
|
88658
|
+
},
|
|
88659
|
+
"members_can_create_internal_repositories": {
|
|
88660
|
+
"type": "boolean",
|
|
88661
|
+
"example": true
|
|
88662
|
+
},
|
|
88663
|
+
"members_can_create_pages": {
|
|
88664
|
+
"type": "boolean",
|
|
88665
|
+
"example": true
|
|
88666
|
+
},
|
|
88667
|
+
"members_can_create_public_pages": {
|
|
88668
|
+
"type": "boolean",
|
|
88669
|
+
"example": true
|
|
88670
|
+
},
|
|
88671
|
+
"members_can_create_private_pages": {
|
|
88672
|
+
"type": "boolean",
|
|
88673
|
+
"example": true
|
|
88674
|
+
},
|
|
88675
|
+
"updated_at": {
|
|
88676
|
+
"type": "string",
|
|
88677
|
+
"format": "date-time"
|
|
88678
|
+
}
|
|
88679
|
+
},
|
|
88680
|
+
"required": [
|
|
88681
|
+
"login",
|
|
88682
|
+
"url",
|
|
88683
|
+
"id",
|
|
88684
|
+
"node_id",
|
|
88685
|
+
"repos_url",
|
|
88686
|
+
"events_url",
|
|
88687
|
+
"hooks_url",
|
|
88688
|
+
"issues_url",
|
|
88689
|
+
"members_url",
|
|
88690
|
+
"public_members_url",
|
|
88691
|
+
"avatar_url",
|
|
88692
|
+
"description",
|
|
88693
|
+
"html_url",
|
|
88694
|
+
"has_organization_projects",
|
|
88695
|
+
"has_repository_projects",
|
|
88696
|
+
"public_repos",
|
|
88697
|
+
"public_gists",
|
|
88698
|
+
"followers",
|
|
88699
|
+
"following",
|
|
88700
|
+
"type",
|
|
88701
|
+
"created_at",
|
|
88702
|
+
"updated_at"
|
|
88703
|
+
]
|
|
88704
|
+
},
|
|
88705
|
+
"ldap_dn": {
|
|
88706
|
+
"description": "Distinguished Name (DN) that team maps to within LDAP environment",
|
|
88707
|
+
"example": "uid=example,ou=users,dc=github,dc=com",
|
|
88708
|
+
"type": "string"
|
|
88709
|
+
}
|
|
88710
|
+
},
|
|
88711
|
+
"required": [
|
|
88712
|
+
"id",
|
|
88713
|
+
"node_id",
|
|
88714
|
+
"url",
|
|
88715
|
+
"members_url",
|
|
88716
|
+
"name",
|
|
88717
|
+
"description",
|
|
88718
|
+
"permission",
|
|
88719
|
+
"html_url",
|
|
88720
|
+
"repositories_url",
|
|
88721
|
+
"slug",
|
|
88722
|
+
"created_at",
|
|
88723
|
+
"updated_at",
|
|
88724
|
+
"members_count",
|
|
88725
|
+
"repos_count",
|
|
88726
|
+
"organization"
|
|
88727
|
+
]
|
|
88728
|
+
},
|
|
88729
|
+
"examples": {
|
|
88730
|
+
"default": {
|
|
88731
|
+
"value": {
|
|
88732
|
+
"id": 1,
|
|
88733
|
+
"node_id": "MDQ6VGVhbTE=",
|
|
88734
|
+
"url": "https://api.github.com/teams/1",
|
|
88735
|
+
"html_url": "https://github.com/orgs/github/teams/justice-league",
|
|
88736
|
+
"name": "Justice League",
|
|
88737
|
+
"slug": "justice-league",
|
|
88738
|
+
"description": "A great team.",
|
|
88739
|
+
"privacy": "closed",
|
|
88740
|
+
"permission": "admin",
|
|
88741
|
+
"members_url": "https://api.github.com/teams/1/members{/member}",
|
|
88742
|
+
"repositories_url": "https://api.github.com/teams/1/repos",
|
|
88743
|
+
"members_count": 3,
|
|
88744
|
+
"repos_count": 10,
|
|
88745
|
+
"created_at": "2017-07-14T16:53:42Z",
|
|
88746
|
+
"updated_at": "2017-08-17T12:37:15Z",
|
|
88747
|
+
"organization": {
|
|
88748
|
+
"login": "github",
|
|
88749
|
+
"id": 1,
|
|
88750
|
+
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
|
|
88751
|
+
"url": "https://api.github.com/orgs/github",
|
|
88752
|
+
"repos_url": "https://api.github.com/orgs/github/repos",
|
|
88753
|
+
"events_url": "https://api.github.com/orgs/github/events",
|
|
88754
|
+
"hooks_url": "https://api.github.com/orgs/github/hooks",
|
|
88755
|
+
"issues_url": "https://api.github.com/orgs/github/issues",
|
|
88756
|
+
"members_url": "https://api.github.com/orgs/github/members{/member}",
|
|
88757
|
+
"public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
|
|
88758
|
+
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
88759
|
+
"description": "A great organization",
|
|
88760
|
+
"name": "github",
|
|
88761
|
+
"company": "GitHub",
|
|
88762
|
+
"blog": "https://github.com/blog",
|
|
88763
|
+
"location": "San Francisco",
|
|
88764
|
+
"email": "octocat@github.com",
|
|
88765
|
+
"has_organization_projects": true,
|
|
88766
|
+
"has_repository_projects": true,
|
|
88767
|
+
"public_repos": 2,
|
|
88768
|
+
"public_gists": 1,
|
|
88769
|
+
"followers": 20,
|
|
88770
|
+
"following": 0,
|
|
88771
|
+
"html_url": "https://github.com/octocat",
|
|
88772
|
+
"created_at": "2008-01-14T04:33:35Z",
|
|
88773
|
+
"updated_at": "2017-08-17T12:37:15Z",
|
|
88774
|
+
"type": "Organization"
|
|
88775
|
+
},
|
|
88776
|
+
"ldap_dn": "uid=asdf,ou=users,dc=github,dc=com"
|
|
88777
|
+
}
|
|
88778
|
+
}
|
|
88779
|
+
}
|
|
88780
|
+
}
|
|
88781
|
+
}
|
|
88782
|
+
},
|
|
88783
|
+
"404": {
|
|
88784
|
+
"description": "Resource not found",
|
|
88785
|
+
"content": {
|
|
88786
|
+
"application/json": {
|
|
88787
|
+
"schema": {
|
|
88788
|
+
"title": "Basic Error",
|
|
88789
|
+
"description": "Basic Error",
|
|
88790
|
+
"type": "object",
|
|
88791
|
+
"properties": {
|
|
88792
|
+
"message": {
|
|
88793
|
+
"type": "string"
|
|
88794
|
+
},
|
|
88795
|
+
"documentation_url": {
|
|
88796
|
+
"type": "string"
|
|
88797
|
+
},
|
|
88798
|
+
"url": {
|
|
88799
|
+
"type": "string"
|
|
88800
|
+
},
|
|
88801
|
+
"status": {
|
|
88802
|
+
"type": "string"
|
|
88803
|
+
}
|
|
88804
|
+
}
|
|
88805
|
+
}
|
|
88806
|
+
}
|
|
88807
|
+
}
|
|
88808
|
+
}
|
|
88809
|
+
},
|
|
88810
|
+
"x-github": {
|
|
88811
|
+
"githubCloudOnly": false,
|
|
88812
|
+
"enabledForGitHubApps": true,
|
|
88813
|
+
"category": "teams",
|
|
88814
|
+
"subcategory": null
|
|
88815
|
+
},
|
|
88816
|
+
"x-octokit": {}
|
|
88817
|
+
},
|
|
88818
|
+
"patch": {
|
|
88819
|
+
"summary": "Update a team",
|
|
88820
|
+
"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}`.",
|
|
88821
|
+
"tags": [
|
|
88822
|
+
"teams"
|
|
88823
|
+
],
|
|
88824
|
+
"operationId": "teams/update-in-org",
|
|
88825
|
+
"externalDocs": {
|
|
88826
|
+
"description": "API method documentation",
|
|
88827
|
+
"url": "https://docs.github.com/enterprise-server@3.2/rest/reference/teams#update-a-team"
|
|
88828
|
+
},
|
|
88829
|
+
"parameters": [
|
|
88830
|
+
{
|
|
88831
|
+
"name": "org",
|
|
88832
|
+
"description": "The organization name. The name is not case sensitive.",
|
|
88833
|
+
"in": "path",
|
|
88834
|
+
"required": true,
|
|
88835
|
+
"schema": {
|
|
88836
|
+
"type": "string"
|
|
88837
|
+
}
|
|
88838
|
+
},
|
|
88839
|
+
{
|
|
88840
|
+
"name": "team_slug",
|
|
88841
|
+
"description": "The slug of the team name.",
|
|
88842
|
+
"in": "path",
|
|
88843
|
+
"required": true,
|
|
88844
|
+
"schema": {
|
|
88845
|
+
"type": "string"
|
|
88846
|
+
}
|
|
88847
|
+
}
|
|
88848
|
+
],
|
|
88849
|
+
"requestBody": {
|
|
88850
|
+
"required": false,
|
|
88851
|
+
"content": {
|
|
88852
|
+
"application/json": {
|
|
88853
|
+
"schema": {
|
|
88854
|
+
"type": "object",
|
|
88855
|
+
"properties": {
|
|
88856
|
+
"name": {
|
|
88857
|
+
"type": "string",
|
|
88858
|
+
"description": "The name of the team."
|
|
88859
|
+
},
|
|
88860
|
+
"description": {
|
|
88861
|
+
"type": "string",
|
|
88862
|
+
"description": "The description of the team."
|
|
88863
|
+
},
|
|
88864
|
+
"privacy": {
|
|
88865
|
+
"type": "string",
|
|
88866
|
+
"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.",
|
|
88867
|
+
"enum": [
|
|
88868
|
+
"secret",
|
|
88869
|
+
"closed"
|
|
88870
|
+
]
|
|
88871
|
+
},
|
|
88872
|
+
"permission": {
|
|
88873
|
+
"type": "string",
|
|
88874
|
+
"description": "**Deprecated**. The permission that new repositories will be added to the team with when none is specified.",
|
|
88875
|
+
"enum": [
|
|
88876
|
+
"pull",
|
|
88877
|
+
"push",
|
|
88878
|
+
"admin"
|
|
88879
|
+
],
|
|
88880
|
+
"default": "pull"
|
|
88881
|
+
},
|
|
88882
|
+
"parent_team_id": {
|
|
88883
|
+
"type": "integer",
|
|
88884
|
+
"description": "The ID of a team to set as the parent team.",
|
|
88885
|
+
"nullable": true
|
|
88886
|
+
}
|
|
88887
|
+
}
|
|
88888
|
+
},
|
|
88889
|
+
"examples": {
|
|
88890
|
+
"default": {
|
|
88891
|
+
"value": {
|
|
88892
|
+
"name": "new team name",
|
|
88893
|
+
"description": "new team description",
|
|
88894
|
+
"privacy": "closed"
|
|
88895
|
+
}
|
|
88896
|
+
}
|
|
88897
|
+
}
|
|
88898
|
+
}
|
|
88899
|
+
}
|
|
88900
|
+
},
|
|
88901
|
+
"responses": {
|
|
88902
|
+
"200": {
|
|
88903
|
+
"description": "Response when the updated information already exists",
|
|
88291
88904
|
"content": {
|
|
88292
88905
|
"application/json": {
|
|
88293
88906
|
"schema": {
|
|
@@ -88779,125 +89392,6 @@
|
|
|
88779
89392
|
}
|
|
88780
89393
|
}
|
|
88781
89394
|
},
|
|
88782
|
-
"404": {
|
|
88783
|
-
"description": "Resource not found",
|
|
88784
|
-
"content": {
|
|
88785
|
-
"application/json": {
|
|
88786
|
-
"schema": {
|
|
88787
|
-
"title": "Basic Error",
|
|
88788
|
-
"description": "Basic Error",
|
|
88789
|
-
"type": "object",
|
|
88790
|
-
"properties": {
|
|
88791
|
-
"message": {
|
|
88792
|
-
"type": "string"
|
|
88793
|
-
},
|
|
88794
|
-
"documentation_url": {
|
|
88795
|
-
"type": "string"
|
|
88796
|
-
},
|
|
88797
|
-
"url": {
|
|
88798
|
-
"type": "string"
|
|
88799
|
-
},
|
|
88800
|
-
"status": {
|
|
88801
|
-
"type": "string"
|
|
88802
|
-
}
|
|
88803
|
-
}
|
|
88804
|
-
}
|
|
88805
|
-
}
|
|
88806
|
-
}
|
|
88807
|
-
}
|
|
88808
|
-
},
|
|
88809
|
-
"x-github": {
|
|
88810
|
-
"githubCloudOnly": false,
|
|
88811
|
-
"enabledForGitHubApps": true,
|
|
88812
|
-
"category": "teams",
|
|
88813
|
-
"subcategory": null
|
|
88814
|
-
},
|
|
88815
|
-
"x-octokit": {}
|
|
88816
|
-
},
|
|
88817
|
-
"patch": {
|
|
88818
|
-
"summary": "Update a team",
|
|
88819
|
-
"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}`.",
|
|
88820
|
-
"tags": [
|
|
88821
|
-
"teams"
|
|
88822
|
-
],
|
|
88823
|
-
"operationId": "teams/update-in-org",
|
|
88824
|
-
"externalDocs": {
|
|
88825
|
-
"description": "API method documentation",
|
|
88826
|
-
"url": "https://docs.github.com/enterprise-server@3.2/rest/reference/teams#update-a-team"
|
|
88827
|
-
},
|
|
88828
|
-
"parameters": [
|
|
88829
|
-
{
|
|
88830
|
-
"name": "org",
|
|
88831
|
-
"description": "The organization name. The name is not case sensitive.",
|
|
88832
|
-
"in": "path",
|
|
88833
|
-
"required": true,
|
|
88834
|
-
"schema": {
|
|
88835
|
-
"type": "string"
|
|
88836
|
-
}
|
|
88837
|
-
},
|
|
88838
|
-
{
|
|
88839
|
-
"name": "team_slug",
|
|
88840
|
-
"description": "The slug of the team name.",
|
|
88841
|
-
"in": "path",
|
|
88842
|
-
"required": true,
|
|
88843
|
-
"schema": {
|
|
88844
|
-
"type": "string"
|
|
88845
|
-
}
|
|
88846
|
-
}
|
|
88847
|
-
],
|
|
88848
|
-
"requestBody": {
|
|
88849
|
-
"required": false,
|
|
88850
|
-
"content": {
|
|
88851
|
-
"application/json": {
|
|
88852
|
-
"schema": {
|
|
88853
|
-
"type": "object",
|
|
88854
|
-
"properties": {
|
|
88855
|
-
"name": {
|
|
88856
|
-
"type": "string",
|
|
88857
|
-
"description": "The name of the team."
|
|
88858
|
-
},
|
|
88859
|
-
"description": {
|
|
88860
|
-
"type": "string",
|
|
88861
|
-
"description": "The description of the team."
|
|
88862
|
-
},
|
|
88863
|
-
"privacy": {
|
|
88864
|
-
"type": "string",
|
|
88865
|
-
"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.",
|
|
88866
|
-
"enum": [
|
|
88867
|
-
"secret",
|
|
88868
|
-
"closed"
|
|
88869
|
-
]
|
|
88870
|
-
},
|
|
88871
|
-
"permission": {
|
|
88872
|
-
"type": "string",
|
|
88873
|
-
"description": "**Deprecated**. The permission that new repositories will be added to the team with when none is specified.",
|
|
88874
|
-
"enum": [
|
|
88875
|
-
"pull",
|
|
88876
|
-
"push",
|
|
88877
|
-
"admin"
|
|
88878
|
-
],
|
|
88879
|
-
"default": "pull"
|
|
88880
|
-
},
|
|
88881
|
-
"parent_team_id": {
|
|
88882
|
-
"type": "integer",
|
|
88883
|
-
"description": "The ID of a team to set as the parent team.",
|
|
88884
|
-
"nullable": true
|
|
88885
|
-
}
|
|
88886
|
-
}
|
|
88887
|
-
},
|
|
88888
|
-
"examples": {
|
|
88889
|
-
"default": {
|
|
88890
|
-
"value": {
|
|
88891
|
-
"name": "new team name",
|
|
88892
|
-
"description": "new team description",
|
|
88893
|
-
"privacy": "closed"
|
|
88894
|
-
}
|
|
88895
|
-
}
|
|
88896
|
-
}
|
|
88897
|
-
}
|
|
88898
|
-
}
|
|
88899
|
-
},
|
|
88900
|
-
"responses": {
|
|
88901
89395
|
"201": {
|
|
88902
89396
|
"description": "Response",
|
|
88903
89397
|
"content": {
|
|
@@ -89390,6 +89884,127 @@
|
|
|
89390
89884
|
}
|
|
89391
89885
|
}
|
|
89392
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
|
+
}
|
|
89393
90008
|
}
|
|
89394
90009
|
},
|
|
89395
90010
|
"x-github": {
|
|
@@ -111466,8 +112081,9 @@
|
|
|
111466
112081
|
},
|
|
111467
112082
|
"use_squash_pr_title_as_default": {
|
|
111468
112083
|
"type": "boolean",
|
|
111469
|
-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
111470
|
-
"default": false
|
|
112084
|
+
"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.",
|
|
112085
|
+
"default": false,
|
|
112086
|
+
"deprecated": true
|
|
111471
112087
|
},
|
|
111472
112088
|
"squash_merge_commit_title": {
|
|
111473
112089
|
"type": "string",
|
|
@@ -132073,7 +132689,7 @@
|
|
|
132073
132689
|
},
|
|
132074
132690
|
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
|
|
132075
132691
|
"get": {
|
|
132076
|
-
"summary": "List workflow runs",
|
|
132692
|
+
"summary": "List workflow runs for a workflow",
|
|
132077
132693
|
"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.2/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.",
|
|
132078
132694
|
"tags": [
|
|
132079
132695
|
"actions"
|
|
@@ -170153,6 +170769,22 @@
|
|
|
170153
170769
|
"default": "all"
|
|
170154
170770
|
}
|
|
170155
170771
|
},
|
|
170772
|
+
{
|
|
170773
|
+
"name": "permission",
|
|
170774
|
+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
|
|
170775
|
+
"in": "query",
|
|
170776
|
+
"required": false,
|
|
170777
|
+
"schema": {
|
|
170778
|
+
"type": "string",
|
|
170779
|
+
"enum": [
|
|
170780
|
+
"pull",
|
|
170781
|
+
"triage",
|
|
170782
|
+
"push",
|
|
170783
|
+
"maintain",
|
|
170784
|
+
"admin"
|
|
170785
|
+
]
|
|
170786
|
+
}
|
|
170787
|
+
},
|
|
170156
170788
|
{
|
|
170157
170789
|
"name": "per_page",
|
|
170158
170790
|
"description": "The number of results per page (max 100).",
|
|
@@ -188359,6 +188991,7 @@
|
|
|
188359
188991
|
"description": "The base branch and head branch to compare. This parameter expects the format `{base}...{head}`.",
|
|
188360
188992
|
"in": "path",
|
|
188361
188993
|
"required": true,
|
|
188994
|
+
"x-multi-segment": true,
|
|
188362
188995
|
"schema": {
|
|
188363
188996
|
"type": "string"
|
|
188364
188997
|
}
|
|
@@ -191444,7 +192077,7 @@
|
|
|
191444
192077
|
},
|
|
191445
192078
|
"put": {
|
|
191446
192079
|
"summary": "Create or update file contents",
|
|
191447
|
-
"description": "Creates a new file or replaces an existing file in a repository.",
|
|
192080
|
+
"description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.",
|
|
191448
192081
|
"tags": [
|
|
191449
192082
|
"repos"
|
|
191450
192083
|
],
|
|
@@ -192201,7 +192834,7 @@
|
|
|
192201
192834
|
},
|
|
192202
192835
|
"sha": {
|
|
192203
192836
|
"type": "string",
|
|
192204
|
-
"description": "The blob SHA of the file being
|
|
192837
|
+
"description": "The blob SHA of the file being deleted."
|
|
192205
192838
|
},
|
|
192206
192839
|
"branch": {
|
|
192207
192840
|
"type": "string",
|
|
@@ -212576,7 +213209,7 @@
|
|
|
212576
213209
|
"/repos/{owner}/{repo}/git/trees/{tree_sha}": {
|
|
212577
213210
|
"get": {
|
|
212578
213211
|
"summary": "Get a tree",
|
|
212579
|
-
"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.",
|
|
213212
|
+
"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.",
|
|
212580
213213
|
"tags": [
|
|
212581
213214
|
"git"
|
|
212582
213215
|
],
|
|
@@ -212886,7 +213519,7 @@
|
|
|
212886
213519
|
"/repos/{owner}/{repo}/hooks": {
|
|
212887
213520
|
"get": {
|
|
212888
213521
|
"summary": "List repository webhooks",
|
|
212889
|
-
"description": "",
|
|
213522
|
+
"description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.",
|
|
212890
213523
|
"tags": [
|
|
212891
213524
|
"repos"
|
|
212892
213525
|
],
|