The number of results per page (max 10).
", + "description": "The number of results per page (max 100).
", "in": "query", "schema": { "type": "integer", @@ -61,7 +61,7 @@ } ], "bodyParameters": [], - "descriptionHTML": "Gets all budgets for an organization. The authenticated user must be an organization admin or billing manager.\nEach page returns up to 10 budgets.
", + "descriptionHTML": "Gets all budgets for an organization. The authenticated user must be an organization admin or billing manager.\nEach page returns up to 100 budgets.
", "codeExamples": [ { "request": { diff --git a/src/rest/data/fpt-2022-11-28/code-security.json b/src/rest/data/fpt-2022-11-28/code-security.json index cfa4eb24c6dc..877312a18d23 100644 --- a/src/rest/data/fpt-2022-11-28/code-security.json +++ b/src/rest/data/fpt-2022-11-28/code-security.json @@ -145,7 +145,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -487,8 +490,7 @@ { "type": "string", "name": "description", - "description": "A description of the code security configuration
", - "isRequired": true + "description": "A description of the code security configuration
" }, { "type": "string", @@ -808,7 +810,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1267,7 +1272,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1669,7 +1677,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2327,7 +2338,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2958,7 +2972,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4000,7 +4017,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4346,8 +4366,7 @@ { "type": "string", "name": "description", - "description": "A description of the code security configuration
", - "isRequired": true + "description": "A description of the code security configuration
" }, { "type": "string", @@ -4743,7 +4762,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5194,7 +5216,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5711,7 +5736,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -6437,7 +6465,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -7068,7 +7099,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -8076,7 +8110,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { diff --git a/src/rest/data/fpt-2026-03-10/billing.json b/src/rest/data/fpt-2026-03-10/billing.json index df2fed2bf3d9..be90931a3448 100644 --- a/src/rest/data/fpt-2026-03-10/billing.json +++ b/src/rest/data/fpt-2026-03-10/billing.json @@ -28,7 +28,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 10).
", + "description": "The number of results per page (max 100).
", "in": "query", "schema": { "type": "integer", @@ -61,7 +61,7 @@ } ], "bodyParameters": [], - "descriptionHTML": "Gets all budgets for an organization. The authenticated user must be an organization admin or billing manager.\nEach page returns up to 10 budgets.
", + "descriptionHTML": "Gets all budgets for an organization. The authenticated user must be an organization admin or billing manager.\nEach page returns up to 100 budgets.
", "codeExamples": [ { "request": { diff --git a/src/rest/data/fpt-2026-03-10/code-security.json b/src/rest/data/fpt-2026-03-10/code-security.json index cfa4eb24c6dc..877312a18d23 100644 --- a/src/rest/data/fpt-2026-03-10/code-security.json +++ b/src/rest/data/fpt-2026-03-10/code-security.json @@ -145,7 +145,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -487,8 +490,7 @@ { "type": "string", "name": "description", - "description": "A description of the code security configuration
", - "isRequired": true + "description": "A description of the code security configuration
" }, { "type": "string", @@ -808,7 +810,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1267,7 +1272,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1669,7 +1677,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2327,7 +2338,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2958,7 +2972,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4000,7 +4017,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4346,8 +4366,7 @@ { "type": "string", "name": "description", - "description": "A description of the code security configuration
", - "isRequired": true + "description": "A description of the code security configuration
" }, { "type": "string", @@ -4743,7 +4762,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5194,7 +5216,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5711,7 +5736,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -6437,7 +6465,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -7068,7 +7099,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -8076,7 +8110,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { diff --git a/src/rest/data/ghec-2022-11-28/billing.json b/src/rest/data/ghec-2022-11-28/billing.json index ba00a466e04a..d17da217dd28 100644 --- a/src/rest/data/ghec-2022-11-28/billing.json +++ b/src/rest/data/ghec-2022-11-28/billing.json @@ -213,7 +213,7 @@ }, { "name": "per_page", - "description": "The number of results per page (max 10).
", + "description": "The number of results per page (max 100).
", "in": "query", "schema": { "type": "integer", @@ -246,7 +246,7 @@ } ], "bodyParameters": [], - "descriptionHTML": "Gets all budgets for an enterprise. The authenticated user must be an enterprise admin or billing manager.\nEach page returns up to 10 budgets.
", + "descriptionHTML": "Gets all budgets for an enterprise. The authenticated user must be an enterprise admin or billing manager.\nEach page returns up to 100 budgets.
", "codeExamples": [ { "request": { diff --git a/src/rest/data/ghec-2022-11-28/code-security.json b/src/rest/data/ghec-2022-11-28/code-security.json index 66d41f255715..85619107072a 100644 --- a/src/rest/data/ghec-2022-11-28/code-security.json +++ b/src/rest/data/ghec-2022-11-28/code-security.json @@ -145,7 +145,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -487,8 +490,7 @@ { "type": "string", "name": "description", - "description": "A description of the code security configuration
", - "isRequired": true + "description": "A description of the code security configuration
" }, { "type": "string", @@ -808,7 +810,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1267,7 +1272,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1669,7 +1677,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2327,7 +2338,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2958,7 +2972,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4000,7 +4017,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4346,8 +4366,7 @@ { "type": "string", "name": "description", - "description": "A description of the code security configuration
", - "isRequired": true + "description": "A description of the code security configuration
" }, { "type": "string", @@ -4743,7 +4762,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5194,7 +5216,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5711,7 +5736,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -6437,7 +6465,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -7068,7 +7099,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -8076,7 +8110,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { diff --git a/src/rest/data/ghec-2022-11-28/copilot.json b/src/rest/data/ghec-2022-11-28/copilot.json index e10e80bbcc25..6b1ba6bb4e81 100644 --- a/src/rest/data/ghec-2022-11-28/copilot.json +++ b/src/rest/data/ghec-2022-11-28/copilot.json @@ -2708,7 +2708,7 @@ } ], "bodyParameters": [], - "descriptionHTML": "Gets the organization and repository configured as the source for custom agent definitions and Copilot CLI client settings in an enterprise.
\nCustom agents are enterprise-defined AI agents stored as markdown files in a special repository.\nAn enterprise admin configures one organization as the \"source\" for custom agents and\nCopilot CLI client settings, and that org must have a repo named .github-private containing agent\ndefinitions in /agents/*.md, or enterprise-managed AI standards in .github/copilot/settings.json. Learn more about configuring enterprise-managed AI standards for Copilot clients.
Enterprise owners with read access to AI Controls can use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
Gets the organization and repository configured as the source for custom agent definitions and Copilot CLI client settings in an enterprise.
\nCustom agents are enterprise-defined AI agents stored as markdown files in a special repository.\nAn enterprise admin configures one organization as the \"source\" for custom agents and\nCopilot CLI client settings, and that org must have a repo named .github-private containing agent\ndefinitions in /agents/*.md, or enterprise-managed AI standards in copilot/managed-settings.json (with fallback to .github/copilot/settings.json). Learn more about configuring enterprise-managed AI standards for Copilot clients.
Enterprise owners with read access to AI Controls can use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
The number of results per page (max 10).
", + "description": "The number of results per page (max 100).
", "in": "query", "schema": { "type": "integer", @@ -246,7 +246,7 @@ } ], "bodyParameters": [], - "descriptionHTML": "Gets all budgets for an enterprise. The authenticated user must be an enterprise admin or billing manager.\nEach page returns up to 10 budgets.
", + "descriptionHTML": "Gets all budgets for an enterprise. The authenticated user must be an enterprise admin or billing manager.\nEach page returns up to 100 budgets.
", "codeExamples": [ { "request": { diff --git a/src/rest/data/ghec-2026-03-10/code-security.json b/src/rest/data/ghec-2026-03-10/code-security.json index 66d41f255715..85619107072a 100644 --- a/src/rest/data/ghec-2026-03-10/code-security.json +++ b/src/rest/data/ghec-2026-03-10/code-security.json @@ -145,7 +145,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -487,8 +490,7 @@ { "type": "string", "name": "description", - "description": "A description of the code security configuration
", - "isRequired": true + "description": "A description of the code security configuration
" }, { "type": "string", @@ -808,7 +810,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1267,7 +1272,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1669,7 +1677,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2327,7 +2338,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2958,7 +2972,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4000,7 +4017,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4346,8 +4366,7 @@ { "type": "string", "name": "description", - "description": "A description of the code security configuration
", - "isRequired": true + "description": "A description of the code security configuration
" }, { "type": "string", @@ -4743,7 +4762,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5194,7 +5216,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5711,7 +5736,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -6437,7 +6465,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -7068,7 +7099,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -8076,7 +8110,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { diff --git a/src/rest/data/ghec-2026-03-10/copilot.json b/src/rest/data/ghec-2026-03-10/copilot.json index 20cd6ffc6a1d..4f5e65be6246 100644 --- a/src/rest/data/ghec-2026-03-10/copilot.json +++ b/src/rest/data/ghec-2026-03-10/copilot.json @@ -2705,7 +2705,7 @@ } ], "bodyParameters": [], - "descriptionHTML": "Gets the organization and repository configured as the source for custom agent definitions and Copilot CLI client settings in an enterprise.
\nCustom agents are enterprise-defined AI agents stored as markdown files in a special repository.\nAn enterprise admin configures one organization as the \"source\" for custom agents and\nCopilot CLI client settings, and that org must have a repo named .github-private containing agent\ndefinitions in /agents/*.md, or enterprise-managed AI standards in .github/copilot/settings.json. Learn more about configuring enterprise-managed AI standards for Copilot clients.
Enterprise owners with read access to AI Controls can use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
Gets the organization and repository configured as the source for custom agent definitions and Copilot CLI client settings in an enterprise.
\nCustom agents are enterprise-defined AI agents stored as markdown files in a special repository.\nAn enterprise admin configures one organization as the \"source\" for custom agents and\nCopilot CLI client settings, and that org must have a repo named .github-private containing agent\ndefinitions in /agents/*.md, or enterprise-managed AI standards in copilot/managed-settings.json (with fallback to .github/copilot/settings.json). Learn more about configuring enterprise-managed AI standards for Copilot clients.
Enterprise owners with read access to AI Controls can use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
A list of credentials to be revoked, up to 1000 per request.
", - "isRequired": true - } - ], - "descriptionHTML": "Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. Credential owners will be notified of the revocation.
\nThis endpoint currently accepts the following credential types:
\nghp_)github_pat_)To prevent abuse, this API is limited to 60 authenticated requests per hour and a max of 1000 tokens per API request.
", - "codeExamples": [ - { - "request": { - "contentType": "application/json", - "description": "Example", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "credentials": [ - "ghp_1234567890abcdef1234567890abcdef12345678", - "github_pat_0A1B2C3D4E5F6G7H8I9J0K_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456", - "gho_1234567890abcdef1234567890abcdef12345678", - "ghu_1234567890abcdef1234567890abcdef12345678", - "ghr_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab" - ] - } - }, - "response": { - "statusCode": "202", - "contentType": "application/json", - "description": "Accepted
", - "example": null, - "schema": { - "type": "object" - } - } - } - ], - "statusCodes": [ - { - "httpStatusCode": "202", - "description": "Accepted
" - }, - { - "httpStatusCode": "422", - "description": "Validation failed, or the endpoint has been spammed.
" - }, - { - "httpStatusCode": "500", - "description": "Internal Error
" - } - ], - "previews": [], - "progAccess": { - "userToServerRest": false, - "serverToServer": false, - "fineGrainedPat": false, - "permissions": [], - "allowPermissionlessAccess": true - } - } - ] -} \ No newline at end of file diff --git a/src/rest/data/ghes-3.19-2022-11-28/code-security.json b/src/rest/data/ghes-3.19-2022-11-28/code-security.json index 985f38da3ae1..4737d1cfa4bb 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/code-security.json +++ b/src/rest/data/ghes-3.19-2022-11-28/code-security.json @@ -133,7 +133,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -688,7 +691,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1076,7 +1082,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1416,7 +1425,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1961,7 +1973,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2521,7 +2536,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -3492,7 +3510,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4109,7 +4130,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4489,7 +4513,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4935,7 +4962,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5540,7 +5570,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -6100,7 +6133,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -7047,7 +7083,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { diff --git a/src/rest/data/ghes-3.19-2022-11-28/credentials.json b/src/rest/data/ghes-3.19-2022-11-28/credentials.json deleted file mode 100644 index 219df9f9e451..000000000000 --- a/src/rest/data/ghes-3.19-2022-11-28/credentials.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "revoke": [ - { - "serverUrl": "http(s)://HOSTNAME/api/v3", - "verb": "post", - "requestPath": "/credentials/revoke", - "title": "Revoke a list of credentials", - "category": "credentials", - "subcategory": "revoke", - "parameters": [], - "bodyParameters": [ - { - "type": "array of strings", - "name": "credentials", - "description": "A list of credentials to be revoked, up to 1000 per request.
", - "isRequired": true - } - ], - "descriptionHTML": "Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. Credential owners will be notified of the revocation.
\nThis endpoint currently accepts the following credential types:
\nghp_)github_pat_)To prevent abuse, this API is limited to 60 authenticated requests per hour and a max of 1000 tokens per API request.
", - "codeExamples": [ - { - "request": { - "contentType": "application/json", - "description": "Example", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "credentials": [ - "ghp_1234567890abcdef1234567890abcdef12345678", - "github_pat_0A1B2C3D4E5F6G7H8I9J0K_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456", - "gho_1234567890abcdef1234567890abcdef12345678", - "ghu_1234567890abcdef1234567890abcdef12345678", - "ghr_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab" - ] - } - }, - "response": { - "statusCode": "202", - "contentType": "application/json", - "description": "Accepted
", - "example": null, - "schema": { - "type": "object" - } - } - } - ], - "statusCodes": [ - { - "httpStatusCode": "202", - "description": "Accepted
" - }, - { - "httpStatusCode": "422", - "description": "Validation failed, or the endpoint has been spammed.
" - }, - { - "httpStatusCode": "500", - "description": "Internal Error
" - } - ], - "previews": [], - "progAccess": { - "userToServerRest": false, - "serverToServer": false, - "fineGrainedPat": false, - "permissions": [], - "allowPermissionlessAccess": true - } - } - ] -} \ No newline at end of file diff --git a/src/rest/data/ghes-3.20-2022-11-28/code-security.json b/src/rest/data/ghes-3.20-2022-11-28/code-security.json index e373c04e22a9..bb072de78d43 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/code-security.json +++ b/src/rest/data/ghes-3.20-2022-11-28/code-security.json @@ -133,7 +133,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -688,7 +691,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1076,7 +1082,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1416,7 +1425,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1961,7 +1973,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2521,7 +2536,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -3492,7 +3510,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4109,7 +4130,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4489,7 +4513,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4935,7 +4962,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5540,7 +5570,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -6100,7 +6133,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -7047,7 +7083,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { diff --git a/src/rest/data/ghes-3.20-2022-11-28/credentials.json b/src/rest/data/ghes-3.20-2022-11-28/credentials.json deleted file mode 100644 index 219df9f9e451..000000000000 --- a/src/rest/data/ghes-3.20-2022-11-28/credentials.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "revoke": [ - { - "serverUrl": "http(s)://HOSTNAME/api/v3", - "verb": "post", - "requestPath": "/credentials/revoke", - "title": "Revoke a list of credentials", - "category": "credentials", - "subcategory": "revoke", - "parameters": [], - "bodyParameters": [ - { - "type": "array of strings", - "name": "credentials", - "description": "A list of credentials to be revoked, up to 1000 per request.
", - "isRequired": true - } - ], - "descriptionHTML": "Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. Credential owners will be notified of the revocation.
\nThis endpoint currently accepts the following credential types:
\nghp_)github_pat_)To prevent abuse, this API is limited to 60 authenticated requests per hour and a max of 1000 tokens per API request.
", - "codeExamples": [ - { - "request": { - "contentType": "application/json", - "description": "Example", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "credentials": [ - "ghp_1234567890abcdef1234567890abcdef12345678", - "github_pat_0A1B2C3D4E5F6G7H8I9J0K_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456", - "gho_1234567890abcdef1234567890abcdef12345678", - "ghu_1234567890abcdef1234567890abcdef12345678", - "ghr_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab" - ] - } - }, - "response": { - "statusCode": "202", - "contentType": "application/json", - "description": "Accepted
", - "example": null, - "schema": { - "type": "object" - } - } - } - ], - "statusCodes": [ - { - "httpStatusCode": "202", - "description": "Accepted
" - }, - { - "httpStatusCode": "422", - "description": "Validation failed, or the endpoint has been spammed.
" - }, - { - "httpStatusCode": "500", - "description": "Internal Error
" - } - ], - "previews": [], - "progAccess": { - "userToServerRest": false, - "serverToServer": false, - "fineGrainedPat": false, - "permissions": [], - "allowPermissionlessAccess": true - } - } - ] -} \ No newline at end of file diff --git a/src/rest/data/ghes-3.21-2022-11-28/code-security.json b/src/rest/data/ghes-3.21-2022-11-28/code-security.json index 78e61e8e22ff..54a32addc151 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/code-security.json +++ b/src/rest/data/ghes-3.21-2022-11-28/code-security.json @@ -133,7 +133,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -688,7 +691,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1076,7 +1082,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1416,7 +1425,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1968,7 +1980,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2528,7 +2543,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -3499,7 +3517,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4116,7 +4137,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4496,7 +4520,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4942,7 +4969,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5554,7 +5584,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -6114,7 +6147,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -7061,7 +7097,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { diff --git a/src/rest/data/ghes-3.21-2022-11-28/credentials.json b/src/rest/data/ghes-3.21-2022-11-28/credentials.json deleted file mode 100644 index e117122b3fde..000000000000 --- a/src/rest/data/ghes-3.21-2022-11-28/credentials.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "revoke": [ - { - "serverUrl": "http(s)://HOSTNAME/api/v3", - "verb": "post", - "requestPath": "/credentials/revoke", - "title": "Revoke a list of credentials", - "category": "credentials", - "subcategory": "revoke", - "parameters": [], - "bodyParameters": [ - { - "type": "array of strings", - "name": "credentials", - "description": "A list of credentials to be revoked, up to 1000 per request.
", - "isRequired": true - } - ], - "descriptionHTML": "Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. Credential owners will be notified of the revocation.
\nThis endpoint currently accepts the following credential types:
\nghp_)github_pat_)gho_)ghu_)ghr_)To prevent abuse, this API is limited to 60 authenticated requests per hour and a max of 1000 tokens per API request.
", - "codeExamples": [ - { - "request": { - "contentType": "application/json", - "description": "Example", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "credentials": [ - "ghp_1234567890abcdef1234567890abcdef12345678", - "github_pat_0A1B2C3D4E5F6G7H8I9J0K_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456", - "gho_1234567890abcdef1234567890abcdef12345678", - "ghu_1234567890abcdef1234567890abcdef12345678", - "ghr_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab" - ] - } - }, - "response": { - "statusCode": "202", - "contentType": "application/json", - "description": "Accepted
", - "example": null, - "schema": { - "type": "object" - } - } - } - ], - "statusCodes": [ - { - "httpStatusCode": "202", - "description": "Accepted
" - }, - { - "httpStatusCode": "422", - "description": "Validation failed, or the endpoint has been spammed.
" - }, - { - "httpStatusCode": "500", - "description": "Internal Error
" - } - ], - "previews": [], - "progAccess": { - "userToServerRest": false, - "serverToServer": false, - "fineGrainedPat": false, - "permissions": [], - "allowPermissionlessAccess": true - } - } - ] -} \ No newline at end of file diff --git a/src/rest/data/ghes-3.21-2026-03-10/code-security.json b/src/rest/data/ghes-3.21-2026-03-10/code-security.json index 78e61e8e22ff..54a32addc151 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/code-security.json +++ b/src/rest/data/ghes-3.21-2026-03-10/code-security.json @@ -133,7 +133,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -688,7 +691,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1076,7 +1082,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1416,7 +1425,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -1968,7 +1980,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -2528,7 +2543,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -3499,7 +3517,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4116,7 +4137,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4496,7 +4520,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -4942,7 +4969,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -5554,7 +5584,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -6114,7 +6147,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { @@ -7061,7 +7097,10 @@ ] }, "description": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "A description of the code security configuration" }, "advanced_security": { diff --git a/src/rest/data/ghes-3.21-2026-03-10/credentials.json b/src/rest/data/ghes-3.21-2026-03-10/credentials.json deleted file mode 100644 index e117122b3fde..000000000000 --- a/src/rest/data/ghes-3.21-2026-03-10/credentials.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "revoke": [ - { - "serverUrl": "http(s)://HOSTNAME/api/v3", - "verb": "post", - "requestPath": "/credentials/revoke", - "title": "Revoke a list of credentials", - "category": "credentials", - "subcategory": "revoke", - "parameters": [], - "bodyParameters": [ - { - "type": "array of strings", - "name": "credentials", - "description": "A list of credentials to be revoked, up to 1000 per request.
", - "isRequired": true - } - ], - "descriptionHTML": "Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. Credential owners will be notified of the revocation.
\nThis endpoint currently accepts the following credential types:
\nghp_)github_pat_)gho_)ghu_)ghr_)To prevent abuse, this API is limited to 60 authenticated requests per hour and a max of 1000 tokens per API request.
", - "codeExamples": [ - { - "request": { - "contentType": "application/json", - "description": "Example", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "credentials": [ - "ghp_1234567890abcdef1234567890abcdef12345678", - "github_pat_0A1B2C3D4E5F6G7H8I9J0K_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456", - "gho_1234567890abcdef1234567890abcdef12345678", - "ghu_1234567890abcdef1234567890abcdef12345678", - "ghr_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab" - ] - } - }, - "response": { - "statusCode": "202", - "contentType": "application/json", - "description": "Accepted
", - "example": null, - "schema": { - "type": "object" - } - } - } - ], - "statusCodes": [ - { - "httpStatusCode": "202", - "description": "Accepted
" - }, - { - "httpStatusCode": "422", - "description": "Validation failed, or the endpoint has been spammed.
" - }, - { - "httpStatusCode": "500", - "description": "Internal Error
" - } - ], - "previews": [], - "progAccess": { - "userToServerRest": false, - "serverToServer": false, - "fineGrainedPat": false, - "permissions": [], - "allowPermissionlessAccess": true - } - } - ] -} \ No newline at end of file diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index 3dede124ad4d..7c4673a81a64 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -47,5 +47,5 @@ ] } }, - "sha": "5228aaa58229307d5c18092199d4d3b09050265a" + "sha": "7a0a14cf24805c7efd23fef351bfab80391ec8fb" } \ No newline at end of file diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index 45f926d7d521..41fbabdbaad3 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "5228aaa58229307d5c18092199d4d3b09050265a" + "sha": "7a0a14cf24805c7efd23fef351bfab80391ec8fb" } \ No newline at end of file