Skip to content

Commit

Permalink
Update OpenAPI 3.1 Descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
github-openapi-bot committed Aug 3, 2023
1 parent 902841d commit 18409ea
Show file tree
Hide file tree
Showing 24 changed files with 1,644 additions and 32 deletions.
48 changes: 48 additions & 0 deletions descriptions-next/api.github.com/api.github.com.2022-11-28.json
Original file line number Diff line number Diff line change
Expand Up @@ -47814,6 +47814,54 @@
}
}
},
"/repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve": {
"post": {
"summary": "Request a CVE for a repository security advisory",
"description": "If you want a CVE identification number for the security vulnerability in your project, and don't already have one, you can request a CVE identification number from GitHub. For more information see \"[Requesting a CVE identification number](https://docs.github.com/code-security/security-advisories/repository-security-advisories/publishing-a-repository-security-advisory#requesting-a-cve-identification-number-optional).\"\n\nYou may request a CVE for public repositories, but cannot do so for private repositories.\n\nYou must authenticate using an access token with the `repo` scope or `repository_advisories:write` permission to use this endpoint.\n\nIn order to request a CVE for a repository security advisory, you must be a security manager or administrator of that repository.",
"tags": [
"security-advisories"
],
"operationId": "security-advisories/create-repository-advisory-cve-request",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory"
},
"parameters": [
{
"$ref": "#/components/parameters/owner"
},
{
"$ref": "#/components/parameters/repo"
},
{
"$ref": "#/components/parameters/ghsa_id"
}
],
"responses": {
"202": {
"$ref": "#/components/responses/accepted"
},
"400": {
"$ref": "#/components/responses/bad_request"
},
"403": {
"$ref": "#/components/responses/forbidden"
},
"404": {
"$ref": "#/components/responses/not_found"
},
"422": {
"$ref": "#/components/responses/validation_failed"
}
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"category": "security-advisories",
"subcategory": "repository-advisories"
}
}
},
"/repos/{owner}/{repo}/stargazers": {
"get": {
"summary": "List stargazers",
Expand Down
37 changes: 37 additions & 0 deletions descriptions-next/api.github.com/api.github.com.2022-11-28.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34008,6 +34008,43 @@ paths:
enabledForGitHubApps: true
category: security-advisories
subcategory: repository-advisories
"/repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve":
post:
summary: Request a CVE for a repository security advisory
description: |-
If you want a CVE identification number for the security vulnerability in your project, and don't already have one, you can request a CVE identification number from GitHub. For more information see "[Requesting a CVE identification number](https://docs.github.com/code-security/security-advisories/repository-security-advisories/publishing-a-repository-security-advisory#requesting-a-cve-identification-number-optional)."

You may request a CVE for public repositories, but cannot do so for private repositories.

You must authenticate using an access token with the `repo` scope or `repository_advisories:write` permission to use this endpoint.

In order to request a CVE for a repository security advisory, you must be a security manager or administrator of that repository.
tags:
- security-advisories
operationId: security-advisories/create-repository-advisory-cve-request
externalDocs:
description: API method documentation
url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory
parameters:
- "$ref": "#/components/parameters/owner"
- "$ref": "#/components/parameters/repo"
- "$ref": "#/components/parameters/ghsa_id"
responses:
'202':
"$ref": "#/components/responses/accepted"
'400':
"$ref": "#/components/responses/bad_request"
'403':
"$ref": "#/components/responses/forbidden"
'404':
"$ref": "#/components/responses/not_found"
'422':
"$ref": "#/components/responses/validation_failed"
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
category: security-advisories
subcategory: repository-advisories
"/repos/{owner}/{repo}/stargazers":
get:
summary: List stargazers
Expand Down
Loading

0 comments on commit 18409ea

Please sign in to comment.