Skip to content

Commit 50c9f3a

Browse files
authored
repo sync
2 parents 170365c + 91b9e68 commit 50c9f3a

File tree

4 files changed

+24
-24
lines changed

4 files changed

+24
-24
lines changed

lib/rest/static/decorated/api.github.com.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40968,7 +40968,7 @@
4096840968
}
4096940969
],
4097040970
"summary": "List code scanning alerts for a repository",
40971-
"description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). For private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes. GitHub Apps must have the `security_events` read permission to use this endpoint.",
40971+
"description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.",
4097240972
"tags": [
4097340973
"code-scanning"
4097440974
],
@@ -40989,7 +40989,7 @@
4098940989
"categoryLabel": "Code scanning",
4099040990
"notes": [],
4099140991
"bodyParameters": [],
40992-
"descriptionHTML": "<p>Lists all open code scanning alerts for the default branch (usually <code>main</code> or <code>master</code>). For private repos, you must use an access token with the <code>repo</code> scope. For public repos, you must use an access token with <code>public_repo</code> and <code>repo:security_events</code> scopes. GitHub Apps must have the <code>security_events</code> read permission to use this endpoint.</p>",
40992+
"descriptionHTML": "<p>Lists all open code scanning alerts for the default branch (usually <code>main</code> or <code>master</code>). You must use an access token with the <code>security_events</code> scope to use this endpoint. GitHub Apps must have the <code>security_events</code> read permission to use this endpoint.</p>",
4099340993
"responses": [
4099440994
{
4099540995
"httpStatusCode": "200",
@@ -41146,7 +41146,7 @@
4114641146
}
4114741147
],
4114841148
"summary": "Update a code scanning alert",
41149-
"description": "Updates the status of a single code scanning alert. For private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes.\nGitHub Apps must have the `security_events` write permission to use this endpoint.",
41149+
"description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.",
4115041150
"operationId": "code-scanning/update-alert",
4115141151
"tags": [
4115241152
"code-scanning"
@@ -41220,7 +41220,7 @@
4122041220
"category": "code-scanning",
4122141221
"categoryLabel": "Code scanning",
4122241222
"notes": [],
41223-
"descriptionHTML": "<p>Updates the status of a single code scanning alert. For private repos, you must use an access token with the <code>repo</code> scope. For public repos, you must use an access token with <code>public_repo</code> and <code>repo:security_events</code> scopes.\nGitHub Apps must have the <code>security_events</code> write permission to use this endpoint.</p>",
41223+
"descriptionHTML": "<p>Updates the status of a single code scanning alert. You must use an access token with the <code>security_events</code> scope to use this endpoint. GitHub Apps must have the <code>security_events</code> write permission to use this endpoint.</p>",
4122441224
"bodyParameters": [
4122541225
{
4122641226
"description": "<p><strong>Required</strong>. Sets the state of the code scanning alert. Can be one of <code>open</code> or <code>dismissed</code>. You must provide <code>dismissed_reason</code> when you set the state to <code>dismissed</code>.</p>",
@@ -41338,7 +41338,7 @@
4133841338
}
4133941339
],
4134041340
"summary": "List recent code scanning analyses for a repository",
41341-
"description": "List the details of recent code scanning analyses for a repository. For private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes. GitHub Apps must have the `security_events` read permission to use this endpoint.",
41341+
"description": "List the details of recent code scanning analyses for a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.",
4134241342
"operationId": "code-scanning/list-recent-analyses",
4134341343
"tags": [
4134441344
"code-scanning"
@@ -41358,7 +41358,7 @@
4135841358
"categoryLabel": "Code scanning",
4135941359
"notes": [],
4136041360
"bodyParameters": [],
41361-
"descriptionHTML": "<p>List the details of recent code scanning analyses for a repository. For private repos, you must use an access token with the <code>repo</code> scope. For public repos, you must use an access token with <code>public_repo</code> and <code>repo:security_events</code> scopes. GitHub Apps must have the <code>security_events</code> read permission to use this endpoint.</p>",
41361+
"descriptionHTML": "<p>List the details of recent code scanning analyses for a repository. You must use an access token with the <code>security_events</code> scope to use this endpoint. GitHub Apps must have the <code>security_events</code> read permission to use this endpoint.</p>",
4136241362
"responses": [
4136341363
{
4136441364
"httpStatusCode": "200",
@@ -41405,7 +41405,7 @@
4140541405
}
4140641406
],
4140741407
"summary": "Upload a SARIF file",
41408-
"description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository.\nFor private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes. GitHub Apps must have the `security_events` write permission to use this endpoint.",
41408+
"description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.",
4140941409
"operationId": "code-scanning/upload-sarif",
4141041410
"tags": [
4141141411
"code-scanning"
@@ -41534,7 +41534,7 @@
4153441534
"description": "Response if the sarif field is too large"
4153541535
}
4153641536
],
41537-
"descriptionHTML": "<p>Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository.\nFor private repos, you must use an access token with the <code>repo</code> scope. For public repos, you must use an access token with <code>public_repo</code> and <code>repo:security_events</code> scopes. GitHub Apps must have the <code>security_events</code> write permission to use this endpoint.</p>",
41537+
"descriptionHTML": "<p>Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the <code>security_events</code> scope to use this endpoint. GitHub Apps must have the <code>security_events</code> write permission to use this endpoint.</p>",
4153841538
"bodyParameters": [
4153941539
{
4154041540
"description": "<p><strong>Required</strong>. The commit SHA of the code scanning analysis file.</p>",

lib/rest/static/decorated/ghes-2.22.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38621,7 +38621,7 @@
3862138621
}
3862238622
],
3862338623
"summary": "List code scanning alerts for a repository",
38624-
"description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). For private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes. GitHub Apps must have the `security_events` read permission to use this endpoint.",
38624+
"description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.",
3862538625
"tags": [
3862638626
"code-scanning"
3862738627
],
@@ -38642,7 +38642,7 @@
3864238642
"categoryLabel": "Code scanning",
3864338643
"notes": [],
3864438644
"bodyParameters": [],
38645-
"descriptionHTML": "<p>Lists all open code scanning alerts for the default branch (usually <code>main</code> or <code>master</code>). For private repos, you must use an access token with the <code>repo</code> scope. For public repos, you must use an access token with <code>public_repo</code> and <code>repo:security_events</code> scopes. GitHub Apps must have the <code>security_events</code> read permission to use this endpoint.</p>",
38645+
"descriptionHTML": "<p>Lists all open code scanning alerts for the default branch (usually <code>main</code> or <code>master</code>). You must use an access token with the <code>security_events</code> scope to use this endpoint. GitHub Apps must have the <code>security_events</code> read permission to use this endpoint.</p>",
3864638646
"responses": [
3864738647
{
3864838648
"httpStatusCode": "200",
@@ -38799,7 +38799,7 @@
3879938799
}
3880038800
],
3880138801
"summary": "Update a code scanning alert",
38802-
"description": "Updates the status of a single code scanning alert. For private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes.\nGitHub Apps must have the `security_events` write permission to use this endpoint.",
38802+
"description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.",
3880338803
"operationId": "code-scanning/update-alert",
3880438804
"tags": [
3880538805
"code-scanning"
@@ -38873,7 +38873,7 @@
3887338873
"category": "code-scanning",
3887438874
"categoryLabel": "Code scanning",
3887538875
"notes": [],
38876-
"descriptionHTML": "<p>Updates the status of a single code scanning alert. For private repos, you must use an access token with the <code>repo</code> scope. For public repos, you must use an access token with <code>public_repo</code> and <code>repo:security_events</code> scopes.\nGitHub Apps must have the <code>security_events</code> write permission to use this endpoint.</p>",
38876+
"descriptionHTML": "<p>Updates the status of a single code scanning alert. You must use an access token with the <code>security_events</code> scope to use this endpoint. GitHub Apps must have the <code>security_events</code> write permission to use this endpoint.</p>",
3887738877
"bodyParameters": [
3887838878
{
3887938879
"description": "<p><strong>Required</strong>. Sets the state of the code scanning alert. Can be one of <code>open</code> or <code>dismissed</code>. You must provide <code>dismissed_reason</code> when you set the state to <code>dismissed</code>.</p>",
@@ -38991,7 +38991,7 @@
3899138991
}
3899238992
],
3899338993
"summary": "List recent code scanning analyses for a repository",
38994-
"description": "List the details of recent code scanning analyses for a repository. For private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes. GitHub Apps must have the `security_events` read permission to use this endpoint.",
38994+
"description": "List the details of recent code scanning analyses for a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.",
3899538995
"operationId": "code-scanning/list-recent-analyses",
3899638996
"tags": [
3899738997
"code-scanning"
@@ -39011,7 +39011,7 @@
3901139011
"categoryLabel": "Code scanning",
3901239012
"notes": [],
3901339013
"bodyParameters": [],
39014-
"descriptionHTML": "<p>List the details of recent code scanning analyses for a repository. For private repos, you must use an access token with the <code>repo</code> scope. For public repos, you must use an access token with <code>public_repo</code> and <code>repo:security_events</code> scopes. GitHub Apps must have the <code>security_events</code> read permission to use this endpoint.</p>",
39014+
"descriptionHTML": "<p>List the details of recent code scanning analyses for a repository. You must use an access token with the <code>security_events</code> scope to use this endpoint. GitHub Apps must have the <code>security_events</code> read permission to use this endpoint.</p>",
3901539015
"responses": [
3901639016
{
3901739017
"httpStatusCode": "200",
@@ -39058,7 +39058,7 @@
3905839058
}
3905939059
],
3906039060
"summary": "Upload a SARIF file",
39061-
"description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository.\nFor private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes. GitHub Apps must have the `security_events` write permission to use this endpoint.",
39061+
"description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.",
3906239062
"operationId": "code-scanning/upload-sarif",
3906339063
"tags": [
3906439064
"code-scanning"
@@ -39187,7 +39187,7 @@
3918739187
"description": "Response if the sarif field is too large"
3918839188
}
3918939189
],
39190-
"descriptionHTML": "<p>Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository.\nFor private repos, you must use an access token with the <code>repo</code> scope. For public repos, you must use an access token with <code>public_repo</code> and <code>repo:security_events</code> scopes. GitHub Apps must have the <code>security_events</code> write permission to use this endpoint.</p>",
39190+
"descriptionHTML": "<p>Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the <code>security_events</code> scope to use this endpoint. GitHub Apps must have the <code>security_events</code> write permission to use this endpoint.</p>",
3919139191
"bodyParameters": [
3919239192
{
3919339193
"description": "<p><strong>Required</strong>. The commit SHA of the code scanning analysis file.</p>",

lib/rest/static/dereferenced/api.github.com.deref.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124616,7 +124616,7 @@
124616124616
"/repos/{owner}/{repo}/code-scanning/alerts": {
124617124617
"get": {
124618124618
"summary": "List code scanning alerts for a repository",
124619-
"description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). For private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes. GitHub Apps must have the `security_events` read permission to use this endpoint.",
124619+
"description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.",
124620124620
"tags": [
124621124621
"code-scanning"
124622124622
],
@@ -125403,7 +125403,7 @@
125403125403
},
125404125404
"patch": {
125405125405
"summary": "Update a code scanning alert",
125406-
"description": "Updates the status of a single code scanning alert. For private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes.\nGitHub Apps must have the `security_events` write permission to use this endpoint.",
125406+
"description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.",
125407125407
"operationId": "code-scanning/update-alert",
125408125408
"tags": [
125409125409
"code-scanning"
@@ -125822,7 +125822,7 @@
125822125822
"/repos/{owner}/{repo}/code-scanning/analyses": {
125823125823
"get": {
125824125824
"summary": "List recent code scanning analyses for a repository",
125825-
"description": "List the details of recent code scanning analyses for a repository. For private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes. GitHub Apps must have the `security_events` read permission to use this endpoint.",
125825+
"description": "List the details of recent code scanning analyses for a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.",
125826125826
"operationId": "code-scanning/list-recent-analyses",
125827125827
"tags": [
125828125828
"code-scanning"
@@ -125957,7 +125957,7 @@
125957125957
"/repos/{owner}/{repo}/code-scanning/sarifs": {
125958125958
"post": {
125959125959
"summary": "Upload a SARIF file",
125960-
"description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository.\nFor private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes. GitHub Apps must have the `security_events` write permission to use this endpoint.",
125960+
"description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.",
125961125961
"operationId": "code-scanning/upload-sarif",
125962125962
"tags": [
125963125963
"code-scanning"

0 commit comments

Comments
 (0)