зеркало из https://github.com/github/docs.git
Updating OpenAPI descriptions (#16712)
This commit is contained in:
Родитель
8349bdfdf1
Коммит
5f0dd145b7
|
@ -41282,6 +41282,11 @@
|
|||
"httpStatusMessage": "Accepted",
|
||||
"description": "Response"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "400",
|
||||
"httpStatusMessage": "Bad Request",
|
||||
"description": "Response if the sarif field is invalid"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "403",
|
||||
"httpStatusMessage": "Forbidden",
|
||||
|
@ -41291,6 +41296,11 @@
|
|||
"httpStatusCode": "404",
|
||||
"httpStatusMessage": "Not Found",
|
||||
"description": "Response if commit sha or ref cannot be found"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "413",
|
||||
"httpStatusMessage": "Payload Too Large",
|
||||
"description": "Response if the sarif field is too large"
|
||||
}
|
||||
],
|
||||
"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>",
|
||||
|
|
|
@ -39166,6 +39166,11 @@
|
|||
"httpStatusMessage": "Accepted",
|
||||
"description": "Response"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "400",
|
||||
"httpStatusMessage": "Bad Request",
|
||||
"description": "Response if the sarif field is invalid"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "403",
|
||||
"httpStatusMessage": "Forbidden",
|
||||
|
@ -39175,6 +39180,11 @@
|
|||
"httpStatusCode": "404",
|
||||
"httpStatusMessage": "Not Found",
|
||||
"description": "Response if commit sha or ref cannot be found"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "413",
|
||||
"httpStatusMessage": "Payload Too Large",
|
||||
"description": "Response if the sarif field is too large"
|
||||
}
|
||||
],
|
||||
"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>",
|
||||
|
|
|
@ -125547,6 +125547,12 @@
|
|||
},
|
||||
"404": {
|
||||
"description": "Response if `commit_sha` or `ref` cannot be found"
|
||||
},
|
||||
"400": {
|
||||
"description": "Response if the `sarif` field is invalid"
|
||||
},
|
||||
"413": {
|
||||
"description": "Response if the `sarif` field is too large"
|
||||
}
|
||||
},
|
||||
"x-github": {
|
||||
|
|
|
@ -116192,6 +116192,12 @@
|
|||
},
|
||||
"404": {
|
||||
"description": "Response if `commit_sha` or `ref` cannot be found"
|
||||
},
|
||||
"400": {
|
||||
"description": "Response if the `sarif` field is invalid"
|
||||
},
|
||||
"413": {
|
||||
"description": "Response if the `sarif` field is too large"
|
||||
}
|
||||
},
|
||||
"x-github": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче