Apps

37 commands (DELETE 6, GET 22, PATCH 2, POST 5, PUT 2). Write commands (POST, PUT, PATCH, DELETE) change data on GitHub, use -WhatIf to preview a request

Command Alias Method Endpoint Synopsis
Get-GitHubAppAccountsForPlan Get-GHAppAccountsForPlan GET /marketplace_listing/plans/{plan_id}/accounts List accounts for a plan
Get-GitHubAppAccountsForPlanStubbed Get-GHAppAccountsForPlanStubbed GET /marketplace_listing/stubbed/plans/{plan_id}/accounts List accounts for a plan (stubbed)
Get-GitHubAppAuthenticated Get-GHAppAuthenticated GET /app Get the authenticated app
Get-GitHubAppBySlug Get-GHAppBySlug GET /apps/{app_slug} Get an app
Get-GitHubAppInstallation Get-GHAppInstallation GET /app/installations/{installation_id} Get an installation for the authenticated app
Get-GitHubAppInstallationReposForAuthenticatedUser Get-GHAppInstallationReposForAuthenticatedUser GET /user/installations/{installation_id}/repositories List repositories accessible to the user access token
Get-GitHubAppInstallationRequestsForAuthenticatedApp Get-GHAppInstallationRequestsForAuthenticatedApp GET /app/installation-requests List installation requests for the authenticated app
Get-GitHubAppInstallations Get-GHAppInstallations GET /app/installations List installations for the authenticated app
Get-GitHubAppInstallationsForAuthenticatedUser Get-GHAppInstallationsForAuthenticatedUser GET /user/installations List app installations accessible to the user access token
Get-GitHubAppOrgInstallation Get-GHAppOrgInstallation GET /orgs/{org}/installation Get an organization installation for the authenticated app
Get-GitHubAppPlans Get-GHAppPlans GET /marketplace_listing/plans List plans
Get-GitHubAppPlansStubbed Get-GHAppPlansStubbed GET /marketplace_listing/stubbed/plans List plans (stubbed)
Get-GitHubAppRepoInstallation Get-GHAppRepoInstallation GET /repos/{owner}/{repo}/installation Get a repository installation for the authenticated app
Get-GitHubAppReposAccessibleToInstallation Get-GHAppReposAccessibleToInstallation GET /installation/repositories List repositories accessible to the app installation
Get-GitHubAppSubscriptionPlanForAccount Get-GHAppSubscriptionPlanForAccount GET /marketplace_listing/accounts/{account_id} Get a subscription plan for an account
Get-GitHubAppSubscriptionPlanForAccountStubbed Get-GHAppSubscriptionPlanForAccountStubbed GET /marketplace_listing/stubbed/accounts/{account_id} Get a subscription plan for an account (stubbed)
Get-GitHubAppSubscriptionsForAuthenticatedUser Get-GHAppSubscriptionsForAuthenticatedUser GET /user/marketplace_purchases List subscriptions for the authenticated user
Get-GitHubAppSubscriptionsForAuthenticatedUserStubbed Get-GHAppSubscriptionsForAuthenticatedUserStubbed GET /user/marketplace_purchases/stubbed List subscriptions for the authenticated user (stubbed)
Get-GitHubAppUserInstallation Get-GHAppUserInstallation GET /users/{username}/installation Get a user installation for the authenticated app
Get-GitHubAppWebhookConfigForApp Get-GHAppWebhookConfigForApp GET /app/hook/config Get a webhook configuration for an app
Get-GitHubAppWebhookDeliveries Get-GHAppWebhookDeliveries GET /app/hook/deliveries List deliveries for an app webhook
Get-GitHubAppWebhookDelivery Get-GHAppWebhookDelivery GET /app/hook/deliveries/{delivery_id} Get a delivery for an app webhook
New-GitHubAppCheckToken Get-GHNewAppCheckToken POST /applications/{client_id}/token Check a token
New-GitHubAppFromManifest Get-GHNewAppFromManifest POST /app-manifests/{code}/conversions Create a GitHub App from a manifest
New-GitHubAppInstallationAccessToken Get-GHNewAppInstallationAccessToken POST /app/installations/{installation_id}/access_tokens Create an installation access token for an app
New-GitHubAppRedeliverWebhookDelivery Get-GHNewAppRedeliverWebhookDelivery POST /app/hook/deliveries/{delivery_id}/attempts Redeliver a delivery for an app webhook
New-GitHubAppScopeToken Get-GHNewAppScopeToken POST /applications/{client_id}/token/scoped Create a scoped access token
Remove-GitHubAppAuthorization Get-GHRemoveAppAuthorization DELETE /applications/{client_id}/grant Delete an app authorization
Remove-GitHubAppInstallation Get-GHRemoveAppInstallation DELETE /app/installations/{installation_id} Delete an installation for the authenticated app
Remove-GitHubAppRepoFromInstallationForAuthenticatedUser Get-GHRemoveAppRepoFromInstallationForAuthenticatedUser DELETE /user/installations/{installation_id}/repositories/{repository_id} Remove a repository from an app installation
Remove-GitHubAppRevokeInstallationAccessToken Get-GHRemoveAppRevokeInstallationAccessToken DELETE /installation/token Revoke an installation access token
Remove-GitHubAppToken Get-GHRemoveAppToken DELETE /applications/{client_id}/token Delete an app token
Remove-GitHubAppUnsuspendInstallation Get-GHRemoveAppUnsuspendInstallation DELETE /app/installations/{installation_id}/suspended Unsuspend an app installation
Set-GitHubAppAddRepoToInstallationForAuthenticatedUser Get-GHSetAppAddRepoToInstallationForAuthenticatedUser PUT /user/installations/{installation_id}/repositories/{repository_id} Add a repository to an app installation
Set-GitHubAppResetToken Get-GHSetAppResetToken PATCH /applications/{client_id}/token Reset a token
Set-GitHubAppSuspendInstallation Get-GHSetAppSuspendInstallation PUT /app/installations/{installation_id}/suspended Suspend an app installation
Set-GitHubAppWebhookConfigForApp Get-GHSetAppWebhookConfigForApp PATCH /app/hook/config Update a webhook configuration for an app

Have a look around and if you would like to contribute please read over the Contributing guide


Table of contents