diff --git a/scripts/update-endpoints/generated/endpoints.json b/scripts/update-endpoints/generated/endpoints.json index 6710a01c6..0edb67bc6 100644 --- a/scripts/update-endpoints/generated/endpoints.json +++ b/scripts/update-endpoints/generated/endpoints.json @@ -186,11 +186,11 @@ "isLegacy": false, "description": "Uninstalls a GitHub App on a user, organization, or business account.\n\nYou must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "documentationUrl": "https://developer.github.com/v3/apps/#delete-an-installation", - "previews": [{ "name": "gambit" }, { "name": "machine-man" }], + "previews": [{ "name": "machine-man" }], "headers": [ { "name": "accept", - "value": "application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json", + "value": "application/vnd.github.machine-man-preview+json", "required": true } ], @@ -2884,14 +2884,8 @@ "isLegacy": false, "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create a new installation token](https://developer.github.com/v3/apps/#create-a-new-installation-token)\" endpoint.\n\nYou must use an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.", "documentationUrl": "https://developer.github.com/v3/apps/installations/#revoke-an-installation-token", - "previews": [{ "name": "gambit" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.gambit-preview+json", - "required": true - } - ], + "previews": [], + "headers": [], "parameters": [], "responses": [], "renamed": null diff --git a/src/generated/endpoints.ts b/src/generated/endpoints.ts index 42e535904..4dd4cec76 100644 --- a/src/generated/endpoints.ts +++ b/src/generated/endpoints.ts @@ -188,7 +188,7 @@ const Endpoints: EndpointsDefaultsAndDecorations = { deleteAuthorization: ["DELETE /applications/{client_id}/grant"], deleteInstallation: [ "DELETE /app/installations/{installation_id}", - { mediaType: { previews: ["gambit", "machine-man"] } }, + { mediaType: { previews: ["machine-man"] } }, ], deleteToken: ["DELETE /applications/{client_id}/token"], getAuthenticated: [ @@ -272,10 +272,7 @@ const Endpoints: EndpointsDefaultsAndDecorations = { { mediaType: { previews: ["machine-man"] } }, ], resetToken: ["PATCH /applications/{client_id}/token"], - revokeInstallationToken: [ - "DELETE /installation/token", - { mediaType: { previews: ["gambit"] } }, - ], + revokeInstallationToken: ["DELETE /installation/token"], }, checks: { create: [