@octokit/openapi 5.6.5 → 5.8.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 +4412 -986
- package/generated/api.github.com.json +647 -294
- package/generated/ghes-2.22-diff-to-ghes-3.0.deref.json +1 -1
- package/generated/ghes-2.22-diff-to-ghes-3.0.json +1 -1
- package/generated/ghes-2.22.deref.json +1 -1
- package/generated/ghes-2.22.json +1 -1
- package/generated/ghes-3.0-anicca-diff-to-ghes-3.1.deref.json +145 -0
- package/generated/ghes-3.0-diff-to-ghes-3.1.deref.json +14577 -3831
- package/generated/ghes-3.0-diff-to-ghes-3.1.json +1540 -248
- package/generated/ghes-3.0.deref.json +329 -161
- package/generated/ghes-3.0.json +280 -102
- package/generated/ghes-3.1-anicca-diff-to-ghes-3.2.deref.json +1292 -111
- package/generated/ghes-3.1-diff-to-ghes-3.2.deref.json +104093 -56376
- package/generated/ghes-3.1-diff-to-ghes-3.2.json +8280 -3015
- package/generated/ghes-3.1.deref.json +369 -193
- package/generated/ghes-3.1.json +320 -134
- package/generated/ghes-3.2-anicca-diff-to-api.github.com.deref.json +305 -1
- package/generated/ghes-3.2-diff-to-api.github.com.deref.json +4813 -906
- package/generated/ghes-3.2-diff-to-api.github.com.json +2141 -175
- package/generated/ghes-3.2.deref.json +390 -204
- package/generated/ghes-3.2.json +363 -145
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +59 -0
- package/generated/github.ae-diff-to-api.github.com.deref.json +4951 -1
- package/generated/github.ae-diff-to-api.github.com.json +2776 -110
- package/generated/github.ae.deref.json +3875 -639
- package/generated/github.ae.json +425 -235
- package/package.json +4 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.8.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -4496,7 +4496,7 @@
|
|
|
4496
4496
|
"category": "enterprise-admin",
|
|
4497
4497
|
"subcategory": "users"
|
|
4498
4498
|
},
|
|
4499
|
-
"x-octokit": {}
|
|
4499
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
4500
4500
|
},
|
|
4501
4501
|
"delete": {
|
|
4502
4502
|
"summary": "Delete an impersonation OAuth token",
|
|
@@ -8190,7 +8190,7 @@
|
|
|
8190
8190
|
"category": "apps",
|
|
8191
8191
|
"subcategory": null
|
|
8192
8192
|
},
|
|
8193
|
-
"x-octokit": {}
|
|
8193
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
8194
8194
|
}
|
|
8195
8195
|
},
|
|
8196
8196
|
"/app/installations/{installation_id}/suspended": {
|
|
@@ -9636,7 +9636,7 @@
|
|
|
9636
9636
|
"category": "apps",
|
|
9637
9637
|
"subcategory": "oauth-applications"
|
|
9638
9638
|
},
|
|
9639
|
-
"x-octokit": {}
|
|
9639
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
9640
9640
|
},
|
|
9641
9641
|
"patch": {
|
|
9642
9642
|
"summary": "Reset a token",
|
|
@@ -10236,7 +10236,7 @@
|
|
|
10236
10236
|
"category": "apps",
|
|
10237
10237
|
"subcategory": "oauth-applications"
|
|
10238
10238
|
},
|
|
10239
|
-
"x-octokit": {}
|
|
10239
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
10240
10240
|
},
|
|
10241
10241
|
"delete": {
|
|
10242
10242
|
"summary": "Delete an app token",
|
|
@@ -11206,7 +11206,7 @@
|
|
|
11206
11206
|
"category": "apps",
|
|
11207
11207
|
"subcategory": "oauth-applications"
|
|
11208
11208
|
},
|
|
11209
|
-
"x-octokit": {}
|
|
11209
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
11210
11210
|
}
|
|
11211
11211
|
},
|
|
11212
11212
|
"/applications/{client_id}/tokens/{access_token}": {
|
|
@@ -12327,7 +12327,7 @@
|
|
|
12327
12327
|
"subcategory": "oauth-applications"
|
|
12328
12328
|
},
|
|
12329
12329
|
"deprecated": true,
|
|
12330
|
-
"x-octokit": {}
|
|
12330
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
12331
12331
|
},
|
|
12332
12332
|
"delete": {
|
|
12333
12333
|
"summary": "Revoke an authorization for an application",
|
|
@@ -13987,7 +13987,7 @@
|
|
|
13987
13987
|
"subcategory": null
|
|
13988
13988
|
},
|
|
13989
13989
|
"deprecated": true,
|
|
13990
|
-
"x-octokit": {}
|
|
13990
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
13991
13991
|
}
|
|
13992
13992
|
},
|
|
13993
13993
|
"/authorizations/clients/{client_id}": {
|
|
@@ -15132,7 +15132,7 @@
|
|
|
15132
15132
|
"subcategory": null
|
|
15133
15133
|
},
|
|
15134
15134
|
"deprecated": true,
|
|
15135
|
-
"x-octokit": {}
|
|
15135
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
15136
15136
|
}
|
|
15137
15137
|
},
|
|
15138
15138
|
"/authorizations/clients/{client_id}/{fingerprint}": {
|
|
@@ -16242,7 +16242,7 @@
|
|
|
16242
16242
|
"subcategory": null
|
|
16243
16243
|
},
|
|
16244
16244
|
"deprecated": true,
|
|
16245
|
-
"x-octokit": {}
|
|
16245
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
16246
16246
|
}
|
|
16247
16247
|
},
|
|
16248
16248
|
"/authorizations/{authorization_id}": {
|
|
@@ -17410,7 +17410,7 @@
|
|
|
17410
17410
|
"subcategory": null
|
|
17411
17411
|
},
|
|
17412
17412
|
"deprecated": true,
|
|
17413
|
-
"x-octokit": {}
|
|
17413
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
17414
17414
|
},
|
|
17415
17415
|
"delete": {
|
|
17416
17416
|
"summary": "Delete an authorization",
|
|
@@ -21280,7 +21280,7 @@
|
|
|
21280
21280
|
"category": "enterprise-admin",
|
|
21281
21281
|
"subcategory": "actions"
|
|
21282
21282
|
},
|
|
21283
|
-
"x-octokit": {}
|
|
21283
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
21284
21284
|
}
|
|
21285
21285
|
},
|
|
21286
21286
|
"/enterprises/{enterprise}/actions/runners/remove-token": {
|
|
@@ -22174,7 +22174,7 @@
|
|
|
22174
22174
|
"category": "enterprise-admin",
|
|
22175
22175
|
"subcategory": "actions"
|
|
22176
22176
|
},
|
|
22177
|
-
"x-octokit": {}
|
|
22177
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
22178
22178
|
}
|
|
22179
22179
|
},
|
|
22180
22180
|
"/enterprises/{enterprise}/actions/runners/{runner_id}": {
|
|
@@ -43411,15 +43411,14 @@
|
|
|
43411
43411
|
"x-github": {
|
|
43412
43412
|
"githubCloudOnly": false,
|
|
43413
43413
|
"enabledForGitHubApps": true,
|
|
43414
|
+
"category": "orgs",
|
|
43414
43415
|
"previews": [
|
|
43415
43416
|
{
|
|
43416
43417
|
"required": false,
|
|
43417
43418
|
"name": "surtur",
|
|
43418
43419
|
"note": "New repository creation permissions are available to preview. You can now use `members_can_create_public_repositories`, `members_can_create_private_repositories`, and `members_can_create_internal_repositories`. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.\n\nTo access these new parameters during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.surtur-preview+json\n```"
|
|
43419
43420
|
}
|
|
43420
|
-
]
|
|
43421
|
-
"category": "orgs",
|
|
43422
|
-
"subcategory": null
|
|
43421
|
+
]
|
|
43423
43422
|
},
|
|
43424
43423
|
"x-octokit": {}
|
|
43425
43424
|
},
|
|
@@ -43823,21 +43822,6 @@
|
|
|
43823
43822
|
}
|
|
43824
43823
|
}
|
|
43825
43824
|
},
|
|
43826
|
-
"415": {
|
|
43827
|
-
"description": "Preview header missing",
|
|
43828
|
-
"content": {
|
|
43829
|
-
"application/json": {
|
|
43830
|
-
"schema": {
|
|
43831
|
-
"type": "object",
|
|
43832
|
-
"required": ["message", "documentation_url"],
|
|
43833
|
-
"properties": {
|
|
43834
|
-
"message": { "type": "string" },
|
|
43835
|
-
"documentation_url": { "type": "string" }
|
|
43836
|
-
}
|
|
43837
|
-
}
|
|
43838
|
-
}
|
|
43839
|
-
}
|
|
43840
|
-
},
|
|
43841
43825
|
"422": {
|
|
43842
43826
|
"description": "Validation failed",
|
|
43843
43827
|
"content": {
|
|
@@ -43902,15 +43886,14 @@
|
|
|
43902
43886
|
"x-github": {
|
|
43903
43887
|
"githubCloudOnly": false,
|
|
43904
43888
|
"enabledForGitHubApps": true,
|
|
43889
|
+
"category": "orgs",
|
|
43905
43890
|
"previews": [
|
|
43906
43891
|
{
|
|
43907
43892
|
"required": false,
|
|
43908
43893
|
"name": "surtur",
|
|
43909
43894
|
"note": "New repository creation permissions are available to preview. You can now use `members_can_create_public_repositories`, `members_can_create_private_repositories`, and `members_can_create_internal_repositories`. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.\n\nTo access these new parameters during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.surtur-preview+json\n```"
|
|
43910
43895
|
}
|
|
43911
|
-
]
|
|
43912
|
-
"category": "orgs",
|
|
43913
|
-
"subcategory": null
|
|
43896
|
+
]
|
|
43914
43897
|
},
|
|
43915
43898
|
"x-octokit": {}
|
|
43916
43899
|
}
|
|
@@ -48945,7 +48928,7 @@
|
|
|
48945
48928
|
"category": "actions",
|
|
48946
48929
|
"subcategory": "self-hosted-runners"
|
|
48947
48930
|
},
|
|
48948
|
-
"x-octokit": {}
|
|
48931
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
48949
48932
|
}
|
|
48950
48933
|
},
|
|
48951
48934
|
"/orgs/{org}/actions/runners/remove-token": {
|
|
@@ -49838,7 +49821,7 @@
|
|
|
49838
49821
|
"category": "actions",
|
|
49839
49822
|
"subcategory": "self-hosted-runners"
|
|
49840
49823
|
},
|
|
49841
|
-
"x-octokit": {}
|
|
49824
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
49842
49825
|
}
|
|
49843
49826
|
},
|
|
49844
49827
|
"/orgs/{org}/actions/runners/{runner_id}": {
|
|
@@ -55181,7 +55164,7 @@
|
|
|
55181
55164
|
"category": "orgs",
|
|
55182
55165
|
"subcategory": "webhooks"
|
|
55183
55166
|
},
|
|
55184
|
-
"x-octokit": {}
|
|
55167
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
55185
55168
|
}
|
|
55186
55169
|
},
|
|
55187
55170
|
"/orgs/{org}/hooks/{hook_id}": {
|
|
@@ -55576,7 +55559,7 @@
|
|
|
55576
55559
|
"category": "orgs",
|
|
55577
55560
|
"subcategory": "webhooks"
|
|
55578
55561
|
},
|
|
55579
|
-
"x-octokit": {}
|
|
55562
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
55580
55563
|
},
|
|
55581
55564
|
"delete": {
|
|
55582
55565
|
"summary": "Delete an organization webhook",
|
|
@@ -63820,6 +63803,7 @@
|
|
|
63820
63803
|
"x-github": {
|
|
63821
63804
|
"githubCloudOnly": false,
|
|
63822
63805
|
"enabledForGitHubApps": true,
|
|
63806
|
+
"category": "repos",
|
|
63823
63807
|
"previews": [
|
|
63824
63808
|
{
|
|
63825
63809
|
"required": false,
|
|
@@ -63831,9 +63815,7 @@
|
|
|
63831
63815
|
"name": "baptiste",
|
|
63832
63816
|
"note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```"
|
|
63833
63817
|
}
|
|
63834
|
-
]
|
|
63835
|
-
"category": "repos",
|
|
63836
|
-
"subcategory": null
|
|
63818
|
+
]
|
|
63837
63819
|
},
|
|
63838
63820
|
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
63839
63821
|
},
|
|
@@ -64939,6 +64921,7 @@
|
|
|
64939
64921
|
"x-github": {
|
|
64940
64922
|
"githubCloudOnly": false,
|
|
64941
64923
|
"enabledForGitHubApps": true,
|
|
64924
|
+
"category": "repos",
|
|
64942
64925
|
"previews": [
|
|
64943
64926
|
{
|
|
64944
64927
|
"required": false,
|
|
@@ -64950,11 +64933,9 @@
|
|
|
64950
64933
|
"name": "baptiste",
|
|
64951
64934
|
"note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```"
|
|
64952
64935
|
}
|
|
64953
|
-
]
|
|
64954
|
-
"category": "repos",
|
|
64955
|
-
"subcategory": null
|
|
64936
|
+
]
|
|
64956
64937
|
},
|
|
64957
|
-
"x-octokit": {}
|
|
64938
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
64958
64939
|
}
|
|
64959
64940
|
},
|
|
64960
64941
|
"/orgs/{org}/teams": {
|
|
@@ -84380,6 +84361,7 @@
|
|
|
84380
84361
|
"x-github": {
|
|
84381
84362
|
"githubCloudOnly": false,
|
|
84382
84363
|
"enabledForGitHubApps": true,
|
|
84364
|
+
"category": "repos",
|
|
84383
84365
|
"previews": [
|
|
84384
84366
|
{
|
|
84385
84367
|
"required": false,
|
|
@@ -84391,8 +84373,7 @@
|
|
|
84391
84373
|
"name": "scarlet-witch",
|
|
84392
84374
|
"note": "The Codes of Conduct API is currently available for developers to preview.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.scarlet-witch-preview+json\n```"
|
|
84393
84375
|
}
|
|
84394
|
-
]
|
|
84395
|
-
"category": "repos"
|
|
84376
|
+
]
|
|
84396
84377
|
},
|
|
84397
84378
|
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
84398
84379
|
},
|
|
@@ -84444,7 +84425,7 @@
|
|
|
84444
84425
|
},
|
|
84445
84426
|
"visibility": {
|
|
84446
84427
|
"type": "string",
|
|
84447
|
-
"description": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal
|
|
84428
|
+
"description": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`.\"",
|
|
84448
84429
|
"enum": ["public", "private", "visibility", "internal"]
|
|
84449
84430
|
},
|
|
84450
84431
|
"has_issues": {
|
|
@@ -88154,6 +88135,7 @@
|
|
|
88154
88135
|
"x-github": {
|
|
88155
88136
|
"githubCloudOnly": false,
|
|
88156
88137
|
"enabledForGitHubApps": true,
|
|
88138
|
+
"category": "repos",
|
|
88157
88139
|
"previews": [
|
|
88158
88140
|
{
|
|
88159
88141
|
"required": false,
|
|
@@ -88165,11 +88147,9 @@
|
|
|
88165
88147
|
"name": "baptiste",
|
|
88166
88148
|
"note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```"
|
|
88167
88149
|
}
|
|
88168
|
-
]
|
|
88169
|
-
"category": "repos",
|
|
88170
|
-
"subcategory": null
|
|
88150
|
+
]
|
|
88171
88151
|
},
|
|
88172
|
-
"x-octokit": {}
|
|
88152
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
88173
88153
|
},
|
|
88174
88154
|
"delete": {
|
|
88175
88155
|
"summary": "Delete a repository",
|
|
@@ -88706,6 +88686,11 @@
|
|
|
88706
88686
|
"type": "string",
|
|
88707
88687
|
"example": "https://api.github.com/repos/github/hello-world/actions/runs/5"
|
|
88708
88688
|
},
|
|
88689
|
+
"run_attempt": {
|
|
88690
|
+
"type": "integer",
|
|
88691
|
+
"description": "Attempt number of the associated workflow run, 1 for first attempt and higher if the workflow was re-run.",
|
|
88692
|
+
"example": 1
|
|
88693
|
+
},
|
|
88709
88694
|
"node_id": {
|
|
88710
88695
|
"type": "string",
|
|
88711
88696
|
"example": "MDg6Q2hlY2tSdW40"
|
|
@@ -90419,7 +90404,7 @@
|
|
|
90419
90404
|
"category": "actions",
|
|
90420
90405
|
"subcategory": "self-hosted-runners"
|
|
90421
90406
|
},
|
|
90422
|
-
"x-octokit": {}
|
|
90407
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
90423
90408
|
}
|
|
90424
90409
|
},
|
|
90425
90410
|
"/repos/{owner}/{repo}/actions/runners/remove-token": {
|
|
@@ -91318,7 +91303,7 @@
|
|
|
91318
91303
|
"category": "actions",
|
|
91319
91304
|
"subcategory": "self-hosted-runners"
|
|
91320
91305
|
},
|
|
91321
|
-
"x-octokit": {}
|
|
91306
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
91322
91307
|
}
|
|
91323
91308
|
},
|
|
91324
91309
|
"/repos/{owner}/{repo}/actions/runners/{runner_id}": {
|
|
@@ -91563,6 +91548,13 @@
|
|
|
91563
91548
|
"in": "query",
|
|
91564
91549
|
"required": false,
|
|
91565
91550
|
"schema": { "type": "string", "format": "date-time" }
|
|
91551
|
+
},
|
|
91552
|
+
{
|
|
91553
|
+
"name": "exclude_pull_requests",
|
|
91554
|
+
"description": "If `true` pull requests are omitted from the response (empty array).",
|
|
91555
|
+
"in": "query",
|
|
91556
|
+
"required": false,
|
|
91557
|
+
"schema": { "type": "boolean", "default": false }
|
|
91566
91558
|
}
|
|
91567
91559
|
],
|
|
91568
91560
|
"responses": {
|
|
@@ -91624,7 +91616,7 @@
|
|
|
91624
91616
|
},
|
|
91625
91617
|
"run_attempt": {
|
|
91626
91618
|
"type": "integer",
|
|
91627
|
-
"description": "Attempt number of the run, 1 for first attempt and higher if the workflow was
|
|
91619
|
+
"description": "Attempt number of the run, 1 for first attempt and higher if the workflow was re-run.",
|
|
91628
91620
|
"example": 1
|
|
91629
91621
|
},
|
|
91630
91622
|
"event": { "type": "string", "example": "push" },
|
|
@@ -91714,6 +91706,11 @@
|
|
|
91714
91706
|
"type": "string",
|
|
91715
91707
|
"format": "date-time"
|
|
91716
91708
|
},
|
|
91709
|
+
"run_started_at": {
|
|
91710
|
+
"type": "string",
|
|
91711
|
+
"format": "date-time",
|
|
91712
|
+
"description": "The start time of the latest run. Resets on re-run."
|
|
91713
|
+
},
|
|
91717
91714
|
"jobs_url": {
|
|
91718
91715
|
"description": "The URL to the jobs for the workflow run.",
|
|
91719
91716
|
"type": "string",
|
|
@@ -94725,6 +94722,13 @@
|
|
|
94725
94722
|
"in": "path",
|
|
94726
94723
|
"required": true,
|
|
94727
94724
|
"schema": { "type": "integer" }
|
|
94725
|
+
},
|
|
94726
|
+
{
|
|
94727
|
+
"name": "exclude_pull_requests",
|
|
94728
|
+
"description": "If `true` pull requests are omitted from the response (empty array).",
|
|
94729
|
+
"in": "query",
|
|
94730
|
+
"required": false,
|
|
94731
|
+
"schema": { "type": "boolean", "default": false }
|
|
94728
94732
|
}
|
|
94729
94733
|
],
|
|
94730
94734
|
"responses": {
|
|
@@ -94779,7 +94783,7 @@
|
|
|
94779
94783
|
},
|
|
94780
94784
|
"run_attempt": {
|
|
94781
94785
|
"type": "integer",
|
|
94782
|
-
"description": "Attempt number of the run, 1 for first attempt and higher if the workflow was
|
|
94786
|
+
"description": "Attempt number of the run, 1 for first attempt and higher if the workflow was re-run.",
|
|
94783
94787
|
"example": 1
|
|
94784
94788
|
},
|
|
94785
94789
|
"event": { "type": "string", "example": "push" },
|
|
@@ -94857,6 +94861,11 @@
|
|
|
94857
94861
|
},
|
|
94858
94862
|
"created_at": { "type": "string", "format": "date-time" },
|
|
94859
94863
|
"updated_at": { "type": "string", "format": "date-time" },
|
|
94864
|
+
"run_started_at": {
|
|
94865
|
+
"type": "string",
|
|
94866
|
+
"format": "date-time",
|
|
94867
|
+
"description": "The start time of the latest run. Resets on re-run."
|
|
94868
|
+
},
|
|
94860
94869
|
"jobs_url": {
|
|
94861
94870
|
"description": "The URL to the jobs for the workflow run.",
|
|
94862
94871
|
"type": "string",
|
|
@@ -98032,6 +98041,11 @@
|
|
|
98032
98041
|
"type": "string",
|
|
98033
98042
|
"example": "https://api.github.com/repos/github/hello-world/actions/runs/5"
|
|
98034
98043
|
},
|
|
98044
|
+
"run_attempt": {
|
|
98045
|
+
"type": "integer",
|
|
98046
|
+
"description": "Attempt number of the associated workflow run, 1 for first attempt and higher if the workflow was re-run.",
|
|
98047
|
+
"example": 1
|
|
98048
|
+
},
|
|
98035
98049
|
"node_id": {
|
|
98036
98050
|
"type": "string",
|
|
98037
98051
|
"example": "MDg6Q2hlY2tSdW40"
|
|
@@ -98372,7 +98386,7 @@
|
|
|
98372
98386
|
"/repos/{owner}/{repo}/actions/runs/{run_id}/rerun": {
|
|
98373
98387
|
"post": {
|
|
98374
98388
|
"summary": "Re-run a workflow",
|
|
98375
|
-
"description": "Re-runs your workflow run using its `id`. You must authenticate using
|
|
98389
|
+
"description": "Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.",
|
|
98376
98390
|
"tags": ["actions"],
|
|
98377
98391
|
"operationId": "actions/re-run-workflow",
|
|
98378
98392
|
"externalDocs": {
|
|
@@ -99358,6 +99372,13 @@
|
|
|
99358
99372
|
"in": "query",
|
|
99359
99373
|
"required": false,
|
|
99360
99374
|
"schema": { "type": "string", "format": "date-time" }
|
|
99375
|
+
},
|
|
99376
|
+
{
|
|
99377
|
+
"name": "exclude_pull_requests",
|
|
99378
|
+
"description": "If `true` pull requests are omitted from the response (empty array).",
|
|
99379
|
+
"in": "query",
|
|
99380
|
+
"required": false,
|
|
99381
|
+
"schema": { "type": "boolean", "default": false }
|
|
99361
99382
|
}
|
|
99362
99383
|
],
|
|
99363
99384
|
"responses": {
|
|
@@ -99419,7 +99440,7 @@
|
|
|
99419
99440
|
},
|
|
99420
99441
|
"run_attempt": {
|
|
99421
99442
|
"type": "integer",
|
|
99422
|
-
"description": "Attempt number of the run, 1 for first attempt and higher if the workflow was
|
|
99443
|
+
"description": "Attempt number of the run, 1 for first attempt and higher if the workflow was re-run.",
|
|
99423
99444
|
"example": 1
|
|
99424
99445
|
},
|
|
99425
99446
|
"event": { "type": "string", "example": "push" },
|
|
@@ -99509,6 +99530,11 @@
|
|
|
99509
99530
|
"type": "string",
|
|
99510
99531
|
"format": "date-time"
|
|
99511
99532
|
},
|
|
99533
|
+
"run_started_at": {
|
|
99534
|
+
"type": "string",
|
|
99535
|
+
"format": "date-time",
|
|
99536
|
+
"description": "The start time of the latest run. Resets on re-run."
|
|
99537
|
+
},
|
|
99512
99538
|
"jobs_url": {
|
|
99513
99539
|
"description": "The URL to the jobs for the workflow run.",
|
|
99514
99540
|
"type": "string",
|
|
@@ -107383,15 +107409,15 @@
|
|
|
107383
107409
|
"x-github": {
|
|
107384
107410
|
"githubCloudOnly": false,
|
|
107385
107411
|
"enabledForGitHubApps": true,
|
|
107412
|
+
"category": "repos",
|
|
107413
|
+
"subcategory": "branches",
|
|
107386
107414
|
"previews": [
|
|
107387
107415
|
{
|
|
107388
107416
|
"required": true,
|
|
107389
107417
|
"name": "zzzax",
|
|
107390
107418
|
"note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```"
|
|
107391
107419
|
}
|
|
107392
|
-
]
|
|
107393
|
-
"category": "repos",
|
|
107394
|
-
"subcategory": "branches"
|
|
107420
|
+
]
|
|
107395
107421
|
},
|
|
107396
107422
|
"x-octokit": {}
|
|
107397
107423
|
},
|
|
@@ -107478,15 +107504,15 @@
|
|
|
107478
107504
|
"x-github": {
|
|
107479
107505
|
"githubCloudOnly": false,
|
|
107480
107506
|
"enabledForGitHubApps": true,
|
|
107507
|
+
"category": "repos",
|
|
107508
|
+
"subcategory": "branches",
|
|
107481
107509
|
"previews": [
|
|
107482
107510
|
{
|
|
107483
107511
|
"required": true,
|
|
107484
107512
|
"name": "zzzax",
|
|
107485
107513
|
"note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```"
|
|
107486
107514
|
}
|
|
107487
|
-
]
|
|
107488
|
-
"category": "repos",
|
|
107489
|
-
"subcategory": "branches"
|
|
107515
|
+
]
|
|
107490
107516
|
},
|
|
107491
107517
|
"x-octokit": {}
|
|
107492
107518
|
},
|
|
@@ -107545,15 +107571,15 @@
|
|
|
107545
107571
|
"x-github": {
|
|
107546
107572
|
"githubCloudOnly": false,
|
|
107547
107573
|
"enabledForGitHubApps": true,
|
|
107574
|
+
"category": "repos",
|
|
107575
|
+
"subcategory": "branches",
|
|
107548
107576
|
"previews": [
|
|
107549
107577
|
{
|
|
107550
107578
|
"required": true,
|
|
107551
107579
|
"name": "zzzax",
|
|
107552
107580
|
"note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```"
|
|
107553
107581
|
}
|
|
107554
|
-
]
|
|
107555
|
-
"category": "repos",
|
|
107556
|
-
"subcategory": "branches"
|
|
107582
|
+
]
|
|
107557
107583
|
},
|
|
107558
107584
|
"x-octokit": {}
|
|
107559
107585
|
}
|
|
@@ -120341,7 +120367,7 @@
|
|
|
120341
120367
|
"category": "checks",
|
|
120342
120368
|
"subcategory": "suites"
|
|
120343
120369
|
},
|
|
120344
|
-
"x-octokit": {}
|
|
120370
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
120345
120371
|
}
|
|
120346
120372
|
},
|
|
120347
120373
|
"/repos/{owner}/{repo}/check-suites/preferences": {
|
|
@@ -121925,7 +121951,7 @@
|
|
|
121925
121951
|
"category": "checks",
|
|
121926
121952
|
"subcategory": "suites"
|
|
121927
121953
|
},
|
|
121928
|
-
"x-octokit": {}
|
|
121954
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
121929
121955
|
}
|
|
121930
121956
|
},
|
|
121931
121957
|
"/repos/{owner}/{repo}/check-suites/{check_suite_id}": {
|
|
@@ -125475,7 +125501,6 @@
|
|
|
125475
125501
|
"readOnly": true,
|
|
125476
125502
|
"nullable": false
|
|
125477
125503
|
},
|
|
125478
|
-
"instances": { "deprecated": true },
|
|
125479
125504
|
"instances_url": {
|
|
125480
125505
|
"type": "string",
|
|
125481
125506
|
"description": "The REST API URL for fetching the list of instances for an alert.",
|
|
@@ -125719,7 +125744,8 @@
|
|
|
125719
125744
|
}
|
|
125720
125745
|
}
|
|
125721
125746
|
}
|
|
125722
|
-
}
|
|
125747
|
+
},
|
|
125748
|
+
"instances": { "deprecated": true }
|
|
125723
125749
|
},
|
|
125724
125750
|
"required": [
|
|
125725
125751
|
"number",
|
|
@@ -125799,8 +125825,7 @@
|
|
|
125799
125825
|
},
|
|
125800
125826
|
"classifications": ["test"]
|
|
125801
125827
|
},
|
|
125802
|
-
"instances_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances"
|
|
125803
|
-
"instances": null
|
|
125828
|
+
"instances_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances"
|
|
125804
125829
|
}
|
|
125805
125830
|
}
|
|
125806
125831
|
}
|
|
@@ -125981,7 +126006,6 @@
|
|
|
125981
126006
|
"readOnly": true,
|
|
125982
126007
|
"nullable": false
|
|
125983
126008
|
},
|
|
125984
|
-
"instances": { "deprecated": true },
|
|
125985
126009
|
"instances_url": {
|
|
125986
126010
|
"type": "string",
|
|
125987
126011
|
"description": "The REST API URL for fetching the list of instances for an alert.",
|
|
@@ -126225,7 +126249,8 @@
|
|
|
126225
126249
|
}
|
|
126226
126250
|
}
|
|
126227
126251
|
}
|
|
126228
|
-
}
|
|
126252
|
+
},
|
|
126253
|
+
"instances": { "deprecated": true }
|
|
126229
126254
|
},
|
|
126230
126255
|
"required": [
|
|
126231
126256
|
"number",
|
|
@@ -126370,7 +126395,7 @@
|
|
|
126370
126395
|
"previews": [],
|
|
126371
126396
|
"category": "code-scanning"
|
|
126372
126397
|
},
|
|
126373
|
-
"x-octokit": {}
|
|
126398
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
126374
126399
|
}
|
|
126375
126400
|
},
|
|
126376
126401
|
"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances": {
|
|
@@ -129633,7 +129658,7 @@
|
|
|
129633
129658
|
"category": "repos",
|
|
129634
129659
|
"subcategory": "collaborators"
|
|
129635
129660
|
},
|
|
129636
|
-
"x-octokit": {}
|
|
129661
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
129637
129662
|
},
|
|
129638
129663
|
"delete": {
|
|
129639
129664
|
"summary": "Remove a repository collaborator",
|
|
@@ -157003,7 +157028,7 @@
|
|
|
157003
157028
|
"category": "repos",
|
|
157004
157029
|
"subcategory": "forks"
|
|
157005
157030
|
},
|
|
157006
|
-
"x-octokit": {}
|
|
157031
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
157007
157032
|
}
|
|
157008
157033
|
},
|
|
157009
157034
|
"/repos/{owner}/{repo}/git/blobs": {
|
|
@@ -160049,7 +160074,7 @@
|
|
|
160049
160074
|
"category": "repos",
|
|
160050
160075
|
"subcategory": "webhooks"
|
|
160051
160076
|
},
|
|
160052
|
-
"x-octokit": {}
|
|
160077
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
160053
160078
|
}
|
|
160054
160079
|
},
|
|
160055
160080
|
"/repos/{owner}/{repo}/hooks/{hook_id}": {
|
|
@@ -160585,7 +160610,7 @@
|
|
|
160585
160610
|
"category": "repos",
|
|
160586
160611
|
"subcategory": "webhooks"
|
|
160587
160612
|
},
|
|
160588
|
-
"x-octokit": {}
|
|
160613
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
160589
160614
|
},
|
|
160590
160615
|
"delete": {
|
|
160591
160616
|
"summary": "Delete a repository webhook",
|
|
@@ -165094,7 +165119,7 @@
|
|
|
165094
165119
|
"category": "repos",
|
|
165095
165120
|
"subcategory": "invitations"
|
|
165096
165121
|
},
|
|
165097
|
-
"x-octokit": {}
|
|
165122
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
165098
165123
|
},
|
|
165099
165124
|
"delete": {
|
|
165100
165125
|
"summary": "Delete a repository invitation",
|
|
@@ -169536,7 +169561,7 @@
|
|
|
169536
169561
|
"category": "issues",
|
|
169537
169562
|
"subcategory": null
|
|
169538
169563
|
},
|
|
169539
|
-
"x-octokit": {}
|
|
169564
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
169540
169565
|
}
|
|
169541
169566
|
},
|
|
169542
169567
|
"/repos/{owner}/{repo}/issues/comments": {
|
|
@@ -182673,7 +182698,7 @@
|
|
|
182673
182698
|
"category": "issues",
|
|
182674
182699
|
"subcategory": null
|
|
182675
182700
|
},
|
|
182676
|
-
"x-octokit": {}
|
|
182701
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
182677
182702
|
}
|
|
182678
182703
|
},
|
|
182679
182704
|
"/repos/{owner}/{repo}/issues/{issue_number}/assignees": {
|
|
@@ -184705,7 +184730,7 @@
|
|
|
184705
184730
|
"category": "issues",
|
|
184706
184731
|
"subcategory": "assignees"
|
|
184707
184732
|
},
|
|
184708
|
-
"x-octokit": {}
|
|
184733
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
184709
184734
|
},
|
|
184710
184735
|
"delete": {
|
|
184711
184736
|
"summary": "Remove assignees from an issue",
|
|
@@ -212045,21 +212070,6 @@
|
|
|
212045
212070
|
}
|
|
212046
212071
|
}
|
|
212047
212072
|
},
|
|
212048
|
-
"415": {
|
|
212049
|
-
"description": "Preview header missing",
|
|
212050
|
-
"content": {
|
|
212051
|
-
"application/json": {
|
|
212052
|
-
"schema": {
|
|
212053
|
-
"type": "object",
|
|
212054
|
-
"required": ["message", "documentation_url"],
|
|
212055
|
-
"properties": {
|
|
212056
|
-
"message": { "type": "string" },
|
|
212057
|
-
"documentation_url": { "type": "string" }
|
|
212058
|
-
}
|
|
212059
|
-
}
|
|
212060
|
-
}
|
|
212061
|
-
}
|
|
212062
|
-
},
|
|
212063
212073
|
"422": {
|
|
212064
212074
|
"description": "Validation failed",
|
|
212065
212075
|
"content": {
|
|
@@ -212106,15 +212116,15 @@
|
|
|
212106
212116
|
"x-github": {
|
|
212107
212117
|
"githubCloudOnly": false,
|
|
212108
212118
|
"enabledForGitHubApps": true,
|
|
212119
|
+
"category": "repos",
|
|
212120
|
+
"subcategory": "pages",
|
|
212109
212121
|
"previews": [
|
|
212110
212122
|
{
|
|
212111
212123
|
"required": true,
|
|
212112
212124
|
"name": "switcheroo",
|
|
212113
212125
|
"note": "Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/) preview for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.switcheroo-preview+json\n```"
|
|
212114
212126
|
}
|
|
212115
|
-
]
|
|
212116
|
-
"category": "repos",
|
|
212117
|
-
"subcategory": "pages"
|
|
212127
|
+
]
|
|
212118
212128
|
},
|
|
212119
212129
|
"x-octokit": {}
|
|
212120
212130
|
},
|
|
@@ -212334,21 +212344,6 @@
|
|
|
212334
212344
|
}
|
|
212335
212345
|
}
|
|
212336
212346
|
},
|
|
212337
|
-
"415": {
|
|
212338
|
-
"description": "Preview header missing",
|
|
212339
|
-
"content": {
|
|
212340
|
-
"application/json": {
|
|
212341
|
-
"schema": {
|
|
212342
|
-
"type": "object",
|
|
212343
|
-
"required": ["message", "documentation_url"],
|
|
212344
|
-
"properties": {
|
|
212345
|
-
"message": { "type": "string" },
|
|
212346
|
-
"documentation_url": { "type": "string" }
|
|
212347
|
-
}
|
|
212348
|
-
}
|
|
212349
|
-
}
|
|
212350
|
-
}
|
|
212351
|
-
},
|
|
212352
212347
|
"422": {
|
|
212353
212348
|
"description": "Validation failed",
|
|
212354
212349
|
"content": {
|
|
@@ -212395,15 +212390,15 @@
|
|
|
212395
212390
|
"x-github": {
|
|
212396
212391
|
"githubCloudOnly": false,
|
|
212397
212392
|
"enabledForGitHubApps": true,
|
|
212393
|
+
"category": "repos",
|
|
212394
|
+
"subcategory": "pages",
|
|
212398
212395
|
"previews": [
|
|
212399
212396
|
{
|
|
212400
212397
|
"required": true,
|
|
212401
212398
|
"name": "switcheroo",
|
|
212402
212399
|
"note": "Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/) preview for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.switcheroo-preview+json\n```"
|
|
212403
212400
|
}
|
|
212404
|
-
]
|
|
212405
|
-
"category": "repos",
|
|
212406
|
-
"subcategory": "pages"
|
|
212401
|
+
]
|
|
212407
212402
|
},
|
|
212408
212403
|
"x-octokit": {}
|
|
212409
212404
|
}
|
|
@@ -219017,6 +219012,10 @@
|
|
|
219017
219012
|
"master_branch": { "type": "string" },
|
|
219018
219013
|
"archived": { "type": "boolean" },
|
|
219019
219014
|
"disabled": { "type": "boolean" },
|
|
219015
|
+
"visibility": {
|
|
219016
|
+
"description": "The repository visibility: public, private, or internal.",
|
|
219017
|
+
"type": "string"
|
|
219018
|
+
},
|
|
219020
219019
|
"mirror_url": {
|
|
219021
219020
|
"type": "string",
|
|
219022
219021
|
"format": "uri",
|
|
@@ -219086,7 +219085,8 @@
|
|
|
219086
219085
|
"type": "string",
|
|
219087
219086
|
"format": "date-time"
|
|
219088
219087
|
},
|
|
219089
|
-
"allow_forking": { "type": "boolean" }
|
|
219088
|
+
"allow_forking": { "type": "boolean" },
|
|
219089
|
+
"is_template": { "type": "boolean" }
|
|
219090
219090
|
},
|
|
219091
219091
|
"required": [
|
|
219092
219092
|
"archive_url",
|
|
@@ -219269,6 +219269,7 @@
|
|
|
219269
219269
|
"hooks_url": { "type": "string", "format": "uri" },
|
|
219270
219270
|
"html_url": { "type": "string", "format": "uri" },
|
|
219271
219271
|
"id": { "type": "integer" },
|
|
219272
|
+
"is_template": { "type": "boolean" },
|
|
219272
219273
|
"node_id": { "type": "string" },
|
|
219273
219274
|
"issue_comment_url": { "type": "string" },
|
|
219274
219275
|
"issue_events_url": { "type": "string" },
|
|
@@ -219389,6 +219390,10 @@
|
|
|
219389
219390
|
"master_branch": { "type": "string" },
|
|
219390
219391
|
"archived": { "type": "boolean" },
|
|
219391
219392
|
"disabled": { "type": "boolean" },
|
|
219393
|
+
"visibility": {
|
|
219394
|
+
"description": "The repository visibility: public, private, or internal.",
|
|
219395
|
+
"type": "string"
|
|
219396
|
+
},
|
|
219392
219397
|
"mirror_url": {
|
|
219393
219398
|
"type": "string",
|
|
219394
219399
|
"format": "uri",
|
|
@@ -223932,6 +223937,10 @@
|
|
|
223932
223937
|
"master_branch": { "type": "string" },
|
|
223933
223938
|
"archived": { "type": "boolean" },
|
|
223934
223939
|
"disabled": { "type": "boolean" },
|
|
223940
|
+
"visibility": {
|
|
223941
|
+
"description": "The repository visibility: public, private, or internal.",
|
|
223942
|
+
"type": "string"
|
|
223943
|
+
},
|
|
223935
223944
|
"mirror_url": {
|
|
223936
223945
|
"type": "string",
|
|
223937
223946
|
"format": "uri",
|
|
@@ -224001,7 +224010,8 @@
|
|
|
224001
224010
|
"type": "string",
|
|
224002
224011
|
"format": "date-time"
|
|
224003
224012
|
},
|
|
224004
|
-
"allow_forking": { "type": "boolean" }
|
|
224013
|
+
"allow_forking": { "type": "boolean" },
|
|
224014
|
+
"is_template": { "type": "boolean" }
|
|
224005
224015
|
},
|
|
224006
224016
|
"required": [
|
|
224007
224017
|
"archive_url",
|
|
@@ -224184,6 +224194,7 @@
|
|
|
224184
224194
|
"hooks_url": { "type": "string", "format": "uri" },
|
|
224185
224195
|
"html_url": { "type": "string", "format": "uri" },
|
|
224186
224196
|
"id": { "type": "integer" },
|
|
224197
|
+
"is_template": { "type": "boolean" },
|
|
224187
224198
|
"node_id": { "type": "string" },
|
|
224188
224199
|
"issue_comment_url": { "type": "string" },
|
|
224189
224200
|
"issue_events_url": { "type": "string" },
|
|
@@ -224304,6 +224315,10 @@
|
|
|
224304
224315
|
"master_branch": { "type": "string" },
|
|
224305
224316
|
"archived": { "type": "boolean" },
|
|
224306
224317
|
"disabled": { "type": "boolean" },
|
|
224318
|
+
"visibility": {
|
|
224319
|
+
"description": "The repository visibility: public, private, or internal.",
|
|
224320
|
+
"type": "string"
|
|
224321
|
+
},
|
|
224307
224322
|
"mirror_url": {
|
|
224308
224323
|
"type": "string",
|
|
224309
224324
|
"format": "uri",
|
|
@@ -226556,6 +226571,10 @@
|
|
|
226556
226571
|
"master_branch": { "type": "string" },
|
|
226557
226572
|
"archived": { "type": "boolean" },
|
|
226558
226573
|
"disabled": { "type": "boolean" },
|
|
226574
|
+
"visibility": {
|
|
226575
|
+
"description": "The repository visibility: public, private, or internal.",
|
|
226576
|
+
"type": "string"
|
|
226577
|
+
},
|
|
226559
226578
|
"mirror_url": {
|
|
226560
226579
|
"type": "string",
|
|
226561
226580
|
"format": "uri",
|
|
@@ -226625,7 +226644,8 @@
|
|
|
226625
226644
|
"type": "string",
|
|
226626
226645
|
"format": "date-time"
|
|
226627
226646
|
},
|
|
226628
|
-
"allow_forking": { "type": "boolean" }
|
|
226647
|
+
"allow_forking": { "type": "boolean" },
|
|
226648
|
+
"is_template": { "type": "boolean" }
|
|
226629
226649
|
},
|
|
226630
226650
|
"required": [
|
|
226631
226651
|
"archive_url",
|
|
@@ -226808,6 +226828,7 @@
|
|
|
226808
226828
|
"hooks_url": { "type": "string", "format": "uri" },
|
|
226809
226829
|
"html_url": { "type": "string", "format": "uri" },
|
|
226810
226830
|
"id": { "type": "integer" },
|
|
226831
|
+
"is_template": { "type": "boolean" },
|
|
226811
226832
|
"node_id": { "type": "string" },
|
|
226812
226833
|
"issue_comment_url": { "type": "string" },
|
|
226813
226834
|
"issue_events_url": { "type": "string" },
|
|
@@ -226928,6 +226949,10 @@
|
|
|
226928
226949
|
"master_branch": { "type": "string" },
|
|
226929
226950
|
"archived": { "type": "boolean" },
|
|
226930
226951
|
"disabled": { "type": "boolean" },
|
|
226952
|
+
"visibility": {
|
|
226953
|
+
"description": "The repository visibility: public, private, or internal.",
|
|
226954
|
+
"type": "string"
|
|
226955
|
+
},
|
|
226931
226956
|
"mirror_url": {
|
|
226932
226957
|
"type": "string",
|
|
226933
226958
|
"format": "uri",
|
|
@@ -234736,7 +234761,7 @@
|
|
|
234736
234761
|
"category": "pulls",
|
|
234737
234762
|
"subcategory": "review-requests"
|
|
234738
234763
|
},
|
|
234739
|
-
"x-octokit": {}
|
|
234764
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
234740
234765
|
},
|
|
234741
234766
|
"delete": {
|
|
234742
234767
|
"summary": "Remove requested reviewers from a pull request",
|
|
@@ -242277,7 +242302,7 @@
|
|
|
242277
242302
|
"category": "repos",
|
|
242278
242303
|
"subcategory": "releases"
|
|
242279
242304
|
},
|
|
242280
|
-
"x-octokit": {}
|
|
242305
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
242281
242306
|
}
|
|
242282
242307
|
},
|
|
242283
242308
|
"/repos/{owner}/{repo}/releases/assets/{asset_id}": {
|
|
@@ -244877,7 +244902,7 @@
|
|
|
244877
244902
|
"category": "repos",
|
|
244878
244903
|
"subcategory": "releases"
|
|
244879
244904
|
},
|
|
244880
|
-
"x-octokit": {}
|
|
244905
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
244881
244906
|
},
|
|
244882
244907
|
"delete": {
|
|
244883
244908
|
"summary": "Delete a release",
|
|
@@ -245471,7 +245496,14 @@
|
|
|
245471
245496
|
{
|
|
245472
245497
|
"name": "secret_type",
|
|
245473
245498
|
"in": "query",
|
|
245474
|
-
"description": "A comma
|
|
245499
|
+
"description": "A comma-separated list of secret types to return. By default all secret types are returned. See \"[About secret scanning for private repositories](https://docs.github.com/enterprise-server@3.1/code-security/secret-security/about-secret-scanning#about-secret-scanning-for-private-repositories)\" for a complete list of secret types (API slug).",
|
|
245500
|
+
"required": false,
|
|
245501
|
+
"schema": { "type": "string" }
|
|
245502
|
+
},
|
|
245503
|
+
{
|
|
245504
|
+
"name": "resolution",
|
|
245505
|
+
"in": "query",
|
|
245506
|
+
"description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.",
|
|
245475
245507
|
"required": false,
|
|
245476
245508
|
"schema": { "type": "string" }
|
|
245477
245509
|
},
|
|
@@ -245979,6 +246011,7 @@
|
|
|
245979
246011
|
}
|
|
245980
246012
|
}
|
|
245981
246013
|
},
|
|
246014
|
+
"304": { "description": "Not modified" },
|
|
245982
246015
|
"404": {
|
|
245983
246016
|
"description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found"
|
|
245984
246017
|
},
|
|
@@ -249768,7 +249801,7 @@
|
|
|
249768
249801
|
"category": "repos",
|
|
249769
249802
|
"subcategory": null
|
|
249770
249803
|
},
|
|
249771
|
-
"x-octokit": {}
|
|
249804
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
249772
249805
|
}
|
|
249773
249806
|
},
|
|
249774
249807
|
"/repos/{owner}/{repo}/zipball/{ref}": {
|
|
@@ -250815,17 +250848,16 @@
|
|
|
250815
250848
|
"x-github": {
|
|
250816
250849
|
"githubCloudOnly": false,
|
|
250817
250850
|
"enabledForGitHubApps": false,
|
|
250851
|
+
"category": "repos",
|
|
250818
250852
|
"previews": [
|
|
250819
250853
|
{
|
|
250820
250854
|
"required": true,
|
|
250821
250855
|
"name": "baptiste",
|
|
250822
250856
|
"note": "Creating and using repository templates is currently available for developers to preview. To access this new endpoint during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```"
|
|
250823
250857
|
}
|
|
250824
|
-
]
|
|
250825
|
-
"category": "repos",
|
|
250826
|
-
"subcategory": null
|
|
250858
|
+
]
|
|
250827
250859
|
},
|
|
250828
|
-
"x-octokit": {}
|
|
250860
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
250829
250861
|
}
|
|
250830
250862
|
},
|
|
250831
250863
|
"/repositories": {
|
|
@@ -255701,35 +255733,19 @@
|
|
|
255701
255733
|
}
|
|
255702
255734
|
}
|
|
255703
255735
|
},
|
|
255704
|
-
"304": { "description": "Not modified" }
|
|
255705
|
-
"415": {
|
|
255706
|
-
"description": "Preview header missing",
|
|
255707
|
-
"content": {
|
|
255708
|
-
"application/json": {
|
|
255709
|
-
"schema": {
|
|
255710
|
-
"type": "object",
|
|
255711
|
-
"required": ["message", "documentation_url"],
|
|
255712
|
-
"properties": {
|
|
255713
|
-
"message": { "type": "string" },
|
|
255714
|
-
"documentation_url": { "type": "string" }
|
|
255715
|
-
}
|
|
255716
|
-
}
|
|
255717
|
-
}
|
|
255718
|
-
}
|
|
255719
|
-
}
|
|
255736
|
+
"304": { "description": "Not modified" }
|
|
255720
255737
|
},
|
|
255721
255738
|
"x-github": {
|
|
255722
255739
|
"githubCloudOnly": false,
|
|
255723
255740
|
"enabledForGitHubApps": true,
|
|
255741
|
+
"category": "search",
|
|
255724
255742
|
"previews": [
|
|
255725
255743
|
{
|
|
255726
255744
|
"required": true,
|
|
255727
255745
|
"name": "cloak",
|
|
255728
255746
|
"note": "The Commit Search API is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2017-01-05-commit-search-api/) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.cloak-preview\n```"
|
|
255729
255747
|
}
|
|
255730
|
-
]
|
|
255731
|
-
"category": "search",
|
|
255732
|
-
"subcategory": null
|
|
255748
|
+
]
|
|
255733
255749
|
},
|
|
255734
255750
|
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
255735
255751
|
}
|
|
@@ -258348,6 +258364,10 @@
|
|
|
258348
258364
|
"type": "boolean",
|
|
258349
258365
|
"description": "Returns whether or not this repository disabled."
|
|
258350
258366
|
},
|
|
258367
|
+
"visibility": {
|
|
258368
|
+
"description": "The repository visibility: public, private, or internal.",
|
|
258369
|
+
"type": "string"
|
|
258370
|
+
},
|
|
258351
258371
|
"license": {
|
|
258352
258372
|
"title": "License Simple",
|
|
258353
258373
|
"description": "License Simple",
|
|
@@ -258429,7 +258449,8 @@
|
|
|
258429
258449
|
"allow_squash_merge": { "type": "boolean" },
|
|
258430
258450
|
"allow_rebase_merge": { "type": "boolean" },
|
|
258431
258451
|
"delete_branch_on_merge": { "type": "boolean" },
|
|
258432
|
-
"allow_forking": { "type": "boolean" }
|
|
258452
|
+
"allow_forking": { "type": "boolean" },
|
|
258453
|
+
"is_template": { "type": "boolean" }
|
|
258433
258454
|
},
|
|
258434
258455
|
"required": [
|
|
258435
258456
|
"archive_url",
|
|
@@ -258611,6 +258632,7 @@
|
|
|
258611
258632
|
"has_downloads": true,
|
|
258612
258633
|
"archived": true,
|
|
258613
258634
|
"disabled": true,
|
|
258635
|
+
"visibility": "private",
|
|
258614
258636
|
"license": {
|
|
258615
258637
|
"key": "mit",
|
|
258616
258638
|
"name": "MIT License",
|
|
@@ -271618,7 +271640,7 @@
|
|
|
271618
271640
|
"summary": "List email addresses for the authenticated user",
|
|
271619
271641
|
"description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.",
|
|
271620
271642
|
"tags": ["users"],
|
|
271621
|
-
"operationId": "users/list-emails-for-authenticated",
|
|
271643
|
+
"operationId": "users/list-emails-for-authenticated-user",
|
|
271622
271644
|
"externalDocs": {
|
|
271623
271645
|
"description": "API method documentation",
|
|
271624
271646
|
"url": "https://docs.github.com/enterprise-server@3.1/rest/reference/users#list-email-addresses-for-the-authenticated-user"
|
|
@@ -271749,13 +271771,21 @@
|
|
|
271749
271771
|
"category": "users",
|
|
271750
271772
|
"subcategory": "emails"
|
|
271751
271773
|
},
|
|
271752
|
-
"x-octokit": {
|
|
271774
|
+
"x-octokit": {
|
|
271775
|
+
"changes": [
|
|
271776
|
+
{
|
|
271777
|
+
"type": "OPERATION",
|
|
271778
|
+
"date": "2021-10-05",
|
|
271779
|
+
"before": { "operationId": "users/list-emails-for-authenticated" }
|
|
271780
|
+
}
|
|
271781
|
+
]
|
|
271782
|
+
}
|
|
271753
271783
|
},
|
|
271754
271784
|
"post": {
|
|
271755
271785
|
"summary": "Add an email address for the authenticated user",
|
|
271756
271786
|
"description": "This endpoint is accessible with the `user` scope.",
|
|
271757
271787
|
"tags": ["users"],
|
|
271758
|
-
"operationId": "users/add-email-for-authenticated",
|
|
271788
|
+
"operationId": "users/add-email-for-authenticated-user",
|
|
271759
271789
|
"externalDocs": {
|
|
271760
271790
|
"description": "API method documentation",
|
|
271761
271791
|
"url": "https://docs.github.com/enterprise-server@3.1/rest/reference/users#add-an-email-address-for-the-authenticated-user"
|
|
@@ -271950,13 +271980,21 @@
|
|
|
271950
271980
|
"category": "users",
|
|
271951
271981
|
"subcategory": "emails"
|
|
271952
271982
|
},
|
|
271953
|
-
"x-octokit": {
|
|
271983
|
+
"x-octokit": {
|
|
271984
|
+
"changes": [
|
|
271985
|
+
{
|
|
271986
|
+
"type": "OPERATION",
|
|
271987
|
+
"date": "2021-10-05",
|
|
271988
|
+
"before": { "operationId": "users/add-email-for-authenticated" }
|
|
271989
|
+
}
|
|
271990
|
+
]
|
|
271991
|
+
}
|
|
271954
271992
|
},
|
|
271955
271993
|
"delete": {
|
|
271956
271994
|
"summary": "Delete an email address for the authenticated user",
|
|
271957
271995
|
"description": "This endpoint is accessible with the `user` scope.",
|
|
271958
271996
|
"tags": ["users"],
|
|
271959
|
-
"operationId": "users/delete-email-for-authenticated",
|
|
271997
|
+
"operationId": "users/delete-email-for-authenticated-user",
|
|
271960
271998
|
"externalDocs": {
|
|
271961
271999
|
"description": "API method documentation",
|
|
271962
272000
|
"url": "https://docs.github.com/enterprise-server@3.1/rest/reference/users#delete-an-email-address-for-the-authenticated-user"
|
|
@@ -272098,7 +272136,17 @@
|
|
|
272098
272136
|
"category": "users",
|
|
272099
272137
|
"subcategory": "emails"
|
|
272100
272138
|
},
|
|
272101
|
-
"x-octokit": {
|
|
272139
|
+
"x-octokit": {
|
|
272140
|
+
"changes": [
|
|
272141
|
+
{
|
|
272142
|
+
"type": "OPERATION",
|
|
272143
|
+
"date": "2021-10-05",
|
|
272144
|
+
"before": {
|
|
272145
|
+
"operationId": "users/delete-email-for-authenticated"
|
|
272146
|
+
}
|
|
272147
|
+
}
|
|
272148
|
+
]
|
|
272149
|
+
}
|
|
272102
272150
|
}
|
|
272103
272151
|
},
|
|
272104
272152
|
"/user/followers": {
|
|
@@ -272323,7 +272371,7 @@
|
|
|
272323
272371
|
"summary": "List the people the authenticated user follows",
|
|
272324
272372
|
"description": "Lists the people who the authenticated user follows.",
|
|
272325
272373
|
"tags": ["users"],
|
|
272326
|
-
"operationId": "users/list-followed-by-authenticated",
|
|
272374
|
+
"operationId": "users/list-followed-by-authenticated-user",
|
|
272327
272375
|
"externalDocs": {
|
|
272328
272376
|
"description": "API method documentation",
|
|
272329
272377
|
"url": "https://docs.github.com/enterprise-server@3.1/rest/reference/users#list-the-people-the-authenticated-user-follows"
|
|
@@ -272532,7 +272580,17 @@
|
|
|
272532
272580
|
"category": "users",
|
|
272533
272581
|
"subcategory": "followers"
|
|
272534
272582
|
},
|
|
272535
|
-
"x-octokit": {
|
|
272583
|
+
"x-octokit": {
|
|
272584
|
+
"changes": [
|
|
272585
|
+
{
|
|
272586
|
+
"type": "OPERATION",
|
|
272587
|
+
"date": "2021-10-05",
|
|
272588
|
+
"before": {
|
|
272589
|
+
"operationId": "users/list-followed-by-authenticated"
|
|
272590
|
+
}
|
|
272591
|
+
}
|
|
272592
|
+
]
|
|
272593
|
+
}
|
|
272536
272594
|
}
|
|
272537
272595
|
},
|
|
272538
272596
|
"/user/following/{username}": {
|
|
@@ -272796,7 +272854,7 @@
|
|
|
272796
272854
|
"summary": "List GPG keys for the authenticated user",
|
|
272797
272855
|
"description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).",
|
|
272798
272856
|
"tags": ["users"],
|
|
272799
|
-
"operationId": "users/list-gpg-keys-for-authenticated",
|
|
272857
|
+
"operationId": "users/list-gpg-keys-for-authenticated-user",
|
|
272800
272858
|
"externalDocs": {
|
|
272801
272859
|
"description": "API method documentation",
|
|
272802
272860
|
"url": "https://docs.github.com/enterprise-server@3.1/rest/reference/users#list-gpg-keys-for-the-authenticated-user"
|
|
@@ -273039,12 +273097,22 @@
|
|
|
273039
273097
|
"category": "users",
|
|
273040
273098
|
"subcategory": "gpg-keys"
|
|
273041
273099
|
},
|
|
273042
|
-
"x-octokit": {
|
|
273100
|
+
"x-octokit": {
|
|
273101
|
+
"changes": [
|
|
273102
|
+
{
|
|
273103
|
+
"type": "OPERATION",
|
|
273104
|
+
"date": "2021-10-05",
|
|
273105
|
+
"before": {
|
|
273106
|
+
"operationId": "users/list-gpg-keys-for-authenticated"
|
|
273107
|
+
}
|
|
273108
|
+
}
|
|
273109
|
+
]
|
|
273110
|
+
}
|
|
273043
273111
|
},
|
|
273044
273112
|
"post": {
|
|
273045
273113
|
"summary": "Create a GPG key for the authenticated user",
|
|
273046
273114
|
"description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).",
|
|
273047
|
-
"operationId": "users/create-gpg-key-for-authenticated",
|
|
273115
|
+
"operationId": "users/create-gpg-key-for-authenticated-user",
|
|
273048
273116
|
"tags": ["users"],
|
|
273049
273117
|
"externalDocs": {
|
|
273050
273118
|
"description": "API method documentation",
|
|
@@ -273320,7 +273388,17 @@
|
|
|
273320
273388
|
"category": "users",
|
|
273321
273389
|
"subcategory": "gpg-keys"
|
|
273322
273390
|
},
|
|
273323
|
-
"x-octokit": {
|
|
273391
|
+
"x-octokit": {
|
|
273392
|
+
"changes": [
|
|
273393
|
+
{
|
|
273394
|
+
"type": "OPERATION",
|
|
273395
|
+
"date": "2021-10-05",
|
|
273396
|
+
"before": {
|
|
273397
|
+
"operationId": "users/create-gpg-key-for-authenticated"
|
|
273398
|
+
}
|
|
273399
|
+
}
|
|
273400
|
+
]
|
|
273401
|
+
}
|
|
273324
273402
|
}
|
|
273325
273403
|
},
|
|
273326
273404
|
"/user/gpg_keys/{gpg_key_id}": {
|
|
@@ -273328,7 +273406,7 @@
|
|
|
273328
273406
|
"summary": "Get a GPG key for the authenticated user",
|
|
273329
273407
|
"description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).",
|
|
273330
273408
|
"tags": ["users"],
|
|
273331
|
-
"operationId": "users/get-gpg-key-for-authenticated",
|
|
273409
|
+
"operationId": "users/get-gpg-key-for-authenticated-user",
|
|
273332
273410
|
"externalDocs": {
|
|
273333
273411
|
"description": "API method documentation",
|
|
273334
273412
|
"url": "https://docs.github.com/enterprise-server@3.1/rest/reference/users#get-a-gpg-key-for-the-authenticated-user"
|
|
@@ -273552,13 +273630,21 @@
|
|
|
273552
273630
|
"category": "users",
|
|
273553
273631
|
"subcategory": "gpg-keys"
|
|
273554
273632
|
},
|
|
273555
|
-
"x-octokit": {
|
|
273633
|
+
"x-octokit": {
|
|
273634
|
+
"changes": [
|
|
273635
|
+
{
|
|
273636
|
+
"type": "OPERATION",
|
|
273637
|
+
"date": "2021-10-05",
|
|
273638
|
+
"before": { "operationId": "users/get-gpg-key-for-authenticated" }
|
|
273639
|
+
}
|
|
273640
|
+
]
|
|
273641
|
+
}
|
|
273556
273642
|
},
|
|
273557
273643
|
"delete": {
|
|
273558
273644
|
"summary": "Delete a GPG key for the authenticated user",
|
|
273559
273645
|
"description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).",
|
|
273560
273646
|
"tags": ["users"],
|
|
273561
|
-
"operationId": "users/delete-gpg-key-for-authenticated",
|
|
273647
|
+
"operationId": "users/delete-gpg-key-for-authenticated-user",
|
|
273562
273648
|
"externalDocs": {
|
|
273563
273649
|
"description": "API method documentation",
|
|
273564
273650
|
"url": "https://docs.github.com/enterprise-server@3.1/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user"
|
|
@@ -273679,7 +273765,17 @@
|
|
|
273679
273765
|
"category": "users",
|
|
273680
273766
|
"subcategory": "gpg-keys"
|
|
273681
273767
|
},
|
|
273682
|
-
"x-octokit": {
|
|
273768
|
+
"x-octokit": {
|
|
273769
|
+
"changes": [
|
|
273770
|
+
{
|
|
273771
|
+
"type": "OPERATION",
|
|
273772
|
+
"date": "2021-10-05",
|
|
273773
|
+
"before": {
|
|
273774
|
+
"operationId": "users/delete-gpg-key-for-authenticated"
|
|
273775
|
+
}
|
|
273776
|
+
}
|
|
273777
|
+
]
|
|
273778
|
+
}
|
|
273683
273779
|
}
|
|
273684
273780
|
},
|
|
273685
273781
|
"/user/installations": {
|
|
@@ -275512,7 +275608,7 @@
|
|
|
275512
275608
|
"summary": "Add a repository to an app installation",
|
|
275513
275609
|
"description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@3.1/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@3.1/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.",
|
|
275514
275610
|
"tags": ["apps"],
|
|
275515
|
-
"operationId": "apps/add-repo-to-installation",
|
|
275611
|
+
"operationId": "apps/add-repo-to-installation-for-authenticated-user",
|
|
275516
275612
|
"externalDocs": {
|
|
275517
275613
|
"description": "API method documentation",
|
|
275518
275614
|
"url": "https://docs.github.com/enterprise-server@3.1/rest/reference/apps#add-a-repository-to-an-app-installation"
|
|
@@ -275579,13 +275675,21 @@
|
|
|
275579
275675
|
"category": "apps",
|
|
275580
275676
|
"subcategory": "installations"
|
|
275581
275677
|
},
|
|
275582
|
-
"x-octokit": {
|
|
275678
|
+
"x-octokit": {
|
|
275679
|
+
"changes": [
|
|
275680
|
+
{
|
|
275681
|
+
"type": "OPERATION",
|
|
275682
|
+
"date": "2021-10-05",
|
|
275683
|
+
"before": { "operationId": "apps/add-repo-to-installation" }
|
|
275684
|
+
}
|
|
275685
|
+
]
|
|
275686
|
+
}
|
|
275583
275687
|
},
|
|
275584
275688
|
"delete": {
|
|
275585
275689
|
"summary": "Remove a repository from an app installation",
|
|
275586
275690
|
"description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://docs.github.com/enterprise-server@3.1/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/enterprise-server@3.1/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.",
|
|
275587
275691
|
"tags": ["apps"],
|
|
275588
|
-
"operationId": "apps/remove-repo-from-installation",
|
|
275692
|
+
"operationId": "apps/remove-repo-from-installation-for-authenticated-user",
|
|
275589
275693
|
"externalDocs": {
|
|
275590
275694
|
"description": "API method documentation",
|
|
275591
275695
|
"url": "https://docs.github.com/enterprise-server@3.1/rest/reference/apps#remove-a-repository-from-an-app-installation"
|
|
@@ -275652,7 +275756,15 @@
|
|
|
275652
275756
|
"category": "apps",
|
|
275653
275757
|
"subcategory": "installations"
|
|
275654
275758
|
},
|
|
275655
|
-
"x-octokit": {
|
|
275759
|
+
"x-octokit": {
|
|
275760
|
+
"changes": [
|
|
275761
|
+
{
|
|
275762
|
+
"type": "OPERATION",
|
|
275763
|
+
"date": "2021-10-05",
|
|
275764
|
+
"before": { "operationId": "apps/remove-repo-from-installation" }
|
|
275765
|
+
}
|
|
275766
|
+
]
|
|
275767
|
+
}
|
|
275656
275768
|
}
|
|
275657
275769
|
},
|
|
275658
275770
|
"/user/issues": {
|
|
@@ -277885,7 +277997,7 @@
|
|
|
277885
277997
|
"summary": "List public SSH keys for the authenticated user",
|
|
277886
277998
|
"description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).",
|
|
277887
277999
|
"tags": ["users"],
|
|
277888
|
-
"operationId": "users/list-public-ssh-keys-for-authenticated",
|
|
278000
|
+
"operationId": "users/list-public-ssh-keys-for-authenticated-user",
|
|
277889
278001
|
"externalDocs": {
|
|
277890
278002
|
"description": "API method documentation",
|
|
277891
278003
|
"url": "https://docs.github.com/enterprise-server@3.1/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user"
|
|
@@ -278031,12 +278143,22 @@
|
|
|
278031
278143
|
"category": "users",
|
|
278032
278144
|
"subcategory": "keys"
|
|
278033
278145
|
},
|
|
278034
|
-
"x-octokit": {
|
|
278146
|
+
"x-octokit": {
|
|
278147
|
+
"changes": [
|
|
278148
|
+
{
|
|
278149
|
+
"type": "OPERATION",
|
|
278150
|
+
"date": "2021-10-05",
|
|
278151
|
+
"before": {
|
|
278152
|
+
"operationId": "users/list-public-ssh-keys-for-authenticated"
|
|
278153
|
+
}
|
|
278154
|
+
}
|
|
278155
|
+
]
|
|
278156
|
+
}
|
|
278035
278157
|
},
|
|
278036
278158
|
"post": {
|
|
278037
278159
|
"summary": "Create a public SSH key for the authenticated user",
|
|
278038
278160
|
"description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).",
|
|
278039
|
-
"operationId": "users/create-public-ssh-key-for-authenticated",
|
|
278161
|
+
"operationId": "users/create-public-ssh-key-for-authenticated-user",
|
|
278040
278162
|
"tags": ["users"],
|
|
278041
278163
|
"externalDocs": {
|
|
278042
278164
|
"description": "API method documentation",
|
|
@@ -278215,7 +278337,17 @@
|
|
|
278215
278337
|
"category": "users",
|
|
278216
278338
|
"subcategory": "keys"
|
|
278217
278339
|
},
|
|
278218
|
-
"x-octokit": {
|
|
278340
|
+
"x-octokit": {
|
|
278341
|
+
"changes": [
|
|
278342
|
+
{
|
|
278343
|
+
"type": "OPERATION",
|
|
278344
|
+
"date": "2021-10-05",
|
|
278345
|
+
"before": {
|
|
278346
|
+
"operationId": "users/create-public-ssh-key-for-authenticated"
|
|
278347
|
+
}
|
|
278348
|
+
}
|
|
278349
|
+
]
|
|
278350
|
+
}
|
|
278219
278351
|
}
|
|
278220
278352
|
},
|
|
278221
278353
|
"/user/keys/{key_id}": {
|
|
@@ -278223,7 +278355,7 @@
|
|
|
278223
278355
|
"summary": "Get a public SSH key for the authenticated user",
|
|
278224
278356
|
"description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).",
|
|
278225
278357
|
"tags": ["users"],
|
|
278226
|
-
"operationId": "users/get-public-ssh-key-for-authenticated",
|
|
278358
|
+
"operationId": "users/get-public-ssh-key-for-authenticated-user",
|
|
278227
278359
|
"externalDocs": {
|
|
278228
278360
|
"description": "API method documentation",
|
|
278229
278361
|
"url": "https://docs.github.com/enterprise-server@3.1/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user"
|
|
@@ -278344,13 +278476,23 @@
|
|
|
278344
278476
|
"category": "users",
|
|
278345
278477
|
"subcategory": "keys"
|
|
278346
278478
|
},
|
|
278347
|
-
"x-octokit": {
|
|
278479
|
+
"x-octokit": {
|
|
278480
|
+
"changes": [
|
|
278481
|
+
{
|
|
278482
|
+
"type": "OPERATION",
|
|
278483
|
+
"date": "2021-10-05",
|
|
278484
|
+
"before": {
|
|
278485
|
+
"operationId": "users/get-public-ssh-key-for-authenticated"
|
|
278486
|
+
}
|
|
278487
|
+
}
|
|
278488
|
+
]
|
|
278489
|
+
}
|
|
278348
278490
|
},
|
|
278349
278491
|
"delete": {
|
|
278350
278492
|
"summary": "Delete a public SSH key for the authenticated user",
|
|
278351
278493
|
"description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/enterprise-server@3.1/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).",
|
|
278352
278494
|
"tags": ["users"],
|
|
278353
|
-
"operationId": "users/delete-public-ssh-key-for-authenticated",
|
|
278495
|
+
"operationId": "users/delete-public-ssh-key-for-authenticated-user",
|
|
278354
278496
|
"externalDocs": {
|
|
278355
278497
|
"description": "API method documentation",
|
|
278356
278498
|
"url": "https://docs.github.com/enterprise-server@3.1/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user"
|
|
@@ -278429,7 +278571,17 @@
|
|
|
278429
278571
|
"category": "users",
|
|
278430
278572
|
"subcategory": "keys"
|
|
278431
278573
|
},
|
|
278432
|
-
"x-octokit": {
|
|
278574
|
+
"x-octokit": {
|
|
278575
|
+
"changes": [
|
|
278576
|
+
{
|
|
278577
|
+
"type": "OPERATION",
|
|
278578
|
+
"date": "2021-10-05",
|
|
278579
|
+
"before": {
|
|
278580
|
+
"operationId": "users/delete-public-ssh-key-for-authenticated"
|
|
278581
|
+
}
|
|
278582
|
+
}
|
|
278583
|
+
]
|
|
278584
|
+
}
|
|
278433
278585
|
}
|
|
278434
278586
|
},
|
|
278435
278587
|
"/user/memberships/orgs": {
|
|
@@ -280125,7 +280277,7 @@
|
|
|
280125
280277
|
"summary": "List public email addresses for the authenticated user",
|
|
280126
280278
|
"description": "Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/enterprise-server@3.1/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.",
|
|
280127
280279
|
"tags": ["users"],
|
|
280128
|
-
"operationId": "users/list-public-emails-for-authenticated",
|
|
280280
|
+
"operationId": "users/list-public-emails-for-authenticated-user",
|
|
280129
280281
|
"externalDocs": {
|
|
280130
280282
|
"description": "API method documentation",
|
|
280131
280283
|
"url": "https://docs.github.com/enterprise-server@3.1/rest/reference/users#list-public-email-addresses-for-the-authenticated-user"
|
|
@@ -280256,7 +280408,17 @@
|
|
|
280256
280408
|
"category": "users",
|
|
280257
280409
|
"subcategory": "emails"
|
|
280258
280410
|
},
|
|
280259
|
-
"x-octokit": {
|
|
280411
|
+
"x-octokit": {
|
|
280412
|
+
"changes": [
|
|
280413
|
+
{
|
|
280414
|
+
"type": "OPERATION",
|
|
280415
|
+
"date": "2021-10-05",
|
|
280416
|
+
"before": {
|
|
280417
|
+
"operationId": "users/list-public-emails-for-authenticated"
|
|
280418
|
+
}
|
|
280419
|
+
}
|
|
280420
|
+
]
|
|
280421
|
+
}
|
|
280260
280422
|
}
|
|
280261
280423
|
},
|
|
280262
280424
|
"/user/repos": {
|
|
@@ -282538,6 +282700,7 @@
|
|
|
282538
282700
|
"x-github": {
|
|
282539
282701
|
"githubCloudOnly": false,
|
|
282540
282702
|
"enabledForGitHubApps": false,
|
|
282703
|
+
"category": "repos",
|
|
282541
282704
|
"previews": [
|
|
282542
282705
|
{
|
|
282543
282706
|
"required": false,
|
|
@@ -282549,11 +282712,9 @@
|
|
|
282549
282712
|
"name": "baptiste",
|
|
282550
282713
|
"note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```"
|
|
282551
282714
|
}
|
|
282552
|
-
]
|
|
282553
|
-
"category": "repos",
|
|
282554
|
-
"subcategory": null
|
|
282715
|
+
]
|
|
282555
282716
|
},
|
|
282556
|
-
"x-octokit": {}
|
|
282717
|
+
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
282557
282718
|
}
|
|
282558
282719
|
},
|
|
282559
282720
|
"/user/repository_invitations": {
|
|
@@ -284338,7 +284499,7 @@
|
|
|
284338
284499
|
"summary": "Accept a repository invitation",
|
|
284339
284500
|
"description": "",
|
|
284340
284501
|
"tags": ["repos"],
|
|
284341
|
-
"operationId": "repos/accept-invitation",
|
|
284502
|
+
"operationId": "repos/accept-invitation-for-authenticated-user",
|
|
284342
284503
|
"externalDocs": {
|
|
284343
284504
|
"description": "API method documentation",
|
|
284344
284505
|
"url": "https://docs.github.com/enterprise-server@3.1/rest/reference/repos#accept-a-repository-invitation"
|
|
@@ -284417,13 +284578,21 @@
|
|
|
284417
284578
|
"category": "repos",
|
|
284418
284579
|
"subcategory": "invitations"
|
|
284419
284580
|
},
|
|
284420
|
-
"x-octokit": {
|
|
284581
|
+
"x-octokit": {
|
|
284582
|
+
"changes": [
|
|
284583
|
+
{
|
|
284584
|
+
"type": "OPERATION",
|
|
284585
|
+
"date": "2021-10-05",
|
|
284586
|
+
"before": { "operationId": "repos/accept-invitation" }
|
|
284587
|
+
}
|
|
284588
|
+
]
|
|
284589
|
+
}
|
|
284421
284590
|
},
|
|
284422
284591
|
"delete": {
|
|
284423
284592
|
"summary": "Decline a repository invitation",
|
|
284424
284593
|
"description": "",
|
|
284425
284594
|
"tags": ["repos"],
|
|
284426
|
-
"operationId": "repos/decline-invitation",
|
|
284595
|
+
"operationId": "repos/decline-invitation-for-authenticated-user",
|
|
284427
284596
|
"externalDocs": {
|
|
284428
284597
|
"description": "API method documentation",
|
|
284429
284598
|
"url": "https://docs.github.com/enterprise-server@3.1/rest/reference/repos#decline-a-repository-invitation"
|
|
@@ -284502,7 +284671,15 @@
|
|
|
284502
284671
|
"category": "repos",
|
|
284503
284672
|
"subcategory": "invitations"
|
|
284504
284673
|
},
|
|
284505
|
-
"x-octokit": {
|
|
284674
|
+
"x-octokit": {
|
|
284675
|
+
"changes": [
|
|
284676
|
+
{
|
|
284677
|
+
"type": "OPERATION",
|
|
284678
|
+
"date": "2021-10-05",
|
|
284679
|
+
"before": { "operationId": "repos/decline-invitation" }
|
|
284680
|
+
}
|
|
284681
|
+
]
|
|
284682
|
+
}
|
|
284506
284683
|
}
|
|
284507
284684
|
},
|
|
284508
284685
|
"/user/starred": {
|
|
@@ -306235,15 +306412,14 @@
|
|
|
306235
306412
|
"x-github": {
|
|
306236
306413
|
"githubCloudOnly": false,
|
|
306237
306414
|
"enabledForGitHubApps": true,
|
|
306415
|
+
"category": "repos",
|
|
306238
306416
|
"previews": [
|
|
306239
306417
|
{
|
|
306240
306418
|
"required": false,
|
|
306241
306419
|
"name": "nebula",
|
|
306242
306420
|
"note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.1/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```"
|
|
306243
306421
|
}
|
|
306244
|
-
]
|
|
306245
|
-
"category": "repos",
|
|
306246
|
-
"subcategory": null
|
|
306422
|
+
]
|
|
306247
306423
|
},
|
|
306248
306424
|
"x-octokit": { "diff": { "ghes-3.2": { "type": "changed" } } }
|
|
306249
306425
|
}
|