Skip to content

Commit

Permalink
Update OpenAPI Description (#52321)
Browse files Browse the repository at this point in the history
  • Loading branch information
docs-bot authored Sep 17, 2024
1 parent d2f9e2c commit b27a1a7
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/github-apps/lib/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@
"2022-11-28"
]
},
"sha": "9abc91759872a4e974ddcc0df69bdef3493b69f0"
"sha": "066dbf5dc65b77a59b36a517cafeda2feb369334"
}
11 changes: 10 additions & 1 deletion src/rest/data/fpt-2022-11-28/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -331077,6 +331077,15 @@
"192.0.2.1"
]
},
"codespaces": {
"type": "array",
"items": {
"type": "string"
},
"examples": [
"192.0.2.1"
]
},
"dependabot": {
"type": "array",
"items": {
Expand Down Expand Up @@ -462825,7 +462834,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>Store an artifact attestation and associate it with a repository.</p>\n<p>The authenticated user must have write permission to the repository and, if using a fine-grained access token the <code>attestations:write</code> permission is required.</p>\n<p>Artifact attestations are meant to be created using the <a href=\"https://github.com/actions/attest\">attest action</a>. For amore information, see our guide on <a href=\"https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds\">using artifact attestations to establish a build's provenance</a>.</p>",
"descriptionHTML": "<p>Store an artifact attestation and associate it with a repository.</p>\n<p>The authenticated user must have write permission to the repository and, if using a fine-grained access token, the <code>attestations:write</code> permission is required.</p>\n<p>Artifact attestations are meant to be created using the <a href=\"https://github.com/actions/attest\">attest action</a>. For more information, see our guide on <a href=\"https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds\">using artifact attestations to establish a build's provenance</a>.</p>",
"statusCodes": [
{
"httpStatusCode": "201",
Expand Down
11 changes: 10 additions & 1 deletion src/rest/data/ghec-2022-11-28/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -350724,6 +350724,15 @@
"192.0.2.1"
]
},
"codespaces": {
"type": "array",
"items": {
"type": "string"
},
"examples": [
"192.0.2.1"
]
},
"dependabot": {
"type": "array",
"items": {
Expand Down Expand Up @@ -487244,7 +487253,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>Store an artifact attestation and associate it with a repository.</p>\n<p>The authenticated user must have write permission to the repository and, if using a fine-grained access token the <code>attestations:write</code> permission is required.</p>\n<p>Artifact attestations are meant to be created using the <a href=\"https://github.com/actions/attest\">attest action</a>. For amore information, see our guide on <a href=\"https://docs.github.com/enterprise-cloud@latest//actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds\">using artifact attestations to establish a build's provenance</a>.</p>",
"descriptionHTML": "<p>Store an artifact attestation and associate it with a repository.</p>\n<p>The authenticated user must have write permission to the repository and, if using a fine-grained access token, the <code>attestations:write</code> permission is required.</p>\n<p>Artifact attestations are meant to be created using the <a href=\"https://github.com/actions/attest\">attest action</a>. For more information, see our guide on <a href=\"https://docs.github.com/enterprise-cloud@latest//actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds\">using artifact attestations to establish a build's provenance</a>.</p>",
"statusCodes": [
{
"httpStatusCode": "201",
Expand Down
2 changes: 1 addition & 1 deletion src/rest/data/ghes-3.10-2022-11-28/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -319098,7 +319098,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see \"<a href=\"https://docs.github.com/[email protected]/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization\">Managing security managers in your organization</a>.\"</p>\n<p>The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.</p>\n<p>OAuth app tokens and personal access tokens (classic) need the <code>write:org</code> scope to use this endpoint.</p>",
"descriptionHTML": "<p>Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see \"<a href=\"https://docs.github.com/[email protected]/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization\">Managing security managers in your organization</a>.\"</p>\n<p>The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.</p>\n<p>OAuth app tokens and personal access tokens (classic) need the <code>admin:org</code>, <code>write:org</code>, or <code>repo</code> scopes to use this endpoint.</p>",
"statusCodes": [
{
"httpStatusCode": "204",
Expand Down
Loading

0 comments on commit b27a1a7

Please sign in to comment.