@octokit/openapi 7.6.0 → 7.9.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.
Files changed (33) hide show
  1. package/generated/api.github.com.deref.json +1927 -149
  2. package/generated/api.github.com.json +566 -22
  3. package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
  4. package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
  5. package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +475 -23
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +36 -6
  7. package/generated/ghes-3.2.deref.json +585 -35
  8. package/generated/ghes-3.2.json +48 -17
  9. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +19 -3
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.json +14 -3
  11. package/generated/ghes-3.3.deref.json +592 -36
  12. package/generated/ghes-3.3.json +55 -18
  13. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +145 -1
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.json +5 -1
  15. package/generated/ghes-3.4.deref.json +620 -36
  16. package/generated/ghes-3.4.json +55 -18
  17. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
  18. package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
  19. package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +537 -23
  20. package/generated/ghes-3.5-diff-to-ghes-3.6.json +39 -6
  21. package/generated/ghes-3.5.deref.json +633 -36
  22. package/generated/ghes-3.5.json +55 -18
  23. package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +122 -1
  24. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +9482 -2
  25. package/generated/ghes-3.6-diff-to-api.github.com.json +1044 -31
  26. package/generated/ghes-3.6.deref.json +782 -39
  27. package/generated/ghes-3.6.json +204 -21
  28. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +49 -0
  29. package/generated/github.ae-diff-to-api.github.com.deref.json +446 -18
  30. package/generated/github.ae-diff-to-api.github.com.json +43 -7
  31. package/generated/github.ae.deref.json +768 -30
  32. package/generated/github.ae.json +237 -18
  33. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.6.0",
4
+ "version": "7.9.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
  },
@@ -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",
@@ -21228,6 +21282,9 @@
21228
21282
  },
21229
21283
  {
21230
21284
  "$ref": "#/components/parameters/workflow-run-check-suite-id"
21285
+ },
21286
+ {
21287
+ "$ref": "#/components/parameters/workflow-run-head-sha"
21231
21288
  }
21232
21289
  ],
21233
21290
  "responses": {
@@ -22904,6 +22961,9 @@
22904
22961
  },
22905
22962
  {
22906
22963
  "$ref": "#/components/parameters/workflow-run-check-suite-id"
22964
+ },
22965
+ {
22966
+ "$ref": "#/components/parameters/workflow-run-head-sha"
22907
22967
  }
22908
22968
  ],
22909
22969
  "responses": {
@@ -23195,11 +23255,16 @@
23195
23255
  "properties": {
23196
23256
  "key_prefix": {
23197
23257
  "type": "string",
23198
- "description": "The prefix appended by alphanumeric characters will generate a link any time it is found in an issue, pull request, or commit."
23258
+ "description": "This prefix appended by certain characters will generate a link any time it is found in an issue, pull request, or commit."
23199
23259
  },
23200
23260
  "url_template": {
23201
23261
  "type": "string",
23202
- "description": "The URL must contain `<num>` for the reference number. `<num>` matches alphanumeric characters `A-Z` (case insensitive), `0-9`, and `-`."
23262
+ "description": "The URL must contain `<num>` for the reference number. `<num>` matches different characters depending on the value of `is_alphanumeric`."
23263
+ },
23264
+ "is_alphanumeric": {
23265
+ "type": "boolean",
23266
+ "default": "true",
23267
+ "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
23268
  }
23204
23269
  },
23205
23270
  "required": [
@@ -23211,7 +23276,8 @@
23211
23276
  "default": {
23212
23277
  "value": {
23213
23278
  "key_prefix": "TICKET-",
23214
- "url_template": "https://example.com/TICKET?query=<num>"
23279
+ "url_template": "https://example.com/TICKET?query=<num>",
23280
+ "is_alphanumeric": true
23215
23281
  }
23216
23282
  }
23217
23283
  }
@@ -30154,6 +30220,9 @@
30154
30220
  },
30155
30221
  "500": {
30156
30222
  "$ref": "#/components/responses/internal_error"
30223
+ },
30224
+ "503": {
30225
+ "$ref": "#/components/responses/service_unavailable"
30157
30226
  }
30158
30227
  },
30159
30228
  "x-github": {
@@ -30609,6 +30678,9 @@
30609
30678
  },
30610
30679
  "500": {
30611
30680
  "$ref": "#/components/responses/internal_error"
30681
+ },
30682
+ "503": {
30683
+ "$ref": "#/components/responses/service_unavailable"
30612
30684
  }
30613
30685
  },
30614
30686
  "x-github": {
@@ -36927,6 +36999,11 @@
36927
36999
  },
36928
37000
  "state_reason": {
36929
37001
  "type": "string",
37002
+ "enum": [
37003
+ "completed",
37004
+ "not_planned",
37005
+ "reopened"
37006
+ ],
36930
37007
  "nullable": true,
36931
37008
  "description": "The reason for the current state",
36932
37009
  "example": "not_planned"
@@ -41411,6 +41488,9 @@
41411
41488
  },
41412
41489
  "500": {
41413
41490
  "$ref": "#/components/responses/internal_error"
41491
+ },
41492
+ "503": {
41493
+ "$ref": "#/components/responses/service_unavailable"
41414
41494
  }
41415
41495
  },
41416
41496
  "x-github": {
@@ -42088,6 +42168,9 @@
42088
42168
  },
42089
42169
  "500": {
42090
42170
  "$ref": "#/components/responses/internal_error"
42171
+ },
42172
+ "503": {
42173
+ "$ref": "#/components/responses/service_unavailable"
42091
42174
  }
42092
42175
  },
42093
42176
  "x-github": {
@@ -46430,7 +46513,7 @@
46430
46513
  "/repos/{template_owner}/{template_repo}/generate": {
46431
46514
  "post": {
46432
46515
  "summary": "Create a repository using a template",
46433
- "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. 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",
46516
+ "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",
46434
46517
  "tags": [
46435
46518
  "repos"
46436
46519
  ],
@@ -56872,6 +56955,246 @@
56872
56955
  }
56873
56956
  }
56874
56957
  },
56958
+ "/user/ssh_signing_keys": {
56959
+ "get": {
56960
+ "summary": "List SSH signing keys for the authenticated user",
56961
+ "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/).\"",
56962
+ "tags": [
56963
+ "users"
56964
+ ],
56965
+ "operationId": "users/list-ssh-signing-keys-for-authenticated-user",
56966
+ "externalDocs": {
56967
+ "description": "API method documentation",
56968
+ "url": "https://docs.github.com/rest/reference/users#list-public-ssh-signing-keys-for-the-authenticated-user"
56969
+ },
56970
+ "parameters": [
56971
+ {
56972
+ "$ref": "#/components/parameters/per-page"
56973
+ },
56974
+ {
56975
+ "$ref": "#/components/parameters/page"
56976
+ }
56977
+ ],
56978
+ "responses": {
56979
+ "200": {
56980
+ "description": "Response",
56981
+ "content": {
56982
+ "application/json": {
56983
+ "schema": {
56984
+ "type": "array",
56985
+ "items": {
56986
+ "$ref": "#/components/schemas/ssh-signing-key"
56987
+ }
56988
+ },
56989
+ "examples": {
56990
+ "default": {
56991
+ "$ref": "#/components/examples/ssh-signing-key-items"
56992
+ }
56993
+ }
56994
+ }
56995
+ },
56996
+ "headers": {
56997
+ "Link": {
56998
+ "$ref": "#/components/headers/link"
56999
+ }
57000
+ }
57001
+ },
57002
+ "304": {
57003
+ "$ref": "#/components/responses/not_modified"
57004
+ },
57005
+ "401": {
57006
+ "$ref": "#/components/responses/requires_authentication"
57007
+ },
57008
+ "403": {
57009
+ "$ref": "#/components/responses/forbidden"
57010
+ },
57011
+ "404": {
57012
+ "$ref": "#/components/responses/not_found"
57013
+ }
57014
+ },
57015
+ "x-github": {
57016
+ "githubCloudOnly": false,
57017
+ "enabledForGitHubApps": false,
57018
+ "previews": [],
57019
+ "category": "users",
57020
+ "subcategory": "ssh-signing-keys"
57021
+ },
57022
+ "x-octokit": {}
57023
+ },
57024
+ "post": {
57025
+ "summary": "Create a SSH signing key for the authenticated user",
57026
+ "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/).\"",
57027
+ "operationId": "users/create-ssh-signing-key-for-authenticated-user",
57028
+ "tags": [
57029
+ "users"
57030
+ ],
57031
+ "externalDocs": {
57032
+ "description": "API method documentation",
57033
+ "url": "https://docs.github.com/rest/reference/users#create-an-ssh-signing-key-for-the-authenticated-user"
57034
+ },
57035
+ "parameters": [],
57036
+ "requestBody": {
57037
+ "required": true,
57038
+ "content": {
57039
+ "application/json": {
57040
+ "schema": {
57041
+ "properties": {
57042
+ "title": {
57043
+ "description": "A descriptive name for the new key.",
57044
+ "type": "string",
57045
+ "example": "Personal MacBook Air"
57046
+ },
57047
+ "key": {
57048
+ "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).\"",
57049
+ "type": "string",
57050
+ "pattern": "^ssh-(rsa|dss|ed25519) |^ecdsa-sha2-nistp(256|384|521) "
57051
+ }
57052
+ },
57053
+ "required": [
57054
+ "key"
57055
+ ],
57056
+ "type": "object"
57057
+ }
57058
+ }
57059
+ }
57060
+ },
57061
+ "responses": {
57062
+ "201": {
57063
+ "description": "Response",
57064
+ "content": {
57065
+ "application/json": {
57066
+ "schema": {
57067
+ "$ref": "#/components/schemas/ssh-signing-key"
57068
+ },
57069
+ "examples": {
57070
+ "default": {
57071
+ "$ref": "#/components/examples/ssh-signing-key"
57072
+ }
57073
+ }
57074
+ }
57075
+ }
57076
+ },
57077
+ "304": {
57078
+ "$ref": "#/components/responses/not_modified"
57079
+ },
57080
+ "401": {
57081
+ "$ref": "#/components/responses/requires_authentication"
57082
+ },
57083
+ "403": {
57084
+ "$ref": "#/components/responses/forbidden"
57085
+ },
57086
+ "404": {
57087
+ "$ref": "#/components/responses/not_found"
57088
+ },
57089
+ "422": {
57090
+ "$ref": "#/components/responses/validation_failed"
57091
+ }
57092
+ },
57093
+ "x-github": {
57094
+ "githubCloudOnly": false,
57095
+ "enabledForGitHubApps": false,
57096
+ "category": "users",
57097
+ "subcategory": "ssh-signing-keys"
57098
+ },
57099
+ "x-octokit": {}
57100
+ }
57101
+ },
57102
+ "/user/ssh_signing_keys/{ssh_signing_key_id}": {
57103
+ "get": {
57104
+ "summary": "Get an SSH signing key for the authenticated user",
57105
+ "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/).\"",
57106
+ "tags": [
57107
+ "users"
57108
+ ],
57109
+ "operationId": "users/get-ssh-signing-key-for-authenticated-user",
57110
+ "externalDocs": {
57111
+ "description": "API method documentation",
57112
+ "url": "https://docs.github.com/rest/reference/users#get-a-ssh-signing-key-for-the-authenticated-user"
57113
+ },
57114
+ "parameters": [
57115
+ {
57116
+ "$ref": "#/components/parameters/ssh-signing-key-id"
57117
+ }
57118
+ ],
57119
+ "responses": {
57120
+ "200": {
57121
+ "description": "Response",
57122
+ "content": {
57123
+ "application/json": {
57124
+ "schema": {
57125
+ "$ref": "#/components/schemas/ssh-signing-key"
57126
+ },
57127
+ "examples": {
57128
+ "default": {
57129
+ "$ref": "#/components/examples/ssh-signing-key"
57130
+ }
57131
+ }
57132
+ }
57133
+ }
57134
+ },
57135
+ "304": {
57136
+ "$ref": "#/components/responses/not_modified"
57137
+ },
57138
+ "401": {
57139
+ "$ref": "#/components/responses/requires_authentication"
57140
+ },
57141
+ "403": {
57142
+ "$ref": "#/components/responses/forbidden"
57143
+ },
57144
+ "404": {
57145
+ "$ref": "#/components/responses/not_found"
57146
+ }
57147
+ },
57148
+ "x-github": {
57149
+ "githubCloudOnly": false,
57150
+ "enabledForGitHubApps": false,
57151
+ "category": "users",
57152
+ "subcategory": "ssh-signing-keys"
57153
+ },
57154
+ "x-octokit": {}
57155
+ },
57156
+ "delete": {
57157
+ "summary": "Delete an SSH signing key for the authenticated user",
57158
+ "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/).\"",
57159
+ "tags": [
57160
+ "users"
57161
+ ],
57162
+ "operationId": "users/delete-ssh-signing-key-for-authenticated-user",
57163
+ "externalDocs": {
57164
+ "description": "API method documentation",
57165
+ "url": "https://docs.github.com/rest/reference/users#delete-a-ssh-signing-key-for-the-authenticated-user"
57166
+ },
57167
+ "parameters": [
57168
+ {
57169
+ "$ref": "#/components/parameters/ssh-signing-key-id"
57170
+ }
57171
+ ],
57172
+ "responses": {
57173
+ "204": {
57174
+ "description": "Response"
57175
+ },
57176
+ "304": {
57177
+ "$ref": "#/components/responses/not_modified"
57178
+ },
57179
+ "401": {
57180
+ "$ref": "#/components/responses/requires_authentication"
57181
+ },
57182
+ "403": {
57183
+ "$ref": "#/components/responses/forbidden"
57184
+ },
57185
+ "404": {
57186
+ "$ref": "#/components/responses/not_found"
57187
+ }
57188
+ },
57189
+ "x-github": {
57190
+ "githubCloudOnly": false,
57191
+ "enabledForGitHubApps": false,
57192
+ "category": "users",
57193
+ "subcategory": "ssh-signing-keys"
57194
+ },
57195
+ "x-octokit": {}
57196
+ }
57197
+ },
56875
57198
  "/user/starred": {
56876
57199
  "get": {
56877
57200
  "summary": "List repositories starred by the authenticated user",
@@ -58840,6 +59163,63 @@
58840
59163
  "x-octokit": {}
58841
59164
  }
58842
59165
  },
59166
+ "/users/{username}/ssh_signing_keys": {
59167
+ "get": {
59168
+ "summary": "List SSH signing keys for a user",
59169
+ "description": "Lists the SSH signing keys for a user. This operation is accessible by anyone.",
59170
+ "tags": [
59171
+ "users"
59172
+ ],
59173
+ "operationId": "users/list-ssh-signing-keys-for-user",
59174
+ "externalDocs": {
59175
+ "description": "API method documentation",
59176
+ "url": "https://docs.github.com/rest/reference/users#list-ssh-signing-keys-for-a-user"
59177
+ },
59178
+ "parameters": [
59179
+ {
59180
+ "$ref": "#/components/parameters/username"
59181
+ },
59182
+ {
59183
+ "$ref": "#/components/parameters/per-page"
59184
+ },
59185
+ {
59186
+ "$ref": "#/components/parameters/page"
59187
+ }
59188
+ ],
59189
+ "responses": {
59190
+ "200": {
59191
+ "description": "Response",
59192
+ "content": {
59193
+ "application/json": {
59194
+ "schema": {
59195
+ "type": "array",
59196
+ "items": {
59197
+ "$ref": "#/components/schemas/ssh-signing-key"
59198
+ }
59199
+ },
59200
+ "examples": {
59201
+ "default": {
59202
+ "$ref": "#/components/examples/ssh-signing-key-items"
59203
+ }
59204
+ }
59205
+ }
59206
+ },
59207
+ "headers": {
59208
+ "Link": {
59209
+ "$ref": "#/components/headers/link"
59210
+ }
59211
+ }
59212
+ }
59213
+ },
59214
+ "x-github": {
59215
+ "githubCloudOnly": false,
59216
+ "enabledForGitHubApps": true,
59217
+ "category": "users",
59218
+ "subcategory": "ssh-signing-keys"
59219
+ },
59220
+ "x-octokit": {}
59221
+ }
59222
+ },
58843
59223
  "/users/{username}/starred": {
58844
59224
  "get": {
58845
59225
  "summary": "List repositories starred by a user",
@@ -61350,6 +61730,10 @@
61350
61730
  "starred_at": {
61351
61731
  "type": "string",
61352
61732
  "example": "\"2020-07-09T00:17:42Z\""
61733
+ },
61734
+ "anonymous_access_enabled": {
61735
+ "type": "boolean",
61736
+ "description": "Whether anonymous git access is enabled for this repository"
61353
61737
  }
61354
61738
  },
61355
61739
  "required": [
@@ -62570,6 +62954,11 @@
62570
62954
  "nullable": true,
62571
62955
  "type": "string",
62572
62956
  "description": "Detailed documentation for the rule as GitHub Flavored Markdown."
62957
+ },
62958
+ "help_uri": {
62959
+ "nullable": true,
62960
+ "type": "string",
62961
+ "description": "A link to the documentation for the rule used to detect the alert."
62573
62962
  }
62574
62963
  }
62575
62964
  },
@@ -63844,7 +64233,12 @@
63844
64233
  "description": "The reason for the current state",
63845
64234
  "example": "not_planned",
63846
64235
  "type": "string",
63847
- "nullable": true
64236
+ "nullable": true,
64237
+ "enum": [
64238
+ "completed",
64239
+ "reopened",
64240
+ "not_planned"
64241
+ ]
63848
64242
  },
63849
64243
  "title": {
63850
64244
  "description": "Title of the issue",
@@ -66294,6 +66688,10 @@
66294
66688
  "starred_at": {
66295
66689
  "type": "string",
66296
66690
  "example": "\"2020-07-09T00:17:42Z\""
66691
+ },
66692
+ "anonymous_access_enabled": {
66693
+ "type": "boolean",
66694
+ "description": "Whether anonymous git access is enabled for this repository"
66297
66695
  }
66298
66696
  },
66299
66697
  "required": [
@@ -67166,6 +67564,36 @@
67166
67564
  "updated_at": {
67167
67565
  "type": "string",
67168
67566
  "format": "date-time"
67567
+ },
67568
+ "advanced_security_enabled_for_new_repositories": {
67569
+ "type": "boolean",
67570
+ "example": false,
67571
+ "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."
67572
+ },
67573
+ "dependabot_alerts_enabled_for_new_repositories": {
67574
+ "type": "boolean",
67575
+ "example": false,
67576
+ "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."
67577
+ },
67578
+ "dependabot_security_updates_enabled_for_new_repositories": {
67579
+ "type": "boolean",
67580
+ "example": false,
67581
+ "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."
67582
+ },
67583
+ "dependency_graph_enabled_for_new_repositories": {
67584
+ "type": "boolean",
67585
+ "example": false,
67586
+ "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."
67587
+ },
67588
+ "secret_scanning_enabled_for_new_repositories": {
67589
+ "type": "boolean",
67590
+ "example": false,
67591
+ "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."
67592
+ },
67593
+ "secret_scanning_push_protection_enabled_for_new_repositories": {
67594
+ "type": "boolean",
67595
+ "example": false,
67596
+ "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
67597
  }
67170
67598
  },
67171
67599
  "required": [
@@ -67682,6 +68110,12 @@
67682
68110
  "format": "date-time",
67683
68111
  "example": "2011-01-26T20:01:12Z",
67684
68112
  "nullable": true
68113
+ },
68114
+ "last_known_stop_notice": {
68115
+ "description": "The text to display to a user when a codespace has been stopped for a potentially actionable reason.",
68116
+ "type": "string",
68117
+ "example": "you've used 100% of your spending limit for Codespaces",
68118
+ "nullable": true
67685
68119
  }
67686
68120
  },
67687
68121
  "required": [
@@ -72786,14 +73220,16 @@
72786
73220
  "type": "string"
72787
73221
  },
72788
73222
  "is_alphanumeric": {
72789
- "description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference is a legacy autolink that only matches numeric characters.",
73223
+ "description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters.",
73224
+ "example": true,
72790
73225
  "type": "boolean"
72791
73226
  }
72792
73227
  },
72793
73228
  "required": [
72794
73229
  "id",
72795
73230
  "key_prefix",
72796
- "url_template"
73231
+ "url_template",
73232
+ "is_alphanumeric"
72797
73233
  ]
72798
73234
  },
72799
73235
  "protected-branch-required-status-check": {
@@ -78431,7 +78867,12 @@
78431
78867
  "description": "The reason for the current state",
78432
78868
  "example": "not_planned",
78433
78869
  "type": "string",
78434
- "nullable": true
78870
+ "nullable": true,
78871
+ "enum": [
78872
+ "completed",
78873
+ "reopened",
78874
+ "not_planned"
78875
+ ]
78435
78876
  },
78436
78877
  "title": {
78437
78878
  "description": "Title of the issue",
@@ -86549,6 +86990,32 @@
86549
86990
  "plan"
86550
86991
  ]
86551
86992
  },
86993
+ "ssh-signing-key": {
86994
+ "title": "SSH Signing Key",
86995
+ "description": "A public SSH key used to sign Git commits",
86996
+ "type": "object",
86997
+ "properties": {
86998
+ "key": {
86999
+ "type": "string"
87000
+ },
87001
+ "id": {
87002
+ "type": "integer"
87003
+ },
87004
+ "title": {
87005
+ "type": "string"
87006
+ },
87007
+ "created_at": {
87008
+ "type": "string",
87009
+ "format": "date-time"
87010
+ }
87011
+ },
87012
+ "required": [
87013
+ "key",
87014
+ "id",
87015
+ "title",
87016
+ "created_at"
87017
+ ]
87018
+ },
86552
87019
  "starred-repository": {
86553
87020
  "title": "Starred Repository",
86554
87021
  "description": "Starred Repository",
@@ -99216,7 +99683,8 @@
99216
99683
  "security",
99217
99684
  "external/cwe/cwe-022"
99218
99685
  ],
99219
- "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 ..."
99686
+ "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 ...",
99687
+ "help_uri": "https://codeql.github.com/"
99220
99688
  },
99221
99689
  "tool": {
99222
99690
  "name": "CodeQL",
@@ -99288,7 +99756,8 @@
99288
99756
  "security",
99289
99757
  "external/cwe/cwe-022"
99290
99758
  ],
99291
- "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 ..."
99759
+ "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 ...",
99760
+ "help_uri": "https://codeql.github.com/"
99292
99761
  },
99293
99762
  "tool": {
99294
99763
  "name": "CodeQL",
@@ -110888,6 +111357,33 @@
110888
111357
  }
110889
111358
  ]
110890
111359
  },
111360
+ "ssh-signing-key-items": {
111361
+ "value": [
111362
+ {
111363
+ "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234",
111364
+ "id": 2,
111365
+ "url": "https://api.github.com/user/keys/2",
111366
+ "title": "ssh-rsa AAAAB3NzaC1yc2EAAA",
111367
+ "created_at": "2020-06-11T21:31:57Z"
111368
+ },
111369
+ {
111370
+ "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJy931234",
111371
+ "id": 3,
111372
+ "url": "https://api.github.com/user/keys/3",
111373
+ "title": "ssh-rsa AAAAB3NzaC1yc2EAAB",
111374
+ "created_at": "2020-07-11T21:31:57Z"
111375
+ }
111376
+ ]
111377
+ },
111378
+ "ssh-signing-key": {
111379
+ "value": {
111380
+ "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234",
111381
+ "id": 2,
111382
+ "url": "https://api.github.com/user/keys/2",
111383
+ "title": "ssh-rsa AAAAB3NzaC1yc2EAAA",
111384
+ "created_at": "2020-06-11T21:31:57Z"
111385
+ }
111386
+ },
110891
111387
  "starred-repository-items-alternative-response-with-star-creation-timestamps": {
110892
111388
  "summary": "Alternative response with star creation timestamps",
110893
111389
  "value": [
@@ -112617,6 +113113,36 @@
112617
113113
  "type": "integer"
112618
113114
  }
112619
113115
  },
113116
+ "security-product": {
113117
+ "name": "security_product",
113118
+ "in": "path",
113119
+ "description": "The security feature to enable or disable.",
113120
+ "required": true,
113121
+ "schema": {
113122
+ "type": "string",
113123
+ "enum": [
113124
+ "dependency_graph",
113125
+ "dependabot_alerts",
113126
+ "dependabot_security_updates",
113127
+ "advanced_security",
113128
+ "secret_scanning",
113129
+ "secret_scanning_push_protection"
113130
+ ]
113131
+ }
113132
+ },
113133
+ "org-security-product-enablement": {
113134
+ "name": "enablement",
113135
+ "in": "path",
113136
+ "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.",
113137
+ "required": true,
113138
+ "schema": {
113139
+ "type": "string",
113140
+ "enum": [
113141
+ "enable_all",
113142
+ "disable_all"
113143
+ ]
113144
+ }
113145
+ },
112620
113146
  "card-id": {
112621
113147
  "name": "card_id",
112622
113148
  "description": "The unique identifier of the card.",
@@ -112783,6 +113309,15 @@
112783
113309
  "type": "integer"
112784
113310
  }
112785
113311
  },
113312
+ "workflow-run-head-sha": {
113313
+ "name": "head_sha",
113314
+ "description": "Only returns workflow runs that are associated with the specified `head_sha`.",
113315
+ "in": "query",
113316
+ "required": false,
113317
+ "schema": {
113318
+ "type": "string"
113319
+ }
113320
+ },
112786
113321
  "run-id": {
112787
113322
  "name": "run_id",
112788
113323
  "description": "The unique identifier of the workflow run.",
@@ -113121,6 +113656,15 @@
113121
113656
  "schema": {
113122
113657
  "type": "integer"
113123
113658
  }
113659
+ },
113660
+ "ssh-signing-key-id": {
113661
+ "name": "ssh_signing_key_id",
113662
+ "description": "The unique identifier of the SSH signing key.",
113663
+ "in": "path",
113664
+ "required": true,
113665
+ "schema": {
113666
+ "type": "integer"
113667
+ }
113124
113668
  }
113125
113669
  },
113126
113670
  "headers": {