Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions scripts/update-endpoints/generated/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
],
Expand Down Expand Up @@ -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
Expand Down
7 changes: 2 additions & 5 deletions src/generated/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down Expand Up @@ -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: [
Expand Down