Skip to content

rest.apps

Octokit exposes these methods on octokit.rest.apps. The last column lists defaults and decorations applied by the SDK.

Catalogue and sources

Method Upstream route Pagination SDK behavior
addRepoToInstallation PUT /user/installations/{installation_id}/repositories/{repository_id} — renamed to apps.addRepoToInstallationForAuthenticatedUser
addRepoToInstallationForAuthenticatedUser PUT /user/installations/{installation_id}/repositories/{repository_id} — —
checkToken POST /applications/{client_id}/token — —
createFromManifest POST /app-manifests/{code}/conversions — —
createInstallationAccessToken POST /app/installations/{installation_id}/access_tokens — —
deleteAuthorization DELETE /applications/{client_id}/grant — —
deleteInstallation DELETE /app/installations/{installation_id} — —
deleteToken DELETE /applications/{client_id}/token — —
getAuthenticated GET /app — —
getBySlug GET /apps/{app_slug} — —
getInstallation GET /app/installations/{installation_id} — —
getOrgInstallation GET /orgs/{org}/installation — —
getRepoInstallation GET /repos/{owner}/{repo}/installation — —
getSubscriptionPlanForAccount GET /marketplace_listing/accounts/{account_id} — —
getSubscriptionPlanForAccountStubbed GET /marketplace_listing/stubbed/accounts/{account_id} — —
getUserInstallation GET /users/{username}/installation — —
getWebhookConfigForApp GET /app/hook/config — —
getWebhookDelivery GET /app/hook/deliveries/{delivery_id} — —
listAccountsForPlan GET /marketplace_listing/plans/{plan_id}/accounts yes —
listAccountsForPlanStubbed GET /marketplace_listing/stubbed/plans/{plan_id}/accounts yes —
listInstallationReposForAuthenticatedUser GET /user/installations/{installation_id}/repositories yes —
listInstallationRequestsForAuthenticatedApp GET /app/installation-requests yes —
listInstallations GET /app/installations yes —
listInstallationsForAuthenticatedUser GET /user/installations yes —
listPlans GET /marketplace_listing/plans yes —
listPlansStubbed GET /marketplace_listing/stubbed/plans yes —
listReposAccessibleToInstallation GET /installation/repositories yes —
listSubscriptionsForAuthenticatedUser GET /user/marketplace_purchases yes —
listSubscriptionsForAuthenticatedUserStubbed GET /user/marketplace_purchases/stubbed yes —
listWebhookDeliveries GET /app/hook/deliveries yes —
redeliverWebhookDelivery POST /app/hook/deliveries/{delivery_id}/attempts — —
removeRepoFromInstallation DELETE /user/installations/{installation_id}/repositories/{repository_id} — renamed to apps.removeRepoFromInstallationForAuthenticatedUser
removeRepoFromInstallationForAuthenticatedUser DELETE /user/installations/{installation_id}/repositories/{repository_id} — —
resetToken PATCH /applications/{client_id}/token — —
revokeInstallationAccessToken DELETE /installation/token — —
scopeToken POST /applications/{client_id}/token/scoped — —
suspendInstallation PUT /app/installations/{installation_id}/suspended — —
unsuspendInstallation DELETE /app/installations/{installation_id}/suspended — —
updateWebhookConfigForApp PATCH /app/hook/config — —