@octokit/openapi 7.6.0 → 7.7.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 +1577 -517
- package/generated/api.github.com.json +491 -1
- 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 +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +1 -1
- package/generated/ghes-3.2.deref.json +1 -1
- package/generated/ghes-3.2.json +1 -1
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +1 -1
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +1 -1
- package/generated/ghes-3.3.deref.json +1 -1
- package/generated/ghes-3.3.json +1 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
- package/generated/ghes-3.4.deref.json +1 -1
- package/generated/ghes-3.4.json +1 -1
- 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 +1 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +1 -1
- package/generated/ghes-3.5.deref.json +1 -1
- package/generated/ghes-3.5.json +1 -1
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +71 -1
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +391 -1
- package/generated/ghes-3.6-diff-to-api.github.com.json +107 -1
- package/generated/ghes-3.6.deref.json +136 -2
- package/generated/ghes-3.6.json +136 -2
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +14 -0
- package/generated/github.ae-diff-to-api.github.com.deref.json +1 -1
- package/generated/github.ae-diff-to-api.github.com.json +1 -1
- package/generated/github.ae.deref.json +213 -1
- package/generated/github.ae.json +183 -1
- 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.7.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": {
|
|
@@ -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
|
},
|
|
@@ -17548,6 +17572,47 @@
|
|
|
17548
17572
|
"x-octokit": {}
|
|
17549
17573
|
}
|
|
17550
17574
|
},
|
|
17575
|
+
"/orgs/{org}/{security_product}/{enablement}": {
|
|
17576
|
+
"post": {
|
|
17577
|
+
"summary": "Enable or disable a security feature for an organization",
|
|
17578
|
+
"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).\"",
|
|
17579
|
+
"tags": [
|
|
17580
|
+
"orgs"
|
|
17581
|
+
],
|
|
17582
|
+
"operationId": "orgs/enable-or-disable-security-product-on-all-org-repos",
|
|
17583
|
+
"externalDocs": {
|
|
17584
|
+
"description": "API method documentation",
|
|
17585
|
+
"url": "https://docs.github.com/rest/reference/orgs#enable-or-disable-security-product-on-all-org-repos"
|
|
17586
|
+
},
|
|
17587
|
+
"parameters": [
|
|
17588
|
+
{
|
|
17589
|
+
"$ref": "#/components/parameters/org"
|
|
17590
|
+
},
|
|
17591
|
+
{
|
|
17592
|
+
"$ref": "#/components/parameters/security-product"
|
|
17593
|
+
},
|
|
17594
|
+
{
|
|
17595
|
+
"$ref": "#/components/parameters/org-security-product-enablement"
|
|
17596
|
+
}
|
|
17597
|
+
],
|
|
17598
|
+
"responses": {
|
|
17599
|
+
"204": {
|
|
17600
|
+
"description": "Action started"
|
|
17601
|
+
},
|
|
17602
|
+
"422": {
|
|
17603
|
+
"description": "The action could not be taken due to an in progress enablement, or a policy is preventing enablement"
|
|
17604
|
+
}
|
|
17605
|
+
},
|
|
17606
|
+
"x-github": {
|
|
17607
|
+
"githubCloudOnly": false,
|
|
17608
|
+
"enabledForGitHubApps": true,
|
|
17609
|
+
"previews": [],
|
|
17610
|
+
"category": "orgs",
|
|
17611
|
+
"subcategory": "orgs"
|
|
17612
|
+
},
|
|
17613
|
+
"x-octokit": {}
|
|
17614
|
+
}
|
|
17615
|
+
},
|
|
17551
17616
|
"/projects/columns/cards/{card_id}": {
|
|
17552
17617
|
"get": {
|
|
17553
17618
|
"summary": "Get a project card",
|
|
@@ -56872,6 +56937,246 @@
|
|
|
56872
56937
|
}
|
|
56873
56938
|
}
|
|
56874
56939
|
},
|
|
56940
|
+
"/user/ssh_signing_keys": {
|
|
56941
|
+
"get": {
|
|
56942
|
+
"summary": "List SSH signing keys for the authenticated user",
|
|
56943
|
+
"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/).\"",
|
|
56944
|
+
"tags": [
|
|
56945
|
+
"users"
|
|
56946
|
+
],
|
|
56947
|
+
"operationId": "users/list-ssh-signing-keys-for-authenticated-user",
|
|
56948
|
+
"externalDocs": {
|
|
56949
|
+
"description": "API method documentation",
|
|
56950
|
+
"url": "https://docs.github.com/rest/reference/users#list-public-ssh-signing-keys-for-the-authenticated-user"
|
|
56951
|
+
},
|
|
56952
|
+
"parameters": [
|
|
56953
|
+
{
|
|
56954
|
+
"$ref": "#/components/parameters/per-page"
|
|
56955
|
+
},
|
|
56956
|
+
{
|
|
56957
|
+
"$ref": "#/components/parameters/page"
|
|
56958
|
+
}
|
|
56959
|
+
],
|
|
56960
|
+
"responses": {
|
|
56961
|
+
"200": {
|
|
56962
|
+
"description": "Response",
|
|
56963
|
+
"content": {
|
|
56964
|
+
"application/json": {
|
|
56965
|
+
"schema": {
|
|
56966
|
+
"type": "array",
|
|
56967
|
+
"items": {
|
|
56968
|
+
"$ref": "#/components/schemas/ssh-signing-key"
|
|
56969
|
+
}
|
|
56970
|
+
},
|
|
56971
|
+
"examples": {
|
|
56972
|
+
"default": {
|
|
56973
|
+
"$ref": "#/components/examples/ssh-signing-key-items"
|
|
56974
|
+
}
|
|
56975
|
+
}
|
|
56976
|
+
}
|
|
56977
|
+
},
|
|
56978
|
+
"headers": {
|
|
56979
|
+
"Link": {
|
|
56980
|
+
"$ref": "#/components/headers/link"
|
|
56981
|
+
}
|
|
56982
|
+
}
|
|
56983
|
+
},
|
|
56984
|
+
"304": {
|
|
56985
|
+
"$ref": "#/components/responses/not_modified"
|
|
56986
|
+
},
|
|
56987
|
+
"401": {
|
|
56988
|
+
"$ref": "#/components/responses/requires_authentication"
|
|
56989
|
+
},
|
|
56990
|
+
"403": {
|
|
56991
|
+
"$ref": "#/components/responses/forbidden"
|
|
56992
|
+
},
|
|
56993
|
+
"404": {
|
|
56994
|
+
"$ref": "#/components/responses/not_found"
|
|
56995
|
+
}
|
|
56996
|
+
},
|
|
56997
|
+
"x-github": {
|
|
56998
|
+
"githubCloudOnly": false,
|
|
56999
|
+
"enabledForGitHubApps": false,
|
|
57000
|
+
"previews": [],
|
|
57001
|
+
"category": "users",
|
|
57002
|
+
"subcategory": "ssh-signing-keys"
|
|
57003
|
+
},
|
|
57004
|
+
"x-octokit": {}
|
|
57005
|
+
},
|
|
57006
|
+
"post": {
|
|
57007
|
+
"summary": "Create a SSH signing key for the authenticated user",
|
|
57008
|
+
"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/).\"",
|
|
57009
|
+
"operationId": "users/create-ssh-signing-key-for-authenticated-user",
|
|
57010
|
+
"tags": [
|
|
57011
|
+
"users"
|
|
57012
|
+
],
|
|
57013
|
+
"externalDocs": {
|
|
57014
|
+
"description": "API method documentation",
|
|
57015
|
+
"url": "https://docs.github.com/rest/reference/users#create-an-ssh-signing-key-for-the-authenticated-user"
|
|
57016
|
+
},
|
|
57017
|
+
"parameters": [],
|
|
57018
|
+
"requestBody": {
|
|
57019
|
+
"required": true,
|
|
57020
|
+
"content": {
|
|
57021
|
+
"application/json": {
|
|
57022
|
+
"schema": {
|
|
57023
|
+
"properties": {
|
|
57024
|
+
"title": {
|
|
57025
|
+
"description": "A descriptive name for the new key.",
|
|
57026
|
+
"type": "string",
|
|
57027
|
+
"example": "Personal MacBook Air"
|
|
57028
|
+
},
|
|
57029
|
+
"key": {
|
|
57030
|
+
"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).\"",
|
|
57031
|
+
"type": "string",
|
|
57032
|
+
"pattern": "^ssh-(rsa|dss|ed25519) |^ecdsa-sha2-nistp(256|384|521) "
|
|
57033
|
+
}
|
|
57034
|
+
},
|
|
57035
|
+
"required": [
|
|
57036
|
+
"key"
|
|
57037
|
+
],
|
|
57038
|
+
"type": "object"
|
|
57039
|
+
}
|
|
57040
|
+
}
|
|
57041
|
+
}
|
|
57042
|
+
},
|
|
57043
|
+
"responses": {
|
|
57044
|
+
"201": {
|
|
57045
|
+
"description": "Response",
|
|
57046
|
+
"content": {
|
|
57047
|
+
"application/json": {
|
|
57048
|
+
"schema": {
|
|
57049
|
+
"$ref": "#/components/schemas/ssh-signing-key"
|
|
57050
|
+
},
|
|
57051
|
+
"examples": {
|
|
57052
|
+
"default": {
|
|
57053
|
+
"$ref": "#/components/examples/ssh-signing-key"
|
|
57054
|
+
}
|
|
57055
|
+
}
|
|
57056
|
+
}
|
|
57057
|
+
}
|
|
57058
|
+
},
|
|
57059
|
+
"304": {
|
|
57060
|
+
"$ref": "#/components/responses/not_modified"
|
|
57061
|
+
},
|
|
57062
|
+
"401": {
|
|
57063
|
+
"$ref": "#/components/responses/requires_authentication"
|
|
57064
|
+
},
|
|
57065
|
+
"403": {
|
|
57066
|
+
"$ref": "#/components/responses/forbidden"
|
|
57067
|
+
},
|
|
57068
|
+
"404": {
|
|
57069
|
+
"$ref": "#/components/responses/not_found"
|
|
57070
|
+
},
|
|
57071
|
+
"422": {
|
|
57072
|
+
"$ref": "#/components/responses/validation_failed"
|
|
57073
|
+
}
|
|
57074
|
+
},
|
|
57075
|
+
"x-github": {
|
|
57076
|
+
"githubCloudOnly": false,
|
|
57077
|
+
"enabledForGitHubApps": false,
|
|
57078
|
+
"category": "users",
|
|
57079
|
+
"subcategory": "ssh-signing-keys"
|
|
57080
|
+
},
|
|
57081
|
+
"x-octokit": {}
|
|
57082
|
+
}
|
|
57083
|
+
},
|
|
57084
|
+
"/user/ssh_signing_keys/{ssh_signing_key_id}": {
|
|
57085
|
+
"get": {
|
|
57086
|
+
"summary": "Get an SSH signing key for the authenticated user",
|
|
57087
|
+
"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/).\"",
|
|
57088
|
+
"tags": [
|
|
57089
|
+
"users"
|
|
57090
|
+
],
|
|
57091
|
+
"operationId": "users/get-ssh-signing-key-for-authenticated-user",
|
|
57092
|
+
"externalDocs": {
|
|
57093
|
+
"description": "API method documentation",
|
|
57094
|
+
"url": "https://docs.github.com/rest/reference/users#get-a-ssh-signing-key-for-the-authenticated-user"
|
|
57095
|
+
},
|
|
57096
|
+
"parameters": [
|
|
57097
|
+
{
|
|
57098
|
+
"$ref": "#/components/parameters/ssh-signing-key-id"
|
|
57099
|
+
}
|
|
57100
|
+
],
|
|
57101
|
+
"responses": {
|
|
57102
|
+
"200": {
|
|
57103
|
+
"description": "Response",
|
|
57104
|
+
"content": {
|
|
57105
|
+
"application/json": {
|
|
57106
|
+
"schema": {
|
|
57107
|
+
"$ref": "#/components/schemas/ssh-signing-key"
|
|
57108
|
+
},
|
|
57109
|
+
"examples": {
|
|
57110
|
+
"default": {
|
|
57111
|
+
"$ref": "#/components/examples/ssh-signing-key"
|
|
57112
|
+
}
|
|
57113
|
+
}
|
|
57114
|
+
}
|
|
57115
|
+
}
|
|
57116
|
+
},
|
|
57117
|
+
"304": {
|
|
57118
|
+
"$ref": "#/components/responses/not_modified"
|
|
57119
|
+
},
|
|
57120
|
+
"401": {
|
|
57121
|
+
"$ref": "#/components/responses/requires_authentication"
|
|
57122
|
+
},
|
|
57123
|
+
"403": {
|
|
57124
|
+
"$ref": "#/components/responses/forbidden"
|
|
57125
|
+
},
|
|
57126
|
+
"404": {
|
|
57127
|
+
"$ref": "#/components/responses/not_found"
|
|
57128
|
+
}
|
|
57129
|
+
},
|
|
57130
|
+
"x-github": {
|
|
57131
|
+
"githubCloudOnly": false,
|
|
57132
|
+
"enabledForGitHubApps": false,
|
|
57133
|
+
"category": "users",
|
|
57134
|
+
"subcategory": "ssh-signing-keys"
|
|
57135
|
+
},
|
|
57136
|
+
"x-octokit": {}
|
|
57137
|
+
},
|
|
57138
|
+
"delete": {
|
|
57139
|
+
"summary": "Delete an SSH signing key for the authenticated user",
|
|
57140
|
+
"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/).\"",
|
|
57141
|
+
"tags": [
|
|
57142
|
+
"users"
|
|
57143
|
+
],
|
|
57144
|
+
"operationId": "users/delete-ssh-signing-key-for-authenticated-user",
|
|
57145
|
+
"externalDocs": {
|
|
57146
|
+
"description": "API method documentation",
|
|
57147
|
+
"url": "https://docs.github.com/rest/reference/users#delete-a-ssh-signing-key-for-the-authenticated-user"
|
|
57148
|
+
},
|
|
57149
|
+
"parameters": [
|
|
57150
|
+
{
|
|
57151
|
+
"$ref": "#/components/parameters/ssh-signing-key-id"
|
|
57152
|
+
}
|
|
57153
|
+
],
|
|
57154
|
+
"responses": {
|
|
57155
|
+
"204": {
|
|
57156
|
+
"description": "Response"
|
|
57157
|
+
},
|
|
57158
|
+
"304": {
|
|
57159
|
+
"$ref": "#/components/responses/not_modified"
|
|
57160
|
+
},
|
|
57161
|
+
"401": {
|
|
57162
|
+
"$ref": "#/components/responses/requires_authentication"
|
|
57163
|
+
},
|
|
57164
|
+
"403": {
|
|
57165
|
+
"$ref": "#/components/responses/forbidden"
|
|
57166
|
+
},
|
|
57167
|
+
"404": {
|
|
57168
|
+
"$ref": "#/components/responses/not_found"
|
|
57169
|
+
}
|
|
57170
|
+
},
|
|
57171
|
+
"x-github": {
|
|
57172
|
+
"githubCloudOnly": false,
|
|
57173
|
+
"enabledForGitHubApps": false,
|
|
57174
|
+
"category": "users",
|
|
57175
|
+
"subcategory": "ssh-signing-keys"
|
|
57176
|
+
},
|
|
57177
|
+
"x-octokit": {}
|
|
57178
|
+
}
|
|
57179
|
+
},
|
|
56875
57180
|
"/user/starred": {
|
|
56876
57181
|
"get": {
|
|
56877
57182
|
"summary": "List repositories starred by the authenticated user",
|
|
@@ -58840,6 +59145,63 @@
|
|
|
58840
59145
|
"x-octokit": {}
|
|
58841
59146
|
}
|
|
58842
59147
|
},
|
|
59148
|
+
"/users/{username}/ssh_signing_keys": {
|
|
59149
|
+
"get": {
|
|
59150
|
+
"summary": "List SSH signing keys for a user",
|
|
59151
|
+
"description": "Lists the SSH signing keys for a user. This operation is accessible by anyone.",
|
|
59152
|
+
"tags": [
|
|
59153
|
+
"users"
|
|
59154
|
+
],
|
|
59155
|
+
"operationId": "users/list-ssh-signing-keys-for-user",
|
|
59156
|
+
"externalDocs": {
|
|
59157
|
+
"description": "API method documentation",
|
|
59158
|
+
"url": "https://docs.github.com/rest/reference/users#list-ssh-signing-keys-for-a-user"
|
|
59159
|
+
},
|
|
59160
|
+
"parameters": [
|
|
59161
|
+
{
|
|
59162
|
+
"$ref": "#/components/parameters/username"
|
|
59163
|
+
},
|
|
59164
|
+
{
|
|
59165
|
+
"$ref": "#/components/parameters/per-page"
|
|
59166
|
+
},
|
|
59167
|
+
{
|
|
59168
|
+
"$ref": "#/components/parameters/page"
|
|
59169
|
+
}
|
|
59170
|
+
],
|
|
59171
|
+
"responses": {
|
|
59172
|
+
"200": {
|
|
59173
|
+
"description": "Response",
|
|
59174
|
+
"content": {
|
|
59175
|
+
"application/json": {
|
|
59176
|
+
"schema": {
|
|
59177
|
+
"type": "array",
|
|
59178
|
+
"items": {
|
|
59179
|
+
"$ref": "#/components/schemas/ssh-signing-key"
|
|
59180
|
+
}
|
|
59181
|
+
},
|
|
59182
|
+
"examples": {
|
|
59183
|
+
"default": {
|
|
59184
|
+
"$ref": "#/components/examples/ssh-signing-key-items"
|
|
59185
|
+
}
|
|
59186
|
+
}
|
|
59187
|
+
}
|
|
59188
|
+
},
|
|
59189
|
+
"headers": {
|
|
59190
|
+
"Link": {
|
|
59191
|
+
"$ref": "#/components/headers/link"
|
|
59192
|
+
}
|
|
59193
|
+
}
|
|
59194
|
+
}
|
|
59195
|
+
},
|
|
59196
|
+
"x-github": {
|
|
59197
|
+
"githubCloudOnly": false,
|
|
59198
|
+
"enabledForGitHubApps": true,
|
|
59199
|
+
"category": "users",
|
|
59200
|
+
"subcategory": "ssh-signing-keys"
|
|
59201
|
+
},
|
|
59202
|
+
"x-octokit": {}
|
|
59203
|
+
}
|
|
59204
|
+
},
|
|
58843
59205
|
"/users/{username}/starred": {
|
|
58844
59206
|
"get": {
|
|
58845
59207
|
"summary": "List repositories starred by a user",
|
|
@@ -67166,6 +67528,36 @@
|
|
|
67166
67528
|
"updated_at": {
|
|
67167
67529
|
"type": "string",
|
|
67168
67530
|
"format": "date-time"
|
|
67531
|
+
},
|
|
67532
|
+
"advanced_security_enabled_for_new_repositories": {
|
|
67533
|
+
"type": "boolean",
|
|
67534
|
+
"example": false,
|
|
67535
|
+
"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."
|
|
67536
|
+
},
|
|
67537
|
+
"dependabot_alerts_enabled_for_new_repositories": {
|
|
67538
|
+
"type": "boolean",
|
|
67539
|
+
"example": false,
|
|
67540
|
+
"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."
|
|
67541
|
+
},
|
|
67542
|
+
"dependabot_security_updates_enabled_for_new_repositories": {
|
|
67543
|
+
"type": "boolean",
|
|
67544
|
+
"example": false,
|
|
67545
|
+
"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."
|
|
67546
|
+
},
|
|
67547
|
+
"dependency_graph_enabled_for_new_repositories": {
|
|
67548
|
+
"type": "boolean",
|
|
67549
|
+
"example": false,
|
|
67550
|
+
"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."
|
|
67551
|
+
},
|
|
67552
|
+
"secret_scanning_enabled_for_new_repositories": {
|
|
67553
|
+
"type": "boolean",
|
|
67554
|
+
"example": false,
|
|
67555
|
+
"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."
|
|
67556
|
+
},
|
|
67557
|
+
"secret_scanning_push_protection_enabled_for_new_repositories": {
|
|
67558
|
+
"type": "boolean",
|
|
67559
|
+
"example": false,
|
|
67560
|
+
"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."
|
|
67169
67561
|
}
|
|
67170
67562
|
},
|
|
67171
67563
|
"required": [
|
|
@@ -67682,6 +68074,12 @@
|
|
|
67682
68074
|
"format": "date-time",
|
|
67683
68075
|
"example": "2011-01-26T20:01:12Z",
|
|
67684
68076
|
"nullable": true
|
|
68077
|
+
},
|
|
68078
|
+
"last_known_stop_notice": {
|
|
68079
|
+
"description": "The text to display to a user when a codespace has been stopped for a potentially actionable reason.",
|
|
68080
|
+
"type": "string",
|
|
68081
|
+
"example": "you've used 100% of your spending limit for Codespaces",
|
|
68082
|
+
"nullable": true
|
|
67685
68083
|
}
|
|
67686
68084
|
},
|
|
67687
68085
|
"required": [
|
|
@@ -86549,6 +86947,32 @@
|
|
|
86549
86947
|
"plan"
|
|
86550
86948
|
]
|
|
86551
86949
|
},
|
|
86950
|
+
"ssh-signing-key": {
|
|
86951
|
+
"title": "SSH Signing Key",
|
|
86952
|
+
"description": "A public SSH key used to sign Git commits",
|
|
86953
|
+
"type": "object",
|
|
86954
|
+
"properties": {
|
|
86955
|
+
"key": {
|
|
86956
|
+
"type": "string"
|
|
86957
|
+
},
|
|
86958
|
+
"id": {
|
|
86959
|
+
"type": "integer"
|
|
86960
|
+
},
|
|
86961
|
+
"title": {
|
|
86962
|
+
"type": "string"
|
|
86963
|
+
},
|
|
86964
|
+
"created_at": {
|
|
86965
|
+
"type": "string",
|
|
86966
|
+
"format": "date-time"
|
|
86967
|
+
}
|
|
86968
|
+
},
|
|
86969
|
+
"required": [
|
|
86970
|
+
"key",
|
|
86971
|
+
"id",
|
|
86972
|
+
"title",
|
|
86973
|
+
"created_at"
|
|
86974
|
+
]
|
|
86975
|
+
},
|
|
86552
86976
|
"starred-repository": {
|
|
86553
86977
|
"title": "Starred Repository",
|
|
86554
86978
|
"description": "Starred Repository",
|
|
@@ -110888,6 +111312,33 @@
|
|
|
110888
111312
|
}
|
|
110889
111313
|
]
|
|
110890
111314
|
},
|
|
111315
|
+
"ssh-signing-key-items": {
|
|
111316
|
+
"value": [
|
|
111317
|
+
{
|
|
111318
|
+
"key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234",
|
|
111319
|
+
"id": 2,
|
|
111320
|
+
"url": "https://api.github.com/user/keys/2",
|
|
111321
|
+
"title": "ssh-rsa AAAAB3NzaC1yc2EAAA",
|
|
111322
|
+
"created_at": "2020-06-11T21:31:57Z"
|
|
111323
|
+
},
|
|
111324
|
+
{
|
|
111325
|
+
"key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJy931234",
|
|
111326
|
+
"id": 3,
|
|
111327
|
+
"url": "https://api.github.com/user/keys/3",
|
|
111328
|
+
"title": "ssh-rsa AAAAB3NzaC1yc2EAAB",
|
|
111329
|
+
"created_at": "2020-07-11T21:31:57Z"
|
|
111330
|
+
}
|
|
111331
|
+
]
|
|
111332
|
+
},
|
|
111333
|
+
"ssh-signing-key": {
|
|
111334
|
+
"value": {
|
|
111335
|
+
"key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234",
|
|
111336
|
+
"id": 2,
|
|
111337
|
+
"url": "https://api.github.com/user/keys/2",
|
|
111338
|
+
"title": "ssh-rsa AAAAB3NzaC1yc2EAAA",
|
|
111339
|
+
"created_at": "2020-06-11T21:31:57Z"
|
|
111340
|
+
}
|
|
111341
|
+
},
|
|
110891
111342
|
"starred-repository-items-alternative-response-with-star-creation-timestamps": {
|
|
110892
111343
|
"summary": "Alternative response with star creation timestamps",
|
|
110893
111344
|
"value": [
|
|
@@ -112617,6 +113068,36 @@
|
|
|
112617
113068
|
"type": "integer"
|
|
112618
113069
|
}
|
|
112619
113070
|
},
|
|
113071
|
+
"security-product": {
|
|
113072
|
+
"name": "security_product",
|
|
113073
|
+
"in": "path",
|
|
113074
|
+
"description": "The security feature to enable or disable.",
|
|
113075
|
+
"required": true,
|
|
113076
|
+
"schema": {
|
|
113077
|
+
"type": "string",
|
|
113078
|
+
"enum": [
|
|
113079
|
+
"dependency_graph",
|
|
113080
|
+
"dependabot_alerts",
|
|
113081
|
+
"dependabot_security_updates",
|
|
113082
|
+
"advanced_security",
|
|
113083
|
+
"secret_scanning",
|
|
113084
|
+
"secret_scanning_push_protection"
|
|
113085
|
+
]
|
|
113086
|
+
}
|
|
113087
|
+
},
|
|
113088
|
+
"org-security-product-enablement": {
|
|
113089
|
+
"name": "enablement",
|
|
113090
|
+
"in": "path",
|
|
113091
|
+
"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.",
|
|
113092
|
+
"required": true,
|
|
113093
|
+
"schema": {
|
|
113094
|
+
"type": "string",
|
|
113095
|
+
"enum": [
|
|
113096
|
+
"enable_all",
|
|
113097
|
+
"disable_all"
|
|
113098
|
+
]
|
|
113099
|
+
}
|
|
113100
|
+
},
|
|
112620
113101
|
"card-id": {
|
|
112621
113102
|
"name": "card_id",
|
|
112622
113103
|
"description": "The unique identifier of the card.",
|
|
@@ -113121,6 +113602,15 @@
|
|
|
113121
113602
|
"schema": {
|
|
113122
113603
|
"type": "integer"
|
|
113123
113604
|
}
|
|
113605
|
+
},
|
|
113606
|
+
"ssh-signing-key-id": {
|
|
113607
|
+
"name": "ssh_signing_key_id",
|
|
113608
|
+
"description": "The unique identifier of the SSH signing key.",
|
|
113609
|
+
"in": "path",
|
|
113610
|
+
"required": true,
|
|
113611
|
+
"schema": {
|
|
113612
|
+
"type": "integer"
|
|
113613
|
+
}
|
|
113124
113614
|
}
|
|
113125
113615
|
},
|
|
113126
113616
|
"headers": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.7.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": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.7.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": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.7.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": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.7.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": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.7.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": {
|
package/generated/ghes-3.2.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.7.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": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.7.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": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.7.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": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.7.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": {
|