@octokit/openapi 7.5.0 → 7.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 +2249 -268
- package/generated/api.github.com.json +1222 -129
- 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 +386 -28
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +43 -17
- package/generated/ghes-3.2.deref.json +778 -256
- package/generated/ghes-3.2.json +588 -40
- 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 +205 -225
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +445 -12
- package/generated/ghes-3.3.deref.json +785 -257
- package/generated/ghes-3.3.json +595 -41
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +153 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +13 -1
- package/generated/ghes-3.4.deref.json +816 -243
- package/generated/ghes-3.4.json +603 -43
- 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 +462 -42
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +304 -18
- package/generated/ghes-3.5.deref.json +829 -243
- package/generated/ghes-3.5.json +603 -43
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +519 -89
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +18071 -6614
- package/generated/ghes-3.6-diff-to-api.github.com.json +6665 -4290
- package/generated/ghes-3.6.deref.json +1048 -256
- package/generated/ghes-3.6.json +826 -56
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +347 -32
- package/generated/github.ae-diff-to-api.github.com.deref.json +11634 -3854
- package/generated/github.ae-diff-to-api.github.com.json +1185 -40
- package/generated/github.ae.deref.json +1087 -178
- package/generated/github.ae.json +865 -50
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.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": {
|
|
@@ -6926,7 +6926,7 @@
|
|
|
6926
6926
|
"/organizations/{organization_id}/custom_roles": {
|
|
6927
6927
|
"get": {
|
|
6928
6928
|
"summary": "List custom repository roles in an organization",
|
|
6929
|
-
"description": "List the custom repository roles available in this organization. In order to see custom\nrepository roles in an organization, the authenticated user must be an organization owner.\n\nFor more information on custom repository roles, see \"[Managing custom repository roles for an organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".",
|
|
6929
|
+
"description": "List the custom repository roles available in this organization. In order to see custom\nrepository roles in an organization, the authenticated user must be an organization owner.\n\nTo use this endpoint the authenticated user must be an administrator for the organization or of an repository of the organizaiton and must use an access token with `admin:org repo` scope.\nGitHub Apps must have the `organization_custom_roles:read` organization permission to use this endpoint.\n\nFor more information on custom repository roles, see \"[Managing custom repository roles for an organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".",
|
|
6930
6930
|
"tags": [
|
|
6931
6931
|
"orgs"
|
|
6932
6932
|
],
|
|
@@ -7154,6 +7154,30 @@
|
|
|
7154
7154
|
"blog": {
|
|
7155
7155
|
"type": "string",
|
|
7156
7156
|
"example": "\"http://github.blog\""
|
|
7157
|
+
},
|
|
7158
|
+
"advanced_security_enabled_for_new_repositories": {
|
|
7159
|
+
"type": "boolean",
|
|
7160
|
+
"description": "Whether GitHub Advanced Security is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request."
|
|
7161
|
+
},
|
|
7162
|
+
"dependabot_alerts_enabled_for_new_repositories": {
|
|
7163
|
+
"type": "boolean",
|
|
7164
|
+
"description": "Whether Dependabot alerts is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request."
|
|
7165
|
+
},
|
|
7166
|
+
"dependabot_security_updates_enabled_for_new_repositories": {
|
|
7167
|
+
"type": "boolean",
|
|
7168
|
+
"description": "Whether Dependabot security updates is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request."
|
|
7169
|
+
},
|
|
7170
|
+
"dependency_graph_enabled_for_new_repositories": {
|
|
7171
|
+
"type": "boolean",
|
|
7172
|
+
"description": "Whether dependency graph is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request."
|
|
7173
|
+
},
|
|
7174
|
+
"secret_scanning_enabled_for_new_repositories": {
|
|
7175
|
+
"type": "boolean",
|
|
7176
|
+
"description": "Whether secret scanning is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request."
|
|
7177
|
+
},
|
|
7178
|
+
"secret_scanning_push_protection_enabled_for_new_repositories": {
|
|
7179
|
+
"type": "boolean",
|
|
7180
|
+
"description": "Whether secret scanning push protection is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request."
|
|
7157
7181
|
}
|
|
7158
7182
|
}
|
|
7159
7183
|
},
|
|
@@ -12424,17 +12448,6 @@
|
|
|
12424
12448
|
}
|
|
12425
12449
|
}
|
|
12426
12450
|
},
|
|
12427
|
-
"302": {
|
|
12428
|
-
"description": "Response if requester is not an organization member",
|
|
12429
|
-
"headers": {
|
|
12430
|
-
"Location": {
|
|
12431
|
-
"example": "https://api.github.com/orgs/github/public_members",
|
|
12432
|
-
"schema": {
|
|
12433
|
-
"type": "string"
|
|
12434
|
-
}
|
|
12435
|
-
}
|
|
12436
|
-
}
|
|
12437
|
-
},
|
|
12438
12451
|
"422": {
|
|
12439
12452
|
"$ref": "#/components/responses/validation_failed"
|
|
12440
12453
|
}
|
|
@@ -17548,6 +17561,47 @@
|
|
|
17548
17561
|
"x-octokit": {}
|
|
17549
17562
|
}
|
|
17550
17563
|
},
|
|
17564
|
+
"/orgs/{org}/{security_product}/{enablement}": {
|
|
17565
|
+
"post": {
|
|
17566
|
+
"summary": "Enable or disable a security feature for an organization",
|
|
17567
|
+
"description": "Enables or disables the specified security feature for all repositories in an organization.\n\nTo use this endpoint, you must be an organization owner or be member of a team with the security manager role.\nA token with the 'write:org' scope is also required.\n\nGitHub Apps must have the `organization_administration:write` permission to use this endpoint.\n\nFor more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"",
|
|
17568
|
+
"tags": [
|
|
17569
|
+
"orgs"
|
|
17570
|
+
],
|
|
17571
|
+
"operationId": "orgs/enable-or-disable-security-product-on-all-org-repos",
|
|
17572
|
+
"externalDocs": {
|
|
17573
|
+
"description": "API method documentation",
|
|
17574
|
+
"url": "https://docs.github.com/rest/reference/orgs#enable-or-disable-security-product-on-all-org-repos"
|
|
17575
|
+
},
|
|
17576
|
+
"parameters": [
|
|
17577
|
+
{
|
|
17578
|
+
"$ref": "#/components/parameters/org"
|
|
17579
|
+
},
|
|
17580
|
+
{
|
|
17581
|
+
"$ref": "#/components/parameters/security-product"
|
|
17582
|
+
},
|
|
17583
|
+
{
|
|
17584
|
+
"$ref": "#/components/parameters/org-security-product-enablement"
|
|
17585
|
+
}
|
|
17586
|
+
],
|
|
17587
|
+
"responses": {
|
|
17588
|
+
"204": {
|
|
17589
|
+
"description": "Action started"
|
|
17590
|
+
},
|
|
17591
|
+
"422": {
|
|
17592
|
+
"description": "The action could not be taken due to an in progress enablement, or a policy is preventing enablement"
|
|
17593
|
+
}
|
|
17594
|
+
},
|
|
17595
|
+
"x-github": {
|
|
17596
|
+
"githubCloudOnly": false,
|
|
17597
|
+
"enabledForGitHubApps": true,
|
|
17598
|
+
"previews": [],
|
|
17599
|
+
"category": "orgs",
|
|
17600
|
+
"subcategory": "orgs"
|
|
17601
|
+
},
|
|
17602
|
+
"x-octokit": {}
|
|
17603
|
+
}
|
|
17604
|
+
},
|
|
17551
17605
|
"/projects/columns/cards/{card_id}": {
|
|
17552
17606
|
"get": {
|
|
17553
17607
|
"summary": "Get a project card",
|
|
@@ -23195,11 +23249,16 @@
|
|
|
23195
23249
|
"properties": {
|
|
23196
23250
|
"key_prefix": {
|
|
23197
23251
|
"type": "string",
|
|
23198
|
-
"description": "
|
|
23252
|
+
"description": "This prefix appended by certain characters will generate a link any time it is found in an issue, pull request, or commit."
|
|
23199
23253
|
},
|
|
23200
23254
|
"url_template": {
|
|
23201
23255
|
"type": "string",
|
|
23202
|
-
"description": "The URL must contain `<num>` for the reference number. `<num>` matches
|
|
23256
|
+
"description": "The URL must contain `<num>` for the reference number. `<num>` matches different characters depending on the value of `is_alphanumeric`."
|
|
23257
|
+
},
|
|
23258
|
+
"is_alphanumeric": {
|
|
23259
|
+
"type": "boolean",
|
|
23260
|
+
"default": "true",
|
|
23261
|
+
"description": "Whether this autolink reference matches alphanumeric characters. If true, the `<num>` parameter of the `url_template` matches alphanumeric characters `A-Z` (case insensitive), `0-9`, and `-`. If false, this autolink reference only matches numeric characters."
|
|
23203
23262
|
}
|
|
23204
23263
|
},
|
|
23205
23264
|
"required": [
|
|
@@ -23211,7 +23270,8 @@
|
|
|
23211
23270
|
"default": {
|
|
23212
23271
|
"value": {
|
|
23213
23272
|
"key_prefix": "TICKET-",
|
|
23214
|
-
"url_template": "https://example.com/TICKET?query=<num>"
|
|
23273
|
+
"url_template": "https://example.com/TICKET?query=<num>",
|
|
23274
|
+
"is_alphanumeric": true
|
|
23215
23275
|
}
|
|
23216
23276
|
}
|
|
23217
23277
|
}
|
|
@@ -23513,6 +23573,11 @@
|
|
|
23513
23573
|
"application/json": {
|
|
23514
23574
|
"schema": {
|
|
23515
23575
|
"$ref": "#/components/schemas/branch-with-protection"
|
|
23576
|
+
},
|
|
23577
|
+
"examples": {
|
|
23578
|
+
"default": {
|
|
23579
|
+
"$ref": "#/components/examples/branch-get"
|
|
23580
|
+
}
|
|
23516
23581
|
}
|
|
23517
23582
|
}
|
|
23518
23583
|
}
|
|
@@ -23855,6 +23920,11 @@
|
|
|
23855
23920
|
"application/json": {
|
|
23856
23921
|
"schema": {
|
|
23857
23922
|
"$ref": "#/components/schemas/protected-branch"
|
|
23923
|
+
},
|
|
23924
|
+
"examples": {
|
|
23925
|
+
"default": {
|
|
23926
|
+
"$ref": "#/components/examples/branch-protection-update"
|
|
23927
|
+
}
|
|
23858
23928
|
}
|
|
23859
23929
|
}
|
|
23860
23930
|
}
|
|
@@ -24729,7 +24799,7 @@
|
|
|
24729
24799
|
"properties": {
|
|
24730
24800
|
"contexts": {
|
|
24731
24801
|
"type": "array",
|
|
24732
|
-
"description": "
|
|
24802
|
+
"description": "The name of the status checks",
|
|
24733
24803
|
"items": {
|
|
24734
24804
|
"type": "string"
|
|
24735
24805
|
}
|
|
@@ -24745,6 +24815,17 @@
|
|
|
24745
24815
|
}
|
|
24746
24816
|
}
|
|
24747
24817
|
]
|
|
24818
|
+
},
|
|
24819
|
+
"examples": {
|
|
24820
|
+
"default": {
|
|
24821
|
+
"summary": "Example adding status checks to a branch protection rule",
|
|
24822
|
+
"value": {
|
|
24823
|
+
"contexts": [
|
|
24824
|
+
"continuous-integration/travis-ci",
|
|
24825
|
+
"continuous-integration/jenkins"
|
|
24826
|
+
]
|
|
24827
|
+
}
|
|
24828
|
+
}
|
|
24748
24829
|
}
|
|
24749
24830
|
}
|
|
24750
24831
|
}
|
|
@@ -24823,7 +24904,7 @@
|
|
|
24823
24904
|
"properties": {
|
|
24824
24905
|
"contexts": {
|
|
24825
24906
|
"type": "array",
|
|
24826
|
-
"description": "
|
|
24907
|
+
"description": "The name of the status checks",
|
|
24827
24908
|
"items": {
|
|
24828
24909
|
"type": "string"
|
|
24829
24910
|
}
|
|
@@ -24839,6 +24920,16 @@
|
|
|
24839
24920
|
}
|
|
24840
24921
|
}
|
|
24841
24922
|
]
|
|
24923
|
+
},
|
|
24924
|
+
"examples": {
|
|
24925
|
+
"default": {
|
|
24926
|
+
"summary": "Example updating status checks for a branch protection rule",
|
|
24927
|
+
"value": {
|
|
24928
|
+
"contexts": [
|
|
24929
|
+
"continuous-integration/travis-ci"
|
|
24930
|
+
]
|
|
24931
|
+
}
|
|
24932
|
+
}
|
|
24842
24933
|
}
|
|
24843
24934
|
}
|
|
24844
24935
|
}
|
|
@@ -24912,7 +25003,7 @@
|
|
|
24912
25003
|
"properties": {
|
|
24913
25004
|
"contexts": {
|
|
24914
25005
|
"type": "array",
|
|
24915
|
-
"description": "
|
|
25006
|
+
"description": "The name of the status checks",
|
|
24916
25007
|
"items": {
|
|
24917
25008
|
"type": "string"
|
|
24918
25009
|
}
|
|
@@ -24928,6 +25019,16 @@
|
|
|
24928
25019
|
}
|
|
24929
25020
|
}
|
|
24930
25021
|
]
|
|
25022
|
+
},
|
|
25023
|
+
"examples": {
|
|
25024
|
+
"default": {
|
|
25025
|
+
"summary": "Example removing status checks from a branch protection rule",
|
|
25026
|
+
"value": {
|
|
25027
|
+
"contexts": [
|
|
25028
|
+
"continuous-integration/travis-ci"
|
|
25029
|
+
]
|
|
25030
|
+
}
|
|
25031
|
+
}
|
|
24931
25032
|
}
|
|
24932
25033
|
}
|
|
24933
25034
|
}
|
|
@@ -25453,7 +25554,7 @@
|
|
|
25453
25554
|
"properties": {
|
|
25454
25555
|
"teams": {
|
|
25455
25556
|
"type": "array",
|
|
25456
|
-
"description": "teams
|
|
25557
|
+
"description": "The slug values for teams",
|
|
25457
25558
|
"items": {
|
|
25458
25559
|
"type": "string"
|
|
25459
25560
|
}
|
|
@@ -25469,6 +25570,16 @@
|
|
|
25469
25570
|
}
|
|
25470
25571
|
}
|
|
25471
25572
|
]
|
|
25573
|
+
},
|
|
25574
|
+
"examples": {
|
|
25575
|
+
"default": {
|
|
25576
|
+
"summary": "Example adding a team in a branch protection rule",
|
|
25577
|
+
"value": {
|
|
25578
|
+
"teams": [
|
|
25579
|
+
"justice-league"
|
|
25580
|
+
]
|
|
25581
|
+
}
|
|
25582
|
+
}
|
|
25472
25583
|
}
|
|
25473
25584
|
}
|
|
25474
25585
|
}
|
|
@@ -25538,7 +25649,7 @@
|
|
|
25538
25649
|
"properties": {
|
|
25539
25650
|
"teams": {
|
|
25540
25651
|
"type": "array",
|
|
25541
|
-
"description": "teams
|
|
25652
|
+
"description": "The slug values for teams",
|
|
25542
25653
|
"items": {
|
|
25543
25654
|
"type": "string"
|
|
25544
25655
|
}
|
|
@@ -25549,11 +25660,21 @@
|
|
|
25549
25660
|
],
|
|
25550
25661
|
"example": {
|
|
25551
25662
|
"teams": [
|
|
25552
|
-
"
|
|
25663
|
+
"justice-league"
|
|
25553
25664
|
]
|
|
25554
25665
|
}
|
|
25555
25666
|
}
|
|
25556
25667
|
]
|
|
25668
|
+
},
|
|
25669
|
+
"examples": {
|
|
25670
|
+
"default": {
|
|
25671
|
+
"summary": "Example replacing a team in a branch protection rule",
|
|
25672
|
+
"value": {
|
|
25673
|
+
"teams": [
|
|
25674
|
+
"justice-league"
|
|
25675
|
+
]
|
|
25676
|
+
}
|
|
25677
|
+
}
|
|
25557
25678
|
}
|
|
25558
25679
|
}
|
|
25559
25680
|
}
|
|
@@ -25622,7 +25743,7 @@
|
|
|
25622
25743
|
"properties": {
|
|
25623
25744
|
"teams": {
|
|
25624
25745
|
"type": "array",
|
|
25625
|
-
"description": "teams
|
|
25746
|
+
"description": "The slug values for teams",
|
|
25626
25747
|
"items": {
|
|
25627
25748
|
"type": "string"
|
|
25628
25749
|
}
|
|
@@ -25638,6 +25759,16 @@
|
|
|
25638
25759
|
}
|
|
25639
25760
|
}
|
|
25640
25761
|
]
|
|
25762
|
+
},
|
|
25763
|
+
"examples": {
|
|
25764
|
+
"default": {
|
|
25765
|
+
"summary": "Example removing a team in a branch protection rule",
|
|
25766
|
+
"value": {
|
|
25767
|
+
"teams": [
|
|
25768
|
+
"justice-league"
|
|
25769
|
+
]
|
|
25770
|
+
}
|
|
25771
|
+
}
|
|
25641
25772
|
}
|
|
25642
25773
|
}
|
|
25643
25774
|
}
|
|
@@ -25762,7 +25893,7 @@
|
|
|
25762
25893
|
"properties": {
|
|
25763
25894
|
"users": {
|
|
25764
25895
|
"type": "array",
|
|
25765
|
-
"description": "users
|
|
25896
|
+
"description": "The username for users",
|
|
25766
25897
|
"items": {
|
|
25767
25898
|
"type": "string"
|
|
25768
25899
|
}
|
|
@@ -25778,6 +25909,16 @@
|
|
|
25778
25909
|
}
|
|
25779
25910
|
}
|
|
25780
25911
|
]
|
|
25912
|
+
},
|
|
25913
|
+
"examples": {
|
|
25914
|
+
"default": {
|
|
25915
|
+
"summary": "Example adding a user in a branch protection rule",
|
|
25916
|
+
"value": {
|
|
25917
|
+
"users": [
|
|
25918
|
+
"octocat"
|
|
25919
|
+
]
|
|
25920
|
+
}
|
|
25921
|
+
}
|
|
25781
25922
|
}
|
|
25782
25923
|
}
|
|
25783
25924
|
}
|
|
@@ -25847,7 +25988,7 @@
|
|
|
25847
25988
|
"properties": {
|
|
25848
25989
|
"users": {
|
|
25849
25990
|
"type": "array",
|
|
25850
|
-
"description": "users
|
|
25991
|
+
"description": "The username for users",
|
|
25851
25992
|
"items": {
|
|
25852
25993
|
"type": "string"
|
|
25853
25994
|
}
|
|
@@ -25863,6 +26004,16 @@
|
|
|
25863
26004
|
}
|
|
25864
26005
|
}
|
|
25865
26006
|
]
|
|
26007
|
+
},
|
|
26008
|
+
"examples": {
|
|
26009
|
+
"default": {
|
|
26010
|
+
"summary": "Example replacing a user in a branch protection rule",
|
|
26011
|
+
"value": {
|
|
26012
|
+
"users": [
|
|
26013
|
+
"octocat"
|
|
26014
|
+
]
|
|
26015
|
+
}
|
|
26016
|
+
}
|
|
25866
26017
|
}
|
|
25867
26018
|
}
|
|
25868
26019
|
}
|
|
@@ -25931,7 +26082,7 @@
|
|
|
25931
26082
|
"properties": {
|
|
25932
26083
|
"users": {
|
|
25933
26084
|
"type": "array",
|
|
25934
|
-
"description": "users
|
|
26085
|
+
"description": "The username for users",
|
|
25935
26086
|
"items": {
|
|
25936
26087
|
"type": "string"
|
|
25937
26088
|
}
|
|
@@ -25947,6 +26098,16 @@
|
|
|
25947
26098
|
}
|
|
25948
26099
|
}
|
|
25949
26100
|
]
|
|
26101
|
+
},
|
|
26102
|
+
"examples": {
|
|
26103
|
+
"default": {
|
|
26104
|
+
"summary": "Example removing a user in a branch protection rule",
|
|
26105
|
+
"value": {
|
|
26106
|
+
"users": [
|
|
26107
|
+
"octocat"
|
|
26108
|
+
]
|
|
26109
|
+
}
|
|
26110
|
+
}
|
|
25950
26111
|
}
|
|
25951
26112
|
}
|
|
25952
26113
|
}
|
|
@@ -27662,6 +27823,22 @@
|
|
|
27662
27823
|
"schema": {
|
|
27663
27824
|
"$ref": "#/components/schemas/code-scanning-analysis-sarif-id"
|
|
27664
27825
|
}
|
|
27826
|
+
},
|
|
27827
|
+
{
|
|
27828
|
+
"$ref": "#/components/parameters/direction"
|
|
27829
|
+
},
|
|
27830
|
+
{
|
|
27831
|
+
"name": "sort",
|
|
27832
|
+
"description": "The property by which to sort the results.",
|
|
27833
|
+
"in": "query",
|
|
27834
|
+
"required": false,
|
|
27835
|
+
"schema": {
|
|
27836
|
+
"type": "string",
|
|
27837
|
+
"enum": [
|
|
27838
|
+
"created"
|
|
27839
|
+
],
|
|
27840
|
+
"default": "created"
|
|
27841
|
+
}
|
|
27665
27842
|
}
|
|
27666
27843
|
],
|
|
27667
27844
|
"responses": {
|
|
@@ -27776,7 +27953,7 @@
|
|
|
27776
27953
|
},
|
|
27777
27954
|
"delete": {
|
|
27778
27955
|
"summary": "Delete a code scanning analysis from a repository",
|
|
27779
|
-
"description": "Deletes a specified code scanning analysis from a repository. For\nprivate repositories, you must use an access token with the `repo` scope. For public repositories,\nyou must use an access token with `public_repo` scope.\nGitHub Apps must have the `security_events` write permission to use this endpoint.\n\nYou can delete one analysis at a time.\nTo delete a series of analyses, start with the most recent analysis and work backwards.\nConceptually, the process is similar to the undo function in a text editor.\n\nWhen you list the analyses for a repository,\none or more will be identified as deletable in the response:\n\n```\n\"deletable\": true\n```\n\nAn analysis is deletable when it's the most recent in a set of analyses.\nTypically, a repository will have multiple sets of analyses\nfor each enabled code scanning tool,\nwhere a set is determined by a unique combination of analysis values:\n\n* `ref`\n* `tool`\n* `
|
|
27956
|
+
"description": "Deletes a specified code scanning analysis from a repository. For\nprivate repositories, you must use an access token with the `repo` scope. For public repositories,\nyou must use an access token with `public_repo` scope.\nGitHub Apps must have the `security_events` write permission to use this endpoint.\n\nYou can delete one analysis at a time.\nTo delete a series of analyses, start with the most recent analysis and work backwards.\nConceptually, the process is similar to the undo function in a text editor.\n\nWhen you list the analyses for a repository,\none or more will be identified as deletable in the response:\n\n```\n\"deletable\": true\n```\n\nAn analysis is deletable when it's the most recent in a set of analyses.\nTypically, a repository will have multiple sets of analyses\nfor each enabled code scanning tool,\nwhere a set is determined by a unique combination of analysis values:\n\n* `ref`\n* `tool`\n* `category`\n\nIf you attempt to delete an analysis that is not the most recent in a set,\nyou'll get a 400 response with the message:\n\n```\nAnalysis specified is not deletable.\n```\n\nThe response from a successful `DELETE` operation provides you with\ntwo alternative URLs for deleting the next analysis in the set:\n`next_analysis_url` and `confirm_delete_url`.\nUse the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis\nin a set. This is a useful option if you want to preserve at least one analysis\nfor the specified tool in your repository.\nUse the `confirm_delete_url` URL if you are content to remove all analyses for a tool.\nWhen you delete the last analysis in a set, the value of `next_analysis_url` and `confirm_delete_url`\nin the 200 response is `null`.\n\nAs an example of the deletion process,\nlet's imagine that you added a workflow that configured a particular code scanning tool\nto analyze the code in a repository. This tool has added 15 analyses:\n10 on the default branch, and another 5 on a topic branch.\nYou therefore have two separate sets of analyses for this tool.\nYou've now decided that you want to remove all of the analyses for the tool.\nTo do this you must make 15 separate deletion requests.\nTo start, you must find an analysis that's identified as deletable.\nEach set of analyses always has one that's identified as deletable.\nHaving found the deletable analysis for one of the two sets,\ndelete this analysis and then continue deleting the next analysis in the set until they're all deleted.\nThen repeat the process for the second set.\nThe procedure therefore consists of a nested loop:\n\n**Outer loop**:\n* List the analyses for the repository, filtered by tool.\n* Parse this list to find a deletable analysis. If found:\n\n **Inner loop**:\n * Delete the identified analysis.\n * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.\n\nThe above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.",
|
|
27780
27957
|
"operationId": "code-scanning/delete-analysis",
|
|
27781
27958
|
"tags": [
|
|
27782
27959
|
"code-scanning"
|
|
@@ -30037,6 +30214,9 @@
|
|
|
30037
30214
|
},
|
|
30038
30215
|
"500": {
|
|
30039
30216
|
"$ref": "#/components/responses/internal_error"
|
|
30217
|
+
},
|
|
30218
|
+
"503": {
|
|
30219
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
30040
30220
|
}
|
|
30041
30221
|
},
|
|
30042
30222
|
"x-github": {
|
|
@@ -30492,6 +30672,9 @@
|
|
|
30492
30672
|
},
|
|
30493
30673
|
"500": {
|
|
30494
30674
|
"$ref": "#/components/responses/internal_error"
|
|
30675
|
+
},
|
|
30676
|
+
"503": {
|
|
30677
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
30495
30678
|
}
|
|
30496
30679
|
},
|
|
30497
30680
|
"x-github": {
|
|
@@ -30505,7 +30688,7 @@
|
|
|
30505
30688
|
"/repos/{owner}/{repo}/contents/{path}": {
|
|
30506
30689
|
"get": {
|
|
30507
30690
|
"summary": "Get repository content",
|
|
30508
|
-
"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/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/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**
|
|
30691
|
+
"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/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/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/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/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#### Size limits\nIf the requested file's size is:\n* 1 MB or smaller: All features of this endpoint are supported.\n* Between 1-100 MB: Only the `raw` or `object` [custom media types](https://docs.github.com/rest/repos/contents#custom-media-types-for-repository-contents) are supported. Both will work as normal, except that when using the `object` media type, the `content` field will be an empty string and the `encoding` field will be `\"none\"`. To get the contents of these larger files, use the `raw` media type.\n * Greater than 100 MB: This endpoint is not supported.\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.",
|
|
30509
30692
|
"tags": [
|
|
30510
30693
|
"repos"
|
|
30511
30694
|
],
|
|
@@ -32857,6 +33040,10 @@
|
|
|
32857
33040
|
"name": {
|
|
32858
33041
|
"type": "string",
|
|
32859
33042
|
"description": "When forking from an existing repository, a new name for the fork."
|
|
33043
|
+
},
|
|
33044
|
+
"default_branch_only": {
|
|
33045
|
+
"type": "boolean",
|
|
33046
|
+
"description": "When forking from an existing repository, fork with only the default branch."
|
|
32860
33047
|
}
|
|
32861
33048
|
}
|
|
32862
33049
|
}
|
|
@@ -35522,6 +35709,15 @@
|
|
|
35522
35709
|
"application/json": {
|
|
35523
35710
|
"schema": {
|
|
35524
35711
|
"$ref": "#/components/schemas/interaction-limit"
|
|
35712
|
+
},
|
|
35713
|
+
"examples": {
|
|
35714
|
+
"default": {
|
|
35715
|
+
"summary": "Example request body",
|
|
35716
|
+
"value": {
|
|
35717
|
+
"limit": "collaborators_only",
|
|
35718
|
+
"expiry": "one_day"
|
|
35719
|
+
}
|
|
35720
|
+
}
|
|
35525
35721
|
}
|
|
35526
35722
|
}
|
|
35527
35723
|
}
|
|
@@ -35692,6 +35888,14 @@
|
|
|
35692
35888
|
]
|
|
35693
35889
|
}
|
|
35694
35890
|
}
|
|
35891
|
+
},
|
|
35892
|
+
"examples": {
|
|
35893
|
+
"default": {
|
|
35894
|
+
"summary": "Example request body",
|
|
35895
|
+
"value": {
|
|
35896
|
+
"permissions": "write"
|
|
35897
|
+
}
|
|
35898
|
+
}
|
|
35695
35899
|
}
|
|
35696
35900
|
}
|
|
35697
35901
|
}
|
|
@@ -36787,6 +36991,12 @@
|
|
|
36787
36991
|
"closed"
|
|
36788
36992
|
]
|
|
36789
36993
|
},
|
|
36994
|
+
"state_reason": {
|
|
36995
|
+
"type": "string",
|
|
36996
|
+
"nullable": true,
|
|
36997
|
+
"description": "The reason for the current state",
|
|
36998
|
+
"example": "not_planned"
|
|
36999
|
+
},
|
|
36790
37000
|
"milestone": {
|
|
36791
37001
|
"oneOf": [
|
|
36792
37002
|
{
|
|
@@ -41267,6 +41477,9 @@
|
|
|
41267
41477
|
},
|
|
41268
41478
|
"500": {
|
|
41269
41479
|
"$ref": "#/components/responses/internal_error"
|
|
41480
|
+
},
|
|
41481
|
+
"503": {
|
|
41482
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
41270
41483
|
}
|
|
41271
41484
|
},
|
|
41272
41485
|
"x-github": {
|
|
@@ -41944,6 +42157,9 @@
|
|
|
41944
42157
|
},
|
|
41945
42158
|
"500": {
|
|
41946
42159
|
"$ref": "#/components/responses/internal_error"
|
|
42160
|
+
},
|
|
42161
|
+
"503": {
|
|
42162
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
41947
42163
|
}
|
|
41948
42164
|
},
|
|
41949
42165
|
"x-github": {
|
|
@@ -46286,7 +46502,7 @@
|
|
|
46286
46502
|
"/repos/{template_owner}/{template_repo}/generate": {
|
|
46287
46503
|
"post": {
|
|
46288
46504
|
"summary": "Create a repository using a template",
|
|
46289
|
-
"description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template.
|
|
46505
|
+
"description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. If the repository is not public, the authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository",
|
|
46290
46506
|
"tags": [
|
|
46291
46507
|
"repos"
|
|
46292
46508
|
],
|
|
@@ -56728,25 +56944,19 @@
|
|
|
56728
56944
|
}
|
|
56729
56945
|
}
|
|
56730
56946
|
},
|
|
56731
|
-
"/user/
|
|
56947
|
+
"/user/ssh_signing_keys": {
|
|
56732
56948
|
"get": {
|
|
56733
|
-
"summary": "List
|
|
56734
|
-
"description": "Lists
|
|
56949
|
+
"summary": "List SSH signing keys for the authenticated user",
|
|
56950
|
+
"description": "Lists the SSH signing keys for the authenticated user's GitHub account. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `read:ssh_signing_key` scope. For more information, see \"[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\"",
|
|
56735
56951
|
"tags": [
|
|
56736
|
-
"
|
|
56952
|
+
"users"
|
|
56737
56953
|
],
|
|
56738
|
-
"operationId": "
|
|
56954
|
+
"operationId": "users/list-ssh-signing-keys-for-authenticated-user",
|
|
56739
56955
|
"externalDocs": {
|
|
56740
56956
|
"description": "API method documentation",
|
|
56741
|
-
"url": "https://docs.github.com/rest/reference/
|
|
56957
|
+
"url": "https://docs.github.com/rest/reference/users#list-public-ssh-signing-keys-for-the-authenticated-user"
|
|
56742
56958
|
},
|
|
56743
56959
|
"parameters": [
|
|
56744
|
-
{
|
|
56745
|
-
"$ref": "#/components/parameters/sort"
|
|
56746
|
-
},
|
|
56747
|
-
{
|
|
56748
|
-
"$ref": "#/components/parameters/direction"
|
|
56749
|
-
},
|
|
56750
56960
|
{
|
|
56751
56961
|
"$ref": "#/components/parameters/per-page"
|
|
56752
56962
|
},
|
|
@@ -56762,25 +56972,12 @@
|
|
|
56762
56972
|
"schema": {
|
|
56763
56973
|
"type": "array",
|
|
56764
56974
|
"items": {
|
|
56765
|
-
"$ref": "#/components/schemas/
|
|
56766
|
-
}
|
|
56767
|
-
},
|
|
56768
|
-
"examples": {
|
|
56769
|
-
"default-response": {
|
|
56770
|
-
"$ref": "#/components/examples/repository-items-default-response"
|
|
56771
|
-
}
|
|
56772
|
-
}
|
|
56773
|
-
},
|
|
56774
|
-
"application/vnd.github.v3.star+json": {
|
|
56775
|
-
"schema": {
|
|
56776
|
-
"type": "array",
|
|
56777
|
-
"items": {
|
|
56778
|
-
"$ref": "#/components/schemas/starred-repository"
|
|
56975
|
+
"$ref": "#/components/schemas/ssh-signing-key"
|
|
56779
56976
|
}
|
|
56780
56977
|
},
|
|
56781
56978
|
"examples": {
|
|
56782
|
-
"
|
|
56783
|
-
"$ref": "#/components/examples/
|
|
56979
|
+
"default": {
|
|
56980
|
+
"$ref": "#/components/examples/ssh-signing-key-items"
|
|
56784
56981
|
}
|
|
56785
56982
|
}
|
|
56786
56983
|
}
|
|
@@ -56799,40 +56996,72 @@
|
|
|
56799
56996
|
},
|
|
56800
56997
|
"403": {
|
|
56801
56998
|
"$ref": "#/components/responses/forbidden"
|
|
56999
|
+
},
|
|
57000
|
+
"404": {
|
|
57001
|
+
"$ref": "#/components/responses/not_found"
|
|
56802
57002
|
}
|
|
56803
57003
|
},
|
|
56804
57004
|
"x-github": {
|
|
56805
57005
|
"githubCloudOnly": false,
|
|
56806
57006
|
"enabledForGitHubApps": false,
|
|
56807
|
-
"
|
|
56808
|
-
"
|
|
57007
|
+
"previews": [],
|
|
57008
|
+
"category": "users",
|
|
57009
|
+
"subcategory": "ssh-signing-keys"
|
|
56809
57010
|
},
|
|
56810
57011
|
"x-octokit": {}
|
|
56811
|
-
}
|
|
56812
|
-
|
|
56813
|
-
|
|
56814
|
-
|
|
56815
|
-
"
|
|
56816
|
-
"description": "",
|
|
57012
|
+
},
|
|
57013
|
+
"post": {
|
|
57014
|
+
"summary": "Create a SSH signing key for the authenticated user",
|
|
57015
|
+
"description": "Creates an SSH signing key for the authenticated user's GitHub account. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `write:ssh_signing_key` scope. For more information, see \"[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\"",
|
|
57016
|
+
"operationId": "users/create-ssh-signing-key-for-authenticated-user",
|
|
56817
57017
|
"tags": [
|
|
56818
|
-
"
|
|
57018
|
+
"users"
|
|
56819
57019
|
],
|
|
56820
|
-
"operationId": "activity/check-repo-is-starred-by-authenticated-user",
|
|
56821
57020
|
"externalDocs": {
|
|
56822
57021
|
"description": "API method documentation",
|
|
56823
|
-
"url": "https://docs.github.com/rest/reference/
|
|
57022
|
+
"url": "https://docs.github.com/rest/reference/users#create-an-ssh-signing-key-for-the-authenticated-user"
|
|
56824
57023
|
},
|
|
56825
|
-
"parameters": [
|
|
56826
|
-
|
|
56827
|
-
|
|
56828
|
-
|
|
56829
|
-
|
|
56830
|
-
|
|
57024
|
+
"parameters": [],
|
|
57025
|
+
"requestBody": {
|
|
57026
|
+
"required": true,
|
|
57027
|
+
"content": {
|
|
57028
|
+
"application/json": {
|
|
57029
|
+
"schema": {
|
|
57030
|
+
"properties": {
|
|
57031
|
+
"title": {
|
|
57032
|
+
"description": "A descriptive name for the new key.",
|
|
57033
|
+
"type": "string",
|
|
57034
|
+
"example": "Personal MacBook Air"
|
|
57035
|
+
},
|
|
57036
|
+
"key": {
|
|
57037
|
+
"description": "The public SSH key to add to your GitHub account. For more information, see \"[Checking for existing SSH keys](https://docs.github.com/authentication/connecting-to-github-with-ssh/checking-for-existing-ssh-keys).\"",
|
|
57038
|
+
"type": "string",
|
|
57039
|
+
"pattern": "^ssh-(rsa|dss|ed25519) |^ecdsa-sha2-nistp(256|384|521) "
|
|
57040
|
+
}
|
|
57041
|
+
},
|
|
57042
|
+
"required": [
|
|
57043
|
+
"key"
|
|
57044
|
+
],
|
|
57045
|
+
"type": "object"
|
|
57046
|
+
}
|
|
57047
|
+
}
|
|
56831
57048
|
}
|
|
56832
|
-
|
|
57049
|
+
},
|
|
56833
57050
|
"responses": {
|
|
56834
|
-
"
|
|
56835
|
-
"description": "Response
|
|
57051
|
+
"201": {
|
|
57052
|
+
"description": "Response",
|
|
57053
|
+
"content": {
|
|
57054
|
+
"application/json": {
|
|
57055
|
+
"schema": {
|
|
57056
|
+
"$ref": "#/components/schemas/ssh-signing-key"
|
|
57057
|
+
},
|
|
57058
|
+
"examples": {
|
|
57059
|
+
"default": {
|
|
57060
|
+
"$ref": "#/components/examples/ssh-signing-key"
|
|
57061
|
+
}
|
|
57062
|
+
}
|
|
57063
|
+
}
|
|
57064
|
+
}
|
|
56836
57065
|
},
|
|
56837
57066
|
"304": {
|
|
56838
57067
|
"$ref": "#/components/responses/not_modified"
|
|
@@ -56844,46 +57073,53 @@
|
|
|
56844
57073
|
"$ref": "#/components/responses/forbidden"
|
|
56845
57074
|
},
|
|
56846
57075
|
"404": {
|
|
56847
|
-
"
|
|
56848
|
-
|
|
56849
|
-
|
|
56850
|
-
|
|
56851
|
-
"$ref": "#/components/schemas/basic-error"
|
|
56852
|
-
}
|
|
56853
|
-
}
|
|
56854
|
-
}
|
|
57076
|
+
"$ref": "#/components/responses/not_found"
|
|
57077
|
+
},
|
|
57078
|
+
"422": {
|
|
57079
|
+
"$ref": "#/components/responses/validation_failed"
|
|
56855
57080
|
}
|
|
56856
57081
|
},
|
|
56857
57082
|
"x-github": {
|
|
56858
57083
|
"githubCloudOnly": false,
|
|
56859
57084
|
"enabledForGitHubApps": false,
|
|
56860
|
-
"category": "
|
|
56861
|
-
"subcategory": "
|
|
57085
|
+
"category": "users",
|
|
57086
|
+
"subcategory": "ssh-signing-keys"
|
|
56862
57087
|
},
|
|
56863
57088
|
"x-octokit": {}
|
|
56864
|
-
}
|
|
56865
|
-
|
|
56866
|
-
|
|
56867
|
-
|
|
57089
|
+
}
|
|
57090
|
+
},
|
|
57091
|
+
"/user/ssh_signing_keys/{ssh_signing_key_id}": {
|
|
57092
|
+
"get": {
|
|
57093
|
+
"summary": "Get an SSH signing key for the authenticated user",
|
|
57094
|
+
"description": "Gets extended details for an SSH signing key. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `read:ssh_signing_key` scope. For more information, see \"[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\"",
|
|
56868
57095
|
"tags": [
|
|
56869
|
-
"
|
|
57096
|
+
"users"
|
|
56870
57097
|
],
|
|
56871
|
-
"operationId": "
|
|
57098
|
+
"operationId": "users/get-ssh-signing-key-for-authenticated-user",
|
|
56872
57099
|
"externalDocs": {
|
|
56873
57100
|
"description": "API method documentation",
|
|
56874
|
-
"url": "https://docs.github.com/rest/reference/
|
|
57101
|
+
"url": "https://docs.github.com/rest/reference/users#get-a-ssh-signing-key-for-the-authenticated-user"
|
|
56875
57102
|
},
|
|
56876
57103
|
"parameters": [
|
|
56877
57104
|
{
|
|
56878
|
-
"$ref": "#/components/parameters/
|
|
56879
|
-
},
|
|
56880
|
-
{
|
|
56881
|
-
"$ref": "#/components/parameters/repo"
|
|
57105
|
+
"$ref": "#/components/parameters/ssh-signing-key-id"
|
|
56882
57106
|
}
|
|
56883
57107
|
],
|
|
56884
57108
|
"responses": {
|
|
56885
|
-
"
|
|
56886
|
-
"description": "Response"
|
|
57109
|
+
"200": {
|
|
57110
|
+
"description": "Response",
|
|
57111
|
+
"content": {
|
|
57112
|
+
"application/json": {
|
|
57113
|
+
"schema": {
|
|
57114
|
+
"$ref": "#/components/schemas/ssh-signing-key"
|
|
57115
|
+
},
|
|
57116
|
+
"examples": {
|
|
57117
|
+
"default": {
|
|
57118
|
+
"$ref": "#/components/examples/ssh-signing-key"
|
|
57119
|
+
}
|
|
57120
|
+
}
|
|
57121
|
+
}
|
|
57122
|
+
}
|
|
56887
57123
|
},
|
|
56888
57124
|
"304": {
|
|
56889
57125
|
"$ref": "#/components/responses/not_modified"
|
|
@@ -56901,28 +57137,248 @@
|
|
|
56901
57137
|
"x-github": {
|
|
56902
57138
|
"githubCloudOnly": false,
|
|
56903
57139
|
"enabledForGitHubApps": false,
|
|
56904
|
-
"category": "
|
|
56905
|
-
"subcategory": "
|
|
57140
|
+
"category": "users",
|
|
57141
|
+
"subcategory": "ssh-signing-keys"
|
|
56906
57142
|
},
|
|
56907
57143
|
"x-octokit": {}
|
|
56908
57144
|
},
|
|
56909
57145
|
"delete": {
|
|
56910
|
-
"summary": "
|
|
56911
|
-
"description": "",
|
|
57146
|
+
"summary": "Delete an SSH signing key for the authenticated user",
|
|
57147
|
+
"description": "Deletes an SSH signing key from the authenticated user's GitHub account. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `admin:ssh_signing_key` scope. For more information, see \"[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\"",
|
|
56912
57148
|
"tags": [
|
|
56913
|
-
"
|
|
57149
|
+
"users"
|
|
56914
57150
|
],
|
|
56915
|
-
"operationId": "
|
|
57151
|
+
"operationId": "users/delete-ssh-signing-key-for-authenticated-user",
|
|
56916
57152
|
"externalDocs": {
|
|
56917
57153
|
"description": "API method documentation",
|
|
56918
|
-
"url": "https://docs.github.com/rest/reference/
|
|
57154
|
+
"url": "https://docs.github.com/rest/reference/users#delete-a-ssh-signing-key-for-the-authenticated-user"
|
|
56919
57155
|
},
|
|
56920
57156
|
"parameters": [
|
|
56921
57157
|
{
|
|
56922
|
-
"$ref": "#/components/parameters/
|
|
56923
|
-
}
|
|
56924
|
-
|
|
56925
|
-
|
|
57158
|
+
"$ref": "#/components/parameters/ssh-signing-key-id"
|
|
57159
|
+
}
|
|
57160
|
+
],
|
|
57161
|
+
"responses": {
|
|
57162
|
+
"204": {
|
|
57163
|
+
"description": "Response"
|
|
57164
|
+
},
|
|
57165
|
+
"304": {
|
|
57166
|
+
"$ref": "#/components/responses/not_modified"
|
|
57167
|
+
},
|
|
57168
|
+
"401": {
|
|
57169
|
+
"$ref": "#/components/responses/requires_authentication"
|
|
57170
|
+
},
|
|
57171
|
+
"403": {
|
|
57172
|
+
"$ref": "#/components/responses/forbidden"
|
|
57173
|
+
},
|
|
57174
|
+
"404": {
|
|
57175
|
+
"$ref": "#/components/responses/not_found"
|
|
57176
|
+
}
|
|
57177
|
+
},
|
|
57178
|
+
"x-github": {
|
|
57179
|
+
"githubCloudOnly": false,
|
|
57180
|
+
"enabledForGitHubApps": false,
|
|
57181
|
+
"category": "users",
|
|
57182
|
+
"subcategory": "ssh-signing-keys"
|
|
57183
|
+
},
|
|
57184
|
+
"x-octokit": {}
|
|
57185
|
+
}
|
|
57186
|
+
},
|
|
57187
|
+
"/user/starred": {
|
|
57188
|
+
"get": {
|
|
57189
|
+
"summary": "List repositories starred by the authenticated user",
|
|
57190
|
+
"description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header:",
|
|
57191
|
+
"tags": [
|
|
57192
|
+
"activity"
|
|
57193
|
+
],
|
|
57194
|
+
"operationId": "activity/list-repos-starred-by-authenticated-user",
|
|
57195
|
+
"externalDocs": {
|
|
57196
|
+
"description": "API method documentation",
|
|
57197
|
+
"url": "https://docs.github.com/rest/reference/activity#list-repositories-starred-by-the-authenticated-user"
|
|
57198
|
+
},
|
|
57199
|
+
"parameters": [
|
|
57200
|
+
{
|
|
57201
|
+
"$ref": "#/components/parameters/sort"
|
|
57202
|
+
},
|
|
57203
|
+
{
|
|
57204
|
+
"$ref": "#/components/parameters/direction"
|
|
57205
|
+
},
|
|
57206
|
+
{
|
|
57207
|
+
"$ref": "#/components/parameters/per-page"
|
|
57208
|
+
},
|
|
57209
|
+
{
|
|
57210
|
+
"$ref": "#/components/parameters/page"
|
|
57211
|
+
}
|
|
57212
|
+
],
|
|
57213
|
+
"responses": {
|
|
57214
|
+
"200": {
|
|
57215
|
+
"description": "Response",
|
|
57216
|
+
"content": {
|
|
57217
|
+
"application/json": {
|
|
57218
|
+
"schema": {
|
|
57219
|
+
"type": "array",
|
|
57220
|
+
"items": {
|
|
57221
|
+
"$ref": "#/components/schemas/repository"
|
|
57222
|
+
}
|
|
57223
|
+
},
|
|
57224
|
+
"examples": {
|
|
57225
|
+
"default-response": {
|
|
57226
|
+
"$ref": "#/components/examples/repository-items-default-response"
|
|
57227
|
+
}
|
|
57228
|
+
}
|
|
57229
|
+
},
|
|
57230
|
+
"application/vnd.github.v3.star+json": {
|
|
57231
|
+
"schema": {
|
|
57232
|
+
"type": "array",
|
|
57233
|
+
"items": {
|
|
57234
|
+
"$ref": "#/components/schemas/starred-repository"
|
|
57235
|
+
}
|
|
57236
|
+
},
|
|
57237
|
+
"examples": {
|
|
57238
|
+
"alternative-response-with-star-creation-timestamps": {
|
|
57239
|
+
"$ref": "#/components/examples/starred-repository-items-alternative-response-with-star-creation-timestamps"
|
|
57240
|
+
}
|
|
57241
|
+
}
|
|
57242
|
+
}
|
|
57243
|
+
},
|
|
57244
|
+
"headers": {
|
|
57245
|
+
"Link": {
|
|
57246
|
+
"$ref": "#/components/headers/link"
|
|
57247
|
+
}
|
|
57248
|
+
}
|
|
57249
|
+
},
|
|
57250
|
+
"304": {
|
|
57251
|
+
"$ref": "#/components/responses/not_modified"
|
|
57252
|
+
},
|
|
57253
|
+
"401": {
|
|
57254
|
+
"$ref": "#/components/responses/requires_authentication"
|
|
57255
|
+
},
|
|
57256
|
+
"403": {
|
|
57257
|
+
"$ref": "#/components/responses/forbidden"
|
|
57258
|
+
}
|
|
57259
|
+
},
|
|
57260
|
+
"x-github": {
|
|
57261
|
+
"githubCloudOnly": false,
|
|
57262
|
+
"enabledForGitHubApps": false,
|
|
57263
|
+
"category": "activity",
|
|
57264
|
+
"subcategory": "starring"
|
|
57265
|
+
},
|
|
57266
|
+
"x-octokit": {}
|
|
57267
|
+
}
|
|
57268
|
+
},
|
|
57269
|
+
"/user/starred/{owner}/{repo}": {
|
|
57270
|
+
"get": {
|
|
57271
|
+
"summary": "Check if a repository is starred by the authenticated user",
|
|
57272
|
+
"description": "",
|
|
57273
|
+
"tags": [
|
|
57274
|
+
"activity"
|
|
57275
|
+
],
|
|
57276
|
+
"operationId": "activity/check-repo-is-starred-by-authenticated-user",
|
|
57277
|
+
"externalDocs": {
|
|
57278
|
+
"description": "API method documentation",
|
|
57279
|
+
"url": "https://docs.github.com/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user"
|
|
57280
|
+
},
|
|
57281
|
+
"parameters": [
|
|
57282
|
+
{
|
|
57283
|
+
"$ref": "#/components/parameters/owner"
|
|
57284
|
+
},
|
|
57285
|
+
{
|
|
57286
|
+
"$ref": "#/components/parameters/repo"
|
|
57287
|
+
}
|
|
57288
|
+
],
|
|
57289
|
+
"responses": {
|
|
57290
|
+
"204": {
|
|
57291
|
+
"description": "Response if this repository is starred by you"
|
|
57292
|
+
},
|
|
57293
|
+
"304": {
|
|
57294
|
+
"$ref": "#/components/responses/not_modified"
|
|
57295
|
+
},
|
|
57296
|
+
"401": {
|
|
57297
|
+
"$ref": "#/components/responses/requires_authentication"
|
|
57298
|
+
},
|
|
57299
|
+
"403": {
|
|
57300
|
+
"$ref": "#/components/responses/forbidden"
|
|
57301
|
+
},
|
|
57302
|
+
"404": {
|
|
57303
|
+
"description": "Not Found if this repository is not starred by you",
|
|
57304
|
+
"content": {
|
|
57305
|
+
"application/json": {
|
|
57306
|
+
"schema": {
|
|
57307
|
+
"$ref": "#/components/schemas/basic-error"
|
|
57308
|
+
}
|
|
57309
|
+
}
|
|
57310
|
+
}
|
|
57311
|
+
}
|
|
57312
|
+
},
|
|
57313
|
+
"x-github": {
|
|
57314
|
+
"githubCloudOnly": false,
|
|
57315
|
+
"enabledForGitHubApps": false,
|
|
57316
|
+
"category": "activity",
|
|
57317
|
+
"subcategory": "starring"
|
|
57318
|
+
},
|
|
57319
|
+
"x-octokit": {}
|
|
57320
|
+
},
|
|
57321
|
+
"put": {
|
|
57322
|
+
"summary": "Star a repository for the authenticated user",
|
|
57323
|
+
"description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"",
|
|
57324
|
+
"tags": [
|
|
57325
|
+
"activity"
|
|
57326
|
+
],
|
|
57327
|
+
"operationId": "activity/star-repo-for-authenticated-user",
|
|
57328
|
+
"externalDocs": {
|
|
57329
|
+
"description": "API method documentation",
|
|
57330
|
+
"url": "https://docs.github.com/rest/reference/activity#star-a-repository-for-the-authenticated-user"
|
|
57331
|
+
},
|
|
57332
|
+
"parameters": [
|
|
57333
|
+
{
|
|
57334
|
+
"$ref": "#/components/parameters/owner"
|
|
57335
|
+
},
|
|
57336
|
+
{
|
|
57337
|
+
"$ref": "#/components/parameters/repo"
|
|
57338
|
+
}
|
|
57339
|
+
],
|
|
57340
|
+
"responses": {
|
|
57341
|
+
"204": {
|
|
57342
|
+
"description": "Response"
|
|
57343
|
+
},
|
|
57344
|
+
"304": {
|
|
57345
|
+
"$ref": "#/components/responses/not_modified"
|
|
57346
|
+
},
|
|
57347
|
+
"401": {
|
|
57348
|
+
"$ref": "#/components/responses/requires_authentication"
|
|
57349
|
+
},
|
|
57350
|
+
"403": {
|
|
57351
|
+
"$ref": "#/components/responses/forbidden"
|
|
57352
|
+
},
|
|
57353
|
+
"404": {
|
|
57354
|
+
"$ref": "#/components/responses/not_found"
|
|
57355
|
+
}
|
|
57356
|
+
},
|
|
57357
|
+
"x-github": {
|
|
57358
|
+
"githubCloudOnly": false,
|
|
57359
|
+
"enabledForGitHubApps": false,
|
|
57360
|
+
"category": "activity",
|
|
57361
|
+
"subcategory": "starring"
|
|
57362
|
+
},
|
|
57363
|
+
"x-octokit": {}
|
|
57364
|
+
},
|
|
57365
|
+
"delete": {
|
|
57366
|
+
"summary": "Unstar a repository for the authenticated user",
|
|
57367
|
+
"description": "",
|
|
57368
|
+
"tags": [
|
|
57369
|
+
"activity"
|
|
57370
|
+
],
|
|
57371
|
+
"operationId": "activity/unstar-repo-for-authenticated-user",
|
|
57372
|
+
"externalDocs": {
|
|
57373
|
+
"description": "API method documentation",
|
|
57374
|
+
"url": "https://docs.github.com/rest/reference/activity#unstar-a-repository-for-the-authenticated-user"
|
|
57375
|
+
},
|
|
57376
|
+
"parameters": [
|
|
57377
|
+
{
|
|
57378
|
+
"$ref": "#/components/parameters/owner"
|
|
57379
|
+
},
|
|
57380
|
+
{
|
|
57381
|
+
"$ref": "#/components/parameters/repo"
|
|
56926
57382
|
}
|
|
56927
57383
|
],
|
|
56928
57384
|
"responses": {
|
|
@@ -58696,6 +59152,63 @@
|
|
|
58696
59152
|
"x-octokit": {}
|
|
58697
59153
|
}
|
|
58698
59154
|
},
|
|
59155
|
+
"/users/{username}/ssh_signing_keys": {
|
|
59156
|
+
"get": {
|
|
59157
|
+
"summary": "List SSH signing keys for a user",
|
|
59158
|
+
"description": "Lists the SSH signing keys for a user. This operation is accessible by anyone.",
|
|
59159
|
+
"tags": [
|
|
59160
|
+
"users"
|
|
59161
|
+
],
|
|
59162
|
+
"operationId": "users/list-ssh-signing-keys-for-user",
|
|
59163
|
+
"externalDocs": {
|
|
59164
|
+
"description": "API method documentation",
|
|
59165
|
+
"url": "https://docs.github.com/rest/reference/users#list-ssh-signing-keys-for-a-user"
|
|
59166
|
+
},
|
|
59167
|
+
"parameters": [
|
|
59168
|
+
{
|
|
59169
|
+
"$ref": "#/components/parameters/username"
|
|
59170
|
+
},
|
|
59171
|
+
{
|
|
59172
|
+
"$ref": "#/components/parameters/per-page"
|
|
59173
|
+
},
|
|
59174
|
+
{
|
|
59175
|
+
"$ref": "#/components/parameters/page"
|
|
59176
|
+
}
|
|
59177
|
+
],
|
|
59178
|
+
"responses": {
|
|
59179
|
+
"200": {
|
|
59180
|
+
"description": "Response",
|
|
59181
|
+
"content": {
|
|
59182
|
+
"application/json": {
|
|
59183
|
+
"schema": {
|
|
59184
|
+
"type": "array",
|
|
59185
|
+
"items": {
|
|
59186
|
+
"$ref": "#/components/schemas/ssh-signing-key"
|
|
59187
|
+
}
|
|
59188
|
+
},
|
|
59189
|
+
"examples": {
|
|
59190
|
+
"default": {
|
|
59191
|
+
"$ref": "#/components/examples/ssh-signing-key-items"
|
|
59192
|
+
}
|
|
59193
|
+
}
|
|
59194
|
+
}
|
|
59195
|
+
},
|
|
59196
|
+
"headers": {
|
|
59197
|
+
"Link": {
|
|
59198
|
+
"$ref": "#/components/headers/link"
|
|
59199
|
+
}
|
|
59200
|
+
}
|
|
59201
|
+
}
|
|
59202
|
+
},
|
|
59203
|
+
"x-github": {
|
|
59204
|
+
"githubCloudOnly": false,
|
|
59205
|
+
"enabledForGitHubApps": true,
|
|
59206
|
+
"category": "users",
|
|
59207
|
+
"subcategory": "ssh-signing-keys"
|
|
59208
|
+
},
|
|
59209
|
+
"x-octokit": {}
|
|
59210
|
+
}
|
|
59211
|
+
},
|
|
58699
59212
|
"/users/{username}/starred": {
|
|
58700
59213
|
"get": {
|
|
58701
59214
|
"summary": "List repositories starred by a user",
|
|
@@ -59971,14 +60484,6 @@
|
|
|
59971
60484
|
"write"
|
|
59972
60485
|
]
|
|
59973
60486
|
},
|
|
59974
|
-
"organization_custom_roles": {
|
|
59975
|
-
"type": "string",
|
|
59976
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
59977
|
-
"enum": [
|
|
59978
|
-
"read",
|
|
59979
|
-
"write"
|
|
59980
|
-
]
|
|
59981
|
-
},
|
|
59982
60487
|
"deployments": {
|
|
59983
60488
|
"type": "string",
|
|
59984
60489
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -60123,6 +60628,14 @@
|
|
|
60123
60628
|
"write"
|
|
60124
60629
|
]
|
|
60125
60630
|
},
|
|
60631
|
+
"organization_custom_roles": {
|
|
60632
|
+
"type": "string",
|
|
60633
|
+
"description": "The level of permission to grant the access token for custom roles management. This property is in beta and is subject to change.",
|
|
60634
|
+
"enum": [
|
|
60635
|
+
"read",
|
|
60636
|
+
"write"
|
|
60637
|
+
]
|
|
60638
|
+
},
|
|
60126
60639
|
"organization_hooks": {
|
|
60127
60640
|
"type": "string",
|
|
60128
60641
|
"description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.",
|
|
@@ -61206,6 +61719,10 @@
|
|
|
61206
61719
|
"starred_at": {
|
|
61207
61720
|
"type": "string",
|
|
61208
61721
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
61722
|
+
},
|
|
61723
|
+
"anonymous_access_enabled": {
|
|
61724
|
+
"type": "boolean",
|
|
61725
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
61209
61726
|
}
|
|
61210
61727
|
},
|
|
61211
61728
|
"required": [
|
|
@@ -62426,6 +62943,11 @@
|
|
|
62426
62943
|
"nullable": true,
|
|
62427
62944
|
"type": "string",
|
|
62428
62945
|
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
|
|
62946
|
+
},
|
|
62947
|
+
"help_uri": {
|
|
62948
|
+
"nullable": true,
|
|
62949
|
+
"type": "string",
|
|
62950
|
+
"description": "A link to the documentation for the rule used to detect the alert."
|
|
62429
62951
|
}
|
|
62430
62952
|
}
|
|
62431
62953
|
},
|
|
@@ -66150,6 +66672,10 @@
|
|
|
66150
66672
|
"starred_at": {
|
|
66151
66673
|
"type": "string",
|
|
66152
66674
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
66675
|
+
},
|
|
66676
|
+
"anonymous_access_enabled": {
|
|
66677
|
+
"type": "boolean",
|
|
66678
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
66153
66679
|
}
|
|
66154
66680
|
},
|
|
66155
66681
|
"required": [
|
|
@@ -67022,6 +67548,36 @@
|
|
|
67022
67548
|
"updated_at": {
|
|
67023
67549
|
"type": "string",
|
|
67024
67550
|
"format": "date-time"
|
|
67551
|
+
},
|
|
67552
|
+
"advanced_security_enabled_for_new_repositories": {
|
|
67553
|
+
"type": "boolean",
|
|
67554
|
+
"example": false,
|
|
67555
|
+
"description": "Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role."
|
|
67556
|
+
},
|
|
67557
|
+
"dependabot_alerts_enabled_for_new_repositories": {
|
|
67558
|
+
"type": "boolean",
|
|
67559
|
+
"example": false,
|
|
67560
|
+
"description": "Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to\nthis organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role."
|
|
67561
|
+
},
|
|
67562
|
+
"dependabot_security_updates_enabled_for_new_repositories": {
|
|
67563
|
+
"type": "boolean",
|
|
67564
|
+
"example": false,
|
|
67565
|
+
"description": "Whether dependabot security updates are automatically enabled for new repositories and repositories transferred\nto this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role."
|
|
67566
|
+
},
|
|
67567
|
+
"dependency_graph_enabled_for_new_repositories": {
|
|
67568
|
+
"type": "boolean",
|
|
67569
|
+
"example": false,
|
|
67570
|
+
"description": "Whether dependency graph is automatically enabled for new repositories and repositories transferred to this\norganization.\n\nThis field is only visible to organization owners or members of a team with the security manager role."
|
|
67571
|
+
},
|
|
67572
|
+
"secret_scanning_enabled_for_new_repositories": {
|
|
67573
|
+
"type": "boolean",
|
|
67574
|
+
"example": false,
|
|
67575
|
+
"description": "Whether secret scanning is automatically enabled for new repositories and repositories transferred to this\norganization.\n\nThis field is only visible to organization owners or members of a team with the security manager role."
|
|
67576
|
+
},
|
|
67577
|
+
"secret_scanning_push_protection_enabled_for_new_repositories": {
|
|
67578
|
+
"type": "boolean",
|
|
67579
|
+
"example": false,
|
|
67580
|
+
"description": "Whether secret scanning push protection is automatically enabled for new repositories and repositories\ntransferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role."
|
|
67025
67581
|
}
|
|
67026
67582
|
},
|
|
67027
67583
|
"required": [
|
|
@@ -67538,6 +68094,12 @@
|
|
|
67538
68094
|
"format": "date-time",
|
|
67539
68095
|
"example": "2011-01-26T20:01:12Z",
|
|
67540
68096
|
"nullable": true
|
|
68097
|
+
},
|
|
68098
|
+
"last_known_stop_notice": {
|
|
68099
|
+
"description": "The text to display to a user when a codespace has been stopped for a potentially actionable reason.",
|
|
68100
|
+
"type": "string",
|
|
68101
|
+
"example": "you've used 100% of your spending limit for Codespaces",
|
|
68102
|
+
"nullable": true
|
|
67541
68103
|
}
|
|
67542
68104
|
},
|
|
67543
68105
|
"required": [
|
|
@@ -69249,6 +69811,267 @@
|
|
|
69249
69811
|
}
|
|
69250
69812
|
}
|
|
69251
69813
|
},
|
|
69814
|
+
"team-organization": {
|
|
69815
|
+
"title": "Team Organization",
|
|
69816
|
+
"description": "Team Organization",
|
|
69817
|
+
"type": "object",
|
|
69818
|
+
"properties": {
|
|
69819
|
+
"login": {
|
|
69820
|
+
"type": "string",
|
|
69821
|
+
"example": "github"
|
|
69822
|
+
},
|
|
69823
|
+
"id": {
|
|
69824
|
+
"type": "integer",
|
|
69825
|
+
"example": 1
|
|
69826
|
+
},
|
|
69827
|
+
"node_id": {
|
|
69828
|
+
"type": "string",
|
|
69829
|
+
"example": "MDEyOk9yZ2FuaXphdGlvbjE="
|
|
69830
|
+
},
|
|
69831
|
+
"url": {
|
|
69832
|
+
"type": "string",
|
|
69833
|
+
"format": "uri",
|
|
69834
|
+
"example": "https://api.github.com/orgs/github"
|
|
69835
|
+
},
|
|
69836
|
+
"repos_url": {
|
|
69837
|
+
"type": "string",
|
|
69838
|
+
"format": "uri",
|
|
69839
|
+
"example": "https://api.github.com/orgs/github/repos"
|
|
69840
|
+
},
|
|
69841
|
+
"events_url": {
|
|
69842
|
+
"type": "string",
|
|
69843
|
+
"format": "uri",
|
|
69844
|
+
"example": "https://api.github.com/orgs/github/events"
|
|
69845
|
+
},
|
|
69846
|
+
"hooks_url": {
|
|
69847
|
+
"type": "string",
|
|
69848
|
+
"example": "https://api.github.com/orgs/github/hooks"
|
|
69849
|
+
},
|
|
69850
|
+
"issues_url": {
|
|
69851
|
+
"type": "string",
|
|
69852
|
+
"example": "https://api.github.com/orgs/github/issues"
|
|
69853
|
+
},
|
|
69854
|
+
"members_url": {
|
|
69855
|
+
"type": "string",
|
|
69856
|
+
"example": "https://api.github.com/orgs/github/members{/member}"
|
|
69857
|
+
},
|
|
69858
|
+
"public_members_url": {
|
|
69859
|
+
"type": "string",
|
|
69860
|
+
"example": "https://api.github.com/orgs/github/public_members{/member}"
|
|
69861
|
+
},
|
|
69862
|
+
"avatar_url": {
|
|
69863
|
+
"type": "string",
|
|
69864
|
+
"example": "https://github.com/images/error/octocat_happy.gif"
|
|
69865
|
+
},
|
|
69866
|
+
"description": {
|
|
69867
|
+
"type": "string",
|
|
69868
|
+
"example": "A great organization",
|
|
69869
|
+
"nullable": true
|
|
69870
|
+
},
|
|
69871
|
+
"name": {
|
|
69872
|
+
"type": "string",
|
|
69873
|
+
"example": "github"
|
|
69874
|
+
},
|
|
69875
|
+
"company": {
|
|
69876
|
+
"type": "string",
|
|
69877
|
+
"example": "GitHub"
|
|
69878
|
+
},
|
|
69879
|
+
"blog": {
|
|
69880
|
+
"type": "string",
|
|
69881
|
+
"format": "uri",
|
|
69882
|
+
"example": "https://github.com/blog"
|
|
69883
|
+
},
|
|
69884
|
+
"location": {
|
|
69885
|
+
"type": "string",
|
|
69886
|
+
"example": "San Francisco"
|
|
69887
|
+
},
|
|
69888
|
+
"email": {
|
|
69889
|
+
"type": "string",
|
|
69890
|
+
"format": "email",
|
|
69891
|
+
"example": "octocat@github.com"
|
|
69892
|
+
},
|
|
69893
|
+
"twitter_username": {
|
|
69894
|
+
"type": "string",
|
|
69895
|
+
"example": "github",
|
|
69896
|
+
"nullable": true
|
|
69897
|
+
},
|
|
69898
|
+
"is_verified": {
|
|
69899
|
+
"type": "boolean",
|
|
69900
|
+
"example": true
|
|
69901
|
+
},
|
|
69902
|
+
"has_organization_projects": {
|
|
69903
|
+
"type": "boolean",
|
|
69904
|
+
"example": true
|
|
69905
|
+
},
|
|
69906
|
+
"has_repository_projects": {
|
|
69907
|
+
"type": "boolean",
|
|
69908
|
+
"example": true
|
|
69909
|
+
},
|
|
69910
|
+
"public_repos": {
|
|
69911
|
+
"type": "integer",
|
|
69912
|
+
"example": 2
|
|
69913
|
+
},
|
|
69914
|
+
"public_gists": {
|
|
69915
|
+
"type": "integer",
|
|
69916
|
+
"example": 1
|
|
69917
|
+
},
|
|
69918
|
+
"followers": {
|
|
69919
|
+
"type": "integer",
|
|
69920
|
+
"example": 20
|
|
69921
|
+
},
|
|
69922
|
+
"following": {
|
|
69923
|
+
"type": "integer",
|
|
69924
|
+
"example": 0
|
|
69925
|
+
},
|
|
69926
|
+
"html_url": {
|
|
69927
|
+
"type": "string",
|
|
69928
|
+
"format": "uri",
|
|
69929
|
+
"example": "https://github.com/octocat"
|
|
69930
|
+
},
|
|
69931
|
+
"created_at": {
|
|
69932
|
+
"type": "string",
|
|
69933
|
+
"format": "date-time",
|
|
69934
|
+
"example": "2008-01-14T04:33:35Z"
|
|
69935
|
+
},
|
|
69936
|
+
"type": {
|
|
69937
|
+
"type": "string",
|
|
69938
|
+
"example": "Organization"
|
|
69939
|
+
},
|
|
69940
|
+
"total_private_repos": {
|
|
69941
|
+
"type": "integer",
|
|
69942
|
+
"example": 100
|
|
69943
|
+
},
|
|
69944
|
+
"owned_private_repos": {
|
|
69945
|
+
"type": "integer",
|
|
69946
|
+
"example": 100
|
|
69947
|
+
},
|
|
69948
|
+
"private_gists": {
|
|
69949
|
+
"type": "integer",
|
|
69950
|
+
"example": 81,
|
|
69951
|
+
"nullable": true
|
|
69952
|
+
},
|
|
69953
|
+
"disk_usage": {
|
|
69954
|
+
"type": "integer",
|
|
69955
|
+
"example": 10000,
|
|
69956
|
+
"nullable": true
|
|
69957
|
+
},
|
|
69958
|
+
"collaborators": {
|
|
69959
|
+
"type": "integer",
|
|
69960
|
+
"example": 8,
|
|
69961
|
+
"nullable": true
|
|
69962
|
+
},
|
|
69963
|
+
"billing_email": {
|
|
69964
|
+
"type": "string",
|
|
69965
|
+
"format": "email",
|
|
69966
|
+
"example": "org@example.com",
|
|
69967
|
+
"nullable": true
|
|
69968
|
+
},
|
|
69969
|
+
"plan": {
|
|
69970
|
+
"type": "object",
|
|
69971
|
+
"properties": {
|
|
69972
|
+
"name": {
|
|
69973
|
+
"type": "string"
|
|
69974
|
+
},
|
|
69975
|
+
"space": {
|
|
69976
|
+
"type": "integer"
|
|
69977
|
+
},
|
|
69978
|
+
"private_repos": {
|
|
69979
|
+
"type": "integer"
|
|
69980
|
+
},
|
|
69981
|
+
"filled_seats": {
|
|
69982
|
+
"type": "integer"
|
|
69983
|
+
},
|
|
69984
|
+
"seats": {
|
|
69985
|
+
"type": "integer"
|
|
69986
|
+
}
|
|
69987
|
+
},
|
|
69988
|
+
"required": [
|
|
69989
|
+
"name",
|
|
69990
|
+
"space",
|
|
69991
|
+
"private_repos"
|
|
69992
|
+
]
|
|
69993
|
+
},
|
|
69994
|
+
"default_repository_permission": {
|
|
69995
|
+
"type": "string",
|
|
69996
|
+
"nullable": true
|
|
69997
|
+
},
|
|
69998
|
+
"members_can_create_repositories": {
|
|
69999
|
+
"type": "boolean",
|
|
70000
|
+
"example": true,
|
|
70001
|
+
"nullable": true
|
|
70002
|
+
},
|
|
70003
|
+
"two_factor_requirement_enabled": {
|
|
70004
|
+
"type": "boolean",
|
|
70005
|
+
"example": true,
|
|
70006
|
+
"nullable": true
|
|
70007
|
+
},
|
|
70008
|
+
"members_allowed_repository_creation_type": {
|
|
70009
|
+
"type": "string",
|
|
70010
|
+
"example": "all"
|
|
70011
|
+
},
|
|
70012
|
+
"members_can_create_public_repositories": {
|
|
70013
|
+
"type": "boolean",
|
|
70014
|
+
"example": true
|
|
70015
|
+
},
|
|
70016
|
+
"members_can_create_private_repositories": {
|
|
70017
|
+
"type": "boolean",
|
|
70018
|
+
"example": true
|
|
70019
|
+
},
|
|
70020
|
+
"members_can_create_internal_repositories": {
|
|
70021
|
+
"type": "boolean",
|
|
70022
|
+
"example": true
|
|
70023
|
+
},
|
|
70024
|
+
"members_can_create_pages": {
|
|
70025
|
+
"type": "boolean",
|
|
70026
|
+
"example": true
|
|
70027
|
+
},
|
|
70028
|
+
"members_can_create_public_pages": {
|
|
70029
|
+
"type": "boolean",
|
|
70030
|
+
"example": true
|
|
70031
|
+
},
|
|
70032
|
+
"members_can_create_private_pages": {
|
|
70033
|
+
"type": "boolean",
|
|
70034
|
+
"example": true
|
|
70035
|
+
},
|
|
70036
|
+
"members_can_fork_private_repositories": {
|
|
70037
|
+
"type": "boolean",
|
|
70038
|
+
"example": false,
|
|
70039
|
+
"nullable": true
|
|
70040
|
+
},
|
|
70041
|
+
"web_commit_signoff_required": {
|
|
70042
|
+
"type": "boolean",
|
|
70043
|
+
"example": false
|
|
70044
|
+
},
|
|
70045
|
+
"updated_at": {
|
|
70046
|
+
"type": "string",
|
|
70047
|
+
"format": "date-time"
|
|
70048
|
+
}
|
|
70049
|
+
},
|
|
70050
|
+
"required": [
|
|
70051
|
+
"login",
|
|
70052
|
+
"url",
|
|
70053
|
+
"id",
|
|
70054
|
+
"node_id",
|
|
70055
|
+
"repos_url",
|
|
70056
|
+
"events_url",
|
|
70057
|
+
"hooks_url",
|
|
70058
|
+
"issues_url",
|
|
70059
|
+
"members_url",
|
|
70060
|
+
"public_members_url",
|
|
70061
|
+
"avatar_url",
|
|
70062
|
+
"description",
|
|
70063
|
+
"html_url",
|
|
70064
|
+
"has_organization_projects",
|
|
70065
|
+
"has_repository_projects",
|
|
70066
|
+
"public_repos",
|
|
70067
|
+
"public_gists",
|
|
70068
|
+
"followers",
|
|
70069
|
+
"following",
|
|
70070
|
+
"type",
|
|
70071
|
+
"created_at",
|
|
70072
|
+
"updated_at"
|
|
70073
|
+
]
|
|
70074
|
+
},
|
|
69252
70075
|
"team-full": {
|
|
69253
70076
|
"title": "Full Team",
|
|
69254
70077
|
"description": "Groups of organization members that gives permissions on specified repositories.",
|
|
@@ -69333,7 +70156,7 @@
|
|
|
69333
70156
|
"example": "2017-08-17T12:37:15Z"
|
|
69334
70157
|
},
|
|
69335
70158
|
"organization": {
|
|
69336
|
-
"$ref": "#/components/schemas/organization
|
|
70159
|
+
"$ref": "#/components/schemas/team-organization"
|
|
69337
70160
|
},
|
|
69338
70161
|
"ldap_dn": {
|
|
69339
70162
|
"description": "Distinguished Name (DN) that team maps to within LDAP environment",
|
|
@@ -72381,14 +73204,16 @@
|
|
|
72381
73204
|
"type": "string"
|
|
72382
73205
|
},
|
|
72383
73206
|
"is_alphanumeric": {
|
|
72384
|
-
"description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference
|
|
73207
|
+
"description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters.",
|
|
73208
|
+
"example": true,
|
|
72385
73209
|
"type": "boolean"
|
|
72386
73210
|
}
|
|
72387
73211
|
},
|
|
72388
73212
|
"required": [
|
|
72389
73213
|
"id",
|
|
72390
73214
|
"key_prefix",
|
|
72391
|
-
"url_template"
|
|
73215
|
+
"url_template",
|
|
73216
|
+
"is_alphanumeric"
|
|
72392
73217
|
]
|
|
72393
73218
|
},
|
|
72394
73219
|
"protected-branch-required-status-check": {
|
|
@@ -86144,6 +86969,32 @@
|
|
|
86144
86969
|
"plan"
|
|
86145
86970
|
]
|
|
86146
86971
|
},
|
|
86972
|
+
"ssh-signing-key": {
|
|
86973
|
+
"title": "SSH Signing Key",
|
|
86974
|
+
"description": "A public SSH key used to sign Git commits",
|
|
86975
|
+
"type": "object",
|
|
86976
|
+
"properties": {
|
|
86977
|
+
"key": {
|
|
86978
|
+
"type": "string"
|
|
86979
|
+
},
|
|
86980
|
+
"id": {
|
|
86981
|
+
"type": "integer"
|
|
86982
|
+
},
|
|
86983
|
+
"title": {
|
|
86984
|
+
"type": "string"
|
|
86985
|
+
},
|
|
86986
|
+
"created_at": {
|
|
86987
|
+
"type": "string",
|
|
86988
|
+
"format": "date-time"
|
|
86989
|
+
}
|
|
86990
|
+
},
|
|
86991
|
+
"required": [
|
|
86992
|
+
"key",
|
|
86993
|
+
"id",
|
|
86994
|
+
"title",
|
|
86995
|
+
"created_at"
|
|
86996
|
+
]
|
|
86997
|
+
},
|
|
86147
86998
|
"starred-repository": {
|
|
86148
86999
|
"title": "Starred Repository",
|
|
86149
87000
|
"description": "Starred Repository",
|
|
@@ -97014,6 +97865,109 @@
|
|
|
97014
97865
|
}
|
|
97015
97866
|
]
|
|
97016
97867
|
},
|
|
97868
|
+
"branch-get": {
|
|
97869
|
+
"value": {
|
|
97870
|
+
"name": "main",
|
|
97871
|
+
"commit": {
|
|
97872
|
+
"sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
97873
|
+
"node_id": "MDY6Q29tbWl0MTI5NjI2OTo3ZmQxYTYwYjAxZjkxYjMxNGY1OTk1NWE0ZTRkNGU4MGQ4ZWRmMTFk",
|
|
97874
|
+
"commit": {
|
|
97875
|
+
"author": {
|
|
97876
|
+
"name": "The Octocat",
|
|
97877
|
+
"email": "octocat@nowhere.com",
|
|
97878
|
+
"date": "2012-03-06T23:06:50Z"
|
|
97879
|
+
},
|
|
97880
|
+
"committer": {
|
|
97881
|
+
"name": "The Octocat",
|
|
97882
|
+
"email": "octocat@nowhere.com",
|
|
97883
|
+
"date": "2012-03-06T23:06:50Z"
|
|
97884
|
+
},
|
|
97885
|
+
"message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
|
|
97886
|
+
"tree": {
|
|
97887
|
+
"sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
|
|
97888
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
|
|
97889
|
+
},
|
|
97890
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
97891
|
+
"comment_count": 77,
|
|
97892
|
+
"verification": {
|
|
97893
|
+
"verified": false,
|
|
97894
|
+
"reason": "unsigned",
|
|
97895
|
+
"signature": null,
|
|
97896
|
+
"payload": null
|
|
97897
|
+
}
|
|
97898
|
+
},
|
|
97899
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
97900
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
97901
|
+
"comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
|
|
97902
|
+
"author": {
|
|
97903
|
+
"login": "octocat",
|
|
97904
|
+
"id": 583231,
|
|
97905
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
97906
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
97907
|
+
"gravatar_id": "",
|
|
97908
|
+
"url": "https://api.github.com/users/octocat",
|
|
97909
|
+
"html_url": "https://github.com/octocat",
|
|
97910
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
97911
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
97912
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
97913
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
97914
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
97915
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
97916
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
97917
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
97918
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
97919
|
+
"type": "User",
|
|
97920
|
+
"site_admin": false
|
|
97921
|
+
},
|
|
97922
|
+
"committer": {
|
|
97923
|
+
"login": "octocat",
|
|
97924
|
+
"id": 583231,
|
|
97925
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
97926
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
97927
|
+
"gravatar_id": "",
|
|
97928
|
+
"url": "https://api.github.com/users/octocat",
|
|
97929
|
+
"html_url": "https://github.com/octocat",
|
|
97930
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
97931
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
97932
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
97933
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
97934
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
97935
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
97936
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
97937
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
97938
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
97939
|
+
"type": "User",
|
|
97940
|
+
"site_admin": false
|
|
97941
|
+
},
|
|
97942
|
+
"parents": [
|
|
97943
|
+
{
|
|
97944
|
+
"sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
97945
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
97946
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
|
|
97947
|
+
},
|
|
97948
|
+
{
|
|
97949
|
+
"sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
97950
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
97951
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/762941318ee16e59dabbacb1b4049eec22f0d303"
|
|
97952
|
+
}
|
|
97953
|
+
]
|
|
97954
|
+
},
|
|
97955
|
+
"_links": {
|
|
97956
|
+
"self": "https://api.github.com/repos/octocat/Hello-World/branches/main",
|
|
97957
|
+
"html": "https://github.com/octocat/Hello-World/tree/main"
|
|
97958
|
+
},
|
|
97959
|
+
"protected": false,
|
|
97960
|
+
"protection": {
|
|
97961
|
+
"enabled": false,
|
|
97962
|
+
"required_status_checks": {
|
|
97963
|
+
"enforcement_level": "off",
|
|
97964
|
+
"contexts": [],
|
|
97965
|
+
"checks": []
|
|
97966
|
+
}
|
|
97967
|
+
},
|
|
97968
|
+
"protection_url": "https://api.github.com/repos/octocat/Hello-World/branches/main/protection"
|
|
97969
|
+
}
|
|
97970
|
+
},
|
|
97017
97971
|
"branch-protection": {
|
|
97018
97972
|
"value": {
|
|
97019
97973
|
"url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection",
|
|
@@ -97210,6 +98164,71 @@
|
|
|
97210
98164
|
}
|
|
97211
98165
|
}
|
|
97212
98166
|
},
|
|
98167
|
+
"branch-protection-update": {
|
|
98168
|
+
"value": {
|
|
98169
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection",
|
|
98170
|
+
"required_status_checks": {
|
|
98171
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks",
|
|
98172
|
+
"strict": true,
|
|
98173
|
+
"contexts": [
|
|
98174
|
+
"continuous-integration/travis-ci"
|
|
98175
|
+
],
|
|
98176
|
+
"contexts_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks/contexts",
|
|
98177
|
+
"checks": [
|
|
98178
|
+
{
|
|
98179
|
+
"context": "continuous-integration/travis-ci",
|
|
98180
|
+
"app_id": null
|
|
98181
|
+
}
|
|
98182
|
+
]
|
|
98183
|
+
},
|
|
98184
|
+
"restrictions": {
|
|
98185
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions",
|
|
98186
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/users",
|
|
98187
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/teams",
|
|
98188
|
+
"apps_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/apps",
|
|
98189
|
+
"users": [],
|
|
98190
|
+
"teams": [],
|
|
98191
|
+
"apps": []
|
|
98192
|
+
},
|
|
98193
|
+
"required_pull_request_reviews": {
|
|
98194
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_pull_request_reviews",
|
|
98195
|
+
"dismiss_stale_reviews": true,
|
|
98196
|
+
"require_code_owner_reviews": true,
|
|
98197
|
+
"required_approving_review_count": 2,
|
|
98198
|
+
"dismissal_restrictions": {
|
|
98199
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions",
|
|
98200
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/users",
|
|
98201
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/teams",
|
|
98202
|
+
"users": [],
|
|
98203
|
+
"teams": [],
|
|
98204
|
+
"apps": []
|
|
98205
|
+
}
|
|
98206
|
+
},
|
|
98207
|
+
"required_signatures": {
|
|
98208
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_signatures",
|
|
98209
|
+
"enabled": false
|
|
98210
|
+
},
|
|
98211
|
+
"enforce_admins": {
|
|
98212
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/enforce_admins",
|
|
98213
|
+
"enabled": true
|
|
98214
|
+
},
|
|
98215
|
+
"required_linear_history": {
|
|
98216
|
+
"enabled": true
|
|
98217
|
+
},
|
|
98218
|
+
"allow_force_pushes": {
|
|
98219
|
+
"enabled": true
|
|
98220
|
+
},
|
|
98221
|
+
"allow_deletions": {
|
|
98222
|
+
"enabled": true
|
|
98223
|
+
},
|
|
98224
|
+
"block_creations": {
|
|
98225
|
+
"enabled": true
|
|
98226
|
+
},
|
|
98227
|
+
"required_conversation_resolution": {
|
|
98228
|
+
"enabled": true
|
|
98229
|
+
}
|
|
98230
|
+
}
|
|
98231
|
+
},
|
|
97213
98232
|
"protected-branch-admin-enforced-2": {
|
|
97214
98233
|
"value": {
|
|
97215
98234
|
"url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins",
|
|
@@ -98643,7 +99662,8 @@
|
|
|
98643
99662
|
"security",
|
|
98644
99663
|
"external/cwe/cwe-022"
|
|
98645
99664
|
],
|
|
98646
|
-
"help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ..."
|
|
99665
|
+
"help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ...",
|
|
99666
|
+
"help_uri": "https://codeql.github.com/"
|
|
98647
99667
|
},
|
|
98648
99668
|
"tool": {
|
|
98649
99669
|
"name": "CodeQL",
|
|
@@ -98715,7 +99735,8 @@
|
|
|
98715
99735
|
"security",
|
|
98716
99736
|
"external/cwe/cwe-022"
|
|
98717
99737
|
],
|
|
98718
|
-
"help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ..."
|
|
99738
|
+
"help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ...",
|
|
99739
|
+
"help_uri": "https://codeql.github.com/"
|
|
98719
99740
|
},
|
|
98720
99741
|
"tool": {
|
|
98721
99742
|
"name": "CodeQL",
|
|
@@ -98751,6 +99772,7 @@
|
|
|
98751
99772
|
"ref": "refs/heads/main",
|
|
98752
99773
|
"analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
|
|
98753
99774
|
"environment": "",
|
|
99775
|
+
"category": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
|
|
98754
99776
|
"state": "open",
|
|
98755
99777
|
"fixed_at": null,
|
|
98756
99778
|
"commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930",
|
|
@@ -102703,7 +103725,8 @@
|
|
|
102703
103725
|
"type": "User",
|
|
102704
103726
|
"site_admin": false
|
|
102705
103727
|
},
|
|
102706
|
-
"author_association": "COLLABORATOR"
|
|
103728
|
+
"author_association": "COLLABORATOR",
|
|
103729
|
+
"state_reason": "completed"
|
|
102707
103730
|
}
|
|
102708
103731
|
]
|
|
102709
103732
|
},
|
|
@@ -102863,7 +103886,8 @@
|
|
|
102863
103886
|
"type": "User",
|
|
102864
103887
|
"site_admin": false
|
|
102865
103888
|
},
|
|
102866
|
-
"author_association": "COLLABORATOR"
|
|
103889
|
+
"author_association": "COLLABORATOR",
|
|
103890
|
+
"state_reason": "completed"
|
|
102867
103891
|
}
|
|
102868
103892
|
},
|
|
102869
103893
|
"issue-comment-items": {
|
|
@@ -103099,7 +104123,8 @@
|
|
|
103099
104123
|
"closed_at": null,
|
|
103100
104124
|
"created_at": "2011-04-22T13:33:48Z",
|
|
103101
104125
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
103102
|
-
"author_association": "COLLABORATOR"
|
|
104126
|
+
"author_association": "COLLABORATOR",
|
|
104127
|
+
"state_reason": "completed"
|
|
103103
104128
|
}
|
|
103104
104129
|
}
|
|
103105
104130
|
]
|
|
@@ -103308,7 +104333,8 @@
|
|
|
103308
104333
|
"closed_at": null,
|
|
103309
104334
|
"created_at": "2011-04-22T13:33:48Z",
|
|
103310
104335
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
103311
|
-
"author_association": "COLLABORATOR"
|
|
104336
|
+
"author_association": "COLLABORATOR",
|
|
104337
|
+
"state_reason": "completed"
|
|
103312
104338
|
}
|
|
103313
104339
|
}
|
|
103314
104340
|
},
|
|
@@ -108282,7 +109308,8 @@
|
|
|
108282
109308
|
"body": "...",
|
|
108283
109309
|
"score": 1,
|
|
108284
109310
|
"locked": true,
|
|
108285
|
-
"author_association": "COLLABORATOR"
|
|
109311
|
+
"author_association": "COLLABORATOR",
|
|
109312
|
+
"state_reason": "completed"
|
|
108286
109313
|
}
|
|
108287
109314
|
]
|
|
108288
109315
|
}
|
|
@@ -110309,6 +111336,33 @@
|
|
|
110309
111336
|
}
|
|
110310
111337
|
]
|
|
110311
111338
|
},
|
|
111339
|
+
"ssh-signing-key-items": {
|
|
111340
|
+
"value": [
|
|
111341
|
+
{
|
|
111342
|
+
"key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234",
|
|
111343
|
+
"id": 2,
|
|
111344
|
+
"url": "https://api.github.com/user/keys/2",
|
|
111345
|
+
"title": "ssh-rsa AAAAB3NzaC1yc2EAAA",
|
|
111346
|
+
"created_at": "2020-06-11T21:31:57Z"
|
|
111347
|
+
},
|
|
111348
|
+
{
|
|
111349
|
+
"key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJy931234",
|
|
111350
|
+
"id": 3,
|
|
111351
|
+
"url": "https://api.github.com/user/keys/3",
|
|
111352
|
+
"title": "ssh-rsa AAAAB3NzaC1yc2EAAB",
|
|
111353
|
+
"created_at": "2020-07-11T21:31:57Z"
|
|
111354
|
+
}
|
|
111355
|
+
]
|
|
111356
|
+
},
|
|
111357
|
+
"ssh-signing-key": {
|
|
111358
|
+
"value": {
|
|
111359
|
+
"key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234",
|
|
111360
|
+
"id": 2,
|
|
111361
|
+
"url": "https://api.github.com/user/keys/2",
|
|
111362
|
+
"title": "ssh-rsa AAAAB3NzaC1yc2EAAA",
|
|
111363
|
+
"created_at": "2020-06-11T21:31:57Z"
|
|
111364
|
+
}
|
|
111365
|
+
},
|
|
110312
111366
|
"starred-repository-items-alternative-response-with-star-creation-timestamps": {
|
|
110313
111367
|
"summary": "Alternative response with star creation timestamps",
|
|
110314
111368
|
"value": [
|
|
@@ -112038,6 +113092,36 @@
|
|
|
112038
113092
|
"type": "integer"
|
|
112039
113093
|
}
|
|
112040
113094
|
},
|
|
113095
|
+
"security-product": {
|
|
113096
|
+
"name": "security_product",
|
|
113097
|
+
"in": "path",
|
|
113098
|
+
"description": "The security feature to enable or disable.",
|
|
113099
|
+
"required": true,
|
|
113100
|
+
"schema": {
|
|
113101
|
+
"type": "string",
|
|
113102
|
+
"enum": [
|
|
113103
|
+
"dependency_graph",
|
|
113104
|
+
"dependabot_alerts",
|
|
113105
|
+
"dependabot_security_updates",
|
|
113106
|
+
"advanced_security",
|
|
113107
|
+
"secret_scanning",
|
|
113108
|
+
"secret_scanning_push_protection"
|
|
113109
|
+
]
|
|
113110
|
+
}
|
|
113111
|
+
},
|
|
113112
|
+
"org-security-product-enablement": {
|
|
113113
|
+
"name": "enablement",
|
|
113114
|
+
"in": "path",
|
|
113115
|
+
"description": "The action to take.\n\n`enable_all` means to enable the specified security feature for all repositories in the organization.\n`disable_all` means to disable the specified security feature for all repositories in the organization.",
|
|
113116
|
+
"required": true,
|
|
113117
|
+
"schema": {
|
|
113118
|
+
"type": "string",
|
|
113119
|
+
"enum": [
|
|
113120
|
+
"enable_all",
|
|
113121
|
+
"disable_all"
|
|
113122
|
+
]
|
|
113123
|
+
}
|
|
113124
|
+
},
|
|
112041
113125
|
"card-id": {
|
|
112042
113126
|
"name": "card_id",
|
|
112043
113127
|
"description": "The unique identifier of the card.",
|
|
@@ -112542,6 +113626,15 @@
|
|
|
112542
113626
|
"schema": {
|
|
112543
113627
|
"type": "integer"
|
|
112544
113628
|
}
|
|
113629
|
+
},
|
|
113630
|
+
"ssh-signing-key-id": {
|
|
113631
|
+
"name": "ssh_signing_key_id",
|
|
113632
|
+
"description": "The unique identifier of the SSH signing key.",
|
|
113633
|
+
"in": "path",
|
|
113634
|
+
"required": true,
|
|
113635
|
+
"schema": {
|
|
113636
|
+
"type": "integer"
|
|
113637
|
+
}
|
|
112545
113638
|
}
|
|
112546
113639
|
},
|
|
112547
113640
|
"headers": {
|