Skip to content

Commit

Permalink
feat: apps.deleteInstallation({ installation_id }) (#1342)
Browse files Browse the repository at this point in the history
### Deprecations

- octokit.apps.findOrgInstallation() has been renamed to octokit.apps.getOrgInstallation()
- octokit.apps.findRepoInstallation() has been renamed to octokit.apps.getRepoInstallation()
- octokit.apps.findUserInstallation() has been renamed to octokit.apps.getUserInstallation()
  • Loading branch information
greenkeeper[bot] authored and gr2m committed Apr 19, 2019
1 parent a102378 commit 4045f1a
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"devDependencies": {
"@gimenete/type-writer": "^0.1.3",
"@octokit/fixtures-server": "^5.0.1",
"@octokit/routes": "20.0.1",
"@octokit/routes": "^20.1.1",
"@types/node": "^11.11.3",
"bundlesize": "^0.17.0",
"chai": "^4.1.2",
Expand Down
59 changes: 59 additions & 0 deletions plugins/rest-api-endpoints/routes.json
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,21 @@
},
"url": "/app/installations/:installation_id/access_tokens"
},
"deleteInstallation": {
"headers": {
"accept": "application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json"
},
"method": "DELETE",
"params": {
"installation_id": {
"required": true,
"type": "integer"
}
},
"url": "/app/installations/:installation_id"
},
"findOrgInstallation": {
"deprecated": "octokit.apps.findOrgInstallation() has been renamed to octokit.apps.getOrgInstallation() (2019-04-10)",
"headers": {
"accept": "application/vnd.github.machine-man-preview+json"
},
Expand All @@ -618,6 +632,7 @@
"url": "/orgs/:org/installation"
},
"findRepoInstallation": {
"deprecated": "octokit.apps.findRepoInstallation() has been renamed to octokit.apps.getRepoInstallation() (2019-04-10)",
"headers": {
"accept": "application/vnd.github.machine-man-preview+json"
},
Expand All @@ -635,6 +650,7 @@
"url": "/repos/:owner/:repo/installation"
},
"findUserInstallation": {
"deprecated": "octokit.apps.findUserInstallation() has been renamed to octokit.apps.getUserInstallation() (2019-04-10)",
"headers": {
"accept": "application/vnd.github.machine-man-preview+json"
},
Expand Down Expand Up @@ -681,6 +697,49 @@
},
"url": "/app/installations/:installation_id"
},
"getOrgInstallation": {
"headers": {
"accept": "application/vnd.github.machine-man-preview+json"
},
"method": "GET",
"params": {
"org": {
"required": true,
"type": "string"
}
},
"url": "/orgs/:org/installation"
},
"getRepoInstallation": {
"headers": {
"accept": "application/vnd.github.machine-man-preview+json"
},
"method": "GET",
"params": {
"owner": {
"required": true,
"type": "string"
},
"repo": {
"required": true,
"type": "string"
}
},
"url": "/repos/:owner/:repo/installation"
},
"getUserInstallation": {
"headers": {
"accept": "application/vnd.github.machine-man-preview+json"
},
"method": "GET",
"params": {
"username": {
"required": true,
"type": "string"
}
},
"url": "/users/:username/installation"
},
"listAccountsUserOrOrgOnPlan": {
"method": "GET",
"params": {
Expand Down

0 comments on commit 4045f1a

Please sign in to comment.