You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Create a reaction to a [release](https://docs.github.com/rest/reference/repos#releases). A response with a `Status: 200 OK` means that you already added the reaction type to this release.",
"note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/rest/reference/reactions) reactions."
"summary": "List secret scanning alerts for a repository",
@@ -62354,19 +62461,11 @@
62354
62461
"type": "string",
62355
62462
"description": "**Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
62356
62463
"nullable": true,
62357
-
"oneOf": [
62358
-
{
62359
-
"enum": [
62360
-
"false positive",
62361
-
"won't fix",
62362
-
"used in tests"
62363
-
]
62364
-
},
62365
-
{
62366
-
"enum": [
62367
-
null
62368
-
]
62369
-
}
62464
+
"enum": [
62465
+
null,
62466
+
"false positive",
62467
+
"won't fix",
62468
+
"used in tests"
62370
62469
]
62371
62470
},
62372
62471
"code-scanning-alert-rule-summary": {
@@ -68891,6 +68990,9 @@
68891
68990
"description": "The URL of the release discussion.",
68892
68991
"type": "string",
68893
68992
"format": "uri"
68993
+
},
68994
+
"reactions": {
68995
+
"$ref": "#/components/schemas/reaction-rollup"
68894
68996
}
68895
68997
},
68896
68998
"required": [
@@ -68925,20 +69027,12 @@
68925
69027
"type": "string",
68926
69028
"description": "**Required when the `state` is `resolved`.** The reason for resolving the alert. Can be one of `false_positive`, `wont_fix`, `revoked`, or `used_in_tests`.",
An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.
28044
+
28045
+
To access the API you must provide a custom [media type](https://docs.github.com/rest/overview/media-types) in the `Accept` header:
28046
+
```shell
28047
+
application/vnd.github.squirrel-girl-preview
28048
+
```
28049
+
The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/rest/reference/reactions) reactions.
0 commit comments