@octokit/openapi 7.3.0 → 7.6.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 +9963 -140
- package/generated/api.github.com.json +1055 -110
- 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 +133 -25
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +127 -14
- package/generated/ghes-3.2.deref.json +458 -242
- package/generated/ghes-3.2.json +694 -35
- package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +0 -16
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +187 -223
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +432 -10
- package/generated/ghes-3.3.deref.json +458 -244
- package/generated/ghes-3.3.json +694 -36
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +9 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +9 -1
- package/generated/ghes-3.4.deref.json +462 -230
- package/generated/ghes-3.4.json +703 -38
- package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +1548 -135
- 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 +48182 -31728
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +9496 -4686
- package/generated/ghes-3.5.deref.json +556 -242
- package/generated/ghes-3.5.json +797 -50
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +433 -88
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +17473 -6079
- package/generated/ghes-3.6-diff-to-api.github.com.json +4604 -2146
- package/generated/ghes-3.6.deref.json +8136 -240
- package/generated/ghes-3.6.json +1109 -133
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +1018 -34
- package/generated/github.ae-diff-to-api.github.com.deref.json +24735 -16611
- package/generated/github.ae-diff-to-api.github.com.json +1390 -126
- package/generated/github.ae.deref.json +1214 -163
- package/generated/github.ae.json +821 -44
- package/package.json +1 -1
package/generated/github.ae.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.6.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": {
|
|
@@ -2123,7 +2123,13 @@
|
|
|
2123
2123
|
"category": "apps",
|
|
2124
2124
|
"subcategory": null
|
|
2125
2125
|
},
|
|
2126
|
-
"x-octokit": {
|
|
2126
|
+
"x-octokit": {
|
|
2127
|
+
"diff": {
|
|
2128
|
+
"api.github.com": {
|
|
2129
|
+
"type": "changed"
|
|
2130
|
+
}
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
2127
2133
|
}
|
|
2128
2134
|
},
|
|
2129
2135
|
"/app/installations/{installation_id}": {
|
|
@@ -2169,7 +2175,13 @@
|
|
|
2169
2175
|
"category": "apps",
|
|
2170
2176
|
"subcategory": null
|
|
2171
2177
|
},
|
|
2172
|
-
"x-octokit": {
|
|
2178
|
+
"x-octokit": {
|
|
2179
|
+
"diff": {
|
|
2180
|
+
"api.github.com": {
|
|
2181
|
+
"type": "changed"
|
|
2182
|
+
}
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2173
2185
|
},
|
|
2174
2186
|
"delete": {
|
|
2175
2187
|
"summary": "Delete an installation for the authenticated app",
|
|
@@ -2507,7 +2519,13 @@
|
|
|
2507
2519
|
"category": "apps",
|
|
2508
2520
|
"subcategory": "oauth-applications"
|
|
2509
2521
|
},
|
|
2510
|
-
"x-octokit": {
|
|
2522
|
+
"x-octokit": {
|
|
2523
|
+
"diff": {
|
|
2524
|
+
"api.github.com": {
|
|
2525
|
+
"type": "changed"
|
|
2526
|
+
}
|
|
2527
|
+
}
|
|
2528
|
+
}
|
|
2511
2529
|
},
|
|
2512
2530
|
"patch": {
|
|
2513
2531
|
"summary": "Reset a token",
|
|
@@ -2577,7 +2595,13 @@
|
|
|
2577
2595
|
"category": "apps",
|
|
2578
2596
|
"subcategory": "oauth-applications"
|
|
2579
2597
|
},
|
|
2580
|
-
"x-octokit": {
|
|
2598
|
+
"x-octokit": {
|
|
2599
|
+
"diff": {
|
|
2600
|
+
"api.github.com": {
|
|
2601
|
+
"type": "changed"
|
|
2602
|
+
}
|
|
2603
|
+
}
|
|
2604
|
+
}
|
|
2581
2605
|
},
|
|
2582
2606
|
"delete": {
|
|
2583
2607
|
"summary": "Delete an app token",
|
|
@@ -7456,6 +7480,11 @@
|
|
|
7456
7480
|
"description": "Whether organization members can fork private organization repositories.",
|
|
7457
7481
|
"default": false
|
|
7458
7482
|
},
|
|
7483
|
+
"web_commit_signoff_required": {
|
|
7484
|
+
"type": "boolean",
|
|
7485
|
+
"description": "Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.",
|
|
7486
|
+
"default": false
|
|
7487
|
+
},
|
|
7459
7488
|
"blog": {
|
|
7460
7489
|
"type": "string",
|
|
7461
7490
|
"example": "\"http://github.blog\""
|
|
@@ -10057,7 +10086,13 @@
|
|
|
10057
10086
|
"category": "apps",
|
|
10058
10087
|
"subcategory": null
|
|
10059
10088
|
},
|
|
10060
|
-
"x-octokit": {
|
|
10089
|
+
"x-octokit": {
|
|
10090
|
+
"diff": {
|
|
10091
|
+
"api.github.com": {
|
|
10092
|
+
"type": "changed"
|
|
10093
|
+
}
|
|
10094
|
+
}
|
|
10095
|
+
}
|
|
10061
10096
|
}
|
|
10062
10097
|
},
|
|
10063
10098
|
"/orgs/{org}/installations": {
|
|
@@ -10126,7 +10161,13 @@
|
|
|
10126
10161
|
"category": "orgs",
|
|
10127
10162
|
"subcategory": null
|
|
10128
10163
|
},
|
|
10129
|
-
"x-octokit": {
|
|
10164
|
+
"x-octokit": {
|
|
10165
|
+
"diff": {
|
|
10166
|
+
"api.github.com": {
|
|
10167
|
+
"type": "changed"
|
|
10168
|
+
}
|
|
10169
|
+
}
|
|
10170
|
+
}
|
|
10130
10171
|
}
|
|
10131
10172
|
},
|
|
10132
10173
|
"/orgs/{org}/issues": {
|
|
@@ -11489,6 +11530,40 @@
|
|
|
11489
11530
|
"type": "boolean",
|
|
11490
11531
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
11491
11532
|
"default": false
|
|
11533
|
+
},
|
|
11534
|
+
"squash_merge_commit_title": {
|
|
11535
|
+
"type": "string",
|
|
11536
|
+
"enum": [
|
|
11537
|
+
"PR_TITLE",
|
|
11538
|
+
"COMMIT_OR_PR_TITLE"
|
|
11539
|
+
],
|
|
11540
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
11541
|
+
},
|
|
11542
|
+
"squash_merge_commit_message": {
|
|
11543
|
+
"type": "string",
|
|
11544
|
+
"enum": [
|
|
11545
|
+
"PR_BODY",
|
|
11546
|
+
"COMMIT_MESSAGES",
|
|
11547
|
+
"BLANK"
|
|
11548
|
+
],
|
|
11549
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
11550
|
+
},
|
|
11551
|
+
"merge_commit_title": {
|
|
11552
|
+
"type": "string",
|
|
11553
|
+
"enum": [
|
|
11554
|
+
"PR_TITLE",
|
|
11555
|
+
"MERGE_MESSAGE"
|
|
11556
|
+
],
|
|
11557
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
11558
|
+
},
|
|
11559
|
+
"merge_commit_message": {
|
|
11560
|
+
"type": "string",
|
|
11561
|
+
"enum": [
|
|
11562
|
+
"PR_BODY",
|
|
11563
|
+
"PR_TITLE",
|
|
11564
|
+
"BLANK"
|
|
11565
|
+
],
|
|
11566
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
11492
11567
|
}
|
|
11493
11568
|
},
|
|
11494
11569
|
"required": [
|
|
@@ -15701,6 +15776,40 @@
|
|
|
15701
15776
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
15702
15777
|
"default": false
|
|
15703
15778
|
},
|
|
15779
|
+
"squash_merge_commit_title": {
|
|
15780
|
+
"type": "string",
|
|
15781
|
+
"enum": [
|
|
15782
|
+
"PR_TITLE",
|
|
15783
|
+
"COMMIT_OR_PR_TITLE"
|
|
15784
|
+
],
|
|
15785
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
15786
|
+
},
|
|
15787
|
+
"squash_merge_commit_message": {
|
|
15788
|
+
"type": "string",
|
|
15789
|
+
"enum": [
|
|
15790
|
+
"PR_BODY",
|
|
15791
|
+
"COMMIT_MESSAGES",
|
|
15792
|
+
"BLANK"
|
|
15793
|
+
],
|
|
15794
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
15795
|
+
},
|
|
15796
|
+
"merge_commit_title": {
|
|
15797
|
+
"type": "string",
|
|
15798
|
+
"enum": [
|
|
15799
|
+
"PR_TITLE",
|
|
15800
|
+
"MERGE_MESSAGE"
|
|
15801
|
+
],
|
|
15802
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
15803
|
+
},
|
|
15804
|
+
"merge_commit_message": {
|
|
15805
|
+
"type": "string",
|
|
15806
|
+
"enum": [
|
|
15807
|
+
"PR_BODY",
|
|
15808
|
+
"PR_TITLE",
|
|
15809
|
+
"BLANK"
|
|
15810
|
+
],
|
|
15811
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
15812
|
+
},
|
|
15704
15813
|
"archived": {
|
|
15705
15814
|
"type": "boolean",
|
|
15706
15815
|
"description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.",
|
|
@@ -15710,6 +15819,11 @@
|
|
|
15710
15819
|
"type": "boolean",
|
|
15711
15820
|
"description": "Either `true` to allow private forks, or `false` to prevent private forks.",
|
|
15712
15821
|
"default": false
|
|
15822
|
+
},
|
|
15823
|
+
"web_commit_signoff_required": {
|
|
15824
|
+
"type": "boolean",
|
|
15825
|
+
"description": "Either `true` to require contributors to sign off on web-based commits, or `false` to not require contributors to sign off on web-based commits.",
|
|
15826
|
+
"default": false
|
|
15713
15827
|
}
|
|
15714
15828
|
}
|
|
15715
15829
|
},
|
|
@@ -17142,9 +17256,12 @@
|
|
|
17142
17256
|
"content": {
|
|
17143
17257
|
"application/json": {
|
|
17144
17258
|
"schema": {
|
|
17145
|
-
"
|
|
17146
|
-
|
|
17147
|
-
|
|
17259
|
+
"$ref": "#/components/schemas/empty-object"
|
|
17260
|
+
},
|
|
17261
|
+
"examples": {
|
|
17262
|
+
"default": {
|
|
17263
|
+
"value": null
|
|
17264
|
+
}
|
|
17148
17265
|
}
|
|
17149
17266
|
}
|
|
17150
17267
|
}
|
|
@@ -17367,6 +17484,11 @@
|
|
|
17367
17484
|
"schema": {
|
|
17368
17485
|
"type": "object",
|
|
17369
17486
|
"nullable": true
|
|
17487
|
+
},
|
|
17488
|
+
"examples": {
|
|
17489
|
+
"default": {
|
|
17490
|
+
"value": null
|
|
17491
|
+
}
|
|
17370
17492
|
}
|
|
17371
17493
|
}
|
|
17372
17494
|
}
|
|
@@ -17377,9 +17499,12 @@
|
|
|
17377
17499
|
"content": {
|
|
17378
17500
|
"application/json": {
|
|
17379
17501
|
"schema": {
|
|
17380
|
-
"
|
|
17381
|
-
|
|
17382
|
-
|
|
17502
|
+
"$ref": "#/components/schemas/empty-object"
|
|
17503
|
+
},
|
|
17504
|
+
"examples": {
|
|
17505
|
+
"default": {
|
|
17506
|
+
"value": null
|
|
17507
|
+
}
|
|
17383
17508
|
}
|
|
17384
17509
|
}
|
|
17385
17510
|
}
|
|
@@ -17672,9 +17797,12 @@
|
|
|
17672
17797
|
"content": {
|
|
17673
17798
|
"application/json": {
|
|
17674
17799
|
"schema": {
|
|
17675
|
-
"
|
|
17676
|
-
|
|
17677
|
-
|
|
17800
|
+
"$ref": "#/components/schemas/empty-object"
|
|
17801
|
+
},
|
|
17802
|
+
"examples": {
|
|
17803
|
+
"default": {
|
|
17804
|
+
"value": null
|
|
17805
|
+
}
|
|
17678
17806
|
}
|
|
17679
17807
|
}
|
|
17680
17808
|
}
|
|
@@ -18609,6 +18737,11 @@
|
|
|
18609
18737
|
"application/json": {
|
|
18610
18738
|
"schema": {
|
|
18611
18739
|
"$ref": "#/components/schemas/branch-with-protection"
|
|
18740
|
+
},
|
|
18741
|
+
"examples": {
|
|
18742
|
+
"default": {
|
|
18743
|
+
"$ref": "#/components/examples/branch-get"
|
|
18744
|
+
}
|
|
18612
18745
|
}
|
|
18613
18746
|
}
|
|
18614
18747
|
}
|
|
@@ -18951,6 +19084,11 @@
|
|
|
18951
19084
|
"application/json": {
|
|
18952
19085
|
"schema": {
|
|
18953
19086
|
"$ref": "#/components/schemas/protected-branch"
|
|
19087
|
+
},
|
|
19088
|
+
"examples": {
|
|
19089
|
+
"default": {
|
|
19090
|
+
"$ref": "#/components/examples/branch-protection-update"
|
|
19091
|
+
}
|
|
18954
19092
|
}
|
|
18955
19093
|
}
|
|
18956
19094
|
}
|
|
@@ -19825,7 +19963,7 @@
|
|
|
19825
19963
|
"properties": {
|
|
19826
19964
|
"contexts": {
|
|
19827
19965
|
"type": "array",
|
|
19828
|
-
"description": "
|
|
19966
|
+
"description": "The name of the status checks",
|
|
19829
19967
|
"items": {
|
|
19830
19968
|
"type": "string"
|
|
19831
19969
|
}
|
|
@@ -19841,6 +19979,17 @@
|
|
|
19841
19979
|
}
|
|
19842
19980
|
}
|
|
19843
19981
|
]
|
|
19982
|
+
},
|
|
19983
|
+
"examples": {
|
|
19984
|
+
"default": {
|
|
19985
|
+
"summary": "Example adding status checks to a branch protection rule",
|
|
19986
|
+
"value": {
|
|
19987
|
+
"contexts": [
|
|
19988
|
+
"continuous-integration/travis-ci",
|
|
19989
|
+
"continuous-integration/jenkins"
|
|
19990
|
+
]
|
|
19991
|
+
}
|
|
19992
|
+
}
|
|
19844
19993
|
}
|
|
19845
19994
|
}
|
|
19846
19995
|
}
|
|
@@ -19919,7 +20068,7 @@
|
|
|
19919
20068
|
"properties": {
|
|
19920
20069
|
"contexts": {
|
|
19921
20070
|
"type": "array",
|
|
19922
|
-
"description": "
|
|
20071
|
+
"description": "The name of the status checks",
|
|
19923
20072
|
"items": {
|
|
19924
20073
|
"type": "string"
|
|
19925
20074
|
}
|
|
@@ -19935,6 +20084,16 @@
|
|
|
19935
20084
|
}
|
|
19936
20085
|
}
|
|
19937
20086
|
]
|
|
20087
|
+
},
|
|
20088
|
+
"examples": {
|
|
20089
|
+
"default": {
|
|
20090
|
+
"summary": "Example updating status checks for a branch protection rule",
|
|
20091
|
+
"value": {
|
|
20092
|
+
"contexts": [
|
|
20093
|
+
"continuous-integration/travis-ci"
|
|
20094
|
+
]
|
|
20095
|
+
}
|
|
20096
|
+
}
|
|
19938
20097
|
}
|
|
19939
20098
|
}
|
|
19940
20099
|
}
|
|
@@ -20008,7 +20167,7 @@
|
|
|
20008
20167
|
"properties": {
|
|
20009
20168
|
"contexts": {
|
|
20010
20169
|
"type": "array",
|
|
20011
|
-
"description": "
|
|
20170
|
+
"description": "The name of the status checks",
|
|
20012
20171
|
"items": {
|
|
20013
20172
|
"type": "string"
|
|
20014
20173
|
}
|
|
@@ -20024,6 +20183,16 @@
|
|
|
20024
20183
|
}
|
|
20025
20184
|
}
|
|
20026
20185
|
]
|
|
20186
|
+
},
|
|
20187
|
+
"examples": {
|
|
20188
|
+
"default": {
|
|
20189
|
+
"summary": "Example removing status checks from a branch protection rule",
|
|
20190
|
+
"value": {
|
|
20191
|
+
"contexts": [
|
|
20192
|
+
"continuous-integration/travis-ci"
|
|
20193
|
+
]
|
|
20194
|
+
}
|
|
20195
|
+
}
|
|
20027
20196
|
}
|
|
20028
20197
|
}
|
|
20029
20198
|
}
|
|
@@ -20549,7 +20718,7 @@
|
|
|
20549
20718
|
"properties": {
|
|
20550
20719
|
"teams": {
|
|
20551
20720
|
"type": "array",
|
|
20552
|
-
"description": "teams
|
|
20721
|
+
"description": "The slug values for teams",
|
|
20553
20722
|
"items": {
|
|
20554
20723
|
"type": "string"
|
|
20555
20724
|
}
|
|
@@ -20565,6 +20734,16 @@
|
|
|
20565
20734
|
}
|
|
20566
20735
|
}
|
|
20567
20736
|
]
|
|
20737
|
+
},
|
|
20738
|
+
"examples": {
|
|
20739
|
+
"default": {
|
|
20740
|
+
"summary": "Example adding a team in a branch protection rule",
|
|
20741
|
+
"value": {
|
|
20742
|
+
"teams": [
|
|
20743
|
+
"justice-league"
|
|
20744
|
+
]
|
|
20745
|
+
}
|
|
20746
|
+
}
|
|
20568
20747
|
}
|
|
20569
20748
|
}
|
|
20570
20749
|
}
|
|
@@ -20634,7 +20813,7 @@
|
|
|
20634
20813
|
"properties": {
|
|
20635
20814
|
"teams": {
|
|
20636
20815
|
"type": "array",
|
|
20637
|
-
"description": "teams
|
|
20816
|
+
"description": "The slug values for teams",
|
|
20638
20817
|
"items": {
|
|
20639
20818
|
"type": "string"
|
|
20640
20819
|
}
|
|
@@ -20645,11 +20824,21 @@
|
|
|
20645
20824
|
],
|
|
20646
20825
|
"example": {
|
|
20647
20826
|
"teams": [
|
|
20648
|
-
"
|
|
20827
|
+
"justice-league"
|
|
20649
20828
|
]
|
|
20650
20829
|
}
|
|
20651
20830
|
}
|
|
20652
20831
|
]
|
|
20832
|
+
},
|
|
20833
|
+
"examples": {
|
|
20834
|
+
"default": {
|
|
20835
|
+
"summary": "Example replacing a team in a branch protection rule",
|
|
20836
|
+
"value": {
|
|
20837
|
+
"teams": [
|
|
20838
|
+
"justice-league"
|
|
20839
|
+
]
|
|
20840
|
+
}
|
|
20841
|
+
}
|
|
20653
20842
|
}
|
|
20654
20843
|
}
|
|
20655
20844
|
}
|
|
@@ -20718,7 +20907,7 @@
|
|
|
20718
20907
|
"properties": {
|
|
20719
20908
|
"teams": {
|
|
20720
20909
|
"type": "array",
|
|
20721
|
-
"description": "teams
|
|
20910
|
+
"description": "The slug values for teams",
|
|
20722
20911
|
"items": {
|
|
20723
20912
|
"type": "string"
|
|
20724
20913
|
}
|
|
@@ -20734,6 +20923,16 @@
|
|
|
20734
20923
|
}
|
|
20735
20924
|
}
|
|
20736
20925
|
]
|
|
20926
|
+
},
|
|
20927
|
+
"examples": {
|
|
20928
|
+
"default": {
|
|
20929
|
+
"summary": "Example removing a team in a branch protection rule",
|
|
20930
|
+
"value": {
|
|
20931
|
+
"teams": [
|
|
20932
|
+
"justice-league"
|
|
20933
|
+
]
|
|
20934
|
+
}
|
|
20935
|
+
}
|
|
20737
20936
|
}
|
|
20738
20937
|
}
|
|
20739
20938
|
}
|
|
@@ -20858,7 +21057,7 @@
|
|
|
20858
21057
|
"properties": {
|
|
20859
21058
|
"users": {
|
|
20860
21059
|
"type": "array",
|
|
20861
|
-
"description": "users
|
|
21060
|
+
"description": "The username for users",
|
|
20862
21061
|
"items": {
|
|
20863
21062
|
"type": "string"
|
|
20864
21063
|
}
|
|
@@ -20874,6 +21073,16 @@
|
|
|
20874
21073
|
}
|
|
20875
21074
|
}
|
|
20876
21075
|
]
|
|
21076
|
+
},
|
|
21077
|
+
"examples": {
|
|
21078
|
+
"default": {
|
|
21079
|
+
"summary": "Example adding a user in a branch protection rule",
|
|
21080
|
+
"value": {
|
|
21081
|
+
"users": [
|
|
21082
|
+
"octocat"
|
|
21083
|
+
]
|
|
21084
|
+
}
|
|
21085
|
+
}
|
|
20877
21086
|
}
|
|
20878
21087
|
}
|
|
20879
21088
|
}
|
|
@@ -20943,7 +21152,7 @@
|
|
|
20943
21152
|
"properties": {
|
|
20944
21153
|
"users": {
|
|
20945
21154
|
"type": "array",
|
|
20946
|
-
"description": "users
|
|
21155
|
+
"description": "The username for users",
|
|
20947
21156
|
"items": {
|
|
20948
21157
|
"type": "string"
|
|
20949
21158
|
}
|
|
@@ -20959,6 +21168,16 @@
|
|
|
20959
21168
|
}
|
|
20960
21169
|
}
|
|
20961
21170
|
]
|
|
21171
|
+
},
|
|
21172
|
+
"examples": {
|
|
21173
|
+
"default": {
|
|
21174
|
+
"summary": "Example replacing a user in a branch protection rule",
|
|
21175
|
+
"value": {
|
|
21176
|
+
"users": [
|
|
21177
|
+
"octocat"
|
|
21178
|
+
]
|
|
21179
|
+
}
|
|
21180
|
+
}
|
|
20962
21181
|
}
|
|
20963
21182
|
}
|
|
20964
21183
|
}
|
|
@@ -21027,7 +21246,7 @@
|
|
|
21027
21246
|
"properties": {
|
|
21028
21247
|
"users": {
|
|
21029
21248
|
"type": "array",
|
|
21030
|
-
"description": "users
|
|
21249
|
+
"description": "The username for users",
|
|
21031
21250
|
"items": {
|
|
21032
21251
|
"type": "string"
|
|
21033
21252
|
}
|
|
@@ -21043,6 +21262,16 @@
|
|
|
21043
21262
|
}
|
|
21044
21263
|
}
|
|
21045
21264
|
]
|
|
21265
|
+
},
|
|
21266
|
+
"examples": {
|
|
21267
|
+
"default": {
|
|
21268
|
+
"summary": "Example removing a user in a branch protection rule",
|
|
21269
|
+
"value": {
|
|
21270
|
+
"users": [
|
|
21271
|
+
"octocat"
|
|
21272
|
+
]
|
|
21273
|
+
}
|
|
21274
|
+
}
|
|
21046
21275
|
}
|
|
21047
21276
|
}
|
|
21048
21277
|
}
|
|
@@ -22682,6 +22911,22 @@
|
|
|
22682
22911
|
"schema": {
|
|
22683
22912
|
"$ref": "#/components/schemas/code-scanning-analysis-sarif-id"
|
|
22684
22913
|
}
|
|
22914
|
+
},
|
|
22915
|
+
{
|
|
22916
|
+
"$ref": "#/components/parameters/direction"
|
|
22917
|
+
},
|
|
22918
|
+
{
|
|
22919
|
+
"name": "sort",
|
|
22920
|
+
"description": "The property by which to sort the results.",
|
|
22921
|
+
"in": "query",
|
|
22922
|
+
"required": false,
|
|
22923
|
+
"schema": {
|
|
22924
|
+
"type": "string",
|
|
22925
|
+
"enum": [
|
|
22926
|
+
"created"
|
|
22927
|
+
],
|
|
22928
|
+
"default": "created"
|
|
22929
|
+
}
|
|
22685
22930
|
}
|
|
22686
22931
|
],
|
|
22687
22932
|
"responses": {
|
|
@@ -24773,7 +25018,7 @@
|
|
|
24773
25018
|
"/repos/{owner}/{repo}/contents/{path}": {
|
|
24774
25019
|
"get": {
|
|
24775
25020
|
"summary": "Get repository content",
|
|
24776
|
-
"description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/github-ae@latest/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/github-ae@latest/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**
|
|
25021
|
+
"description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/github-ae@latest/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/github-ae@latest/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Notes**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/github-ae@latest/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/github-ae@latest/rest/reference/git#get-a-tree).\n * Download URLs expire and are meant to be used just once. To ensure the download URL does not expire, please use the contents API to obtain a fresh download URL for each download. \n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.",
|
|
24777
25022
|
"tags": [
|
|
24778
25023
|
"repos"
|
|
24779
25024
|
],
|
|
@@ -28719,7 +28964,13 @@
|
|
|
28719
28964
|
"category": "apps",
|
|
28720
28965
|
"subcategory": null
|
|
28721
28966
|
},
|
|
28722
|
-
"x-octokit": {
|
|
28967
|
+
"x-octokit": {
|
|
28968
|
+
"diff": {
|
|
28969
|
+
"api.github.com": {
|
|
28970
|
+
"type": "changed"
|
|
28971
|
+
}
|
|
28972
|
+
}
|
|
28973
|
+
}
|
|
28723
28974
|
}
|
|
28724
28975
|
},
|
|
28725
28976
|
"/repos/{owner}/{repo}/invitations": {
|
|
@@ -28830,6 +29081,14 @@
|
|
|
28830
29081
|
]
|
|
28831
29082
|
}
|
|
28832
29083
|
}
|
|
29084
|
+
},
|
|
29085
|
+
"examples": {
|
|
29086
|
+
"default": {
|
|
29087
|
+
"summary": "Example request body",
|
|
29088
|
+
"value": {
|
|
29089
|
+
"permissions": "write"
|
|
29090
|
+
}
|
|
29091
|
+
}
|
|
28833
29092
|
}
|
|
28834
29093
|
}
|
|
28835
29094
|
}
|
|
@@ -29979,6 +30238,12 @@
|
|
|
29979
30238
|
"closed"
|
|
29980
30239
|
]
|
|
29981
30240
|
},
|
|
30241
|
+
"state_reason": {
|
|
30242
|
+
"type": "string",
|
|
30243
|
+
"nullable": true,
|
|
30244
|
+
"description": "The reason for the current state",
|
|
30245
|
+
"example": "not_planned"
|
|
30246
|
+
},
|
|
29982
30247
|
"milestone": {
|
|
29983
30248
|
"oneOf": [
|
|
29984
30249
|
{
|
|
@@ -42474,7 +42739,13 @@
|
|
|
42474
42739
|
"category": "apps",
|
|
42475
42740
|
"subcategory": "installations"
|
|
42476
42741
|
},
|
|
42477
|
-
"x-octokit": {
|
|
42742
|
+
"x-octokit": {
|
|
42743
|
+
"diff": {
|
|
42744
|
+
"api.github.com": {
|
|
42745
|
+
"type": "changed"
|
|
42746
|
+
}
|
|
42747
|
+
}
|
|
42748
|
+
}
|
|
42478
42749
|
}
|
|
42479
42750
|
},
|
|
42480
42751
|
"/user/installations/{installation_id}/repositories": {
|
|
@@ -44002,6 +44273,40 @@
|
|
|
44002
44273
|
"type": "boolean",
|
|
44003
44274
|
"example": false
|
|
44004
44275
|
},
|
|
44276
|
+
"squash_merge_commit_title": {
|
|
44277
|
+
"type": "string",
|
|
44278
|
+
"enum": [
|
|
44279
|
+
"PR_TITLE",
|
|
44280
|
+
"COMMIT_OR_PR_TITLE"
|
|
44281
|
+
],
|
|
44282
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
44283
|
+
},
|
|
44284
|
+
"squash_merge_commit_message": {
|
|
44285
|
+
"type": "string",
|
|
44286
|
+
"enum": [
|
|
44287
|
+
"PR_BODY",
|
|
44288
|
+
"COMMIT_MESSAGES",
|
|
44289
|
+
"BLANK"
|
|
44290
|
+
],
|
|
44291
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
44292
|
+
},
|
|
44293
|
+
"merge_commit_title": {
|
|
44294
|
+
"type": "string",
|
|
44295
|
+
"enum": [
|
|
44296
|
+
"PR_TITLE",
|
|
44297
|
+
"MERGE_MESSAGE"
|
|
44298
|
+
],
|
|
44299
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
44300
|
+
},
|
|
44301
|
+
"merge_commit_message": {
|
|
44302
|
+
"type": "string",
|
|
44303
|
+
"enum": [
|
|
44304
|
+
"PR_BODY",
|
|
44305
|
+
"PR_TITLE",
|
|
44306
|
+
"BLANK"
|
|
44307
|
+
],
|
|
44308
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
44309
|
+
},
|
|
44005
44310
|
"has_downloads": {
|
|
44006
44311
|
"description": "Whether downloads are enabled.",
|
|
44007
44312
|
"default": true,
|
|
@@ -45248,7 +45553,13 @@
|
|
|
45248
45553
|
"category": "apps",
|
|
45249
45554
|
"subcategory": null
|
|
45250
45555
|
},
|
|
45251
|
-
"x-octokit": {
|
|
45556
|
+
"x-octokit": {
|
|
45557
|
+
"diff": {
|
|
45558
|
+
"api.github.com": {
|
|
45559
|
+
"type": "changed"
|
|
45560
|
+
}
|
|
45561
|
+
}
|
|
45562
|
+
}
|
|
45252
45563
|
}
|
|
45253
45564
|
},
|
|
45254
45565
|
"/users/{username}/keys": {
|
|
@@ -51961,14 +52272,6 @@
|
|
|
51961
52272
|
"write"
|
|
51962
52273
|
]
|
|
51963
52274
|
},
|
|
51964
|
-
"organization_custom_roles": {
|
|
51965
|
-
"type": "string",
|
|
51966
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
51967
|
-
"enum": [
|
|
51968
|
-
"read",
|
|
51969
|
-
"write"
|
|
51970
|
-
]
|
|
51971
|
-
},
|
|
51972
52275
|
"deployments": {
|
|
51973
52276
|
"type": "string",
|
|
51974
52277
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -53954,6 +54257,11 @@
|
|
|
53954
54257
|
"description": "Whether to allow forking this repo",
|
|
53955
54258
|
"type": "boolean"
|
|
53956
54259
|
},
|
|
54260
|
+
"web_commit_signoff_required": {
|
|
54261
|
+
"description": "Whether to require contributors to sign off on web-based commits",
|
|
54262
|
+
"default": false,
|
|
54263
|
+
"type": "boolean"
|
|
54264
|
+
},
|
|
53957
54265
|
"subscribers_count": {
|
|
53958
54266
|
"type": "integer"
|
|
53959
54267
|
},
|
|
@@ -57209,6 +57517,11 @@
|
|
|
57209
57517
|
"description": "Whether to allow forking this repo",
|
|
57210
57518
|
"type": "boolean"
|
|
57211
57519
|
},
|
|
57520
|
+
"web_commit_signoff_required": {
|
|
57521
|
+
"description": "Whether to require contributors to sign off on web-based commits",
|
|
57522
|
+
"default": false,
|
|
57523
|
+
"type": "boolean"
|
|
57524
|
+
},
|
|
57212
57525
|
"subscribers_count": {
|
|
57213
57526
|
"type": "integer"
|
|
57214
57527
|
},
|
|
@@ -57678,6 +57991,10 @@
|
|
|
57678
57991
|
},
|
|
57679
57992
|
"allow_forking": {
|
|
57680
57993
|
"type": "boolean"
|
|
57994
|
+
},
|
|
57995
|
+
"web_commit_signoff_required": {
|
|
57996
|
+
"type": "boolean",
|
|
57997
|
+
"example": false
|
|
57681
57998
|
}
|
|
57682
57999
|
},
|
|
57683
58000
|
"required": [
|
|
@@ -58069,6 +58386,10 @@
|
|
|
58069
58386
|
"example": false,
|
|
58070
58387
|
"nullable": true
|
|
58071
58388
|
},
|
|
58389
|
+
"web_commit_signoff_required": {
|
|
58390
|
+
"type": "boolean",
|
|
58391
|
+
"example": false
|
|
58392
|
+
},
|
|
58072
58393
|
"updated_at": {
|
|
58073
58394
|
"type": "string",
|
|
58074
58395
|
"format": "date-time"
|
|
@@ -58922,6 +59243,267 @@
|
|
|
58922
59243
|
"parent"
|
|
58923
59244
|
]
|
|
58924
59245
|
},
|
|
59246
|
+
"team-organization": {
|
|
59247
|
+
"title": "Team Organization",
|
|
59248
|
+
"description": "Team Organization",
|
|
59249
|
+
"type": "object",
|
|
59250
|
+
"properties": {
|
|
59251
|
+
"login": {
|
|
59252
|
+
"type": "string",
|
|
59253
|
+
"example": "github"
|
|
59254
|
+
},
|
|
59255
|
+
"id": {
|
|
59256
|
+
"type": "integer",
|
|
59257
|
+
"example": 1
|
|
59258
|
+
},
|
|
59259
|
+
"node_id": {
|
|
59260
|
+
"type": "string",
|
|
59261
|
+
"example": "MDEyOk9yZ2FuaXphdGlvbjE="
|
|
59262
|
+
},
|
|
59263
|
+
"url": {
|
|
59264
|
+
"type": "string",
|
|
59265
|
+
"format": "uri",
|
|
59266
|
+
"example": "https://api.github.com/orgs/github"
|
|
59267
|
+
},
|
|
59268
|
+
"repos_url": {
|
|
59269
|
+
"type": "string",
|
|
59270
|
+
"format": "uri",
|
|
59271
|
+
"example": "https://api.github.com/orgs/github/repos"
|
|
59272
|
+
},
|
|
59273
|
+
"events_url": {
|
|
59274
|
+
"type": "string",
|
|
59275
|
+
"format": "uri",
|
|
59276
|
+
"example": "https://api.github.com/orgs/github/events"
|
|
59277
|
+
},
|
|
59278
|
+
"hooks_url": {
|
|
59279
|
+
"type": "string",
|
|
59280
|
+
"example": "https://api.github.com/orgs/github/hooks"
|
|
59281
|
+
},
|
|
59282
|
+
"issues_url": {
|
|
59283
|
+
"type": "string",
|
|
59284
|
+
"example": "https://api.github.com/orgs/github/issues"
|
|
59285
|
+
},
|
|
59286
|
+
"members_url": {
|
|
59287
|
+
"type": "string",
|
|
59288
|
+
"example": "https://api.github.com/orgs/github/members{/member}"
|
|
59289
|
+
},
|
|
59290
|
+
"public_members_url": {
|
|
59291
|
+
"type": "string",
|
|
59292
|
+
"example": "https://api.github.com/orgs/github/public_members{/member}"
|
|
59293
|
+
},
|
|
59294
|
+
"avatar_url": {
|
|
59295
|
+
"type": "string",
|
|
59296
|
+
"example": "https://github.com/images/error/octocat_happy.gif"
|
|
59297
|
+
},
|
|
59298
|
+
"description": {
|
|
59299
|
+
"type": "string",
|
|
59300
|
+
"example": "A great organization",
|
|
59301
|
+
"nullable": true
|
|
59302
|
+
},
|
|
59303
|
+
"name": {
|
|
59304
|
+
"type": "string",
|
|
59305
|
+
"example": "github"
|
|
59306
|
+
},
|
|
59307
|
+
"company": {
|
|
59308
|
+
"type": "string",
|
|
59309
|
+
"example": "GitHub"
|
|
59310
|
+
},
|
|
59311
|
+
"blog": {
|
|
59312
|
+
"type": "string",
|
|
59313
|
+
"format": "uri",
|
|
59314
|
+
"example": "https://github.com/blog"
|
|
59315
|
+
},
|
|
59316
|
+
"location": {
|
|
59317
|
+
"type": "string",
|
|
59318
|
+
"example": "San Francisco"
|
|
59319
|
+
},
|
|
59320
|
+
"email": {
|
|
59321
|
+
"type": "string",
|
|
59322
|
+
"format": "email",
|
|
59323
|
+
"example": "octocat@github.com"
|
|
59324
|
+
},
|
|
59325
|
+
"twitter_username": {
|
|
59326
|
+
"type": "string",
|
|
59327
|
+
"example": "github",
|
|
59328
|
+
"nullable": true
|
|
59329
|
+
},
|
|
59330
|
+
"is_verified": {
|
|
59331
|
+
"type": "boolean",
|
|
59332
|
+
"example": true
|
|
59333
|
+
},
|
|
59334
|
+
"has_organization_projects": {
|
|
59335
|
+
"type": "boolean",
|
|
59336
|
+
"example": true
|
|
59337
|
+
},
|
|
59338
|
+
"has_repository_projects": {
|
|
59339
|
+
"type": "boolean",
|
|
59340
|
+
"example": true
|
|
59341
|
+
},
|
|
59342
|
+
"public_repos": {
|
|
59343
|
+
"type": "integer",
|
|
59344
|
+
"example": 2
|
|
59345
|
+
},
|
|
59346
|
+
"public_gists": {
|
|
59347
|
+
"type": "integer",
|
|
59348
|
+
"example": 1
|
|
59349
|
+
},
|
|
59350
|
+
"followers": {
|
|
59351
|
+
"type": "integer",
|
|
59352
|
+
"example": 20
|
|
59353
|
+
},
|
|
59354
|
+
"following": {
|
|
59355
|
+
"type": "integer",
|
|
59356
|
+
"example": 0
|
|
59357
|
+
},
|
|
59358
|
+
"html_url": {
|
|
59359
|
+
"type": "string",
|
|
59360
|
+
"format": "uri",
|
|
59361
|
+
"example": "https://github.com/octocat"
|
|
59362
|
+
},
|
|
59363
|
+
"created_at": {
|
|
59364
|
+
"type": "string",
|
|
59365
|
+
"format": "date-time",
|
|
59366
|
+
"example": "2008-01-14T04:33:35Z"
|
|
59367
|
+
},
|
|
59368
|
+
"type": {
|
|
59369
|
+
"type": "string",
|
|
59370
|
+
"example": "Organization"
|
|
59371
|
+
},
|
|
59372
|
+
"total_private_repos": {
|
|
59373
|
+
"type": "integer",
|
|
59374
|
+
"example": 100
|
|
59375
|
+
},
|
|
59376
|
+
"owned_private_repos": {
|
|
59377
|
+
"type": "integer",
|
|
59378
|
+
"example": 100
|
|
59379
|
+
},
|
|
59380
|
+
"private_gists": {
|
|
59381
|
+
"type": "integer",
|
|
59382
|
+
"example": 81,
|
|
59383
|
+
"nullable": true
|
|
59384
|
+
},
|
|
59385
|
+
"disk_usage": {
|
|
59386
|
+
"type": "integer",
|
|
59387
|
+
"example": 10000,
|
|
59388
|
+
"nullable": true
|
|
59389
|
+
},
|
|
59390
|
+
"collaborators": {
|
|
59391
|
+
"type": "integer",
|
|
59392
|
+
"example": 8,
|
|
59393
|
+
"nullable": true
|
|
59394
|
+
},
|
|
59395
|
+
"billing_email": {
|
|
59396
|
+
"type": "string",
|
|
59397
|
+
"format": "email",
|
|
59398
|
+
"example": "org@example.com",
|
|
59399
|
+
"nullable": true
|
|
59400
|
+
},
|
|
59401
|
+
"plan": {
|
|
59402
|
+
"type": "object",
|
|
59403
|
+
"properties": {
|
|
59404
|
+
"name": {
|
|
59405
|
+
"type": "string"
|
|
59406
|
+
},
|
|
59407
|
+
"space": {
|
|
59408
|
+
"type": "integer"
|
|
59409
|
+
},
|
|
59410
|
+
"private_repos": {
|
|
59411
|
+
"type": "integer"
|
|
59412
|
+
},
|
|
59413
|
+
"filled_seats": {
|
|
59414
|
+
"type": "integer"
|
|
59415
|
+
},
|
|
59416
|
+
"seats": {
|
|
59417
|
+
"type": "integer"
|
|
59418
|
+
}
|
|
59419
|
+
},
|
|
59420
|
+
"required": [
|
|
59421
|
+
"name",
|
|
59422
|
+
"space",
|
|
59423
|
+
"private_repos"
|
|
59424
|
+
]
|
|
59425
|
+
},
|
|
59426
|
+
"default_repository_permission": {
|
|
59427
|
+
"type": "string",
|
|
59428
|
+
"nullable": true
|
|
59429
|
+
},
|
|
59430
|
+
"members_can_create_repositories": {
|
|
59431
|
+
"type": "boolean",
|
|
59432
|
+
"example": true,
|
|
59433
|
+
"nullable": true
|
|
59434
|
+
},
|
|
59435
|
+
"two_factor_requirement_enabled": {
|
|
59436
|
+
"type": "boolean",
|
|
59437
|
+
"example": true,
|
|
59438
|
+
"nullable": true
|
|
59439
|
+
},
|
|
59440
|
+
"members_allowed_repository_creation_type": {
|
|
59441
|
+
"type": "string",
|
|
59442
|
+
"example": "all"
|
|
59443
|
+
},
|
|
59444
|
+
"members_can_create_public_repositories": {
|
|
59445
|
+
"type": "boolean",
|
|
59446
|
+
"example": true
|
|
59447
|
+
},
|
|
59448
|
+
"members_can_create_private_repositories": {
|
|
59449
|
+
"type": "boolean",
|
|
59450
|
+
"example": true
|
|
59451
|
+
},
|
|
59452
|
+
"members_can_create_internal_repositories": {
|
|
59453
|
+
"type": "boolean",
|
|
59454
|
+
"example": true
|
|
59455
|
+
},
|
|
59456
|
+
"members_can_create_pages": {
|
|
59457
|
+
"type": "boolean",
|
|
59458
|
+
"example": true
|
|
59459
|
+
},
|
|
59460
|
+
"members_can_create_public_pages": {
|
|
59461
|
+
"type": "boolean",
|
|
59462
|
+
"example": true
|
|
59463
|
+
},
|
|
59464
|
+
"members_can_create_private_pages": {
|
|
59465
|
+
"type": "boolean",
|
|
59466
|
+
"example": true
|
|
59467
|
+
},
|
|
59468
|
+
"members_can_fork_private_repositories": {
|
|
59469
|
+
"type": "boolean",
|
|
59470
|
+
"example": false,
|
|
59471
|
+
"nullable": true
|
|
59472
|
+
},
|
|
59473
|
+
"web_commit_signoff_required": {
|
|
59474
|
+
"type": "boolean",
|
|
59475
|
+
"example": false
|
|
59476
|
+
},
|
|
59477
|
+
"updated_at": {
|
|
59478
|
+
"type": "string",
|
|
59479
|
+
"format": "date-time"
|
|
59480
|
+
}
|
|
59481
|
+
},
|
|
59482
|
+
"required": [
|
|
59483
|
+
"login",
|
|
59484
|
+
"url",
|
|
59485
|
+
"id",
|
|
59486
|
+
"node_id",
|
|
59487
|
+
"repos_url",
|
|
59488
|
+
"events_url",
|
|
59489
|
+
"hooks_url",
|
|
59490
|
+
"issues_url",
|
|
59491
|
+
"members_url",
|
|
59492
|
+
"public_members_url",
|
|
59493
|
+
"avatar_url",
|
|
59494
|
+
"description",
|
|
59495
|
+
"html_url",
|
|
59496
|
+
"has_organization_projects",
|
|
59497
|
+
"has_repository_projects",
|
|
59498
|
+
"public_repos",
|
|
59499
|
+
"public_gists",
|
|
59500
|
+
"followers",
|
|
59501
|
+
"following",
|
|
59502
|
+
"type",
|
|
59503
|
+
"created_at",
|
|
59504
|
+
"updated_at"
|
|
59505
|
+
]
|
|
59506
|
+
},
|
|
58925
59507
|
"team-full": {
|
|
58926
59508
|
"title": "Full Team",
|
|
58927
59509
|
"description": "Groups of organization members that gives permissions on specified repositories.",
|
|
@@ -59006,7 +59588,7 @@
|
|
|
59006
59588
|
"example": "2017-08-17T12:37:15Z"
|
|
59007
59589
|
},
|
|
59008
59590
|
"organization": {
|
|
59009
|
-
"$ref": "#/components/schemas/organization
|
|
59591
|
+
"$ref": "#/components/schemas/team-organization"
|
|
59010
59592
|
},
|
|
59011
59593
|
"ldap_dn": {
|
|
59012
59594
|
"description": "Distinguished Name (DN) that team maps to within LDAP environment",
|
|
@@ -59802,6 +60384,12 @@
|
|
|
59802
60384
|
"type": "boolean",
|
|
59803
60385
|
"example": false
|
|
59804
60386
|
},
|
|
60387
|
+
"web_commit_signoff_required": {
|
|
60388
|
+
"description": "Whether to require contributors to sign off on web-based commits",
|
|
60389
|
+
"default": false,
|
|
60390
|
+
"type": "boolean",
|
|
60391
|
+
"example": false
|
|
60392
|
+
},
|
|
59805
60393
|
"subscribers_count": {
|
|
59806
60394
|
"type": "integer"
|
|
59807
60395
|
},
|
|
@@ -60573,6 +61161,10 @@
|
|
|
60573
61161
|
"type": "boolean",
|
|
60574
61162
|
"example": true
|
|
60575
61163
|
},
|
|
61164
|
+
"web_commit_signoff_required": {
|
|
61165
|
+
"type": "boolean",
|
|
61166
|
+
"example": false
|
|
61167
|
+
},
|
|
60576
61168
|
"subscribers_count": {
|
|
60577
61169
|
"type": "integer",
|
|
60578
61170
|
"example": 42
|
|
@@ -70590,6 +71182,9 @@
|
|
|
70590
71182
|
},
|
|
70591
71183
|
"is_template": {
|
|
70592
71184
|
"type": "boolean"
|
|
71185
|
+
},
|
|
71186
|
+
"web_commit_signoff_required": {
|
|
71187
|
+
"type": "boolean"
|
|
70593
71188
|
}
|
|
70594
71189
|
},
|
|
70595
71190
|
"required": [
|
|
@@ -71164,6 +71759,9 @@
|
|
|
71164
71759
|
},
|
|
71165
71760
|
"allow_forking": {
|
|
71166
71761
|
"type": "boolean"
|
|
71762
|
+
},
|
|
71763
|
+
"web_commit_signoff_required": {
|
|
71764
|
+
"type": "boolean"
|
|
71167
71765
|
}
|
|
71168
71766
|
},
|
|
71169
71767
|
"required": [
|
|
@@ -73272,6 +73870,10 @@
|
|
|
73272
73870
|
},
|
|
73273
73871
|
"is_template": {
|
|
73274
73872
|
"type": "boolean"
|
|
73873
|
+
},
|
|
73874
|
+
"web_commit_signoff_required": {
|
|
73875
|
+
"type": "boolean",
|
|
73876
|
+
"example": false
|
|
73275
73877
|
}
|
|
73276
73878
|
},
|
|
73277
73879
|
"required": [
|
|
@@ -78366,6 +78968,7 @@
|
|
|
78366
78968
|
"members_can_create_public_pages": true,
|
|
78367
78969
|
"members_can_create_private_pages": true,
|
|
78368
78970
|
"members_can_fork_private_repositories": false,
|
|
78971
|
+
"web_commit_signoff_required": false,
|
|
78369
78972
|
"updated_at": "2014-03-03T18:58:10Z"
|
|
78370
78973
|
}
|
|
78371
78974
|
},
|
|
@@ -81524,6 +82127,7 @@
|
|
|
81524
82127
|
"delete_branch_on_merge": true,
|
|
81525
82128
|
"allow_merge_commit": true,
|
|
81526
82129
|
"allow_forking": true,
|
|
82130
|
+
"web_commit_signoff_required": false,
|
|
81527
82131
|
"subscribers_count": 42,
|
|
81528
82132
|
"network_count": 0,
|
|
81529
82133
|
"organization": {
|
|
@@ -82724,6 +83328,109 @@
|
|
|
82724
83328
|
}
|
|
82725
83329
|
]
|
|
82726
83330
|
},
|
|
83331
|
+
"branch-get": {
|
|
83332
|
+
"value": {
|
|
83333
|
+
"name": "main",
|
|
83334
|
+
"commit": {
|
|
83335
|
+
"sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
83336
|
+
"node_id": "MDY6Q29tbWl0MTI5NjI2OTo3ZmQxYTYwYjAxZjkxYjMxNGY1OTk1NWE0ZTRkNGU4MGQ4ZWRmMTFk",
|
|
83337
|
+
"commit": {
|
|
83338
|
+
"author": {
|
|
83339
|
+
"name": "The Octocat",
|
|
83340
|
+
"email": "octocat@nowhere.com",
|
|
83341
|
+
"date": "2012-03-06T23:06:50Z"
|
|
83342
|
+
},
|
|
83343
|
+
"committer": {
|
|
83344
|
+
"name": "The Octocat",
|
|
83345
|
+
"email": "octocat@nowhere.com",
|
|
83346
|
+
"date": "2012-03-06T23:06:50Z"
|
|
83347
|
+
},
|
|
83348
|
+
"message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
|
|
83349
|
+
"tree": {
|
|
83350
|
+
"sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
|
|
83351
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
|
|
83352
|
+
},
|
|
83353
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
83354
|
+
"comment_count": 77,
|
|
83355
|
+
"verification": {
|
|
83356
|
+
"verified": false,
|
|
83357
|
+
"reason": "unsigned",
|
|
83358
|
+
"signature": null,
|
|
83359
|
+
"payload": null
|
|
83360
|
+
}
|
|
83361
|
+
},
|
|
83362
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
83363
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
83364
|
+
"comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
|
|
83365
|
+
"author": {
|
|
83366
|
+
"login": "octocat",
|
|
83367
|
+
"id": 583231,
|
|
83368
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
83369
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
83370
|
+
"gravatar_id": "",
|
|
83371
|
+
"url": "https://api.github.com/users/octocat",
|
|
83372
|
+
"html_url": "https://github.com/octocat",
|
|
83373
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
83374
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
83375
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
83376
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
83377
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
83378
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
83379
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
83380
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
83381
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
83382
|
+
"type": "User",
|
|
83383
|
+
"site_admin": false
|
|
83384
|
+
},
|
|
83385
|
+
"committer": {
|
|
83386
|
+
"login": "octocat",
|
|
83387
|
+
"id": 583231,
|
|
83388
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
83389
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
83390
|
+
"gravatar_id": "",
|
|
83391
|
+
"url": "https://api.github.com/users/octocat",
|
|
83392
|
+
"html_url": "https://github.com/octocat",
|
|
83393
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
83394
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
83395
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
83396
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
83397
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
83398
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
83399
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
83400
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
83401
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
83402
|
+
"type": "User",
|
|
83403
|
+
"site_admin": false
|
|
83404
|
+
},
|
|
83405
|
+
"parents": [
|
|
83406
|
+
{
|
|
83407
|
+
"sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
83408
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
83409
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
|
|
83410
|
+
},
|
|
83411
|
+
{
|
|
83412
|
+
"sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
83413
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
83414
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/762941318ee16e59dabbacb1b4049eec22f0d303"
|
|
83415
|
+
}
|
|
83416
|
+
]
|
|
83417
|
+
},
|
|
83418
|
+
"_links": {
|
|
83419
|
+
"self": "https://api.github.com/repos/octocat/Hello-World/branches/main",
|
|
83420
|
+
"html": "https://github.com/octocat/Hello-World/tree/main"
|
|
83421
|
+
},
|
|
83422
|
+
"protected": false,
|
|
83423
|
+
"protection": {
|
|
83424
|
+
"enabled": false,
|
|
83425
|
+
"required_status_checks": {
|
|
83426
|
+
"enforcement_level": "off",
|
|
83427
|
+
"contexts": [],
|
|
83428
|
+
"checks": []
|
|
83429
|
+
}
|
|
83430
|
+
},
|
|
83431
|
+
"protection_url": "https://api.github.com/repos/octocat/Hello-World/branches/main/protection"
|
|
83432
|
+
}
|
|
83433
|
+
},
|
|
82727
83434
|
"branch-protection": {
|
|
82728
83435
|
"value": {
|
|
82729
83436
|
"url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection",
|
|
@@ -82920,6 +83627,71 @@
|
|
|
82920
83627
|
}
|
|
82921
83628
|
}
|
|
82922
83629
|
},
|
|
83630
|
+
"branch-protection-update": {
|
|
83631
|
+
"value": {
|
|
83632
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection",
|
|
83633
|
+
"required_status_checks": {
|
|
83634
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks",
|
|
83635
|
+
"strict": true,
|
|
83636
|
+
"contexts": [
|
|
83637
|
+
"continuous-integration/travis-ci"
|
|
83638
|
+
],
|
|
83639
|
+
"contexts_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks/contexts",
|
|
83640
|
+
"checks": [
|
|
83641
|
+
{
|
|
83642
|
+
"context": "continuous-integration/travis-ci",
|
|
83643
|
+
"app_id": null
|
|
83644
|
+
}
|
|
83645
|
+
]
|
|
83646
|
+
},
|
|
83647
|
+
"restrictions": {
|
|
83648
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions",
|
|
83649
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/users",
|
|
83650
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/teams",
|
|
83651
|
+
"apps_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/apps",
|
|
83652
|
+
"users": [],
|
|
83653
|
+
"teams": [],
|
|
83654
|
+
"apps": []
|
|
83655
|
+
},
|
|
83656
|
+
"required_pull_request_reviews": {
|
|
83657
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_pull_request_reviews",
|
|
83658
|
+
"dismiss_stale_reviews": true,
|
|
83659
|
+
"require_code_owner_reviews": true,
|
|
83660
|
+
"required_approving_review_count": 2,
|
|
83661
|
+
"dismissal_restrictions": {
|
|
83662
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions",
|
|
83663
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/users",
|
|
83664
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/teams",
|
|
83665
|
+
"users": [],
|
|
83666
|
+
"teams": [],
|
|
83667
|
+
"apps": []
|
|
83668
|
+
}
|
|
83669
|
+
},
|
|
83670
|
+
"required_signatures": {
|
|
83671
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_signatures",
|
|
83672
|
+
"enabled": false
|
|
83673
|
+
},
|
|
83674
|
+
"enforce_admins": {
|
|
83675
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/enforce_admins",
|
|
83676
|
+
"enabled": true
|
|
83677
|
+
},
|
|
83678
|
+
"required_linear_history": {
|
|
83679
|
+
"enabled": true
|
|
83680
|
+
},
|
|
83681
|
+
"allow_force_pushes": {
|
|
83682
|
+
"enabled": true
|
|
83683
|
+
},
|
|
83684
|
+
"allow_deletions": {
|
|
83685
|
+
"enabled": true
|
|
83686
|
+
},
|
|
83687
|
+
"block_creations": {
|
|
83688
|
+
"enabled": true
|
|
83689
|
+
},
|
|
83690
|
+
"required_conversation_resolution": {
|
|
83691
|
+
"enabled": true
|
|
83692
|
+
}
|
|
83693
|
+
}
|
|
83694
|
+
},
|
|
82923
83695
|
"protected-branch-admin-enforced-2": {
|
|
82924
83696
|
"value": {
|
|
82925
83697
|
"url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins",
|
|
@@ -87649,7 +88421,8 @@
|
|
|
87649
88421
|
"type": "User",
|
|
87650
88422
|
"site_admin": false
|
|
87651
88423
|
},
|
|
87652
|
-
"author_association": "COLLABORATOR"
|
|
88424
|
+
"author_association": "COLLABORATOR",
|
|
88425
|
+
"state_reason": "completed"
|
|
87653
88426
|
}
|
|
87654
88427
|
]
|
|
87655
88428
|
},
|
|
@@ -87809,7 +88582,8 @@
|
|
|
87809
88582
|
"type": "User",
|
|
87810
88583
|
"site_admin": false
|
|
87811
88584
|
},
|
|
87812
|
-
"author_association": "COLLABORATOR"
|
|
88585
|
+
"author_association": "COLLABORATOR",
|
|
88586
|
+
"state_reason": "completed"
|
|
87813
88587
|
}
|
|
87814
88588
|
},
|
|
87815
88589
|
"issue-comment-items": {
|
|
@@ -88045,7 +88819,8 @@
|
|
|
88045
88819
|
"closed_at": null,
|
|
88046
88820
|
"created_at": "2011-04-22T13:33:48Z",
|
|
88047
88821
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
88048
|
-
"author_association": "COLLABORATOR"
|
|
88822
|
+
"author_association": "COLLABORATOR",
|
|
88823
|
+
"state_reason": "completed"
|
|
88049
88824
|
}
|
|
88050
88825
|
}
|
|
88051
88826
|
]
|
|
@@ -88254,7 +89029,8 @@
|
|
|
88254
89029
|
"closed_at": null,
|
|
88255
89030
|
"created_at": "2011-04-22T13:33:48Z",
|
|
88256
89031
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
88257
|
-
"author_association": "COLLABORATOR"
|
|
89032
|
+
"author_association": "COLLABORATOR",
|
|
89033
|
+
"state_reason": "completed"
|
|
88258
89034
|
}
|
|
88259
89035
|
}
|
|
88260
89036
|
},
|
|
@@ -92433,7 +93209,8 @@
|
|
|
92433
93209
|
"body": "...",
|
|
92434
93210
|
"score": 1,
|
|
92435
93211
|
"locked": true,
|
|
92436
|
-
"author_association": "COLLABORATOR"
|
|
93212
|
+
"author_association": "COLLABORATOR",
|
|
93213
|
+
"state_reason": "completed"
|
|
92437
93214
|
}
|
|
92438
93215
|
]
|
|
92439
93216
|
}
|