@octokit/openapi 18.1.0 → 18.2.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "18.1.0",
4
+ "version": "18.2.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": {
@@ -8297,7 +8297,7 @@
8297
8297
  },
8298
8298
  "patch": {
8299
8299
  "summary": "Create or update custom properties for an enterprise",
8300
- "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates new or updates existing custom properties defined for an enterprise in a batch.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.",
8300
+ "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates new or updates existing custom properties defined for an enterprise in a batch.\n\nIf the property already exists, the existing property will be replaced with the new values.\nMissing optional values will fall back to default values, previous values will be overwritten.\nE.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.",
8301
8301
  "tags": [
8302
8302
  "enterprise-admin"
8303
8303
  ],
@@ -24055,6 +24055,234 @@
24055
24055
  "x-octokit": {}
24056
24056
  }
24057
24057
  },
24058
+ "/orgs/{org}/issue-types": {
24059
+ "get": {
24060
+ "summary": "List issue types for an organization",
24061
+ "description": "Lists all issue types for an organization.",
24062
+ "tags": [
24063
+ "orgs"
24064
+ ],
24065
+ "operationId": "orgs/list-issue-types",
24066
+ "externalDocs": {
24067
+ "description": "API method documentation",
24068
+ "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#list-issue-types-for-an-organization"
24069
+ },
24070
+ "parameters": [
24071
+ {
24072
+ "$ref": "#/components/parameters/org"
24073
+ }
24074
+ ],
24075
+ "responses": {
24076
+ "200": {
24077
+ "description": "Response",
24078
+ "content": {
24079
+ "application/json": {
24080
+ "schema": {
24081
+ "type": "array",
24082
+ "items": {
24083
+ "$ref": "#/components/schemas/issue-type"
24084
+ }
24085
+ },
24086
+ "examples": {
24087
+ "default": {
24088
+ "$ref": "#/components/examples/issue-type-items"
24089
+ }
24090
+ }
24091
+ }
24092
+ }
24093
+ },
24094
+ "404": {
24095
+ "$ref": "#/components/responses/not_found"
24096
+ }
24097
+ },
24098
+ "x-github": {
24099
+ "githubCloudOnly": false,
24100
+ "enabledForGitHubApps": true,
24101
+ "category": "orgs",
24102
+ "subcategory": "issue-types"
24103
+ },
24104
+ "x-octokit": {}
24105
+ },
24106
+ "post": {
24107
+ "summary": "Create issue type for an organization",
24108
+ "description": "Create a new issue type for an organization.\n\nYou can find out more about issue types in [Managing issue types in an organization](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/configuring-issues/managing-issue-types-in-an-organization).",
24109
+ "tags": [
24110
+ "orgs"
24111
+ ],
24112
+ "operationId": "orgs/create-issue-type",
24113
+ "externalDocs": {
24114
+ "description": "API method documentation",
24115
+ "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#create-issue-type-for-an-organization"
24116
+ },
24117
+ "parameters": [
24118
+ {
24119
+ "$ref": "#/components/parameters/org"
24120
+ }
24121
+ ],
24122
+ "requestBody": {
24123
+ "required": true,
24124
+ "content": {
24125
+ "application/json": {
24126
+ "schema": {
24127
+ "$ref": "#/components/schemas/organization-create-issue-type"
24128
+ },
24129
+ "examples": {
24130
+ "default": {
24131
+ "value": {
24132
+ "name": "Epic",
24133
+ "description": "An issue type for a multi-week tracking of work",
24134
+ "is_enabled": true,
24135
+ "color": "green",
24136
+ "is_private": true
24137
+ }
24138
+ }
24139
+ }
24140
+ }
24141
+ }
24142
+ },
24143
+ "responses": {
24144
+ "200": {
24145
+ "description": "Response",
24146
+ "content": {
24147
+ "application/json": {
24148
+ "schema": {
24149
+ "$ref": "#/components/schemas/issue-type"
24150
+ },
24151
+ "examples": {
24152
+ "default": {
24153
+ "$ref": "#/components/examples/issue-type"
24154
+ }
24155
+ }
24156
+ }
24157
+ }
24158
+ },
24159
+ "404": {
24160
+ "$ref": "#/components/responses/not_found"
24161
+ },
24162
+ "422": {
24163
+ "$ref": "#/components/responses/validation_failed_simple"
24164
+ }
24165
+ },
24166
+ "x-github": {
24167
+ "githubCloudOnly": false,
24168
+ "enabledForGitHubApps": true,
24169
+ "category": "orgs",
24170
+ "subcategory": "issue-types"
24171
+ },
24172
+ "x-octokit": {}
24173
+ }
24174
+ },
24175
+ "/orgs/{org}/issue-types/{issue_type_id}": {
24176
+ "put": {
24177
+ "summary": "Update issue type for an organization",
24178
+ "description": "Updates an issue type for an organization.\n\nYou can find out more about issue types in [Managing issue types in an organization](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/configuring-issues/managing-issue-types-in-an-organization).",
24179
+ "tags": [
24180
+ "orgs"
24181
+ ],
24182
+ "operationId": "orgs/update-issue-type",
24183
+ "externalDocs": {
24184
+ "description": "API method documentation",
24185
+ "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization"
24186
+ },
24187
+ "parameters": [
24188
+ {
24189
+ "$ref": "#/components/parameters/org"
24190
+ },
24191
+ {
24192
+ "$ref": "#/components/parameters/issue-type-id"
24193
+ }
24194
+ ],
24195
+ "requestBody": {
24196
+ "required": true,
24197
+ "content": {
24198
+ "application/json": {
24199
+ "schema": {
24200
+ "$ref": "#/components/schemas/organization-update-issue-type"
24201
+ },
24202
+ "examples": {
24203
+ "default": {
24204
+ "value": {
24205
+ "name": "Epic",
24206
+ "description": "An issue type for a multi-week tracking of work",
24207
+ "is_enabled": true,
24208
+ "color": "green",
24209
+ "is_private": true
24210
+ }
24211
+ }
24212
+ }
24213
+ }
24214
+ }
24215
+ },
24216
+ "responses": {
24217
+ "200": {
24218
+ "description": "Response",
24219
+ "content": {
24220
+ "application/json": {
24221
+ "schema": {
24222
+ "$ref": "#/components/schemas/issue-type"
24223
+ },
24224
+ "examples": {
24225
+ "default": {
24226
+ "$ref": "#/components/examples/issue-type"
24227
+ }
24228
+ }
24229
+ }
24230
+ }
24231
+ },
24232
+ "404": {
24233
+ "$ref": "#/components/responses/not_found"
24234
+ },
24235
+ "422": {
24236
+ "$ref": "#/components/responses/validation_failed_simple"
24237
+ }
24238
+ },
24239
+ "x-github": {
24240
+ "githubCloudOnly": false,
24241
+ "enabledForGitHubApps": true,
24242
+ "category": "orgs",
24243
+ "subcategory": "issue-types"
24244
+ },
24245
+ "x-octokit": {}
24246
+ },
24247
+ "delete": {
24248
+ "summary": "Delete issue type for an organization",
24249
+ "description": "Deletes an issue type for an organization.\n\nYou can find out more about issue types in [Managing issue types in an organization](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/configuring-issues/managing-issue-types-in-an-organization).",
24250
+ "tags": [
24251
+ "orgs"
24252
+ ],
24253
+ "operationId": "orgs/delete-issue-type",
24254
+ "externalDocs": {
24255
+ "description": "API method documentation",
24256
+ "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization"
24257
+ },
24258
+ "parameters": [
24259
+ {
24260
+ "$ref": "#/components/parameters/org"
24261
+ },
24262
+ {
24263
+ "$ref": "#/components/parameters/issue-type-id"
24264
+ }
24265
+ ],
24266
+ "responses": {
24267
+ "204": {
24268
+ "description": "Response"
24269
+ },
24270
+ "404": {
24271
+ "$ref": "#/components/responses/not_found"
24272
+ },
24273
+ "422": {
24274
+ "$ref": "#/components/responses/validation_failed_simple"
24275
+ }
24276
+ },
24277
+ "x-github": {
24278
+ "githubCloudOnly": false,
24279
+ "enabledForGitHubApps": true,
24280
+ "category": "orgs",
24281
+ "subcategory": "issue-types"
24282
+ },
24283
+ "x-octokit": {}
24284
+ }
24285
+ },
24058
24286
  "/orgs/{org}/issues": {
24059
24287
  "get": {
24060
24288
  "summary": "List organization issues assigned to the authenticated user",
@@ -24107,6 +24335,15 @@
24107
24335
  {
24108
24336
  "$ref": "#/components/parameters/labels"
24109
24337
  },
24338
+ {
24339
+ "name": "type",
24340
+ "description": "Can be the name of an issue type.",
24341
+ "in": "query",
24342
+ "required": false,
24343
+ "schema": {
24344
+ "type": "string"
24345
+ }
24346
+ },
24110
24347
  {
24111
24348
  "name": "sort",
24112
24349
  "description": "What to sort results by.",
@@ -26703,6 +26940,9 @@
26703
26940
  },
26704
26941
  {
26705
26942
  "$ref": "#/components/parameters/personal-access-token-after"
26943
+ },
26944
+ {
26945
+ "$ref": "#/components/parameters/personal-access-token-token-id"
26706
26946
  }
26707
26947
  ],
26708
26948
  "responses": {
@@ -27050,6 +27290,9 @@
27050
27290
  },
27051
27291
  {
27052
27292
  "$ref": "#/components/parameters/personal-access-token-after"
27293
+ },
27294
+ {
27295
+ "$ref": "#/components/parameters/personal-access-token-token-id"
27053
27296
  }
27054
27297
  ],
27055
27298
  "responses": {
@@ -28012,7 +28255,7 @@
28012
28255
  },
28013
28256
  "patch": {
28014
28257
  "summary": "Create or update custom properties for an organization",
28015
- "description": "Creates new or updates existing custom properties defined for an organization in a batch.\n\nTo use this endpoint, the authenticated user must be one of:\n - An administrator for the organization.\n - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.",
28258
+ "description": "Creates new or updates existing custom properties defined for an organization in a batch.\n\nIf the property already exists, the existing property will be replaced with the new values.\nMissing optional values will fall back to default values, previous values will be overwritten.\nE.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`.\n\nTo use this endpoint, the authenticated user must be one of:\n - An administrator for the organization.\n - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.",
28016
28259
  "tags": [
28017
28260
  "orgs"
28018
28261
  ],
@@ -47451,7 +47694,7 @@
47451
47694
  },
47452
47695
  "put": {
47453
47696
  "summary": "Create or update a repository secret",
47454
- "description": "Creates or updates a repository development environment secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.",
47697
+ "description": "Creates or updates a repository development environment secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The associated user must be a repository admin.",
47455
47698
  "tags": [
47456
47699
  "codespaces"
47457
47700
  ],
@@ -47530,7 +47773,7 @@
47530
47773
  },
47531
47774
  "delete": {
47532
47775
  "summary": "Delete a repository secret",
47533
- "description": "Deletes a development environment secret in a repository using the secret name.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.",
47776
+ "description": "Deletes a development environment secret in a repository using the secret name.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The associated user must be a repository admin.",
47534
47777
  "tags": [
47535
47778
  "codespaces"
47536
47779
  ],
@@ -51923,7 +52166,7 @@
51923
52166
  },
51924
52167
  "post": {
51925
52168
  "summary": "Create a custom deployment protection rule on an environment",
51926
- "description": "Enable a custom deployment protection rule for an environment.\n\nThe authenticated user must have admin or owner permissions to the repository to use this endpoint.\n\nFor more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-app).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.",
52169
+ "description": "Enable a custom deployment protection rule for an environment.\n\nThe authenticated user must have admin or owner permissions to the repository to use this endpoint.\n\nFor more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-app), as well as the [guide to creating custom deployment protection rules](https://docs.github.com/enterprise-cloud@latest//actions/managing-workflow-runs-and-deployments/managing-deployments/creating-custom-deployment-protection-rules).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.",
51927
52170
  "tags": [
51928
52171
  "repos"
51929
52172
  ],
@@ -55944,6 +56187,15 @@
55944
56187
  "type": "string"
55945
56188
  }
55946
56189
  },
56190
+ {
56191
+ "name": "type",
56192
+ "description": "Can be the name of an issue type. If the string `*` is passed, issues with any type are accepted. If the string `none` is passed, issues without type are returned.",
56193
+ "in": "query",
56194
+ "required": false,
56195
+ "schema": {
56196
+ "type": "string"
56197
+ }
56198
+ },
55947
56199
  {
55948
56200
  "name": "creator",
55949
56201
  "description": "The user that created the issue.",
@@ -56129,6 +56381,12 @@
56129
56381
  "items": {
56130
56382
  "type": "string"
56131
56383
  }
56384
+ },
56385
+ "type": {
56386
+ "type": "string",
56387
+ "description": "The name of the issue type to associate with this issue.",
56388
+ "nullable": true,
56389
+ "example": "Epic"
56132
56390
  }
56133
56391
  },
56134
56392
  "required": [
@@ -56984,6 +57242,12 @@
56984
57242
  "items": {
56985
57243
  "type": "string"
56986
57244
  }
57245
+ },
57246
+ "type": {
57247
+ "type": "string",
57248
+ "description": "The name of the issue type to associate with this issue or use `null` to remove the current issue type.",
57249
+ "nullable": true,
57250
+ "example": "Epic"
56987
57251
  }
56988
57252
  }
56989
57253
  },
@@ -71042,7 +71306,7 @@
71042
71306
  "/search/issues": {
71043
71307
  "get": {
71044
71308
  "summary": "Search issues and pull requests",
71045
- "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on September 4, 2025.",
71309
+ "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on September 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).",
71046
71310
  "tags": [
71047
71311
  "search"
71048
71312
  ],
@@ -87712,7 +87976,193 @@
87712
87976
  "content": {
87713
87977
  "application/json": {
87714
87978
  "schema": {
87715
- "$ref": "#/components/schemas/webhook-discussion-comment-deleted"
87979
+ "$ref": "#/components/schemas/webhook-discussion-comment-deleted"
87980
+ }
87981
+ }
87982
+ }
87983
+ },
87984
+ "responses": {
87985
+ "200": {
87986
+ "description": "Return a 200 status to indicate that the data was received successfully"
87987
+ }
87988
+ },
87989
+ "x-github": {
87990
+ "githubCloudOnly": false,
87991
+ "category": "webhooks",
87992
+ "subcategory": "discussion_comment",
87993
+ "supported-webhook-types": [
87994
+ "repository",
87995
+ "organization",
87996
+ "app"
87997
+ ]
87998
+ }
87999
+ }
88000
+ },
88001
+ "discussion-comment-edited": {
88002
+ "post": {
88003
+ "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.",
88004
+ "description": "A comment on a discussion was edited.",
88005
+ "operationId": "discussion-comment/edited",
88006
+ "externalDocs": {
88007
+ "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion_comment"
88008
+ },
88009
+ "parameters": [
88010
+ {
88011
+ "name": "User-Agent",
88012
+ "in": "header",
88013
+ "example": "GitHub-Hookshot/123abc",
88014
+ "schema": {
88015
+ "type": "string"
88016
+ }
88017
+ },
88018
+ {
88019
+ "name": "X-Github-Hook-Id",
88020
+ "in": "header",
88021
+ "example": 12312312,
88022
+ "schema": {
88023
+ "type": "string"
88024
+ }
88025
+ },
88026
+ {
88027
+ "name": "X-Github-Event",
88028
+ "in": "header",
88029
+ "example": "issues",
88030
+ "schema": {
88031
+ "type": "string"
88032
+ }
88033
+ },
88034
+ {
88035
+ "name": "X-Github-Hook-Installation-Target-Id",
88036
+ "in": "header",
88037
+ "example": 123123,
88038
+ "schema": {
88039
+ "type": "string"
88040
+ }
88041
+ },
88042
+ {
88043
+ "name": "X-Github-Hook-Installation-Target-Type",
88044
+ "in": "header",
88045
+ "example": "repository",
88046
+ "schema": {
88047
+ "type": "string"
88048
+ }
88049
+ },
88050
+ {
88051
+ "name": "X-GitHub-Delivery",
88052
+ "in": "header",
88053
+ "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516",
88054
+ "schema": {
88055
+ "type": "string"
88056
+ }
88057
+ },
88058
+ {
88059
+ "name": "X-Hub-Signature-256",
88060
+ "in": "header",
88061
+ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e",
88062
+ "schema": {
88063
+ "type": "string"
88064
+ }
88065
+ }
88066
+ ],
88067
+ "requestBody": {
88068
+ "required": true,
88069
+ "content": {
88070
+ "application/json": {
88071
+ "schema": {
88072
+ "$ref": "#/components/schemas/webhook-discussion-comment-edited"
88073
+ }
88074
+ }
88075
+ }
88076
+ },
88077
+ "responses": {
88078
+ "200": {
88079
+ "description": "Return a 200 status to indicate that the data was received successfully"
88080
+ }
88081
+ },
88082
+ "x-github": {
88083
+ "githubCloudOnly": false,
88084
+ "category": "webhooks",
88085
+ "subcategory": "discussion_comment",
88086
+ "supported-webhook-types": [
88087
+ "repository",
88088
+ "organization",
88089
+ "app"
88090
+ ]
88091
+ }
88092
+ }
88093
+ },
88094
+ "discussion-created": {
88095
+ "post": {
88096
+ "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.",
88097
+ "description": "A discussion was created.",
88098
+ "operationId": "discussion/created",
88099
+ "externalDocs": {
88100
+ "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion"
88101
+ },
88102
+ "parameters": [
88103
+ {
88104
+ "name": "User-Agent",
88105
+ "in": "header",
88106
+ "example": "GitHub-Hookshot/123abc",
88107
+ "schema": {
88108
+ "type": "string"
88109
+ }
88110
+ },
88111
+ {
88112
+ "name": "X-Github-Hook-Id",
88113
+ "in": "header",
88114
+ "example": 12312312,
88115
+ "schema": {
88116
+ "type": "string"
88117
+ }
88118
+ },
88119
+ {
88120
+ "name": "X-Github-Event",
88121
+ "in": "header",
88122
+ "example": "issues",
88123
+ "schema": {
88124
+ "type": "string"
88125
+ }
88126
+ },
88127
+ {
88128
+ "name": "X-Github-Hook-Installation-Target-Id",
88129
+ "in": "header",
88130
+ "example": 123123,
88131
+ "schema": {
88132
+ "type": "string"
88133
+ }
88134
+ },
88135
+ {
88136
+ "name": "X-Github-Hook-Installation-Target-Type",
88137
+ "in": "header",
88138
+ "example": "repository",
88139
+ "schema": {
88140
+ "type": "string"
88141
+ }
88142
+ },
88143
+ {
88144
+ "name": "X-GitHub-Delivery",
88145
+ "in": "header",
88146
+ "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516",
88147
+ "schema": {
88148
+ "type": "string"
88149
+ }
88150
+ },
88151
+ {
88152
+ "name": "X-Hub-Signature-256",
88153
+ "in": "header",
88154
+ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e",
88155
+ "schema": {
88156
+ "type": "string"
88157
+ }
88158
+ }
88159
+ ],
88160
+ "requestBody": {
88161
+ "required": true,
88162
+ "content": {
88163
+ "application/json": {
88164
+ "schema": {
88165
+ "$ref": "#/components/schemas/webhook-discussion-created"
87716
88166
  }
87717
88167
  }
87718
88168
  }
@@ -87725,7 +88175,7 @@
87725
88175
  "x-github": {
87726
88176
  "githubCloudOnly": false,
87727
88177
  "category": "webhooks",
87728
- "subcategory": "discussion_comment",
88178
+ "subcategory": "discussion",
87729
88179
  "supported-webhook-types": [
87730
88180
  "repository",
87731
88181
  "organization",
@@ -87734,13 +88184,13 @@
87734
88184
  }
87735
88185
  }
87736
88186
  },
87737
- "discussion-comment-edited": {
88187
+ "discussion-deleted": {
87738
88188
  "post": {
87739
- "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.",
87740
- "description": "A comment on a discussion was edited.",
87741
- "operationId": "discussion-comment/edited",
88189
+ "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.",
88190
+ "description": "A discussion was deleted.",
88191
+ "operationId": "discussion/deleted",
87742
88192
  "externalDocs": {
87743
- "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion_comment"
88193
+ "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion"
87744
88194
  },
87745
88195
  "parameters": [
87746
88196
  {
@@ -87805,7 +88255,7 @@
87805
88255
  "content": {
87806
88256
  "application/json": {
87807
88257
  "schema": {
87808
- "$ref": "#/components/schemas/webhook-discussion-comment-edited"
88258
+ "$ref": "#/components/schemas/webhook-discussion-deleted"
87809
88259
  }
87810
88260
  }
87811
88261
  }
@@ -87818,7 +88268,7 @@
87818
88268
  "x-github": {
87819
88269
  "githubCloudOnly": false,
87820
88270
  "category": "webhooks",
87821
- "subcategory": "discussion_comment",
88271
+ "subcategory": "discussion",
87822
88272
  "supported-webhook-types": [
87823
88273
  "repository",
87824
88274
  "organization",
@@ -87827,11 +88277,11 @@
87827
88277
  }
87828
88278
  }
87829
88279
  },
87830
- "discussion-created": {
88280
+ "discussion-edited": {
87831
88281
  "post": {
87832
88282
  "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.",
87833
- "description": "A discussion was created.",
87834
- "operationId": "discussion/created",
88283
+ "description": "The title or body on a discussion was edited, or the category of the discussion was changed.",
88284
+ "operationId": "discussion/edited",
87835
88285
  "externalDocs": {
87836
88286
  "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion"
87837
88287
  },
@@ -87898,7 +88348,7 @@
87898
88348
  "content": {
87899
88349
  "application/json": {
87900
88350
  "schema": {
87901
- "$ref": "#/components/schemas/webhook-discussion-created"
88351
+ "$ref": "#/components/schemas/webhook-discussion-edited"
87902
88352
  }
87903
88353
  }
87904
88354
  }
@@ -87920,11 +88370,11 @@
87920
88370
  }
87921
88371
  }
87922
88372
  },
87923
- "discussion-deleted": {
88373
+ "discussion-labeled": {
87924
88374
  "post": {
87925
88375
  "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.",
87926
- "description": "A discussion was deleted.",
87927
- "operationId": "discussion/deleted",
88376
+ "description": "A label was added to a discussion.",
88377
+ "operationId": "discussion/labeled",
87928
88378
  "externalDocs": {
87929
88379
  "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion"
87930
88380
  },
@@ -87991,7 +88441,7 @@
87991
88441
  "content": {
87992
88442
  "application/json": {
87993
88443
  "schema": {
87994
- "$ref": "#/components/schemas/webhook-discussion-deleted"
88444
+ "$ref": "#/components/schemas/webhook-discussion-labeled"
87995
88445
  }
87996
88446
  }
87997
88447
  }
@@ -88013,11 +88463,11 @@
88013
88463
  }
88014
88464
  }
88015
88465
  },
88016
- "discussion-edited": {
88466
+ "discussion-locked": {
88017
88467
  "post": {
88018
88468
  "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.",
88019
- "description": "The title or body on a discussion was edited, or the category of the discussion was changed.",
88020
- "operationId": "discussion/edited",
88469
+ "description": "A discussion was locked.",
88470
+ "operationId": "discussion/locked",
88021
88471
  "externalDocs": {
88022
88472
  "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion"
88023
88473
  },
@@ -88084,7 +88534,7 @@
88084
88534
  "content": {
88085
88535
  "application/json": {
88086
88536
  "schema": {
88087
- "$ref": "#/components/schemas/webhook-discussion-edited"
88537
+ "$ref": "#/components/schemas/webhook-discussion-locked"
88088
88538
  }
88089
88539
  }
88090
88540
  }
@@ -88106,11 +88556,11 @@
88106
88556
  }
88107
88557
  }
88108
88558
  },
88109
- "discussion-labeled": {
88559
+ "discussion-pinned": {
88110
88560
  "post": {
88111
88561
  "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.",
88112
- "description": "A label was added to a discussion.",
88113
- "operationId": "discussion/labeled",
88562
+ "description": "A discussion was pinned.",
88563
+ "operationId": "discussion/pinned",
88114
88564
  "externalDocs": {
88115
88565
  "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion"
88116
88566
  },
@@ -88177,7 +88627,7 @@
88177
88627
  "content": {
88178
88628
  "application/json": {
88179
88629
  "schema": {
88180
- "$ref": "#/components/schemas/webhook-discussion-labeled"
88630
+ "$ref": "#/components/schemas/webhook-discussion-pinned"
88181
88631
  }
88182
88632
  }
88183
88633
  }
@@ -88199,11 +88649,104 @@
88199
88649
  }
88200
88650
  }
88201
88651
  },
88202
- "discussion-locked": {
88652
+ "discussion-reopened": {
88203
88653
  "post": {
88204
88654
  "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.",
88205
- "description": "A discussion was locked.",
88206
- "operationId": "discussion/locked",
88655
+ "description": "A discussion was reopened.",
88656
+ "operationId": "discussion/reopened",
88657
+ "externalDocs": {
88658
+ "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion"
88659
+ },
88660
+ "parameters": [
88661
+ {
88662
+ "name": "User-Agent",
88663
+ "in": "header",
88664
+ "example": "GitHub-Hookshot/123abc",
88665
+ "schema": {
88666
+ "type": "string"
88667
+ }
88668
+ },
88669
+ {
88670
+ "name": "X-Github-Hook-Id",
88671
+ "in": "header",
88672
+ "example": 12312312,
88673
+ "schema": {
88674
+ "type": "string"
88675
+ }
88676
+ },
88677
+ {
88678
+ "name": "X-Github-Event",
88679
+ "in": "header",
88680
+ "example": "discussions",
88681
+ "schema": {
88682
+ "type": "string"
88683
+ }
88684
+ },
88685
+ {
88686
+ "name": "X-Github-Hook-Installation-Target-Id",
88687
+ "in": "header",
88688
+ "example": 123123,
88689
+ "schema": {
88690
+ "type": "string"
88691
+ }
88692
+ },
88693
+ {
88694
+ "name": "X-Github-Hook-Installation-Target-Type",
88695
+ "in": "header",
88696
+ "example": "repository",
88697
+ "schema": {
88698
+ "type": "string"
88699
+ }
88700
+ },
88701
+ {
88702
+ "name": "X-GitHub-Delivery",
88703
+ "in": "header",
88704
+ "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516",
88705
+ "schema": {
88706
+ "type": "string"
88707
+ }
88708
+ },
88709
+ {
88710
+ "name": "X-Hub-Signature-256",
88711
+ "in": "header",
88712
+ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e",
88713
+ "schema": {
88714
+ "type": "string"
88715
+ }
88716
+ }
88717
+ ],
88718
+ "requestBody": {
88719
+ "required": true,
88720
+ "content": {
88721
+ "application/json": {
88722
+ "schema": {
88723
+ "$ref": "#/components/schemas/webhook-discussion-reopened"
88724
+ }
88725
+ }
88726
+ }
88727
+ },
88728
+ "responses": {
88729
+ "200": {
88730
+ "description": "Return a 200 status to indicate that the data was received successfully"
88731
+ }
88732
+ },
88733
+ "x-github": {
88734
+ "githubCloudOnly": false,
88735
+ "category": "webhooks",
88736
+ "subcategory": "discussion",
88737
+ "supported-webhook-types": [
88738
+ "repository",
88739
+ "organization",
88740
+ "app"
88741
+ ]
88742
+ }
88743
+ }
88744
+ },
88745
+ "discussion-transferred": {
88746
+ "post": {
88747
+ "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.",
88748
+ "description": "A discussion was transferred to another repository.",
88749
+ "operationId": "discussion/transferred",
88207
88750
  "externalDocs": {
88208
88751
  "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion"
88209
88752
  },
@@ -88270,7 +88813,7 @@
88270
88813
  "content": {
88271
88814
  "application/json": {
88272
88815
  "schema": {
88273
- "$ref": "#/components/schemas/webhook-discussion-locked"
88816
+ "$ref": "#/components/schemas/webhook-discussion-transferred"
88274
88817
  }
88275
88818
  }
88276
88819
  }
@@ -88292,11 +88835,11 @@
88292
88835
  }
88293
88836
  }
88294
88837
  },
88295
- "discussion-pinned": {
88838
+ "discussion-unanswered": {
88296
88839
  "post": {
88297
88840
  "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.",
88298
- "description": "A discussion was pinned.",
88299
- "operationId": "discussion/pinned",
88841
+ "description": "A comment on the discussion was unmarked as the answer.",
88842
+ "operationId": "discussion/unanswered",
88300
88843
  "externalDocs": {
88301
88844
  "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion"
88302
88845
  },
@@ -88363,7 +88906,7 @@
88363
88906
  "content": {
88364
88907
  "application/json": {
88365
88908
  "schema": {
88366
- "$ref": "#/components/schemas/webhook-discussion-pinned"
88909
+ "$ref": "#/components/schemas/webhook-discussion-unanswered"
88367
88910
  }
88368
88911
  }
88369
88912
  }
@@ -88385,11 +88928,104 @@
88385
88928
  }
88386
88929
  }
88387
88930
  },
88388
- "discussion-reopened": {
88931
+ "discussion-unlabeled": {
88389
88932
  "post": {
88390
88933
  "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.",
88391
- "description": "A discussion was reopened.",
88392
- "operationId": "discussion/reopened",
88934
+ "description": "A label was removed from a discussion.",
88935
+ "operationId": "discussion/unlabeled",
88936
+ "externalDocs": {
88937
+ "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion"
88938
+ },
88939
+ "parameters": [
88940
+ {
88941
+ "name": "User-Agent",
88942
+ "in": "header",
88943
+ "example": "GitHub-Hookshot/123abc",
88944
+ "schema": {
88945
+ "type": "string"
88946
+ }
88947
+ },
88948
+ {
88949
+ "name": "X-Github-Hook-Id",
88950
+ "in": "header",
88951
+ "example": 12312312,
88952
+ "schema": {
88953
+ "type": "string"
88954
+ }
88955
+ },
88956
+ {
88957
+ "name": "X-Github-Event",
88958
+ "in": "header",
88959
+ "example": "issues",
88960
+ "schema": {
88961
+ "type": "string"
88962
+ }
88963
+ },
88964
+ {
88965
+ "name": "X-Github-Hook-Installation-Target-Id",
88966
+ "in": "header",
88967
+ "example": 123123,
88968
+ "schema": {
88969
+ "type": "string"
88970
+ }
88971
+ },
88972
+ {
88973
+ "name": "X-Github-Hook-Installation-Target-Type",
88974
+ "in": "header",
88975
+ "example": "repository",
88976
+ "schema": {
88977
+ "type": "string"
88978
+ }
88979
+ },
88980
+ {
88981
+ "name": "X-GitHub-Delivery",
88982
+ "in": "header",
88983
+ "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516",
88984
+ "schema": {
88985
+ "type": "string"
88986
+ }
88987
+ },
88988
+ {
88989
+ "name": "X-Hub-Signature-256",
88990
+ "in": "header",
88991
+ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e",
88992
+ "schema": {
88993
+ "type": "string"
88994
+ }
88995
+ }
88996
+ ],
88997
+ "requestBody": {
88998
+ "required": true,
88999
+ "content": {
89000
+ "application/json": {
89001
+ "schema": {
89002
+ "$ref": "#/components/schemas/webhook-discussion-unlabeled"
89003
+ }
89004
+ }
89005
+ }
89006
+ },
89007
+ "responses": {
89008
+ "200": {
89009
+ "description": "Return a 200 status to indicate that the data was received successfully"
89010
+ }
89011
+ },
89012
+ "x-github": {
89013
+ "githubCloudOnly": false,
89014
+ "category": "webhooks",
89015
+ "subcategory": "discussion",
89016
+ "supported-webhook-types": [
89017
+ "repository",
89018
+ "organization",
89019
+ "app"
89020
+ ]
89021
+ }
89022
+ }
89023
+ },
89024
+ "discussion-unlocked": {
89025
+ "post": {
89026
+ "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.",
89027
+ "description": "A discussion was unlocked.",
89028
+ "operationId": "discussion/unlocked",
88393
89029
  "externalDocs": {
88394
89030
  "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion"
88395
89031
  },
@@ -88413,7 +89049,7 @@
88413
89049
  {
88414
89050
  "name": "X-Github-Event",
88415
89051
  "in": "header",
88416
- "example": "discussions",
89052
+ "example": "issues",
88417
89053
  "schema": {
88418
89054
  "type": "string"
88419
89055
  }
@@ -88456,7 +89092,7 @@
88456
89092
  "content": {
88457
89093
  "application/json": {
88458
89094
  "schema": {
88459
- "$ref": "#/components/schemas/webhook-discussion-reopened"
89095
+ "$ref": "#/components/schemas/webhook-discussion-unlocked"
88460
89096
  }
88461
89097
  }
88462
89098
  }
@@ -88478,11 +89114,11 @@
88478
89114
  }
88479
89115
  }
88480
89116
  },
88481
- "discussion-transferred": {
89117
+ "discussion-unpinned": {
88482
89118
  "post": {
88483
89119
  "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.",
88484
- "description": "A discussion was transferred to another repository.",
88485
- "operationId": "discussion/transferred",
89120
+ "description": "A discussion was unpinned.",
89121
+ "operationId": "discussion/unpinned",
88486
89122
  "externalDocs": {
88487
89123
  "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion"
88488
89124
  },
@@ -88549,7 +89185,7 @@
88549
89185
  "content": {
88550
89186
  "application/json": {
88551
89187
  "schema": {
88552
- "$ref": "#/components/schemas/webhook-discussion-transferred"
89188
+ "$ref": "#/components/schemas/webhook-discussion-unpinned"
88553
89189
  }
88554
89190
  }
88555
89191
  }
@@ -88571,13 +89207,13 @@
88571
89207
  }
88572
89208
  }
88573
89209
  },
88574
- "discussion-unanswered": {
89210
+ "dismissal-request-code-scanning-created": {
88575
89211
  "post": {
88576
- "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.",
88577
- "description": "A comment on the discussion was unmarked as the answer.",
88578
- "operationId": "discussion/unanswered",
89212
+ "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.\n\n> [!NOTE]\n> Delegated alert dismissal for code scanning is currently in public preview and subject to change.",
89213
+ "description": "A code scanning alert dismissal request was created.",
89214
+ "operationId": "dismissal-request-code-scanning/created",
88579
89215
  "externalDocs": {
88580
- "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion"
89216
+ "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_code_scanning"
88581
89217
  },
88582
89218
  "parameters": [
88583
89219
  {
@@ -88642,7 +89278,7 @@
88642
89278
  "content": {
88643
89279
  "application/json": {
88644
89280
  "schema": {
88645
- "$ref": "#/components/schemas/webhook-discussion-unanswered"
89281
+ "$ref": "#/components/schemas/webhook-exemption-request-created"
88646
89282
  }
88647
89283
  }
88648
89284
  }
@@ -88653,9 +89289,9 @@
88653
89289
  }
88654
89290
  },
88655
89291
  "x-github": {
88656
- "githubCloudOnly": false,
89292
+ "githubCloudOnly": true,
88657
89293
  "category": "webhooks",
88658
- "subcategory": "discussion",
89294
+ "subcategory": "dismissal_request_code_scanning",
88659
89295
  "supported-webhook-types": [
88660
89296
  "repository",
88661
89297
  "organization",
@@ -88664,13 +89300,13 @@
88664
89300
  }
88665
89301
  }
88666
89302
  },
88667
- "discussion-unlabeled": {
89303
+ "dismissal-request-code-scanning-response-submitted": {
88668
89304
  "post": {
88669
- "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.",
88670
- "description": "A label was removed from a discussion.",
88671
- "operationId": "discussion/unlabeled",
89305
+ "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.\n\n> [!NOTE]\n> Delegated alert dismissal for code scanning is currently in public preview and subject to change.",
89306
+ "description": "A code scanning alert dismissal response was submitted.",
89307
+ "operationId": "dismissal-request-code-scanning/response-submitted",
88672
89308
  "externalDocs": {
88673
- "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion"
89309
+ "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_code_scanning"
88674
89310
  },
88675
89311
  "parameters": [
88676
89312
  {
@@ -88735,7 +89371,7 @@
88735
89371
  "content": {
88736
89372
  "application/json": {
88737
89373
  "schema": {
88738
- "$ref": "#/components/schemas/webhook-discussion-unlabeled"
89374
+ "$ref": "#/components/schemas/webhook-exemption-request-response-submitted"
88739
89375
  }
88740
89376
  }
88741
89377
  }
@@ -88746,9 +89382,9 @@
88746
89382
  }
88747
89383
  },
88748
89384
  "x-github": {
88749
- "githubCloudOnly": false,
89385
+ "githubCloudOnly": true,
88750
89386
  "category": "webhooks",
88751
- "subcategory": "discussion",
89387
+ "subcategory": "dismissal_request_code_scanning",
88752
89388
  "supported-webhook-types": [
88753
89389
  "repository",
88754
89390
  "organization",
@@ -88757,13 +89393,13 @@
88757
89393
  }
88758
89394
  }
88759
89395
  },
88760
- "discussion-unlocked": {
89396
+ "dismissal-request-code-scanning-created": {
88761
89397
  "post": {
88762
- "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.",
88763
- "description": "A discussion was unlocked.",
88764
- "operationId": "discussion/unlocked",
89398
+ "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.\n\n> [!NOTE]\n> Delegated alert dismissal for code scanning is currently in public preview and subject to change.",
89399
+ "description": "A code scanning alert dismissal request was created.",
89400
+ "operationId": "dismissal-request-code-scanning/created",
88765
89401
  "externalDocs": {
88766
- "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion"
89402
+ "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_code_scanning"
88767
89403
  },
88768
89404
  "parameters": [
88769
89405
  {
@@ -88828,7 +89464,7 @@
88828
89464
  "content": {
88829
89465
  "application/json": {
88830
89466
  "schema": {
88831
- "$ref": "#/components/schemas/webhook-discussion-unlocked"
89467
+ "$ref": "#/components/schemas/webhook-exemption-request-created"
88832
89468
  }
88833
89469
  }
88834
89470
  }
@@ -88839,9 +89475,9 @@
88839
89475
  }
88840
89476
  },
88841
89477
  "x-github": {
88842
- "githubCloudOnly": false,
89478
+ "githubCloudOnly": true,
88843
89479
  "category": "webhooks",
88844
- "subcategory": "discussion",
89480
+ "subcategory": "dismissal_request_code_scanning",
88845
89481
  "supported-webhook-types": [
88846
89482
  "repository",
88847
89483
  "organization",
@@ -88850,13 +89486,13 @@
88850
89486
  }
88851
89487
  }
88852
89488
  },
88853
- "discussion-unpinned": {
89489
+ "dismissal-request-code-scanning-response-submitted": {
88854
89490
  "post": {
88855
- "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-cloud@latest//discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.",
88856
- "description": "A discussion was unpinned.",
88857
- "operationId": "discussion/unpinned",
89491
+ "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.\n\n> [!NOTE]\n> Delegated alert dismissal for code scanning is currently in public preview and subject to change.",
89492
+ "description": "A code scanning alert dismissal response was submitted.",
89493
+ "operationId": "dismissal-request-code-scanning/response-submitted",
88858
89494
  "externalDocs": {
88859
- "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#discussion"
89495
+ "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dismissal_request_code_scanning"
88860
89496
  },
88861
89497
  "parameters": [
88862
89498
  {
@@ -88921,7 +89557,7 @@
88921
89557
  "content": {
88922
89558
  "application/json": {
88923
89559
  "schema": {
88924
- "$ref": "#/components/schemas/webhook-discussion-unpinned"
89560
+ "$ref": "#/components/schemas/webhook-exemption-request-response-submitted"
88925
89561
  }
88926
89562
  }
88927
89563
  }
@@ -88932,9 +89568,9 @@
88932
89568
  }
88933
89569
  },
88934
89570
  "x-github": {
88935
- "githubCloudOnly": false,
89571
+ "githubCloudOnly": true,
88936
89572
  "category": "webhooks",
88937
- "subcategory": "discussion",
89573
+ "subcategory": "dismissal_request_code_scanning",
88938
89574
  "supported-webhook-types": [
88939
89575
  "repository",
88940
89576
  "organization",
@@ -108416,6 +109052,7 @@
108416
109052
  "id": {
108417
109053
  "description": "Unique identifier of the webhook delivery.",
108418
109054
  "type": "integer",
109055
+ "format": "int64",
108419
109056
  "example": 42
108420
109057
  },
108421
109058
  "guid": {
@@ -108463,12 +109100,14 @@
108463
109100
  "installation_id": {
108464
109101
  "description": "The id of the GitHub App installation associated with this event.",
108465
109102
  "type": "integer",
109103
+ "format": "int64",
108466
109104
  "example": 123,
108467
109105
  "nullable": true
108468
109106
  },
108469
109107
  "repository_id": {
108470
109108
  "description": "The id of the repository associated with this event.",
108471
109109
  "type": "integer",
109110
+ "format": "int64",
108472
109111
  "example": 123,
108473
109112
  "nullable": true
108474
109113
  },
@@ -108810,7 +109449,7 @@
108810
109449
  },
108811
109450
  "dependabot_secrets": {
108812
109451
  "type": "string",
108813
- "description": "The leve of permission to grant the access token to manage Dependabot secrets.",
109452
+ "description": "The level of permission to grant the access token to manage Dependabot secrets.",
108814
109453
  "enum": [
108815
109454
  "read",
108816
109455
  "write"
@@ -111649,12 +112288,12 @@
111649
112288
  "type": "object",
111650
112289
  "properties": {
111651
112290
  "id": {
111652
- "description": "The id of the runner.",
112291
+ "description": "The ID of the runner.",
111653
112292
  "type": "integer",
111654
112293
  "example": 5
111655
112294
  },
111656
112295
  "runner_group_id": {
111657
- "description": "The id of the runner group.",
112296
+ "description": "The ID of the runner group.",
111658
112297
  "type": "integer",
111659
112298
  "example": 1
111660
112299
  },
@@ -115067,6 +115706,16 @@
115067
115706
  "maxItems": 200,
115068
115707
  "nullable": true,
115069
115708
  "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values."
115709
+ },
115710
+ "values_editable_by": {
115711
+ "type": "string",
115712
+ "nullable": true,
115713
+ "enum": [
115714
+ "org_actors",
115715
+ "org_and_repo_actors"
115716
+ ],
115717
+ "example": "org_actors",
115718
+ "description": "Who can edit the values of the property"
115070
115719
  }
115071
115720
  },
115072
115721
  "required": [
@@ -117142,6 +117791,66 @@
117142
117791
  ],
117143
117792
  "nullable": true
117144
117793
  },
117794
+ "issue-type": {
117795
+ "title": "Issue Type",
117796
+ "description": "The type of issue.",
117797
+ "type": "object",
117798
+ "nullable": true,
117799
+ "properties": {
117800
+ "id": {
117801
+ "type": "integer",
117802
+ "description": "The unique identifier of the issue type."
117803
+ },
117804
+ "node_id": {
117805
+ "type": "string",
117806
+ "description": "The node identifier of the issue type."
117807
+ },
117808
+ "name": {
117809
+ "type": "string",
117810
+ "description": "The name of the issue type."
117811
+ },
117812
+ "description": {
117813
+ "type": "string",
117814
+ "description": "The description of the issue type.",
117815
+ "nullable": true
117816
+ },
117817
+ "color": {
117818
+ "type": "string",
117819
+ "description": "The color of the issue type.",
117820
+ "enum": [
117821
+ "gray",
117822
+ "blue",
117823
+ "green",
117824
+ "yellow",
117825
+ "orange",
117826
+ "red",
117827
+ "pink",
117828
+ "purple"
117829
+ ],
117830
+ "nullable": true
117831
+ },
117832
+ "created_at": {
117833
+ "type": "string",
117834
+ "description": "The time the issue type created.",
117835
+ "format": "date-time"
117836
+ },
117837
+ "updated_at": {
117838
+ "type": "string",
117839
+ "description": "The time the issue type last updated.",
117840
+ "format": "date-time"
117841
+ },
117842
+ "is_enabled": {
117843
+ "type": "boolean",
117844
+ "description": "The enabled state of the issue type."
117845
+ }
117846
+ },
117847
+ "required": [
117848
+ "id",
117849
+ "node_id",
117850
+ "name",
117851
+ "description"
117852
+ ]
117853
+ },
117145
117854
  "nullable-integration": {
117146
117855
  "title": "GitHub app",
117147
117856
  "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
@@ -117568,6 +118277,9 @@
117568
118277
  "type": "string",
117569
118278
  "format": "uri"
117570
118279
  },
118280
+ "type": {
118281
+ "$ref": "#/components/schemas/issue-type"
118282
+ },
117571
118283
  "repository": {
117572
118284
  "$ref": "#/components/schemas/repository"
117573
118285
  },
@@ -122412,6 +123124,88 @@
122412
123124
  "limit"
122413
123125
  ]
122414
123126
  },
123127
+ "organization-create-issue-type": {
123128
+ "type": "object",
123129
+ "properties": {
123130
+ "name": {
123131
+ "description": "Name of the issue type.",
123132
+ "type": "string"
123133
+ },
123134
+ "is_enabled": {
123135
+ "description": "Whether or not the issue type is enabled at the organization level.",
123136
+ "type": "boolean"
123137
+ },
123138
+ "is_private": {
123139
+ "description": "Whether or not the issue type is restricted to issues in private repositories.",
123140
+ "type": "boolean"
123141
+ },
123142
+ "description": {
123143
+ "description": "Description of the issue type.",
123144
+ "type": "string",
123145
+ "nullable": true
123146
+ },
123147
+ "color": {
123148
+ "description": "Color for the issue type.",
123149
+ "type": "string",
123150
+ "enum": [
123151
+ "gray",
123152
+ "blue",
123153
+ "green",
123154
+ "yellow",
123155
+ "orange",
123156
+ "red",
123157
+ "pink",
123158
+ "purple"
123159
+ ],
123160
+ "nullable": true
123161
+ }
123162
+ },
123163
+ "required": [
123164
+ "name",
123165
+ "is_enabled"
123166
+ ]
123167
+ },
123168
+ "organization-update-issue-type": {
123169
+ "type": "object",
123170
+ "properties": {
123171
+ "name": {
123172
+ "description": "Name of the issue type.",
123173
+ "type": "string"
123174
+ },
123175
+ "is_enabled": {
123176
+ "description": "Whether or not the issue type is enabled at the organization level.",
123177
+ "type": "boolean"
123178
+ },
123179
+ "is_private": {
123180
+ "description": "Whether or not the issue type is restricted to issues in private repositories.",
123181
+ "type": "boolean"
123182
+ },
123183
+ "description": {
123184
+ "description": "Description of the issue type.",
123185
+ "type": "string",
123186
+ "nullable": true
123187
+ },
123188
+ "color": {
123189
+ "description": "Color for the issue type.",
123190
+ "type": "string",
123191
+ "enum": [
123192
+ "gray",
123193
+ "blue",
123194
+ "green",
123195
+ "yellow",
123196
+ "orange",
123197
+ "red",
123198
+ "pink",
123199
+ "purple"
123200
+ ],
123201
+ "nullable": true
123202
+ }
123203
+ },
123204
+ "required": [
123205
+ "name",
123206
+ "is_enabled"
123207
+ ]
123208
+ },
122415
123209
  "org-membership": {
122416
123210
  "title": "Org Membership",
122417
123211
  "description": "Org Membership",
@@ -135372,6 +136166,9 @@
135372
136166
  "type": "string",
135373
136167
  "format": "uri"
135374
136168
  },
136169
+ "type": {
136170
+ "$ref": "#/components/schemas/issue-type"
136171
+ },
135375
136172
  "repository": {
135376
136173
  "$ref": "#/components/schemas/repository"
135377
136174
  },
@@ -142145,6 +142942,9 @@
142145
142942
  "type": "string",
142146
142943
  "format": "uri"
142147
142944
  },
142945
+ "type": {
142946
+ "$ref": "#/components/schemas/issue-type"
142947
+ },
142148
142948
  "performed_via_github_app": {
142149
142949
  "$ref": "#/components/schemas/nullable-integration"
142150
142950
  },
@@ -145361,6 +146161,33 @@
145361
146161
  }
145362
146162
  }
145363
146163
  },
146164
+ "dismissal-request-code-scanning": {
146165
+ "title": "Code scanning alert dismissal request data",
146166
+ "description": "Code scanning alerts that have dismissal requests.",
146167
+ "type": "object",
146168
+ "properties": {
146169
+ "type": {
146170
+ "type": "string",
146171
+ "description": "The type of request",
146172
+ "enum": [
146173
+ "code_scanning_alert_dismissal"
146174
+ ]
146175
+ },
146176
+ "data": {
146177
+ "type": "array",
146178
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
146179
+ "items": {
146180
+ "type": "object",
146181
+ "properties": {
146182
+ "alert_number": {
146183
+ "type": "string",
146184
+ "description": "The number of the alert to be dismissed"
146185
+ }
146186
+ }
146187
+ }
146188
+ }
146189
+ }
146190
+ },
145364
146191
  "exemption-request-secret-scanning-metadata": {
145365
146192
  "title": "Secret Scanning Push Protection Exemption Request Metadata",
145366
146193
  "description": "Metadata for a secret scanning push protection exemption request.",
@@ -145402,6 +146229,26 @@
145402
146229
  }
145403
146230
  }
145404
146231
  },
146232
+ "dismissal-request-code-scanning-metadata": {
146233
+ "title": "Code scanning alert dismissal request metadata",
146234
+ "description": "Metadata for a code scanning alert dismissal request.",
146235
+ "type": "object",
146236
+ "properties": {
146237
+ "alert_title": {
146238
+ "type": "string",
146239
+ "description": "The title of the code scanning alert"
146240
+ },
146241
+ "reason": {
146242
+ "type": "string",
146243
+ "description": "The reason for the dismissal request",
146244
+ "enum": [
146245
+ "false positive",
146246
+ "won't fix",
146247
+ "used in tests"
146248
+ ]
146249
+ }
146250
+ }
146251
+ },
145405
146252
  "exemption-response": {
145406
146253
  "title": "Exemption response",
145407
146254
  "description": "A response to an exemption request by a delegated bypasser.",
@@ -145472,7 +146319,8 @@
145472
146319
  "enum": [
145473
146320
  "push_ruleset_bypass",
145474
146321
  "secret_scanning",
145475
- "secret_scanning_closure"
146322
+ "secret_scanning_closure",
146323
+ "code_scanning_alert_dismissal"
145476
146324
  ]
145477
146325
  },
145478
146326
  "exemption_request_data": {
@@ -145485,6 +146333,9 @@
145485
146333
  },
145486
146334
  {
145487
146335
  "$ref": "#/components/schemas/dismissal-request-secret-scanning"
146336
+ },
146337
+ {
146338
+ "$ref": "#/components/schemas/dismissal-request-code-scanning"
145488
146339
  }
145489
146340
  ]
145490
146341
  },
@@ -145512,12 +146363,15 @@
145512
146363
  "type": "object",
145513
146364
  "description": "Metadata about the exemption request.",
145514
146365
  "nullable": true,
145515
- "oneOf": [
146366
+ "anyOf": [
145516
146367
  {
145517
146368
  "$ref": "#/components/schemas/exemption-request-secret-scanning-metadata"
145518
146369
  },
145519
146370
  {
145520
146371
  "$ref": "#/components/schemas/dismissal-request-secret-scanning-metadata"
146372
+ },
146373
+ {
146374
+ "$ref": "#/components/schemas/dismissal-request-code-scanning-metadata"
145521
146375
  }
145522
146376
  ]
145523
146377
  },
@@ -148467,6 +149321,9 @@
148467
149321
  "description": "Title of the issue",
148468
149322
  "type": "string"
148469
149323
  },
149324
+ "type": {
149325
+ "$ref": "#/components/schemas/issue-type"
149326
+ },
148470
149327
  "updated_at": {
148471
149328
  "type": "string",
148472
149329
  "format": "date-time"
@@ -149858,6 +150715,9 @@
149858
150715
  "description": "Title of the issue",
149859
150716
  "type": "string"
149860
150717
  },
150718
+ "type": {
150719
+ "$ref": "#/components/schemas/issue-type"
150720
+ },
149861
150721
  "updated_at": {
149862
150722
  "type": "string",
149863
150723
  "format": "date-time"
@@ -174104,6 +174964,9 @@
174104
174964
  "description": "Title of the issue",
174105
174965
  "type": "string"
174106
174966
  },
174967
+ "type": {
174968
+ "$ref": "#/components/schemas/issue-type"
174969
+ },
174107
174970
  "updated_at": {
174108
174971
  "type": "string",
174109
174972
  "format": "date-time"
@@ -175686,6 +176549,9 @@
175686
176549
  "description": "Title of the issue",
175687
176550
  "type": "string"
175688
176551
  },
176552
+ "type": {
176553
+ "$ref": "#/components/schemas/issue-type"
176554
+ },
175689
176555
  "updated_at": {
175690
176556
  "type": "string",
175691
176557
  "format": "date-time"
@@ -177277,6 +178143,9 @@
177277
178143
  "description": "Title of the issue",
177278
178144
  "type": "string"
177279
178145
  },
178146
+ "type": {
178147
+ "$ref": "#/components/schemas/issue-type"
178148
+ },
177280
178149
  "updated_at": {
177281
178150
  "type": "string",
177282
178151
  "format": "date-time"
@@ -178902,6 +179771,9 @@
178902
179771
  "description": "Title of the issue",
178903
179772
  "type": "string"
178904
179773
  },
179774
+ "type": {
179775
+ "$ref": "#/components/schemas/issue-type"
179776
+ },
178905
179777
  "updated_at": {
178906
179778
  "type": "string",
178907
179779
  "format": "date-time"
@@ -180343,6 +181215,9 @@
180343
181215
  "description": "Title of the issue",
180344
181216
  "type": "string"
180345
181217
  },
181218
+ "type": {
181219
+ "$ref": "#/components/schemas/issue-type"
181220
+ },
180346
181221
  "updated_at": {
180347
181222
  "type": "string",
180348
181223
  "format": "date-time"
@@ -181605,6 +182480,9 @@
181605
182480
  "description": "Title of the issue",
181606
182481
  "type": "string"
181607
182482
  },
182483
+ "type": {
182484
+ "$ref": "#/components/schemas/issue-type"
182485
+ },
181608
182486
  "updated_at": {
181609
182487
  "type": "string",
181610
182488
  "format": "date-time"
@@ -182856,6 +183734,9 @@
182856
183734
  "type": "string",
182857
183735
  "format": "uri"
182858
183736
  },
183737
+ "type": {
183738
+ "$ref": "#/components/schemas/issue-type"
183739
+ },
182859
183740
  "title": {
182860
183741
  "description": "Title of the issue",
182861
183742
  "type": "string"
@@ -184104,6 +184985,9 @@
184104
184985
  "type": "string",
184105
184986
  "format": "uri"
184106
184987
  },
184988
+ "type": {
184989
+ "$ref": "#/components/schemas/issue-type"
184990
+ },
184107
184991
  "title": {
184108
184992
  "description": "Title of the issue",
184109
184993
  "type": "string"
@@ -185378,6 +186262,9 @@
185378
186262
  "type": "string",
185379
186263
  "format": "uri"
185380
186264
  },
186265
+ "type": {
186266
+ "$ref": "#/components/schemas/issue-type"
186267
+ },
185381
186268
  "title": {
185382
186269
  "description": "Title of the issue",
185383
186270
  "type": "string"
@@ -186620,6 +187507,9 @@
186620
187507
  "description": "Title of the issue",
186621
187508
  "type": "string"
186622
187509
  },
187510
+ "type": {
187511
+ "$ref": "#/components/schemas/issue-type"
187512
+ },
186623
187513
  "updated_at": {
186624
187514
  "type": "string",
186625
187515
  "format": "date-time"
@@ -189668,6 +190558,9 @@
189668
190558
  "description": "Title of the issue",
189669
190559
  "type": "string"
189670
190560
  },
190561
+ "type": {
190562
+ "$ref": "#/components/schemas/issue-type"
190563
+ },
189671
190564
  "updated_at": {
189672
190565
  "type": "string",
189673
190566
  "format": "date-time"
@@ -191074,6 +191967,9 @@
191074
191967
  "type": "string"
191075
191968
  }
191076
191969
  }
191970
+ },
191971
+ "type": {
191972
+ "$ref": "#/components/schemas/issue-type"
191077
191973
  }
191078
191974
  }
191079
191975
  },
@@ -192184,6 +193080,9 @@
192184
193080
  "description": "Title of the issue",
192185
193081
  "type": "string"
192186
193082
  },
193083
+ "type": {
193084
+ "$ref": "#/components/schemas/issue-type"
193085
+ },
192187
193086
  "updated_at": {
192188
193087
  "type": "string",
192189
193088
  "format": "date-time"
@@ -194154,6 +195053,9 @@
194154
195053
  "description": "Title of the issue",
194155
195054
  "type": "string"
194156
195055
  },
195056
+ "type": {
195057
+ "$ref": "#/components/schemas/issue-type"
195058
+ },
194157
195059
  "updated_at": {
194158
195060
  "type": "string",
194159
195061
  "format": "date-time"
@@ -293082,6 +293984,36 @@
293082
293984
  }
293083
293985
  ]
293084
293986
  },
293987
+ "issue-type-items": {
293988
+ "value": [
293989
+ {
293990
+ "id": 410,
293991
+ "node_id": "IT_kwDNAd3NAZo",
293992
+ "name": "Task",
293993
+ "description": "A specific piece of work",
293994
+ "created_at": "2024-12-11T14:39:09Z",
293995
+ "updated_at": "2024-12-11T14:39:09Z"
293996
+ },
293997
+ {
293998
+ "id": 411,
293999
+ "node_id": "IT_kwDNAd3NAZs",
294000
+ "name": "Bug",
294001
+ "description": "An unexpected problem or behavior",
294002
+ "created_at": "2024-12-11T14:39:09Z",
294003
+ "updated_at": "2024-12-11T14:39:09Z"
294004
+ }
294005
+ ]
294006
+ },
294007
+ "issue-type": {
294008
+ "value": {
294009
+ "id": 410,
294010
+ "node_id": "IT_kwDNAd3NAZo",
294011
+ "name": "Task",
294012
+ "description": "A specific piece of work",
294013
+ "created_at": "2024-12-11T14:39:09Z",
294014
+ "updated_at": "2024-12-11T14:39:09Z"
294015
+ }
294016
+ },
293085
294017
  "codespace": {
293086
294018
  "value": {
293087
294019
  "id": 1,
@@ -317529,6 +318461,15 @@
317529
318461
  "type": "integer"
317530
318462
  }
317531
318463
  },
318464
+ "issue-type-id": {
318465
+ "name": "issue_type_id",
318466
+ "description": "The unique identifier of the issue type.",
318467
+ "in": "path",
318468
+ "required": true,
318469
+ "schema": {
318470
+ "type": "integer"
318471
+ }
318472
+ },
317532
318473
  "codespace-name": {
317533
318474
  "name": "codespace_name",
317534
318475
  "in": "path",
@@ -317672,6 +318613,20 @@
317672
318613
  "format": "date-time"
317673
318614
  }
317674
318615
  },
318616
+ "personal-access-token-token-id": {
318617
+ "name": "token_id",
318618
+ "description": "The ID of the token",
318619
+ "in": "query",
318620
+ "required": false,
318621
+ "schema": {
318622
+ "type": "array",
318623
+ "maxItems": 50,
318624
+ "items": {
318625
+ "type": "string"
318626
+ },
318627
+ "example": "token_id[]=1,token_id[]=2"
318628
+ }
318629
+ },
317675
318630
  "fine-grained-personal-access-token-id": {
317676
318631
  "name": "pat_id",
317677
318632
  "description": "The unique identifier of the fine-grained personal access token.",