Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Latest commit

 

History

History
915 lines (914 loc) · 436 KB

ENDPOINTS.md

File metadata and controls

915 lines (914 loc) · 436 KB

Endpoints

Summary Action Endpoint Reference
GitHub API Root
$client->meta()->gitHubAPIRoot()
/ https://docs.github.com/rest/meta/meta#github-api-root
List global security advisories
$client->securityAdvisories()->listGlobalSecurityAdvisories()
/advisories https://docs.github.com/rest/security-advisories/global-advisories#list-global-security-advisories
Get a global security advisory
$client->securityAdvisories()->getAGlobalSecurityAdvisory()
/advisories/{ghsa_id} https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory
Get the authenticated app
$client->apps()->getTheAuthenticatedApp()
/app https://docs.github.com/rest/apps/apps#get-the-authenticated-app
Create a GitHub App from a manifest
$client->apps()->createAGitHubAppFromAManifest()
/app-manifests/{code}/conversions https://docs.github.com/rest/apps/apps#create-a-github-app-from-a-manifest
Get a webhook configuration for an app
$client->apps()->getAWebhookConfigurationForAnApp()
/app/hook/config https://docs.github.com/rest/apps/webhooks#get-a-webhook-configuration-for-an-app
Update a webhook configuration for an app
$client->apps()->updateAWebhookConfigurationForAnApp()
/app/hook/config https://docs.github.com/rest/apps/webhooks#update-a-webhook-configuration-for-an-app
List deliveries for an app webhook
$client->apps()->listDeliveriesForAnAppWebhook()
/app/hook/deliveries https://docs.github.com/rest/apps/webhooks#list-deliveries-for-an-app-webhook
Get a delivery for an app webhook
$client->apps()->getADeliveryForAnAppWebhook()
/app/hook/deliveries/{delivery_id} https://docs.github.com/rest/apps/webhooks#get-a-delivery-for-an-app-webhook
Redeliver a delivery for an app webhook
$client->apps()->redeliverADeliveryForAnAppWebhook()
/app/hook/deliveries/{delivery_id}/attempts https://docs.github.com/rest/apps/webhooks#redeliver-a-delivery-for-an-app-webhook
List installation requests for the authenticated app
$client->apps()->listInstallationRequestsForTheAuthenticatedApp()
/app/installation-requests https://docs.github.com/rest/apps/apps#list-installation-requests-for-the-authenticated-app
List installations for the authenticated app
$client->apps()->listInstallationsForTheAuthenticatedApp()
/app/installations https://docs.github.com/enterprise-server@3.9/rest/apps/apps#list-installations-for-the-authenticated-app
Get an installation for the authenticated app
$client->apps()->getAnInstallationForTheAuthenticatedApp()
/app/installations/{installation_id} https://docs.github.com/rest/apps/apps#get-an-installation-for-the-authenticated-app
Delete an installation for the authenticated app
$client->apps()->deleteAnInstallationForTheAuthenticatedApp()
/app/installations/{installation_id} https://docs.github.com/rest/apps/apps#delete-an-installation-for-the-authenticated-app
Create an installation access token for an app
$client->apps()->createAnInstallationAccessTokenForAnApp()
/app/installations/{installation_id}/access_tokens https://docs.github.com/rest/apps/apps#create-an-installation-access-token-for-an-app
Suspend an app installation
$client->apps()->suspendAnAppInstallation()
/app/installations/{installation_id}/suspended https://docs.github.com/rest/apps/apps#suspend-an-app-installation
Unsuspend an app installation
$client->apps()->unsuspendAnAppInstallation()
/app/installations/{installation_id}/suspended https://docs.github.com/rest/apps/apps#unsuspend-an-app-installation
Delete an app authorization
$client->apps()->deleteAnAppAuthorization()
/applications/{client_id}/grant https://docs.github.com/rest/apps/oauth-applications#delete-an-app-authorization
Check a token
$client->apps()->checkAToken()
/applications/{client_id}/token https://docs.github.com/rest/apps/oauth-applications#check-a-token
Reset a token
$client->apps()->resetAToken()
/applications/{client_id}/token https://docs.github.com/rest/apps/oauth-applications#reset-a-token
Delete an app token
$client->apps()->deleteAnAppToken()
/applications/{client_id}/token https://docs.github.com/rest/apps/oauth-applications#delete-an-app-token
Create a scoped access token
$client->apps()->createAScopedAccessToken()
/applications/{client_id}/token/scoped https://docs.github.com/rest/apps/apps#create-a-scoped-access-token
Get an app
$client->apps()->getAnApp()
/apps/{app_slug} https://docs.github.com/rest/apps/apps#get-an-app
Get an assignment
$client->classroom()->getAnAssignment()
/assignments/{assignment_id} https://docs.github.com/rest/classroom/classroom#get-an-assignment
List accepted assignments for an assignment
$client->classroom()->listAcceptedAssignmentsForAnAssignment()
/assignments/{assignment_id}/accepted_assignments https://docs.github.com/rest/classroom/classroom#list-accepted-assignments-for-an-assignment
Get assignment grades
$client->classroom()->getAssignmentGrades()
/assignments/{assignment_id}/grades https://docs.github.com/rest/classroom/classroom#get-assignment-grades
List classrooms
$client->classroom()->listClassrooms()
/classrooms https://docs.github.com/rest/classroom/classroom#list-classrooms
Get a classroom
$client->classroom()->getAClassroom()
/classrooms/{classroom_id} https://docs.github.com/rest/classroom/classroom#get-a-classroom
List assignments for a classroom
$client->classroom()->listAssignmentsForAClassroom()
/classrooms/{classroom_id}/assignments https://docs.github.com/rest/classroom/classroom#list-assignments-for-a-classroom
Get all codes of conduct
$client->codesOfConduct()->getAllCodesOfConduct()
/codes_of_conduct https://docs.github.com/rest/codes-of-conduct/codes-of-conduct#get-all-codes-of-conduct
Get a code of conduct
$client->codesOfConduct()->getACodeOfConduct()
/codes_of_conduct/{key} https://docs.github.com/rest/codes-of-conduct/codes-of-conduct#get-a-code-of-conduct
Get emojis
$client->emojis()->getEmojis()
/emojis https://docs.github.com/rest/emojis/emojis#get-emojis
List Dependabot alerts for an enterprise
$client->dependabot()->listDependabotAlertsForAnEnterprise()
/enterprises/{enterprise}/dependabot/alerts https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise
List secret scanning alerts for an enterprise
$client->secretScanning()->listSecretScanningAlertsForAnEnterprise()
/enterprises/{enterprise}/secret-scanning/alerts https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise
List public events
$client->activity()->listPublicEvents()
/events https://docs.github.com/rest/activity/events#list-public-events
Get feeds
$client->activity()->getFeeds()
/feeds https://docs.github.com/rest/activity/feeds#get-feeds
List gists for the authenticated user
$client->gists()->listGistsForTheAuthenticatedUser()
/gists https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user
Create a gist
$client->gists()->createAGist()
/gists https://docs.github.com/rest/gists/gists#create-a-gist
List public gists
$client->gists()->listPublicGists()
/gists/public https://docs.github.com/rest/gists/gists#list-public-gists
List starred gists
$client->gists()->listStarredGists()
/gists/starred https://docs.github.com/rest/gists/gists#list-starred-gists
Get a gist
$client->gists()->getAGist()
/gists/{gist_id} https://docs.github.com/rest/gists/gists#get-a-gist
Update a gist
$client->gists()->updateAGist()
/gists/{gist_id} https://docs.github.com/rest/reference/gists/#update-a-gist
Delete a gist
$client->gists()->deleteAGist()
/gists/{gist_id} https://docs.github.com/rest/gists/gists#delete-a-gist
List gist comments
$client->gists()->listGistComments()
/gists/{gist_id}/comments https://docs.github.com/rest/gists/comments#list-gist-comments
Create a gist comment
$client->gists()->createAGistComment()
/gists/{gist_id}/comments https://docs.github.com/rest/gists/comments#create-a-gist-comment
Get a gist comment
$client->gists()->getAGistComment()
/gists/{gist_id}/comments/{comment_id} https://docs.github.com/rest/gists/comments#get-a-gist-comment
Update a gist comment
$client->gists()->updateAGistComment()
/gists/{gist_id}/comments/{comment_id} https://docs.github.com/rest/gists/comments#update-a-gist-comment
Delete a gist comment
$client->gists()->deleteAGistComment()
/gists/{gist_id}/comments/{comment_id} https://docs.github.com/rest/gists/comments#delete-a-gist-comment
List gist commits
$client->gists()->listGistCommits()
/gists/{gist_id}/commits https://docs.github.com/rest/gists/gists#list-gist-commits
List gist forks
$client->gists()->listGistForks()
/gists/{gist_id}/forks https://docs.github.com/rest/gists/gists#list-gist-forks
Fork a gist
$client->gists()->forkAGist()
/gists/{gist_id}/forks https://docs.github.com/rest/gists/gists#fork-a-gist
Check if a gist is starred
$client->gists()->checkIfAGistIsStarred()
/gists/{gist_id}/star https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred
Star a gist
$client->gists()->starAGist()
/gists/{gist_id}/star https://docs.github.com/rest/gists/gists#star-a-gist
Unstar a gist
$client->gists()->unstarAGist()
/gists/{gist_id}/star https://docs.github.com/rest/gists/gists#unstar-a-gist
Get a gist revision
$client->gists()->getAGistRevision()
/gists/{gist_id}/{sha} https://docs.github.com/rest/gists/gists#get-a-gist-revision
Get all gitignore templates
$client->gitignore()->getAllGitignoreTemplates()
/gitignore/templates https://docs.github.com/rest/gitignore/gitignore#get-all-gitignore-templates
Get a gitignore template
$client->gitignore()->getAGitignoreTemplate()
/gitignore/templates/{name} https://docs.github.com/rest/gitignore/gitignore#get-a-gitignore-template
List repositories accessible to the app installation
$client->apps()->listRepositoriesAccessibleToTheAppInstallation()
/installation/repositories https://docs.github.com/rest/apps/installations#list-repositories-accessible-to-the-app-installation
Revoke an installation access token
$client->apps()->revokeAnInstallationAccessToken()
/installation/token https://docs.github.com/rest/apps/installations#revoke-an-installation-access-token
List issues assigned to the authenticated user
$client->issues()->listIssuesAssignedToTheAuthenticatedUser()
/issues https://docs.github.com/rest/issues/issues#list-issues-assigned-to-the-authenticated-user
Get all commonly used licenses
$client->licenses()->getAllCommonlyUsedLicenses()
/licenses https://docs.github.com/rest/licenses/licenses#get-all-commonly-used-licenses
Get a license
$client->licenses()->getALicense()
/licenses/{license} https://docs.github.com/rest/licenses/licenses#get-a-license
Render a Markdown document
$client->markdown()->renderAMarkdownDocument()
/markdown https://docs.github.com/rest/markdown/markdown#render-a-markdown-document
Render a Markdown document in raw mode
$client->markdown()->renderAMarkdownDocumentInRawMode()
/markdown/raw https://docs.github.com/rest/markdown/markdown#render-a-markdown-document-in-raw-mode
Get a subscription plan for an account
$client->apps()->getASubscriptionPlanForAnAccount()
/marketplace_listing/accounts/{account_id} https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account
List plans
$client->apps()->listPlans()
/marketplace_listing/plans https://docs.github.com/rest/apps/marketplace#list-plans
List accounts for a plan
$client->apps()->listAccountsForAPlan()
/marketplace_listing/plans/{plan_id}/accounts https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan
Get a subscription plan for an account (stubbed)
$client->apps()->getASubscriptionPlanForAnAccountStubbed()
/marketplace_listing/stubbed/accounts/{account_id} https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed
List plans (stubbed)
$client->apps()->listPlansStubbed()
/marketplace_listing/stubbed/plans https://docs.github.com/rest/apps/marketplace#list-plans-stubbed
List accounts for a plan (stubbed)
$client->apps()->listAccountsForAPlanStubbed()
/marketplace_listing/stubbed/plans/{plan_id}/accounts https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed
Get GitHub meta information
$client->meta()->getGitHubMetaInformation()
/meta https://docs.github.com/rest/meta/meta#get-apiname-meta-information
List public events for a network of repositories
$client->activity()->listPublicEventsForANetworkOfRepositories()
/networks/{owner}/{repo}/events https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories
List notifications for the authenticated user
$client->activity()->listNotificationsForTheAuthenticatedUser()
/notifications https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user
Mark notifications as read
$client->activity()->markNotificationsAsRead()
/notifications https://docs.github.com/rest/activity/notifications#mark-notifications-as-read
Get a thread
$client->activity()->getAThread()
/notifications/threads/{thread_id} https://docs.github.com/rest/activity/notifications#get-a-thread
Mark a thread as read
$client->activity()->markAThreadAsRead()
/notifications/threads/{thread_id} https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read
Get a thread subscription for the authenticated user
$client->activity()->getAThreadSubscriptionForTheAuthenticatedUser()
/notifications/threads/{thread_id}/subscription https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user
Set a thread subscription
$client->activity()->setAThreadSubscription()
/notifications/threads/{thread_id}/subscription https://docs.github.com/rest/activity/notifications#set-a-thread-subscription
Delete a thread subscription
$client->activity()->deleteAThreadSubscription()
/notifications/threads/{thread_id}/subscription https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription
Get Octocat
$client->meta()->getOctocat()
/octocat https://docs.github.com/rest/meta/meta#get-octocat
List organizations
$client->orgs()->listOrganizations()
/organizations https://docs.github.com/rest/orgs/orgs#list-organizations
Get an organization
$client->orgs()->getAnOrganization()
/orgs/{org} https://docs.github.com/rest/orgs/orgs#get-an-organization
Update an organization
$client->orgs()->updateAnOrganization()
/orgs/{org} https://docs.github.com/rest/orgs/orgs#update-an-organization
Delete an organization
$client->orgs()->deleteAnOrganization()
/orgs/{org} https://docs.github.com/rest/orgs/orgs#delete-an-organization
Get GitHub Actions cache usage for an organization
$client->actions()->getGitHubActionsCacheUsageForAnOrganization()
/orgs/{org}/actions/cache/usage https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization
List repositories with GitHub Actions cache usage for an organization
$client->actions()->listRepositoriesWithGitHubActionsCacheUsageForAnOrganization()
/orgs/{org}/actions/cache/usage-by-repository https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization
Get the customization template for an OIDC subject claim for an organization
$client->oidc()->getTheCustomizationTemplateForAnOIDCSubjectClaimForAnOrganization()
/orgs/{org}/actions/oidc/customization/sub https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization
Set the customization template for an OIDC subject claim for an organization
$client->oidc()->setTheCustomizationTemplateForAnOIDCSubjectClaimForAnOrganization()
/orgs/{org}/actions/oidc/customization/sub https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization
Get GitHub Actions permissions for an organization
$client->actions()->getGitHubActionsPermissionsForAnOrganization()
/orgs/{org}/actions/permissions https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization
Set GitHub Actions permissions for an organization
$client->actions()->setGitHubActionsPermissionsForAnOrganization()
/orgs/{org}/actions/permissions https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization
List selected repositories enabled for GitHub Actions in an organization
$client->actions()->listSelectedRepositoriesEnabledForGitHubActionsInAnOrganization()
/orgs/{org}/actions/permissions/repositories https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization
Set selected repositories enabled for GitHub Actions in an organization
$client->actions()->setSelectedRepositoriesEnabledForGitHubActionsInAnOrganization()
/orgs/{org}/actions/permissions/repositories https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization
Enable a selected repository for GitHub Actions in an organization
$client->actions()->enableASelectedRepositoryForGitHubActionsInAnOrganization()
/orgs/{org}/actions/permissions/repositories/{repository_id} https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization
Disable a selected repository for GitHub Actions in an organization
$client->actions()->disableASelectedRepositoryForGitHubActionsInAnOrganization()
/orgs/{org}/actions/permissions/repositories/{repository_id} https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization
Get allowed actions and reusable workflows for an organization
$client->actions()->getAllowedActionsAndReusableWorkflowsForAnOrganization()
/orgs/{org}/actions/permissions/selected-actions https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization
Set allowed actions and reusable workflows for an organization
$client->actions()->setAllowedActionsAndReusableWorkflowsForAnOrganization()
/orgs/{org}/actions/permissions/selected-actions https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization
Get default workflow permissions for an organization
$client->actions()->getDefaultWorkflowPermissionsForAnOrganization()
/orgs/{org}/actions/permissions/workflow https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization
Set default workflow permissions for an organization
$client->actions()->setDefaultWorkflowPermissionsForAnOrganization()
/orgs/{org}/actions/permissions/workflow https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization
List self-hosted runners for an organization
$client->actions()->listSelfHostedRunnersForAnOrganization()
/orgs/{org}/actions/runners https://docs.github.com/rest/actions/self-hosted-runners#list-self-hosted-runners-for-an-organization
List runner applications for an organization
$client->actions()->listRunnerApplicationsForAnOrganization()
/orgs/{org}/actions/runners/downloads https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization
Create configuration for a just-in-time runner for an organization
$client->actions()->createConfigurationForAJustInTimeRunnerForAnOrganization()
/orgs/{org}/actions/runners/generate-jitconfig https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization
Create a registration token for an organization
$client->actions()->createARegistrationTokenForAnOrganization()
/orgs/{org}/actions/runners/registration-token https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization
Create a remove token for an organization
$client->actions()->createARemoveTokenForAnOrganization()
/orgs/{org}/actions/runners/remove-token https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization
Get a self-hosted runner for an organization
$client->actions()->getASelfHostedRunnerForAnOrganization()
/orgs/{org}/actions/runners/{runner_id} https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization
Delete a self-hosted runner from an organization
$client->actions()->deleteASelfHostedRunnerFromAnOrganization()
/orgs/{org}/actions/runners/{runner_id} https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization
List labels for a self-hosted runner for an organization
$client->actions()->listLabelsForASelfHostedRunnerForAnOrganization()
/orgs/{org}/actions/runners/{runner_id}/labels https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization
Add custom labels to a self-hosted runner for an organization
$client->actions()->addCustomLabelsToASelfHostedRunnerForAnOrganization()
/orgs/{org}/actions/runners/{runner_id}/labels https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization
Set custom labels for a self-hosted runner for an organization
$client->actions()->setCustomLabelsForASelfHostedRunnerForAnOrganization()
/orgs/{org}/actions/runners/{runner_id}/labels https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization
Remove all custom labels from a self-hosted runner for an organization
$client->actions()->removeAllCustomLabelsFromASelfHostedRunnerForAnOrganization()
/orgs/{org}/actions/runners/{runner_id}/labels https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization
Remove a custom label from a self-hosted runner for an organization
$client->actions()->removeACustomLabelFromASelfHostedRunnerForAnOrganization()
/orgs/{org}/actions/runners/{runner_id}/labels/{name} https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization
List organization secrets
$client->actions()->listOrganizationSecrets()
/orgs/{org}/actions/secrets https://docs.github.com/rest/actions/secrets#list-organization-secrets
Get an organization public key
$client->actions()->getAnOrganizationPublicKey()
/orgs/{org}/actions/secrets/public-key https://docs.github.com/rest/actions/secrets#get-an-organization-public-key
Get an organization secret
$client->actions()->getAnOrganizationSecret()
/orgs/{org}/actions/secrets/{secret_name} https://docs.github.com/rest/actions/secrets#get-an-organization-secret
Create or update an organization secret
$client->actions()->createOrUpdateAnOrganizationSecret()
/orgs/{org}/actions/secrets/{secret_name} https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret
Delete an organization secret
$client->actions()->deleteAnOrganizationSecret()
/orgs/{org}/actions/secrets/{secret_name} https://docs.github.com/rest/actions/secrets#delete-an-organization-secret
List selected repositories for an organization secret
$client->actions()->listSelectedRepositoriesForAnOrganizationSecret()
/orgs/{org}/actions/secrets/{secret_name}/repositories https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret
Set selected repositories for an organization secret
$client->actions()->setSelectedRepositoriesForAnOrganizationSecret()
/orgs/{org}/actions/secrets/{secret_name}/repositories https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret
Add selected repository to an organization secret
$client->actions()->addSelectedRepositoryToAnOrganizationSecret()
/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id} https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret
Remove selected repository from an organization secret
$client->actions()->removeSelectedRepositoryFromAnOrganizationSecret()
/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id} https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret
List organization variables
$client->actions()->listOrganizationVariables()
/orgs/{org}/actions/variables https://docs.github.com/rest/actions/variables#list-organization-variables
Create an organization variable
$client->actions()->createAnOrganizationVariable()
/orgs/{org}/actions/variables https://docs.github.com/rest/actions/variables#create-an-organization-variable
Get an organization variable
$client->actions()->getAnOrganizationVariable()
/orgs/{org}/actions/variables/{name} https://docs.github.com/rest/actions/variables#get-an-organization-variable
Update an organization variable
$client->actions()->updateAnOrganizationVariable()
/orgs/{org}/actions/variables/{name} https://docs.github.com/rest/actions/variables#update-an-organization-variable
Delete an organization variable
$client->actions()->deleteAnOrganizationVariable()
/orgs/{org}/actions/variables/{name} https://docs.github.com/rest/actions/variables#delete-an-organization-variable
List selected repositories for an organization variable
$client->actions()->listSelectedRepositoriesForAnOrganizationVariable()
/orgs/{org}/actions/variables/{name}/repositories https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable
Set selected repositories for an organization variable
$client->actions()->setSelectedRepositoriesForAnOrganizationVariable()
/orgs/{org}/actions/variables/{name}/repositories https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable
Add selected repository to an organization variable
$client->actions()->addSelectedRepositoryToAnOrganizationVariable()
/orgs/{org}/actions/variables/{name}/repositories/{repository_id} https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable
Remove selected repository from an organization variable
$client->actions()->removeSelectedRepositoryFromAnOrganizationVariable()
/orgs/{org}/actions/variables/{name}/repositories/{repository_id} https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable
List users blocked by an organization
$client->orgs()->listUsersBlockedByAnOrganization()
/orgs/{org}/blocks https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization
Check if a user is blocked by an organization
$client->orgs()->checkIfAUserIsBlockedByAnOrganization()
/orgs/{org}/blocks/{username} https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization
Block a user from an organization
$client->orgs()->blockAUserFromAnOrganization()
/orgs/{org}/blocks/{username} https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization
Unblock a user from an organization
$client->orgs()->unblockAUserFromAnOrganization()
/orgs/{org}/blocks/{username} https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization
List code scanning alerts for an organization
$client->codeScanning()->listCodeScanningAlertsForAnOrganization()
/orgs/{org}/code-scanning/alerts https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization
List codespaces for the organization
$client->codespaces()->listCodespacesForTheOrganization()
/orgs/{org}/codespaces https://docs.github.com/rest/codespaces/organizations#list-codespaces-for-the-organization
Manage access control for organization codespaces
$client->codespaces()->manageAccessControlForOrganizationCodespaces()
/orgs/{org}/codespaces/access https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces
Add users to Codespaces access for an organization
$client->codespaces()->addUsersToCodespacesAccessForAnOrganization()
/orgs/{org}/codespaces/access/selected_users https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization
Remove users from Codespaces access for an organization
$client->codespaces()->removeUsersFromCodespacesAccessForAnOrganization()
/orgs/{org}/codespaces/access/selected_users https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization
List organization secrets
$client->codespaces()->listOrganizationSecrets()
/orgs/{org}/codespaces/secrets https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets
Get an organization public key
$client->codespaces()->getAnOrganizationPublicKey()
/orgs/{org}/codespaces/secrets/public-key https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key
Get an organization secret
$client->codespaces()->getAnOrganizationSecret()
/orgs/{org}/codespaces/secrets/{secret_name} https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret
Create or update an organization secret
$client->codespaces()->createOrUpdateAnOrganizationSecret()
/orgs/{org}/codespaces/secrets/{secret_name} https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret
Delete an organization secret
$client->codespaces()->deleteAnOrganizationSecret()
/orgs/{org}/codespaces/secrets/{secret_name} https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret
List selected repositories for an organization secret
$client->codespaces()->listSelectedRepositoriesForAnOrganizationSecret()
/orgs/{org}/codespaces/secrets/{secret_name}/repositories https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret
Set selected repositories for an organization secret
$client->codespaces()->setSelectedRepositoriesForAnOrganizationSecret()
/orgs/{org}/codespaces/secrets/{secret_name}/repositories https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret
Add selected repository to an organization secret
$client->codespaces()->addSelectedRepositoryToAnOrganizationSecret()
/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id} https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret
Remove selected repository from an organization secret
$client->codespaces()->removeSelectedRepositoryFromAnOrganizationSecret()
/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id} https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret
Get Copilot for Business seat information and settings for an organization
$client->copilot()->getCopilotForBusinessSeatInformationAndSettingsForAnOrganization()
/orgs/{org}/copilot/billing https://docs.github.com/rest/copilot/copilot-for-business#get-copilot-for-business-seat-information-and-settings-for-an-organization
List all Copilot for Business seat assignments for an organization
$client->copilot()->listAllCopilotForBusinessSeatAssignmentsForAnOrganization()
/orgs/{org}/copilot/billing/seats https://docs.github.com/rest/copilot/copilot-for-business#list-all-copilot-for-business-seat-assignments-for-an-organization
Add teams to the Copilot for Business subscription for an organization
$client->copilot()->addTeamsToTheCopilotForBusinessSubscriptionForAnOrganization()
/orgs/{org}/copilot/billing/selected_teams https://docs.github.com/rest/copilot/copilot-for-business#add-teams-to-the-copilot-for-business-subscription-for-an-organization
Remove teams from the Copilot for Business subscription for an organization
$client->copilot()->removeTeamsFromTheCopilotForBusinessSubscriptionForAnOrganization()
/orgs/{org}/copilot/billing/selected_teams https://docs.github.com/rest/copilot/copilot-for-business#remove-teams-from-the-copilot-for-business-subscription-for-an-organization
Add users to the Copilot for Business subscription for an organization
$client->copilot()->addUsersToTheCopilotForBusinessSubscriptionForAnOrganization()
/orgs/{org}/copilot/billing/selected_users https://docs.github.com/rest/copilot/copilot-for-business#add-users-to-the-copilot-for-business-subscription-for-an-organization
Remove users from the Copilot for Business subscription for an organization
$client->copilot()->removeUsersFromTheCopilotForBusinessSubscriptionForAnOrganization()
/orgs/{org}/copilot/billing/selected_users https://docs.github.com/rest/copilot/copilot-for-business#remove-users-from-the-copilot-for-business-subscription-for-an-organization
List Dependabot alerts for an organization
$client->dependabot()->listDependabotAlertsForAnOrganization()
/orgs/{org}/dependabot/alerts https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization
List organization secrets
$client->dependabot()->listOrganizationSecrets()
/orgs/{org}/dependabot/secrets https://docs.github.com/rest/dependabot/secrets#list-organization-secrets
Get an organization public key
$client->dependabot()->getAnOrganizationPublicKey()
/orgs/{org}/dependabot/secrets/public-key https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key
Get an organization secret
$client->dependabot()->getAnOrganizationSecret()
/orgs/{org}/dependabot/secrets/{secret_name} https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret
Create or update an organization secret
$client->dependabot()->createOrUpdateAnOrganizationSecret()
/orgs/{org}/dependabot/secrets/{secret_name} https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret
Delete an organization secret
$client->dependabot()->deleteAnOrganizationSecret()
/orgs/{org}/dependabot/secrets/{secret_name} https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret
List selected repositories for an organization secret
$client->dependabot()->listSelectedRepositoriesForAnOrganizationSecret()
/orgs/{org}/dependabot/secrets/{secret_name}/repositories https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret
Set selected repositories for an organization secret
$client->dependabot()->setSelectedRepositoriesForAnOrganizationSecret()
/orgs/{org}/dependabot/secrets/{secret_name}/repositories https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret
Add selected repository to an organization secret
$client->dependabot()->addSelectedRepositoryToAnOrganizationSecret()
/orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id} https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret
Remove selected repository from an organization secret
$client->dependabot()->removeSelectedRepositoryFromAnOrganizationSecret()
/orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id} https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret
Get list of conflicting packages during Docker migration for organization
$client->packages()->getListOfConflictingPackagesDuringDockerMigrationForOrganization()
/orgs/{org}/docker/conflicts https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization
List public organization events
$client->activity()->listPublicOrganizationEvents()
/orgs/{org}/events https://docs.github.com/rest/activity/events#list-public-organization-events
List failed organization invitations
$client->orgs()->listFailedOrganizationInvitations()
/orgs/{org}/failed_invitations https://docs.github.com/rest/orgs/members#list-failed-organization-invitations
List organization webhooks
$client->orgs()->listOrganizationWebhooks()
/orgs/{org}/hooks https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks
Create an organization webhook
$client->orgs()->createAnOrganizationWebhook()
/orgs/{org}/hooks https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook
Get an organization webhook
$client->orgs()->getAnOrganizationWebhook()
/orgs/{org}/hooks/{hook_id} https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook
Update an organization webhook
$client->orgs()->updateAnOrganizationWebhook()
/orgs/{org}/hooks/{hook_id} https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook
Delete an organization webhook
$client->orgs()->deleteAnOrganizationWebhook()
/orgs/{org}/hooks/{hook_id} https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook
Get a webhook configuration for an organization
$client->orgs()->getAWebhookConfigurationForAnOrganization()
/orgs/{org}/hooks/{hook_id}/config https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization
Update a webhook configuration for an organization
$client->orgs()->updateAWebhookConfigurationForAnOrganization()
/orgs/{org}/hooks/{hook_id}/config https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization
List deliveries for an organization webhook
$client->orgs()->listDeliveriesForAnOrganizationWebhook()
/orgs/{org}/hooks/{hook_id}/deliveries https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook
Get a webhook delivery for an organization webhook
$client->orgs()->getAWebhookDeliveryForAnOrganizationWebhook()
/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id} https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook
Redeliver a delivery for an organization webhook
$client->orgs()->redeliverADeliveryForAnOrganizationWebhook()
/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook
Ping an organization webhook
$client->orgs()->pingAnOrganizationWebhook()
/orgs/{org}/hooks/{hook_id}/pings https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook
Get an organization installation for the authenticated app
$client->apps()->getAnOrganizationInstallationForTheAuthenticatedApp()
/orgs/{org}/installation https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app
List app installations for an organization
$client->orgs()->listAppInstallationsForAnOrganization()
/orgs/{org}/installations https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization
Get interaction restrictions for an organization
$client->interactions()->getInteractionRestrictionsForAnOrganization()
/orgs/{org}/interaction-limits https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization
Set interaction restrictions for an organization
$client->interactions()->setInteractionRestrictionsForAnOrganization()
/orgs/{org}/interaction-limits https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization
Remove interaction restrictions for an organization
$client->interactions()->removeInteractionRestrictionsForAnOrganization()
/orgs/{org}/interaction-limits https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization
List pending organization invitations
$client->orgs()->listPendingOrganizationInvitations()
/orgs/{org}/invitations https://docs.github.com/rest/orgs/members#list-pending-organization-invitations
Create an organization invitation
$client->orgs()->createAnOrganizationInvitation()
/orgs/{org}/invitations https://docs.github.com/rest/orgs/members#create-an-organization-invitation
Cancel an organization invitation
$client->orgs()->cancelAnOrganizationInvitation()
/orgs/{org}/invitations/{invitation_id} https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation
List organization invitation teams
$client->orgs()->listOrganizationInvitationTeams()
/orgs/{org}/invitations/{invitation_id}/teams https://docs.github.com/rest/orgs/members#list-organization-invitation-teams
List organization issues assigned to the authenticated user
$client->issues()->listOrganizationIssuesAssignedToTheAuthenticatedUser()
/orgs/{org}/issues https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user
List organization members
$client->orgs()->listOrganizationMembers()
/orgs/{org}/members https://docs.github.com/rest/orgs/members#list-organization-members
Check organization membership for a user
$client->orgs()->checkOrganizationMembershipForAUser()
/orgs/{org}/members/{username} https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user
Remove an organization member
$client->orgs()->removeAnOrganizationMember()
/orgs/{org}/members/{username} https://docs.github.com/rest/orgs/members#remove-an-organization-member
List codespaces for a user in organization
$client->codespaces()->listCodespacesForAUserInOrganization()
/orgs/{org}/members/{username}/codespaces https://docs.github.com/rest/codespaces/organizations#list-codespaces-for-a-user-in-organization
Delete a codespace from the organization
$client->codespaces()->deleteACodespaceFromTheOrganization()
/orgs/{org}/members/{username}/codespaces/{codespace_name} https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization
Stop a codespace for an organization user
$client->codespaces()->stopACodespaceForAnOrganizationUser()
/orgs/{org}/members/{username}/codespaces/{codespace_name}/stop https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user
Get Copilot for Business seat assignment details for a user
$client->copilot()->getCopilotForBusinessSeatAssignmentDetailsForAUser()
/orgs/{org}/members/{username}/copilot https://docs.github.com/rest/copilot/copilot-for-business#get-copilot-for-business-seat-assignment-details-for-a-user
Get organization membership for a user
$client->orgs()->getOrganizationMembershipForAUser()
/orgs/{org}/memberships/{username} https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user
Set organization membership for a user
$client->orgs()->setOrganizationMembershipForAUser()
/orgs/{org}/memberships/{username} https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user
Remove organization membership for a user
$client->orgs()->removeOrganizationMembershipForAUser()
/orgs/{org}/memberships/{username} https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user
List organization migrations
$client->migrations()->listOrganizationMigrations()
/orgs/{org}/migrations https://docs.github.com/rest/migrations/orgs#list-organization-migrations
Start an organization migration
$client->migrations()->startAnOrganizationMigration()
/orgs/{org}/migrations https://docs.github.com/rest/migrations/orgs#start-an-organization-migration
Get an organization migration status
$client->migrations()->getAnOrganizationMigrationStatus()
/orgs/{org}/migrations/{migration_id} https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status
Download an organization migration archive
$client->migrations()->downloadAnOrganizationMigrationArchive()
/orgs/{org}/migrations/{migration_id}/archive https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive
Delete an organization migration archive
$client->migrations()->deleteAnOrganizationMigrationArchive()
/orgs/{org}/migrations/{migration_id}/archive https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive
Unlock an organization repository
$client->migrations()->unlockAnOrganizationRepository()
/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository
List repositories in an organization migration
$client->migrations()->listRepositoriesInAnOrganizationMigration()
/orgs/{org}/migrations/{migration_id}/repositories https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration
List outside collaborators for an organization
$client->orgs()->listOutsideCollaboratorsForAnOrganization()
/orgs/{org}/outside_collaborators https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization
Convert an organization member to outside collaborator
$client->orgs()->convertAnOrganizationMemberToOutsideCollaborator()
/orgs/{org}/outside_collaborators/{username} https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator
Remove outside collaborator from an organization
$client->orgs()->removeOutsideCollaboratorFromAnOrganization()
/orgs/{org}/outside_collaborators/{username} https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization
List packages for an organization
$client->packages()->listPackagesForAnOrganization()
/orgs/{org}/packages https://docs.github.com/rest/packages/packages#list-packages-for-an-organization
Get a package for an organization
$client->packages()->getAPackageForAnOrganization()
/orgs/{org}/packages/{package_type}/{package_name} https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization
Delete a package for an organization
$client->packages()->deleteAPackageForAnOrganization()
/orgs/{org}/packages/{package_type}/{package_name} https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization
Restore a package for an organization
$client->packages()->restoreAPackageForAnOrganization()
/orgs/{org}/packages/{package_type}/{package_name}/restore https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization
List package versions for a package owned by an organization
$client->packages()->listPackageVersionsForAPackageOwnedByAnOrganization()
/orgs/{org}/packages/{package_type}/{package_name}/versions https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization
Get a package version for an organization
$client->packages()->getAPackageVersionForAnOrganization()
/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id} https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization
Delete package version for an organization
$client->packages()->deletePackageVersionForAnOrganization()
/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id} https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization
Restore package version for an organization
$client->packages()->restorePackageVersionForAnOrganization()
/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization
List requests to access organization resources with fine-grained personal access tokens
$client->orgs()->listRequestsToAccessOrganizationResourcesWithFineGrainedPersonalAccessTokens()
/orgs/{org}/personal-access-token-requests https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens
Review requests to access organization resources with fine-grained personal access tokens
$client->orgs()->reviewRequestsToAccessOrganizationResourcesWithFineGrainedPersonalAccessTokens()
/orgs/{org}/personal-access-token-requests https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens
Review a request to access organization resources with a fine-grained personal access token
$client->orgs()->reviewARequestToAccessOrganizationResourcesWithAFineGrainedPersonalAccessToken()
/orgs/{org}/personal-access-token-requests/{pat_request_id} https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token
List repositories requested to be accessed by a fine-grained personal access token
$client->orgs()->listRepositoriesRequestedToBeAccessedByAFineGrainedPersonalAccessToken()
/orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token
List fine-grained personal access tokens with access to organization resources
$client->orgs()->listFineGrainedPersonalAccessTokensWithAccessToOrganizationResources()
/orgs/{org}/personal-access-tokens https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources
Update the access to organization resources via fine-grained personal access tokens
$client->orgs()->updateTheAccessToOrganizationResourcesViaFineGrainedPersonalAccessTokens()
/orgs/{org}/personal-access-tokens https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens
Update the access a fine-grained personal access token has to organization resources
$client->orgs()->updateTheAccessAFineGrainedPersonalAccessTokenHasToOrganizationResources()
/orgs/{org}/personal-access-tokens/{pat_id} https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources
List repositories a fine-grained personal access token has access to
$client->orgs()->listRepositoriesAFineGrainedPersonalAccessTokenHasAccessTo()
/orgs/{org}/personal-access-tokens/{pat_id}/repositories https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to
List organization projects
$client->projects()->listOrganizationProjects()
/orgs/{org}/projects https://docs.github.com/rest/projects/projects#list-organization-projects
Create an organization project
$client->projects()->createAnOrganizationProject()
/orgs/{org}/projects https://docs.github.com/rest/projects/projects#create-an-organization-project
Get all custom properties for an organization
$client->orgs()->getAllCustomPropertiesForAnOrganization()
/orgs/{org}/properties/schema https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization
Create or update custom properties for an organization
$client->orgs()->createOrUpdateCustomPropertiesForAnOrganization()
/orgs/{org}/properties/schema https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization
Get a custom property for an organization
$client->orgs()->getACustomPropertyForAnOrganization()
/orgs/{org}/properties/schema/{custom_property_name} https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization
Create or update a custom property for an organization
$client->orgs()->createOrUpdateACustomPropertyForAnOrganization()
/orgs/{org}/properties/schema/{custom_property_name} https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization
Remove a custom property for an organization
$client->orgs()->removeACustomPropertyForAnOrganization()
/orgs/{org}/properties/schema/{custom_property_name} https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization
List custom property values for organization repositories
$client->orgs()->listCustomPropertyValuesForOrganizationRepositories()
/orgs/{org}/properties/values https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories
Create or update custom property values for organization repositories
$client->orgs()->createOrUpdateCustomPropertyValuesForOrganizationRepositories()
/orgs/{org}/properties/values https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories
List public organization members
$client->orgs()->listPublicOrganizationMembers()
/orgs/{org}/public_members https://docs.github.com/rest/orgs/members#list-public-organization-members
Check public organization membership for a user
$client->orgs()->checkPublicOrganizationMembershipForAUser()
/orgs/{org}/public_members/{username} https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user
Set public organization membership for the authenticated user
$client->orgs()->setPublicOrganizationMembershipForTheAuthenticatedUser()
/orgs/{org}/public_members/{username} https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user
Remove public organization membership for the authenticated user
$client->orgs()->removePublicOrganizationMembershipForTheAuthenticatedUser()
/orgs/{org}/public_members/{username} https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user
List organization repositories
$client->repos()->listOrganizationRepositories()
/orgs/{org}/repos https://docs.github.com/rest/repos/repos#list-organization-repositories
Create an organization repository
$client->repos()->createAnOrganizationRepository()
/orgs/{org}/repos https://docs.github.com/rest/repos/repos#create-an-organization-repository
Get all organization repository rulesets
$client->repos()->getAllOrganizationRepositoryRulesets()
/orgs/{org}/rulesets https://docs.github.com/rest/orgs/rules#get-all-organization-repository-rulesets
Create an organization repository ruleset
$client->repos()->createAnOrganizationRepositoryRuleset()
/orgs/{org}/rulesets https://docs.github.com/rest/orgs/rules#create-an-organization-repository-ruleset
List organization rule suites
$client->repos()->listOrganizationRuleSuites()
/orgs/{org}/rulesets/rule-suites https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites
Get an organization rule suite
$client->repos()->getAnOrganizationRuleSuite()
/orgs/{org}/rulesets/rule-suites/{rule_suite_id} https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite
Get an organization repository ruleset
$client->repos()->getAnOrganizationRepositoryRuleset()
/orgs/{org}/rulesets/{ruleset_id} https://docs.github.com/rest/orgs/rules#get-an-organization-repository-ruleset
Update an organization repository ruleset
$client->repos()->updateAnOrganizationRepositoryRuleset()
/orgs/{org}/rulesets/{ruleset_id} https://docs.github.com/rest/orgs/rules#update-an-organization-repository-ruleset
Delete an organization repository ruleset
$client->repos()->deleteAnOrganizationRepositoryRuleset()
/orgs/{org}/rulesets/{ruleset_id} https://docs.github.com/rest/orgs/rules#delete-an-organization-repository-ruleset
List secret scanning alerts for an organization
$client->secretScanning()->listSecretScanningAlertsForAnOrganization()
/orgs/{org}/secret-scanning/alerts https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization
List repository security advisories for an organization
$client->securityAdvisories()->listRepositorySecurityAdvisoriesForAnOrganization()
/orgs/{org}/security-advisories https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization
List security manager teams
$client->orgs()->listSecurityManagerTeams()
/orgs/{org}/security-managers https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams
Add a security manager team
$client->orgs()->addASecurityManagerTeam()
/orgs/{org}/security-managers/teams/{team_slug} https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team
Remove a security manager team
$client->orgs()->removeASecurityManagerTeam()
/orgs/{org}/security-managers/teams/{team_slug} https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team
Get GitHub Actions billing for an organization
$client->billing()->getGitHubActionsBillingForAnOrganization()
/orgs/{org}/settings/billing/actions https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization
Get GitHub Packages billing for an organization
$client->billing()->getGitHubPackagesBillingForAnOrganization()
/orgs/{org}/settings/billing/packages https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization
Get shared storage billing for an organization
$client->billing()->getSharedStorageBillingForAnOrganization()
/orgs/{org}/settings/billing/shared-storage https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization
List teams
$client->teams()->listTeams()
/orgs/{org}/teams https://docs.github.com/rest/teams/teams#list-teams
Create a team
$client->teams()->createATeam()
/orgs/{org}/teams https://docs.github.com/rest/teams/teams#create-a-team
Get a team by name
$client->teams()->getATeamByName()
/orgs/{org}/teams/{team_slug} https://docs.github.com/rest/teams/teams#get-a-team-by-name
Update a team
$client->teams()->updateATeam()
/orgs/{org}/teams/{team_slug} https://docs.github.com/rest/teams/teams#update-a-team
Delete a team
$client->teams()->deleteATeam()
/orgs/{org}/teams/{team_slug} https://docs.github.com/rest/teams/teams#delete-a-team
List discussions
$client->teams()->listDiscussions()
/orgs/{org}/teams/{team_slug}/discussions https://docs.github.com/rest/teams/discussions#list-discussions
Create a discussion
$client->teams()->createADiscussion()
/orgs/{org}/teams/{team_slug}/discussions https://docs.github.com/rest/teams/discussions#create-a-discussion
Get a discussion
$client->teams()->getADiscussion()
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number} https://docs.github.com/rest/teams/discussions#get-a-discussion
Update a discussion
$client->teams()->updateADiscussion()
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number} https://docs.github.com/rest/teams/discussions#update-a-discussion
Delete a discussion
$client->teams()->deleteADiscussion()
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number} https://docs.github.com/rest/teams/discussions#delete-a-discussion
List discussion comments
$client->teams()->listDiscussionComments()
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments
Create a discussion comment
$client->teams()->createADiscussionComment()
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment
Get a discussion comment
$client->teams()->getADiscussionComment()
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number} https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment
Update a discussion comment
$client->teams()->updateADiscussionComment()
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number} https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment
Delete a discussion comment
$client->teams()->deleteADiscussionComment()
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number} https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment
List reactions for a team discussion comment
$client->reactions()->listReactionsForATeamDiscussionComment()
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment
Create reaction for a team discussion comment
$client->reactions()->createReactionForATeamDiscussionComment()
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment
Delete team discussion comment reaction
$client->reactions()->deleteTeamDiscussionCommentReaction()
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id} https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction
List reactions for a team discussion
$client->reactions()->listReactionsForATeamDiscussion()
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion
Create reaction for a team discussion
$client->reactions()->createReactionForATeamDiscussion()
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion
Delete team discussion reaction
$client->reactions()->deleteTeamDiscussionReaction()
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id} https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction
List pending team invitations
$client->teams()->listPendingTeamInvitations()
/orgs/{org}/teams/{team_slug}/invitations https://docs.github.com/rest/teams/members#list-pending-team-invitations
List team members
$client->teams()->listTeamMembers()
/orgs/{org}/teams/{team_slug}/members https://docs.github.com/rest/teams/members#list-team-members
Get team membership for a user
$client->teams()->getTeamMembershipForAUser()
/orgs/{org}/teams/{team_slug}/memberships/{username} https://docs.github.com/rest/teams/members#get-team-membership-for-a-user
Add or update team membership for a user
$client->teams()->addOrUpdateTeamMembershipForAUser()
/orgs/{org}/teams/{team_slug}/memberships/{username} https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user
Remove team membership for a user
$client->teams()->removeTeamMembershipForAUser()
/orgs/{org}/teams/{team_slug}/memberships/{username} https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user
List team projects
$client->teams()->listTeamProjects()
/orgs/{org}/teams/{team_slug}/projects https://docs.github.com/rest/teams/teams#list-team-projects
Check team permissions for a project
$client->teams()->checkTeamPermissionsForAProject()
/orgs/{org}/teams/{team_slug}/projects/{project_id} https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project
Add or update team project permissions
$client->teams()->addOrUpdateTeamProjectPermissions()
/orgs/{org}/teams/{team_slug}/projects/{project_id} https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions
Remove a project from a team
$client->teams()->removeAProjectFromATeam()
/orgs/{org}/teams/{team_slug}/projects/{project_id} https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team
List team repositories
$client->teams()->listTeamRepositories()
/orgs/{org}/teams/{team_slug}/repos https://docs.github.com/rest/teams/teams#list-team-repositories
Check team permissions for a repository
$client->teams()->checkTeamPermissionsForARepository()
/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo} https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository
Add or update team repository permissions
$client->teams()->addOrUpdateTeamRepositoryPermissions()
/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo} https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions
Remove a repository from a team
$client->teams()->removeARepositoryFromATeam()
/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo} https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team
List child teams
$client->teams()->listChildTeams()
/orgs/{org}/teams/{team_slug}/teams https://docs.github.com/rest/teams/teams#list-child-teams
Enable or disable a security feature for an organization
$client->orgs()->enableOrDisableASecurityFeatureForAnOrganization()
/orgs/{org}/{security_product}/{enablement} https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization
Get a project card
$client->projects()->getAProjectCard()
/projects/columns/cards/{card_id} https://docs.github.com/rest/projects/cards#get-a-project-card
Update an existing project card
$client->projects()->updateAnExistingProjectCard()
/projects/columns/cards/{card_id} https://docs.github.com/rest/projects/cards#update-an-existing-project-card
Delete a project card
$client->projects()->deleteAProjectCard()
/projects/columns/cards/{card_id} https://docs.github.com/rest/projects/cards#delete-a-project-card
Move a project card
$client->projects()->moveAProjectCard()
/projects/columns/cards/{card_id}/moves https://docs.github.com/rest/projects/cards#move-a-project-card
Get a project column
$client->projects()->getAProjectColumn()
/projects/columns/{column_id} https://docs.github.com/rest/projects/columns#get-a-project-column
Update an existing project column
$client->projects()->updateAnExistingProjectColumn()
/projects/columns/{column_id} https://docs.github.com/rest/projects/columns#update-an-existing-project-column
Delete a project column
$client->projects()->deleteAProjectColumn()
/projects/columns/{column_id} https://docs.github.com/rest/projects/columns#delete-a-project-column
List project cards
$client->projects()->listProjectCards()
/projects/columns/{column_id}/cards https://docs.github.com/rest/projects/cards#list-project-cards
Create a project card
$client->projects()->createAProjectCard()
/projects/columns/{column_id}/cards https://docs.github.com/rest/projects/cards#create-a-project-card
Move a project column
$client->projects()->moveAProjectColumn()
/projects/columns/{column_id}/moves https://docs.github.com/rest/projects/columns#move-a-project-column
Get a project
$client->projects()->getAProject()
/projects/{project_id} https://docs.github.com/rest/projects/projects#get-a-project
Update a project
$client->projects()->updateAProject()
/projects/{project_id} https://docs.github.com/rest/projects/projects#update-a-project
Delete a project
$client->projects()->deleteAProject()
/projects/{project_id} https://docs.github.com/rest/projects/projects#delete-a-project
List project collaborators
$client->projects()->listProjectCollaborators()
/projects/{project_id}/collaborators https://docs.github.com/rest/projects/collaborators#list-project-collaborators
Add project collaborator
$client->projects()->addProjectCollaborator()
/projects/{project_id}/collaborators/{username} https://docs.github.com/rest/projects/collaborators#add-project-collaborator
Remove user as a collaborator
$client->projects()->removeUserAsACollaborator()
/projects/{project_id}/collaborators/{username} https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator
Get project permission for a user
$client->projects()->getProjectPermissionForAUser()
/projects/{project_id}/collaborators/{username}/permission https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user
List project columns
$client->projects()->listProjectColumns()
/projects/{project_id}/columns https://docs.github.com/rest/projects/columns#list-project-columns
Create a project column
$client->projects()->createAProjectColumn()
/projects/{project_id}/columns https://docs.github.com/rest/projects/columns#create-a-project-column
Get rate limit status for the authenticated user
$client->rateLimit()->getRateLimitStatusForTheAuthenticatedUser()
/rate_limit https://docs.github.com/rest/rate-limit/rate-limit#get-rate-limit-status-for-the-authenticated-user
Get a repository
$client->repos()->getARepository()
/repos/{owner}/{repo} https://docs.github.com/rest/repos/repos#get-a-repository
Update a repository
$client->repos()->updateARepository()
/repos/{owner}/{repo} https://docs.github.com/rest/repos/repos#update-a-repository
Delete a repository
$client->repos()->deleteARepository()
/repos/{owner}/{repo} https://docs.github.com/rest/repos/repos#delete-a-repository
List artifacts for a repository
$client->actions()->listArtifactsForARepository()
/repos/{owner}/{repo}/actions/artifacts https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository
Get an artifact
$client->actions()->getAnArtifact()
/repos/{owner}/{repo}/actions/artifacts/{artifact_id} https://docs.github.com/rest/actions/artifacts#get-an-artifact
Delete an artifact
$client->actions()->deleteAnArtifact()
/repos/{owner}/{repo}/actions/artifacts/{artifact_id} https://docs.github.com/rest/actions/artifacts#delete-an-artifact
Download an artifact
$client->actions()->downloadAnArtifact()
/repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format} https://docs.github.com/rest/actions/artifacts#download-an-artifact
Get GitHub Actions cache usage for a repository
$client->actions()->getGitHubActionsCacheUsageForARepository()
/repos/{owner}/{repo}/actions/cache/usage https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository
List GitHub Actions caches for a repository
$client->actions()->listGitHubActionsCachesForARepository()
/repos/{owner}/{repo}/actions/caches https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository
Delete GitHub Actions caches for a repository (using a cache key)
$client->actions()->deleteGitHubActionsCachesForARepositoryUsingACacheKey()
/repos/{owner}/{repo}/actions/caches https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key
Delete a GitHub Actions cache for a repository (using a cache ID)
$client->actions()->deleteAGitHubActionsCacheForARepositoryUsingACacheID()
/repos/{owner}/{repo}/actions/caches/{cache_id} https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id
Get a job for a workflow run
$client->actions()->getAJobForAWorkflowRun()
/repos/{owner}/{repo}/actions/jobs/{job_id} https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run
Download job logs for a workflow run
$client->actions()->downloadJobLogsForAWorkflowRun()
/repos/{owner}/{repo}/actions/jobs/{job_id}/logs https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run
Re-run a job from a workflow run
$client->actions()->reRunAJobFromAWorkflowRun()
/repos/{owner}/{repo}/actions/jobs/{job_id}/rerun https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run
Get the customization template for an OIDC subject claim for a repository
$client->actions()->getTheCustomizationTemplateForAnOIDCSubjectClaimForARepository()
/repos/{owner}/{repo}/actions/oidc/customization/sub https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository
Set the customization template for an OIDC subject claim for a repository
$client->actions()->setTheCustomizationTemplateForAnOIDCSubjectClaimForARepository()
/repos/{owner}/{repo}/actions/oidc/customization/sub https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository
List repository organization secrets
$client->actions()->listRepositoryOrganizationSecrets()
/repos/{owner}/{repo}/actions/organization-secrets https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets
List repository organization variables
$client->actions()->listRepositoryOrganizationVariables()
/repos/{owner}/{repo}/actions/organization-variables https://docs.github.com/rest/actions/variables#list-repository-organization-variables
Get GitHub Actions permissions for a repository
$client->actions()->getGitHubActionsPermissionsForARepository()
/repos/{owner}/{repo}/actions/permissions https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository
Set GitHub Actions permissions for a repository
$client->actions()->setGitHubActionsPermissionsForARepository()
/repos/{owner}/{repo}/actions/permissions https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository
Get the level of access for workflows outside of the repository
$client->actions()->getTheLevelOfAccessForWorkflowsOutsideOfTheRepository()
/repos/{owner}/{repo}/actions/permissions/access https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository
Set the level of access for workflows outside of the repository
$client->actions()->setTheLevelOfAccessForWorkflowsOutsideOfTheRepository()
/repos/{owner}/{repo}/actions/permissions/access https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository
Get allowed actions and reusable workflows for a repository
$client->actions()->getAllowedActionsAndReusableWorkflowsForARepository()
/repos/{owner}/{repo}/actions/permissions/selected-actions https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository
Set allowed actions and reusable workflows for a repository
$client->actions()->setAllowedActionsAndReusableWorkflowsForARepository()
/repos/{owner}/{repo}/actions/permissions/selected-actions https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository
Get default workflow permissions for a repository
$client->actions()->getDefaultWorkflowPermissionsForARepository()
/repos/{owner}/{repo}/actions/permissions/workflow https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository
Set default workflow permissions for a repository
$client->actions()->setDefaultWorkflowPermissionsForARepository()
/repos/{owner}/{repo}/actions/permissions/workflow https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository
List self-hosted runners for a repository
$client->actions()->listSelfHostedRunnersForARepository()
/repos/{owner}/{repo}/actions/runners https://docs.github.com/rest/actions/self-hosted-runners#list-self-hosted-runners-for-a-repository
List runner applications for a repository
$client->actions()->listRunnerApplicationsForARepository()
/repos/{owner}/{repo}/actions/runners/downloads https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository
Create configuration for a just-in-time runner for a repository
$client->actions()->createConfigurationForAJustInTimeRunnerForARepository()
/repos/{owner}/{repo}/actions/runners/generate-jitconfig https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository
Create a registration token for a repository
$client->actions()->createARegistrationTokenForARepository()
/repos/{owner}/{repo}/actions/runners/registration-token https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository
Create a remove token for a repository
$client->actions()->createARemoveTokenForARepository()
/repos/{owner}/{repo}/actions/runners/remove-token https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository
Get a self-hosted runner for a repository
$client->actions()->getASelfHostedRunnerForARepository()
/repos/{owner}/{repo}/actions/runners/{runner_id} https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository
Delete a self-hosted runner from a repository
$client->actions()->deleteASelfHostedRunnerFromARepository()
/repos/{owner}/{repo}/actions/runners/{runner_id} https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository
List labels for a self-hosted runner for a repository
$client->actions()->listLabelsForASelfHostedRunnerForARepository()
/repos/{owner}/{repo}/actions/runners/{runner_id}/labels https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository
Add custom labels to a self-hosted runner for a repository
$client->actions()->addCustomLabelsToASelfHostedRunnerForARepository()
/repos/{owner}/{repo}/actions/runners/{runner_id}/labels https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository
Set custom labels for a self-hosted runner for a repository
$client->actions()->setCustomLabelsForASelfHostedRunnerForARepository()
/repos/{owner}/{repo}/actions/runners/{runner_id}/labels https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository
Remove all custom labels from a self-hosted runner for a repository
$client->actions()->removeAllCustomLabelsFromASelfHostedRunnerForARepository()
/repos/{owner}/{repo}/actions/runners/{runner_id}/labels https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository
Remove a custom label from a self-hosted runner for a repository
$client->actions()->removeACustomLabelFromASelfHostedRunnerForARepository()
/repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name} https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository
List workflow runs for a repository
$client->actions()->listWorkflowRunsForARepository()
/repos/{owner}/{repo}/actions/runs https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository
Get a workflow run
$client->actions()->getAWorkflowRun()
/repos/{owner}/{repo}/actions/runs/{run_id} https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run
Delete a workflow run
$client->actions()->deleteAWorkflowRun()
/repos/{owner}/{repo}/actions/runs/{run_id} https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run
Get the review history for a workflow run
$client->actions()->getTheReviewHistoryForAWorkflowRun()
/repos/{owner}/{repo}/actions/runs/{run_id}/approvals https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run
Approve a workflow run for a fork pull request
$client->actions()->approveAWorkflowRunForAForkPullRequest()
/repos/{owner}/{repo}/actions/runs/{run_id}/approve https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request
List workflow run artifacts
$client->actions()->listWorkflowRunArtifacts()
/repos/{owner}/{repo}/actions/runs/{run_id}/artifacts https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts
Get a workflow run attempt
$client->actions()->getAWorkflowRunAttempt()
/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number} https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt
List jobs for a workflow run attempt
$client->actions()->listJobsForAWorkflowRunAttempt()
/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt
Download workflow run attempt logs
$client->actions()->downloadWorkflowRunAttemptLogs()
/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs
Cancel a workflow run
$client->actions()->cancelAWorkflowRun()
/repos/{owner}/{repo}/actions/runs/{run_id}/cancel https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run
Review custom deployment protection rules for a workflow run
$client->actions()->reviewCustomDeploymentProtectionRulesForAWorkflowRun()
/repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run
Force cancel a workflow run
$client->actions()->forceCancelAWorkflowRun()
/repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run
List jobs for a workflow run
$client->actions()->listJobsForAWorkflowRun()
/repos/{owner}/{repo}/actions/runs/{run_id}/jobs https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run
Download workflow run logs
$client->actions()->downloadWorkflowRunLogs()
/repos/{owner}/{repo}/actions/runs/{run_id}/logs https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs
Delete workflow run logs
$client->actions()->deleteWorkflowRunLogs()
/repos/{owner}/{repo}/actions/runs/{run_id}/logs https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs
Get pending deployments for a workflow run
$client->actions()->getPendingDeploymentsForAWorkflowRun()
/repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run
Review pending deployments for a workflow run
$client->actions()->reviewPendingDeploymentsForAWorkflowRun()
/repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run
Re-run a workflow
$client->actions()->reRunAWorkflow()
/repos/{owner}/{repo}/actions/runs/{run_id}/rerun https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow
Re-run failed jobs from a workflow run
$client->actions()->reRunFailedJobsFromAWorkflowRun()
/repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run
Get workflow run usage
$client->actions()->getWorkflowRunUsage()
/repos/{owner}/{repo}/actions/runs/{run_id}/timing https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage
List repository secrets
$client->actions()->listRepositorySecrets()
/repos/{owner}/{repo}/actions/secrets https://docs.github.com/rest/actions/secrets#list-repository-secrets
Get a repository public key
$client->actions()->getARepositoryPublicKey()
/repos/{owner}/{repo}/actions/secrets/public-key https://docs.github.com/rest/actions/secrets#get-a-repository-public-key
Get a repository secret
$client->actions()->getARepositorySecret()
/repos/{owner}/{repo}/actions/secrets/{secret_name} https://docs.github.com/rest/actions/secrets#get-a-repository-secret
Create or update a repository secret
$client->actions()->createOrUpdateARepositorySecret()
/repos/{owner}/{repo}/actions/secrets/{secret_name} https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret
Delete a repository secret
$client->actions()->deleteARepositorySecret()
/repos/{owner}/{repo}/actions/secrets/{secret_name} https://docs.github.com/rest/actions/secrets#delete-a-repository-secret
List repository variables
$client->actions()->listRepositoryVariables()
/repos/{owner}/{repo}/actions/variables https://docs.github.com/rest/actions/variables#list-repository-variables
Create a repository variable
$client->actions()->createARepositoryVariable()
/repos/{owner}/{repo}/actions/variables https://docs.github.com/rest/actions/variables#create-a-repository-variable
Get a repository variable
$client->actions()->getARepositoryVariable()
/repos/{owner}/{repo}/actions/variables/{name} https://docs.github.com/rest/actions/variables#get-a-repository-variable
Update a repository variable
$client->actions()->updateARepositoryVariable()
/repos/{owner}/{repo}/actions/variables/{name} https://docs.github.com/rest/actions/variables#update-a-repository-variable
Delete a repository variable
$client->actions()->deleteARepositoryVariable()
/repos/{owner}/{repo}/actions/variables/{name} https://docs.github.com/rest/actions/variables#delete-a-repository-variable
List repository workflows
$client->actions()->listRepositoryWorkflows()
/repos/{owner}/{repo}/actions/workflows https://docs.github.com/rest/actions/workflows#list-repository-workflows
Get a workflow
$client->actions()->getAWorkflow()
/repos/{owner}/{repo}/actions/workflows/{workflow_id} https://docs.github.com/rest/actions/workflows#get-a-workflow
Disable a workflow
$client->actions()->disableAWorkflow()
/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable https://docs.github.com/rest/actions/workflows#disable-a-workflow
Create a workflow dispatch event
$client->actions()->createAWorkflowDispatchEvent()
/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event
Enable a workflow
$client->actions()->enableAWorkflow()
/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable https://docs.github.com/rest/actions/workflows#enable-a-workflow
List workflow runs for a workflow
$client->actions()->listWorkflowRunsForAWorkflow()
/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow
Get workflow usage
$client->actions()->getWorkflowUsage()
/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing https://docs.github.com/rest/actions/workflows#get-workflow-usage
List repository activities
$client->repos()->listRepositoryActivities()
/repos/{owner}/{repo}/activity https://docs.github.com/rest/repos/repos#list-repository-activities
List assignees
$client->issues()->listAssignees()
/repos/{owner}/{repo}/assignees https://docs.github.com/rest/issues/assignees#list-assignees
Check if a user can be assigned
$client->issues()->checkIfAUserCanBeAssigned()
/repos/{owner}/{repo}/assignees/{assignee} https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned
List all autolinks of a repository
$client->repos()->listAllAutolinksOfARepository()
/repos/{owner}/{repo}/autolinks https://docs.github.com/rest/repos/autolinks#list-all-autolinks-of-a-repository
Create an autolink reference for a repository
$client->repos()->createAnAutolinkReferenceForARepository()
/repos/{owner}/{repo}/autolinks https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository
Get an autolink reference of a repository
$client->repos()->getAnAutolinkReferenceOfARepository()
/repos/{owner}/{repo}/autolinks/{autolink_id} https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository
Delete an autolink reference from a repository
$client->repos()->deleteAnAutolinkReferenceFromARepository()
/repos/{owner}/{repo}/autolinks/{autolink_id} https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository
Check if automated security fixes are enabled for a repository
$client->repos()->checkIfAutomatedSecurityFixesAreEnabledForARepository()
/repos/{owner}/{repo}/automated-security-fixes https://docs.github.com/rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository
Enable automated security fixes
$client->repos()->enableAutomatedSecurityFixes()
/repos/{owner}/{repo}/automated-security-fixes https://docs.github.com/rest/repos/repos#enable-automated-security-fixes
Disable automated security fixes
$client->repos()->disableAutomatedSecurityFixes()
/repos/{owner}/{repo}/automated-security-fixes https://docs.github.com/rest/repos/repos#disable-automated-security-fixes
List branches
$client->repos()->listBranches()
/repos/{owner}/{repo}/branches https://docs.github.com/rest/branches/branches#list-branches
Get a branch
$client->repos()->getABranch()
/repos/{owner}/{repo}/branches/{branch} https://docs.github.com/rest/branches/branches#get-a-branch
Get branch protection
$client->repos()->getBranchProtection()
/repos/{owner}/{repo}/branches/{branch}/protection https://docs.github.com/rest/branches/branch-protection#get-branch-protection
Update branch protection
$client->repos()->updateBranchProtection()
/repos/{owner}/{repo}/branches/{branch}/protection https://docs.github.com/rest/branches/branch-protection#update-branch-protection
Delete branch protection
$client->repos()->deleteBranchProtection()
/repos/{owner}/{repo}/branches/{branch}/protection https://docs.github.com/rest/branches/branch-protection#delete-branch-protection
Get admin branch protection
$client->repos()->getAdminBranchProtection()
/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection
Set admin branch protection
$client->repos()->setAdminBranchProtection()
/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection
Delete admin branch protection
$client->repos()->deleteAdminBranchProtection()
/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection
Get pull request review protection
$client->repos()->getPullRequestReviewProtection()
/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection
Update pull request review protection
$client->repos()->updatePullRequestReviewProtection()
/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection
Delete pull request review protection
$client->repos()->deletePullRequestReviewProtection()
/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection
Get commit signature protection
$client->repos()->getCommitSignatureProtection()
/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection
Create commit signature protection
$client->repos()->createCommitSignatureProtection()
/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection
Delete commit signature protection
$client->repos()->deleteCommitSignatureProtection()
/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection
Get status checks protection
$client->repos()->getStatusChecksProtection()
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection
Update status check protection
$client->repos()->updateStatusCheckProtection()
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks https://docs.github.com/rest/branches/branch-protection#update-status-check-protection
Remove status check protection
$client->repos()->removeStatusCheckProtection()
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection
Get all status check contexts
$client->repos()->getAllStatusCheckContexts()
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts
Add status check contexts
$client->repos()->addStatusCheckContexts()
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts
Set status check contexts
$client->repos()->setStatusCheckContexts()
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts
Remove status check contexts
$client->repos()->removeStatusCheckContexts()
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts
Get access restrictions
$client->repos()->getAccessRestrictions()
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions https://docs.github.com/rest/branches/branch-protection#get-access-restrictions
Delete access restrictions
$client->repos()->deleteAccessRestrictions()
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions
Get apps with access to the protected branch
$client->repos()->getAppsWithAccessToTheProtectedBranch()
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch
Add app access restrictions
$client->repos()->addAppAccessRestrictions()
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions
Set app access restrictions
$client->repos()->setAppAccessRestrictions()
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions
Remove app access restrictions
$client->repos()->removeAppAccessRestrictions()
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions
Get teams with access to the protected branch
$client->repos()->getTeamsWithAccessToTheProtectedBranch()
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch
Add team access restrictions
$client->repos()->addTeamAccessRestrictions()
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions
Set team access restrictions
$client->repos()->setTeamAccessRestrictions()
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions
Remove team access restrictions
$client->repos()->removeTeamAccessRestrictions()
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions
Get users with access to the protected branch
$client->repos()->getUsersWithAccessToTheProtectedBranch()
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch
Add user access restrictions
$client->repos()->addUserAccessRestrictions()
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions
Set user access restrictions
$client->repos()->setUserAccessRestrictions()
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions
Remove user access restrictions
$client->repos()->removeUserAccessRestrictions()
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions
Rename a branch
$client->repos()->renameABranch()
/repos/{owner}/{repo}/branches/{branch}/rename https://docs.github.com/rest/branches/branches#rename-a-branch
Create a check run
$client->checks()->createACheckRun()
/repos/{owner}/{repo}/check-runs https://docs.github.com/rest/reference/checks#create-a-check-run
Get a check run
$client->checks()->getACheckRun()
/repos/{owner}/{repo}/check-runs/{check_run_id} https://docs.github.com/rest/checks/runs#get-a-check-run
Update a check run
$client->checks()->updateACheckRun()
/repos/{owner}/{repo}/check-runs/{check_run_id} https://docs.github.com/rest/checks/runs#update-a-check-run
List check run annotations
$client->checks()->listCheckRunAnnotations()
/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations https://docs.github.com/rest/checks/runs#list-check-run-annotations
Rerequest a check run
$client->checks()->rerequestACheckRun()
/repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest https://docs.github.com/rest/checks/runs#rerequest-a-check-run
Create a check suite
$client->checks()->createACheckSuite()
/repos/{owner}/{repo}/check-suites https://docs.github.com/rest/checks/suites#create-a-check-suite
Update repository preferences for check suites
$client->checks()->updateRepositoryPreferencesForCheckSuites()
/repos/{owner}/{repo}/check-suites/preferences https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites
Get a check suite
$client->checks()->getACheckSuite()
/repos/{owner}/{repo}/check-suites/{check_suite_id} https://docs.github.com/rest/checks/suites#get-a-check-suite
List check runs in a check suite
$client->checks()->listCheckRunsInACheckSuite()
/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite
Rerequest a check suite
$client->checks()->rerequestACheckSuite()
/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest https://docs.github.com/rest/checks/suites#rerequest-a-check-suite
List code scanning alerts for a repository
$client->codeScanning()->listCodeScanningAlertsForARepository()
/repos/{owner}/{repo}/code-scanning/alerts https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository
Get a code scanning alert
$client->codeScanning()->getACodeScanningAlert()
/repos/{owner}/{repo}/code-scanning/alerts/{alert_number} https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert
Update a code scanning alert
$client->codeScanning()->updateACodeScanningAlert()
/repos/{owner}/{repo}/code-scanning/alerts/{alert_number} https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert
List instances of a code scanning alert
$client->codeScanning()->listInstancesOfACodeScanningAlert()
/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert
List code scanning analyses for a repository
$client->codeScanning()->listCodeScanningAnalysesForARepository()
/repos/{owner}/{repo}/code-scanning/analyses https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository
Get a code scanning analysis for a repository
$client->codeScanning()->getACodeScanningAnalysisForARepository()
/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id} https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository
Delete a code scanning analysis from a repository
$client->codeScanning()->deleteACodeScanningAnalysisFromARepository()
/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id} https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository
List CodeQL databases for a repository
$client->codeScanning()->listCodeQLDatabasesForARepository()
/repos/{owner}/{repo}/code-scanning/codeql/databases https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository
Get a CodeQL database for a repository
$client->codeScanning()->getACodeQLDatabaseForARepository()
/repos/{owner}/{repo}/code-scanning/codeql/databases/{language} https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository
Get a code scanning default setup configuration
$client->codeScanning()->getACodeScanningDefaultSetupConfiguration()
/repos/{owner}/{repo}/code-scanning/default-setup https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration
Update a code scanning default setup configuration
$client->codeScanning()->updateACodeScanningDefaultSetupConfiguration()
/repos/{owner}/{repo}/code-scanning/default-setup https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration
Upload an analysis as SARIF data
$client->codeScanning()->uploadAnAnalysisAsSARIFData()
/repos/{owner}/{repo}/code-scanning/sarifs https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data
Get information about a SARIF upload
$client->codeScanning()->getInformationAboutASARIFUpload()
/repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id} https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload
List CODEOWNERS errors
$client->repos()->listCODEOWNERSErrors()
/repos/{owner}/{repo}/codeowners/errors https://docs.github.com/rest/repos/repos#list-codeowners-errors
List codespaces in a repository for the authenticated user
$client->codespaces()->listCodespacesInARepositoryForTheAuthenticatedUser()
/repos/{owner}/{repo}/codespaces https://docs.github.com/rest/codespaces/codespaces#list-codespaces-in-a-repository-for-the-authenticated-user
Create a codespace in a repository
$client->codespaces()->createACodespaceInARepository()
/repos/{owner}/{repo}/codespaces https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository
List devcontainer configurations in a repository for the authenticated user
$client->codespaces()->listDevcontainerConfigurationsInARepositoryForTheAuthenticatedUser()
/repos/{owner}/{repo}/codespaces/devcontainers https://docs.github.com/rest/codespaces/codespaces#list-devcontainer-configurations-in-a-repository-for-the-authenticated-user
List available machine types for a repository
$client->codespaces()->listAvailableMachineTypesForARepository()
/repos/{owner}/{repo}/codespaces/machines https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository
Get default attributes for a codespace
$client->codespaces()->getDefaultAttributesForACodespace()
/repos/{owner}/{repo}/codespaces/new https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace
Check if permissions defined by a devcontainer have been accepted by the authenticated user
$client->codespaces()->checkIfPermissionsDefinedByADevcontainerHaveBeenAcceptedByTheAuthenticatedUser()
/repos/{owner}/{repo}/codespaces/permissions_check https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user
List repository secrets
$client->codespaces()->listRepositorySecrets()
/repos/{owner}/{repo}/codespaces/secrets https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets
Get a repository public key
$client->codespaces()->getARepositoryPublicKey()
/repos/{owner}/{repo}/codespaces/secrets/public-key https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key
Get a repository secret
$client->codespaces()->getARepositorySecret()
/repos/{owner}/{repo}/codespaces/secrets/{secret_name} https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret
Create or update a repository secret
$client->codespaces()->createOrUpdateARepositorySecret()
/repos/{owner}/{repo}/codespaces/secrets/{secret_name} https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret
Delete a repository secret
$client->codespaces()->deleteARepositorySecret()
/repos/{owner}/{repo}/codespaces/secrets/{secret_name} https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret
List repository collaborators
$client->repos()->listRepositoryCollaborators()
/repos/{owner}/{repo}/collaborators https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators
Check if a user is a repository collaborator
$client->repos()->checkIfAUserIsARepositoryCollaborator()
/repos/{owner}/{repo}/collaborators/{username} https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator
Add a repository collaborator
$client->repos()->addARepositoryCollaborator()
/repos/{owner}/{repo}/collaborators/{username} https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator
Remove a repository collaborator
$client->repos()->removeARepositoryCollaborator()
/repos/{owner}/{repo}/collaborators/{username} https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator
Get repository permissions for a user
$client->repos()->getRepositoryPermissionsForAUser()
/repos/{owner}/{repo}/collaborators/{username}/permission https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user
List commit comments for a repository
$client->repos()->listCommitCommentsForARepository()
/repos/{owner}/{repo}/comments https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository
Get a commit comment
$client->repos()->getACommitComment()
/repos/{owner}/{repo}/comments/{comment_id} https://docs.github.com/rest/commits/comments#get-a-commit-comment
Update a commit comment
$client->repos()->updateACommitComment()
/repos/{owner}/{repo}/comments/{comment_id} https://docs.github.com/rest/commits/comments#update-a-commit-comment
Delete a commit comment
$client->repos()->deleteACommitComment()
/repos/{owner}/{repo}/comments/{comment_id} https://docs.github.com/rest/commits/comments#delete-a-commit-comment
List reactions for a commit comment
$client->reactions()->listReactionsForACommitComment()
/repos/{owner}/{repo}/comments/{comment_id}/reactions https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment
Create reaction for a commit comment
$client->reactions()->createReactionForACommitComment()
/repos/{owner}/{repo}/comments/{comment_id}/reactions https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment
Delete a commit comment reaction
$client->reactions()->deleteACommitCommentReaction()
/repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id} https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction
List commits
$client->repos()->listCommits()
/repos/{owner}/{repo}/commits https://docs.github.com/rest/commits/commits#list-commits
List branches for HEAD commit
$client->repos()->listBranchesForHEADCommit()
/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head https://docs.github.com/rest/commits/commits#list-branches-for-head-commit
List commit comments
$client->repos()->listCommitComments()
/repos/{owner}/{repo}/commits/{commit_sha}/comments https://docs.github.com/rest/commits/comments#list-commit-comments
Create a commit comment
$client->repos()->createACommitComment()
/repos/{owner}/{repo}/commits/{commit_sha}/comments https://docs.github.com/rest/commits/comments#create-a-commit-comment
List pull requests associated with a commit
$client->repos()->listPullRequestsAssociatedWithACommit()
/repos/{owner}/{repo}/commits/{commit_sha}/pulls https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit
Get a commit
$client->repos()->getACommit()
/repos/{owner}/{repo}/commits/{ref} https://docs.github.com/rest/commits/commits#get-a-commit
List check runs for a Git reference
$client->checks()->listCheckRunsForAGitReference()
/repos/{owner}/{repo}/commits/{ref}/check-runs https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference
List check suites for a Git reference
$client->checks()->listCheckSuitesForAGitReference()
/repos/{owner}/{repo}/commits/{ref}/check-suites https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference
Get the combined status for a specific reference
$client->repos()->getTheCombinedStatusForASpecificReference()
/repos/{owner}/{repo}/commits/{ref}/status https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference
List commit statuses for a reference
$client->repos()->listCommitStatusesForAReference()
/repos/{owner}/{repo}/commits/{ref}/statuses https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference
Get community profile metrics
$client->repos()->getCommunityProfileMetrics()
/repos/{owner}/{repo}/community/profile https://docs.github.com/rest/metrics/community#get-community-profile-metrics
Compare two commits
$client->repos()->compareTwoCommits()
/repos/{owner}/{repo}/compare/{basehead} https://docs.github.com/rest/commits/commits#compare-two-commits
Get repository content
$client->repos()->getRepositoryContent()
/repos/{owner}/{repo}/contents/{path} https://docs.github.com/rest/repos/contents#get-repository-content
Create or update file contents
$client->repos()->createOrUpdateFileContents()
/repos/{owner}/{repo}/contents/{path} https://docs.github.com/rest/repos/contents#create-or-update-file-contents
Delete a file
$client->repos()->deleteAFile()
/repos/{owner}/{repo}/contents/{path} https://docs.github.com/rest/repos/contents#delete-a-file
List repository contributors
$client->repos()->listRepositoryContributors()
/repos/{owner}/{repo}/contributors https://docs.github.com/rest/repos/repos#list-repository-contributors
List Dependabot alerts for a repository
$client->dependabot()->listDependabotAlertsForARepository()
/repos/{owner}/{repo}/dependabot/alerts https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository
Get a Dependabot alert
$client->dependabot()->getADependabotAlert()
/repos/{owner}/{repo}/dependabot/alerts/{alert_number} https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert
Update a Dependabot alert
$client->dependabot()->updateADependabotAlert()
/repos/{owner}/{repo}/dependabot/alerts/{alert_number} https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert
List repository secrets
$client->dependabot()->listRepositorySecrets()
/repos/{owner}/{repo}/dependabot/secrets https://docs.github.com/rest/dependabot/secrets#list-repository-secrets
Get a repository public key
$client->dependabot()->getARepositoryPublicKey()
/repos/{owner}/{repo}/dependabot/secrets/public-key https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key
Get a repository secret
$client->dependabot()->getARepositorySecret()
/repos/{owner}/{repo}/dependabot/secrets/{secret_name} https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret
Create or update a repository secret
$client->dependabot()->createOrUpdateARepositorySecret()
/repos/{owner}/{repo}/dependabot/secrets/{secret_name} https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret
Delete a repository secret
$client->dependabot()->deleteARepositorySecret()
/repos/{owner}/{repo}/dependabot/secrets/{secret_name} https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret
Get a diff of the dependencies between commits
$client->dependencyGraph()->getADiffOfTheDependenciesBetweenCommits()
/repos/{owner}/{repo}/dependency-graph/compare/{basehead} https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits
Export a software bill of materials (SBOM) for a repository.
$client->dependencyGraph()->exportASoftwareBillOfMaterialsSBOMForARepository()
/repos/{owner}/{repo}/dependency-graph/sbom https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository
Create a snapshot of dependencies for a repository
$client->dependencyGraph()->createASnapshotOfDependenciesForARepository()
/repos/{owner}/{repo}/dependency-graph/snapshots https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository
List deployments
$client->repos()->listDeployments()
/repos/{owner}/{repo}/deployments https://docs.github.com/rest/deployments/deployments#list-deployments
Create a deployment
$client->repos()->createADeployment()
/repos/{owner}/{repo}/deployments https://docs.github.com/rest/deployments/deployments#create-a-deployment
Get a deployment
$client->repos()->getADeployment()
/repos/{owner}/{repo}/deployments/{deployment_id} https://docs.github.com/rest/deployments/deployments#get-a-deployment
Delete a deployment
$client->repos()->deleteADeployment()
/repos/{owner}/{repo}/deployments/{deployment_id} https://docs.github.com/rest/deployments/deployments#delete-a-deployment
List deployment statuses
$client->repos()->listDeploymentStatuses()
/repos/{owner}/{repo}/deployments/{deployment_id}/statuses https://docs.github.com/rest/deployments/statuses#list-deployment-statuses
Create a deployment status
$client->repos()->createADeploymentStatus()
/repos/{owner}/{repo}/deployments/{deployment_id}/statuses https://docs.github.com/rest/deployments/statuses#create-a-deployment-status
Get a deployment status
$client->repos()->getADeploymentStatus()
/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id} https://docs.github.com/rest/deployments/statuses#get-a-deployment-status
Create a repository dispatch event
$client->repos()->createARepositoryDispatchEvent()
/repos/{owner}/{repo}/dispatches https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event
List environments
$client->repos()->listEnvironments()
/repos/{owner}/{repo}/environments https://docs.github.com/rest/deployments/environments#list-environments
Get an environment
$client->repos()->getAnEnvironment()
/repos/{owner}/{repo}/environments/{environment_name} https://docs.github.com/rest/deployments/environments#get-an-environment
Create or update an environment
$client->repos()->createOrUpdateAnEnvironment()
/repos/{owner}/{repo}/environments/{environment_name} https://docs.github.com/rest/deployments/environments#create-or-update-an-environment
Delete an environment
$client->repos()->deleteAnEnvironment()
/repos/{owner}/{repo}/environments/{environment_name} https://docs.github.com/rest/deployments/environments#delete-an-environment
List deployment branch policies
$client->repos()->listDeploymentBranchPolicies()
/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies
Create a deployment branch policy
$client->repos()->createADeploymentBranchPolicy()
/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy
Get a deployment branch policy
$client->repos()->getADeploymentBranchPolicy()
/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id} https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy
Update a deployment branch policy
$client->repos()->updateADeploymentBranchPolicy()
/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id} https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy
Delete a deployment branch policy
$client->repos()->deleteADeploymentBranchPolicy()
/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id} https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy
Get all deployment protection rules for an environment
$client->repos()->getAllDeploymentProtectionRulesForAnEnvironment()
/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment
Create a custom deployment protection rule on an environment
$client->repos()->createACustomDeploymentProtectionRuleOnAnEnvironment()
/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment
List custom deployment rule integrations available for an environment
$client->repos()->listCustomDeploymentRuleIntegrationsAvailableForAnEnvironment()
/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment
Get a custom deployment protection rule
$client->repos()->getACustomDeploymentProtectionRule()
/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id} https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule
Disable a custom protection rule for an environment
$client->repos()->disableACustomProtectionRuleForAnEnvironment()
/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id} https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment
List repository events
$client->activity()->listRepositoryEvents()
/repos/{owner}/{repo}/events https://docs.github.com/rest/activity/events#list-repository-events
List forks
$client->repos()->listForks()
/repos/{owner}/{repo}/forks https://docs.github.com/rest/repos/forks#list-forks
Create a fork
$client->repos()->createAFork()
/repos/{owner}/{repo}/forks https://docs.github.com/rest/repos/forks#create-a-fork
Create a blob
$client->git()->createABlob()
/repos/{owner}/{repo}/git/blobs https://docs.github.com/rest/git/blobs#create-a-blob
Get a blob
$client->git()->getABlob()
/repos/{owner}/{repo}/git/blobs/{file_sha} https://docs.github.com/rest/git/blobs#get-a-blob
Create a commit
$client->git()->createACommit()
/repos/{owner}/{repo}/git/commits https://docs.github.com/rest/git/commits#create-a-commit
Get a commit object
$client->git()->getACommitObject()
/repos/{owner}/{repo}/git/commits/{commit_sha} https://docs.github.com/rest/git/commits#get-a-commit-object
List matching references
$client->git()->listMatchingReferences()
/repos/{owner}/{repo}/git/matching-refs/{ref} https://docs.github.com/rest/git/refs#list-matching-references
Get a reference
$client->git()->getAReference()
/repos/{owner}/{repo}/git/ref/{ref} https://docs.github.com/rest/git/refs#get-a-reference
Create a reference
$client->git()->createAReference()
/repos/{owner}/{repo}/git/refs https://docs.github.com/rest/git/refs#create-a-reference
Update a reference
$client->git()->updateAReference()
/repos/{owner}/{repo}/git/refs/{ref} https://docs.github.com/rest/git/refs#update-a-reference
Delete a reference
$client->git()->deleteAReference()
/repos/{owner}/{repo}/git/refs/{ref} https://docs.github.com/rest/git/refs#delete-a-reference
Create a tag object
$client->git()->createATagObject()
/repos/{owner}/{repo}/git/tags https://docs.github.com/rest/git/tags#create-a-tag-object
Get a tag
$client->git()->getATag()
/repos/{owner}/{repo}/git/tags/{tag_sha} https://docs.github.com/rest/git/tags#get-a-tag
Create a tree
$client->git()->createATree()
/repos/{owner}/{repo}/git/trees https://docs.github.com/rest/git/trees#create-a-tree
Get a tree
$client->git()->getATree()
/repos/{owner}/{repo}/git/trees/{tree_sha} https://docs.github.com/rest/git/trees#get-a-tree
List repository webhooks
$client->repos()->listRepositoryWebhooks()
/repos/{owner}/{repo}/hooks https://docs.github.com/rest/repos/webhooks#list-repository-webhooks
Create a repository webhook
$client->repos()->createARepositoryWebhook()
/repos/{owner}/{repo}/hooks https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook
Get a repository webhook
$client->repos()->getARepositoryWebhook()
/repos/{owner}/{repo}/hooks/{hook_id} https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook
Update a repository webhook
$client->repos()->updateARepositoryWebhook()
/repos/{owner}/{repo}/hooks/{hook_id} https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook
Delete a repository webhook
$client->repos()->deleteARepositoryWebhook()
/repos/{owner}/{repo}/hooks/{hook_id} https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook
Get a webhook configuration for a repository
$client->repos()->getAWebhookConfigurationForARepository()
/repos/{owner}/{repo}/hooks/{hook_id}/config https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository
Update a webhook configuration for a repository
$client->repos()->updateAWebhookConfigurationForARepository()
/repos/{owner}/{repo}/hooks/{hook_id}/config https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository
List deliveries for a repository webhook
$client->repos()->listDeliveriesForARepositoryWebhook()
/repos/{owner}/{repo}/hooks/{hook_id}/deliveries https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook
Get a delivery for a repository webhook
$client->repos()->getADeliveryForARepositoryWebhook()
/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id} https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook
Redeliver a delivery for a repository webhook
$client->repos()->redeliverADeliveryForARepositoryWebhook()
/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook
Ping a repository webhook
$client->repos()->pingARepositoryWebhook()
/repos/{owner}/{repo}/hooks/{hook_id}/pings https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook
Test the push repository webhook
$client->repos()->testThePushRepositoryWebhook()
/repos/{owner}/{repo}/hooks/{hook_id}/tests https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook
Get an import status
$client->migrations()->getAnImportStatus()
/repos/{owner}/{repo}/import https://docs.github.com/rest/migrations/source-imports#get-an-import-status
Start an import
$client->migrations()->startAnImport()
/repos/{owner}/{repo}/import https://docs.github.com/rest/migrations/source-imports#start-an-import
Update an import
$client->migrations()->updateAnImport()
/repos/{owner}/{repo}/import https://docs.github.com/rest/migrations/source-imports#update-an-import
Cancel an import
$client->migrations()->cancelAnImport()
/repos/{owner}/{repo}/import https://docs.github.com/rest/migrations/source-imports#cancel-an-import
Get commit authors
$client->migrations()->getCommitAuthors()
/repos/{owner}/{repo}/import/authors https://docs.github.com/rest/migrations/source-imports#get-commit-authors
Map a commit author
$client->migrations()->mapACommitAuthor()
/repos/{owner}/{repo}/import/authors/{author_id} https://docs.github.com/rest/migrations/source-imports#map-a-commit-author
Get large files
$client->migrations()->getLargeFiles()
/repos/{owner}/{repo}/import/large_files https://docs.github.com/rest/migrations/source-imports#get-large-files
Update Git LFS preference
$client->migrations()->updateGitLFSPreference()
/repos/{owner}/{repo}/import/lfs https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference
Get a repository installation for the authenticated app
$client->apps()->getARepositoryInstallationForTheAuthenticatedApp()
/repos/{owner}/{repo}/installation https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app
Get interaction restrictions for a repository
$client->interactions()->getInteractionRestrictionsForARepository()
/repos/{owner}/{repo}/interaction-limits https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository
Set interaction restrictions for a repository
$client->interactions()->setInteractionRestrictionsForARepository()
/repos/{owner}/{repo}/interaction-limits https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository
Remove interaction restrictions for a repository
$client->interactions()->removeInteractionRestrictionsForARepository()
/repos/{owner}/{repo}/interaction-limits https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository
List repository invitations
$client->repos()->listRepositoryInvitations()
/repos/{owner}/{repo}/invitations https://docs.github.com/rest/collaborators/invitations#list-repository-invitations
Update a repository invitation
$client->repos()->updateARepositoryInvitation()
/repos/{owner}/{repo}/invitations/{invitation_id} https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation
Delete a repository invitation
$client->repos()->deleteARepositoryInvitation()
/repos/{owner}/{repo}/invitations/{invitation_id} https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation
List repository issues
$client->issues()->listRepositoryIssues()
/repos/{owner}/{repo}/issues https://docs.github.com/rest/issues/issues#list-repository-issues
Create an issue
$client->issues()->createAnIssue()
/repos/{owner}/{repo}/issues https://docs.github.com/rest/issues/issues#create-an-issue
List issue comments for a repository
$client->issues()->listIssueCommentsForARepository()
/repos/{owner}/{repo}/issues/comments https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository
Get an issue comment
$client->issues()->getAnIssueComment()
/repos/{owner}/{repo}/issues/comments/{comment_id} https://docs.github.com/rest/issues/comments#get-an-issue-comment
Update an issue comment
$client->issues()->updateAnIssueComment()
/repos/{owner}/{repo}/issues/comments/{comment_id} https://docs.github.com/rest/issues/comments#update-an-issue-comment
Delete an issue comment
$client->issues()->deleteAnIssueComment()
/repos/{owner}/{repo}/issues/comments/{comment_id} https://docs.github.com/rest/issues/comments#delete-an-issue-comment
List reactions for an issue comment
$client->reactions()->listReactionsForAnIssueComment()
/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment
Create reaction for an issue comment
$client->reactions()->createReactionForAnIssueComment()
/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment
Delete an issue comment reaction
$client->reactions()->deleteAnIssueCommentReaction()
/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id} https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction
List issue events for a repository
$client->issues()->listIssueEventsForARepository()
/repos/{owner}/{repo}/issues/events https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository
Get an issue event
$client->issues()->getAnIssueEvent()
/repos/{owner}/{repo}/issues/events/{event_id} https://docs.github.com/rest/issues/events#get-an-issue-event
Get an issue
$client->issues()->getAnIssue()
/repos/{owner}/{repo}/issues/{issue_number} https://docs.github.com/rest/issues/issues#get-an-issue
Update an issue
$client->issues()->updateAnIssue()
/repos/{owner}/{repo}/issues/{issue_number} https://docs.github.com/rest/issues/issues#update-an-issue
Add assignees to an issue
$client->issues()->addAssigneesToAnIssue()
/repos/{owner}/{repo}/issues/{issue_number}/assignees https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue
Remove assignees from an issue
$client->issues()->removeAssigneesFromAnIssue()
/repos/{owner}/{repo}/issues/{issue_number}/assignees https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue
Check if a user can be assigned to a issue
$client->issues()->checkIfAUserCanBeAssignedToAIssue()
/repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee} https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue
List issue comments
$client->issues()->listIssueComments()
/repos/{owner}/{repo}/issues/{issue_number}/comments https://docs.github.com/rest/issues/comments#list-issue-comments
Create an issue comment
$client->issues()->createAnIssueComment()
/repos/{owner}/{repo}/issues/{issue_number}/comments https://docs.github.com/rest/issues/comments#create-an-issue-comment
List issue events
$client->issues()->listIssueEvents()
/repos/{owner}/{repo}/issues/{issue_number}/events https://docs.github.com/rest/issues/events#list-issue-events
List labels for an issue
$client->issues()->listLabelsForAnIssue()
/repos/{owner}/{repo}/issues/{issue_number}/labels https://docs.github.com/rest/issues/labels#list-labels-for-an-issue
Add labels to an issue
$client->issues()->addLabelsToAnIssue()
/repos/{owner}/{repo}/issues/{issue_number}/labels https://docs.github.com/rest/issues/labels#add-labels-to-an-issue
Set labels for an issue
$client->issues()->setLabelsForAnIssue()
/repos/{owner}/{repo}/issues/{issue_number}/labels https://docs.github.com/rest/issues/labels#set-labels-for-an-issue
Remove all labels from an issue
$client->issues()->removeAllLabelsFromAnIssue()
/repos/{owner}/{repo}/issues/{issue_number}/labels https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue
Remove a label from an issue
$client->issues()->removeALabelFromAnIssue()
/repos/{owner}/{repo}/issues/{issue_number}/labels/{name} https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue
Lock an issue
$client->issues()->lockAnIssue()
/repos/{owner}/{repo}/issues/{issue_number}/lock https://docs.github.com/rest/issues/issues#lock-an-issue
Unlock an issue
$client->issues()->unlockAnIssue()
/repos/{owner}/{repo}/issues/{issue_number}/lock https://docs.github.com/rest/issues/issues#unlock-an-issue
List reactions for an issue
$client->reactions()->listReactionsForAnIssue()
/repos/{owner}/{repo}/issues/{issue_number}/reactions https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue
Create reaction for an issue
$client->reactions()->createReactionForAnIssue()
/repos/{owner}/{repo}/issues/{issue_number}/reactions https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue
Delete an issue reaction
$client->reactions()->deleteAnIssueReaction()
/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id} https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction
List timeline events for an issue
$client->issues()->listTimelineEventsForAnIssue()
/repos/{owner}/{repo}/issues/{issue_number}/timeline https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue
List deploy keys
$client->repos()->listDeployKeys()
/repos/{owner}/{repo}/keys https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys
Create a deploy key
$client->repos()->createADeployKey()
/repos/{owner}/{repo}/keys https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key
Get a deploy key
$client->repos()->getADeployKey()
/repos/{owner}/{repo}/keys/{key_id} https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key
Delete a deploy key
$client->repos()->deleteADeployKey()
/repos/{owner}/{repo}/keys/{key_id} https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key
List labels for a repository
$client->issues()->listLabelsForARepository()
/repos/{owner}/{repo}/labels https://docs.github.com/rest/issues/labels#list-labels-for-a-repository
Create a label
$client->issues()->createALabel()
/repos/{owner}/{repo}/labels https://docs.github.com/rest/issues/labels#create-a-label
Get a label
$client->issues()->getALabel()
/repos/{owner}/{repo}/labels/{name} https://docs.github.com/rest/issues/labels#get-a-label
Update a label
$client->issues()->updateALabel()
/repos/{owner}/{repo}/labels/{name} https://docs.github.com/rest/issues/labels#update-a-label
Delete a label
$client->issues()->deleteALabel()
/repos/{owner}/{repo}/labels/{name} https://docs.github.com/rest/issues/labels#delete-a-label
List repository languages
$client->repos()->listRepositoryLanguages()
/repos/{owner}/{repo}/languages https://docs.github.com/rest/repos/repos#list-repository-languages
Get the license for a repository
$client->licenses()->getTheLicenseForARepository()
/repos/{owner}/{repo}/license https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository
Sync a fork branch with the upstream repository
$client->repos()->syncAForkBranchWithTheUpstreamRepository()
/repos/{owner}/{repo}/merge-upstream https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository
Merge a branch
$client->repos()->mergeABranch()
/repos/{owner}/{repo}/merges https://docs.github.com/rest/branches/branches#merge-a-branch
List milestones
$client->issues()->listMilestones()
/repos/{owner}/{repo}/milestones https://docs.github.com/rest/issues/milestones#list-milestones
Create a milestone
$client->issues()->createAMilestone()
/repos/{owner}/{repo}/milestones https://docs.github.com/rest/issues/milestones#create-a-milestone
Get a milestone
$client->issues()->getAMilestone()
/repos/{owner}/{repo}/milestones/{milestone_number} https://docs.github.com/rest/issues/milestones#get-a-milestone
Update a milestone
$client->issues()->updateAMilestone()
/repos/{owner}/{repo}/milestones/{milestone_number} https://docs.github.com/rest/issues/milestones#update-a-milestone
Delete a milestone
$client->issues()->deleteAMilestone()
/repos/{owner}/{repo}/milestones/{milestone_number} https://docs.github.com/rest/issues/milestones#delete-a-milestone
List labels for issues in a milestone
$client->issues()->listLabelsForIssuesInAMilestone()
/repos/{owner}/{repo}/milestones/{milestone_number}/labels https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone
List repository notifications for the authenticated user
$client->activity()->listRepositoryNotificationsForTheAuthenticatedUser()
/repos/{owner}/{repo}/notifications https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user
Mark repository notifications as read
$client->activity()->markRepositoryNotificationsAsRead()
/repos/{owner}/{repo}/notifications https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read
Get a GitHub Pages site
$client->repos()->getAGitHubPagesSite()
/repos/{owner}/{repo}/pages https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site
Create a GitHub Pages site
$client->repos()->createAGitHubPagesSite()
/repos/{owner}/{repo}/pages https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site
Update information about a GitHub Pages site
$client->repos()->updateInformationAboutAGitHubPagesSite()
/repos/{owner}/{repo}/pages https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site
Delete a GitHub Pages site
$client->repos()->deleteAGitHubPagesSite()
/repos/{owner}/{repo}/pages https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site
List GitHub Pages builds
$client->repos()->listGitHubPagesBuilds()
/repos/{owner}/{repo}/pages/builds https://docs.github.com/rest/pages/pages#list-apiname-pages-builds
Request a GitHub Pages build
$client->repos()->requestAGitHubPagesBuild()
/repos/{owner}/{repo}/pages/builds https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build
Get latest Pages build
$client->repos()->getLatestPagesBuild()
/repos/{owner}/{repo}/pages/builds/latest https://docs.github.com/rest/pages/pages#get-latest-pages-build
Get GitHub Pages build
$client->repos()->getGitHubPagesBuild()
/repos/{owner}/{repo}/pages/builds/{build_id} https://docs.github.com/rest/pages/pages#get-apiname-pages-build
Create a GitHub Pages deployment
$client->repos()->createAGitHubPagesDeployment()
/repos/{owner}/{repo}/pages/deployment https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment
Get a DNS health check for GitHub Pages
$client->repos()->getADNSHealthCheckForGitHubPages()
/repos/{owner}/{repo}/pages/health https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages
Enable private vulnerability reporting for a repository
$client->repos()->enablePrivateVulnerabilityReportingForARepository()
/repos/{owner}/{repo}/private-vulnerability-reporting https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository
Disable private vulnerability reporting for a repository
$client->repos()->disablePrivateVulnerabilityReportingForARepository()
/repos/{owner}/{repo}/private-vulnerability-reporting https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository
List repository projects
$client->projects()->listRepositoryProjects()
/repos/{owner}/{repo}/projects https://docs.github.com/rest/projects/projects#list-repository-projects
Create a repository project
$client->projects()->createARepositoryProject()
/repos/{owner}/{repo}/projects https://docs.github.com/rest/projects/projects#create-a-repository-project
Get all custom property values for a repository
$client->repos()->getAllCustomPropertyValuesForARepository()
/repos/{owner}/{repo}/properties/values https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository
List pull requests
$client->pulls()->listPullRequests()
/repos/{owner}/{repo}/pulls https://docs.github.com/rest/pulls/pulls#list-pull-requests
Create a pull request
$client->pulls()->createAPullRequest()
/repos/{owner}/{repo}/pulls https://docs.github.com/rest/pulls/pulls#create-a-pull-request
List review comments in a repository
$client->pulls()->listReviewCommentsInARepository()
/repos/{owner}/{repo}/pulls/comments https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository
Get a review comment for a pull request
$client->pulls()->getAReviewCommentForAPullRequest()
/repos/{owner}/{repo}/pulls/comments/{comment_id} https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request
Update a review comment for a pull request
$client->pulls()->updateAReviewCommentForAPullRequest()
/repos/{owner}/{repo}/pulls/comments/{comment_id} https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request
Delete a review comment for a pull request
$client->pulls()->deleteAReviewCommentForAPullRequest()
/repos/{owner}/{repo}/pulls/comments/{comment_id} https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request
List reactions for a pull request review comment
$client->reactions()->listReactionsForAPullRequestReviewComment()
/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment
Create reaction for a pull request review comment
$client->reactions()->createReactionForAPullRequestReviewComment()
/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment
Delete a pull request comment reaction
$client->reactions()->deleteAPullRequestCommentReaction()
/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id} https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction
Get a pull request
$client->pulls()->getAPullRequest()
/repos/{owner}/{repo}/pulls/{pull_number} https://docs.github.com/rest/pulls/pulls#get-a-pull-request
Update a pull request
$client->pulls()->updateAPullRequest()
/repos/{owner}/{repo}/pulls/{pull_number} https://docs.github.com/rest/pulls/pulls#update-a-pull-request
Create a codespace from a pull request
$client->codespaces()->createACodespaceFromAPullRequest()
/repos/{owner}/{repo}/pulls/{pull_number}/codespaces https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request
List review comments on a pull request
$client->pulls()->listReviewCommentsOnAPullRequest()
/repos/{owner}/{repo}/pulls/{pull_number}/comments https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request
Create a review comment for a pull request
$client->pulls()->createAReviewCommentForAPullRequest()
/repos/{owner}/{repo}/pulls/{pull_number}/comments https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request
Create a reply for a review comment
$client->pulls()->createAReplyForAReviewComment()
/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment
List commits on a pull request
$client->pulls()->listCommitsOnAPullRequest()
/repos/{owner}/{repo}/pulls/{pull_number}/commits https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request
List pull requests files
$client->pulls()->listPullRequestsFiles()
/repos/{owner}/{repo}/pulls/{pull_number}/files https://docs.github.com/rest/pulls/pulls#list-pull-requests-files
Check if a pull request has been merged
$client->pulls()->checkIfAPullRequestHasBeenMerged()
/repos/{owner}/{repo}/pulls/{pull_number}/merge https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged
Merge a pull request
$client->pulls()->mergeAPullRequest()
/repos/{owner}/{repo}/pulls/{pull_number}/merge https://docs.github.com/rest/pulls/pulls#merge-a-pull-request
Get all requested reviewers for a pull request
$client->pulls()->getAllRequestedReviewersForAPullRequest()
/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request
Request reviewers for a pull request
$client->pulls()->requestReviewersForAPullRequest()
/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request
Remove requested reviewers from a pull request
$client->pulls()->removeRequestedReviewersFromAPullRequest()
/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request
List reviews for a pull request
$client->pulls()->listReviewsForAPullRequest()
/repos/{owner}/{repo}/pulls/{pull_number}/reviews https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request
Create a review for a pull request
$client->pulls()->createAReviewForAPullRequest()
/repos/{owner}/{repo}/pulls/{pull_number}/reviews https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request
Get a review for a pull request
$client->pulls()->getAReviewForAPullRequest()
/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request
Update a review for a pull request
$client->pulls()->updateAReviewForAPullRequest()
/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request
Delete a pending review for a pull request
$client->pulls()->deleteAPendingReviewForAPullRequest()
/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request
List comments for a pull request review
$client->pulls()->listCommentsForAPullRequestReview()
/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review
Dismiss a review for a pull request
$client->pulls()->dismissAReviewForAPullRequest()
/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request
Submit a review for a pull request
$client->pulls()->submitAReviewForAPullRequest()
/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request
Update a pull request branch
$client->pulls()->updateAPullRequestBranch()
/repos/{owner}/{repo}/pulls/{pull_number}/update-branch https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch
Get a repository README
$client->repos()->getARepositoryREADME()
/repos/{owner}/{repo}/readme https://docs.github.com/rest/repos/contents#get-a-repository-readme
Get a repository README for a directory
$client->repos()->getARepositoryREADMEForADirectory()
/repos/{owner}/{repo}/readme/{dir} https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory
List releases
$client->repos()->listReleases()
/repos/{owner}/{repo}/releases https://docs.github.com/rest/releases/releases#list-releases
Create a release
$client->repos()->createARelease()
/repos/{owner}/{repo}/releases https://docs.github.com/rest/releases/releases#create-a-release
Get a release asset
$client->repos()->getAReleaseAsset()
/repos/{owner}/{repo}/releases/assets/{asset_id} https://docs.github.com/rest/releases/assets#get-a-release-asset
Update a release asset
$client->repos()->updateAReleaseAsset()
/repos/{owner}/{repo}/releases/assets/{asset_id} https://docs.github.com/rest/releases/assets#update-a-release-asset
Delete a release asset
$client->repos()->deleteAReleaseAsset()
/repos/{owner}/{repo}/releases/assets/{asset_id} https://docs.github.com/rest/releases/assets#delete-a-release-asset
Generate release notes content for a release
$client->repos()->generateReleaseNotesContentForARelease()
/repos/{owner}/{repo}/releases/generate-notes https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release
Get the latest release
$client->repos()->getTheLatestRelease()
/repos/{owner}/{repo}/releases/latest https://docs.github.com/rest/releases/releases#get-the-latest-release
Get a release by tag name
$client->repos()->getAReleaseByTagName()
/repos/{owner}/{repo}/releases/tags/{tag} https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name
Get a release
$client->repos()->getARelease()
/repos/{owner}/{repo}/releases/{release_id} https://docs.github.com/rest/releases/releases#get-a-release
Update a release
$client->repos()->updateARelease()
/repos/{owner}/{repo}/releases/{release_id} https://docs.github.com/rest/releases/releases#update-a-release
Delete a release
$client->repos()->deleteARelease()
/repos/{owner}/{repo}/releases/{release_id} https://docs.github.com/rest/releases/releases#delete-a-release
List release assets
$client->repos()->listReleaseAssets()
/repos/{owner}/{repo}/releases/{release_id}/assets https://docs.github.com/rest/releases/assets#list-release-assets
Upload a release asset
$client->repos()->uploadAReleaseAsset()
/repos/{owner}/{repo}/releases/{release_id}/assets https://docs.github.com/rest/releases/assets#upload-a-release-asset
List reactions for a release
$client->reactions()->listReactionsForARelease()
/repos/{owner}/{repo}/releases/{release_id}/reactions https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release
Create reaction for a release
$client->reactions()->createReactionForARelease()
/repos/{owner}/{repo}/releases/{release_id}/reactions https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release
Delete a release reaction
$client->reactions()->deleteAReleaseReaction()
/repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id} https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction
Get rules for a branch
$client->repos()->getRulesForABranch()
/repos/{owner}/{repo}/rules/branches/{branch} https://docs.github.com/rest/repos/rules#get-rules-for-a-branch
Get all repository rulesets
$client->repos()->getAllRepositoryRulesets()
/repos/{owner}/{repo}/rulesets https://docs.github.com/rest/repos/rules#get-all-repository-rulesets
Create a repository ruleset
$client->repos()->createARepositoryRuleset()
/repos/{owner}/{repo}/rulesets https://docs.github.com/rest/repos/rules#create-a-repository-ruleset
List repository rule suites
$client->repos()->listRepositoryRuleSuites()
/repos/{owner}/{repo}/rulesets/rule-suites https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites
Get a repository rule suite
$client->repos()->getARepositoryRuleSuite()
/repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id} https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite
Get a repository ruleset
$client->repos()->getARepositoryRuleset()
/repos/{owner}/{repo}/rulesets/{ruleset_id} https://docs.github.com/rest/repos/rules#get-a-repository-ruleset
Update a repository ruleset
$client->repos()->updateARepositoryRuleset()
/repos/{owner}/{repo}/rulesets/{ruleset_id} https://docs.github.com/rest/repos/rules#update-a-repository-ruleset
Delete a repository ruleset
$client->repos()->deleteARepositoryRuleset()
/repos/{owner}/{repo}/rulesets/{ruleset_id} https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset
List secret scanning alerts for a repository
$client->secretScanning()->listSecretScanningAlertsForARepository()
/repos/{owner}/{repo}/secret-scanning/alerts https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository
Get a secret scanning alert
$client->secretScanning()->getASecretScanningAlert()
/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number} https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert
Update a secret scanning alert
$client->secretScanning()->updateASecretScanningAlert()
/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number} https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert
List locations for a secret scanning alert
$client->secretScanning()->listLocationsForASecretScanningAlert()
/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert
List repository security advisories
$client->securityAdvisories()->listRepositorySecurityAdvisories()
/repos/{owner}/{repo}/security-advisories https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories
Create a repository security advisory
$client->securityAdvisories()->createARepositorySecurityAdvisory()
/repos/{owner}/{repo}/security-advisories https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory
Privately report a security vulnerability
$client->securityAdvisories()->privatelyReportASecurityVulnerability()
/repos/{owner}/{repo}/security-advisories/reports https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability
Get a repository security advisory
$client->securityAdvisories()->getARepositorySecurityAdvisory()
/repos/{owner}/{repo}/security-advisories/{ghsa_id} https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory
Update a repository security advisory
$client->securityAdvisories()->updateARepositorySecurityAdvisory()
/repos/{owner}/{repo}/security-advisories/{ghsa_id} https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory
Request a CVE for a repository security advisory
$client->securityAdvisories()->requestACVEForARepositorySecurityAdvisory()
/repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory
List stargazers
$client->activity()->listStargazers()
/repos/{owner}/{repo}/stargazers https://docs.github.com/rest/activity/starring#list-stargazers
Get the weekly commit activity
$client->repos()->getTheWeeklyCommitActivity()
/repos/{owner}/{repo}/stats/code_frequency https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity
Get the last year of commit activity
$client->repos()->getTheLastYearOfCommitActivity()
/repos/{owner}/{repo}/stats/commit_activity https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity
Get all contributor commit activity
$client->repos()->getAllContributorCommitActivity()
/repos/{owner}/{repo}/stats/contributors https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity
Get the weekly commit count
$client->repos()->getTheWeeklyCommitCount()
/repos/{owner}/{repo}/stats/participation https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count
Get the hourly commit count for each day
$client->repos()->getTheHourlyCommitCountForEachDay()
/repos/{owner}/{repo}/stats/punch_card https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day
Create a commit status
$client->repos()->createACommitStatus()
/repos/{owner}/{repo}/statuses/{sha} https://docs.github.com/rest/commits/statuses#create-a-commit-status
List watchers
$client->activity()->listWatchers()
/repos/{owner}/{repo}/subscribers https://docs.github.com/rest/activity/watching#list-watchers
Get a repository subscription
$client->activity()->getARepositorySubscription()
/repos/{owner}/{repo}/subscription https://docs.github.com/rest/activity/watching#get-a-repository-subscription
Set a repository subscription
$client->activity()->setARepositorySubscription()
/repos/{owner}/{repo}/subscription https://docs.github.com/rest/activity/watching#set-a-repository-subscription
Delete a repository subscription
$client->activity()->deleteARepositorySubscription()
/repos/{owner}/{repo}/subscription https://docs.github.com/rest/activity/watching#delete-a-repository-subscription
List repository tags
$client->repos()->listRepositoryTags()
/repos/{owner}/{repo}/tags https://docs.github.com/rest/repos/repos#list-repository-tags
List tag protection states for a repository
$client->repos()->listTagProtectionStatesForARepository()
/repos/{owner}/{repo}/tags/protection https://docs.github.com/rest/repos/tags#list-tag-protection-states-for-a-repository
Create a tag protection state for a repository
$client->repos()->createATagProtectionStateForARepository()
/repos/{owner}/{repo}/tags/protection https://docs.github.com/rest/repos/tags#create-a-tag-protection-state-for-a-repository
Delete a tag protection state for a repository
$client->repos()->deleteATagProtectionStateForARepository()
/repos/{owner}/{repo}/tags/protection/{tag_protection_id} https://docs.github.com/rest/repos/tags#delete-a-tag-protection-state-for-a-repository
Download a repository archive (tar)
$client->repos()->downloadARepositoryArchiveTar()
/repos/{owner}/{repo}/tarball/{ref} https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar
List repository teams
$client->repos()->listRepositoryTeams()
/repos/{owner}/{repo}/teams https://docs.github.com/rest/repos/repos#list-repository-teams
Get all repository topics
$client->repos()->getAllRepositoryTopics()
/repos/{owner}/{repo}/topics https://docs.github.com/rest/repos/repos#get-all-repository-topics
Replace all repository topics
$client->repos()->replaceAllRepositoryTopics()
/repos/{owner}/{repo}/topics https://docs.github.com/rest/repos/repos#replace-all-repository-topics
Get repository clones
$client->repos()->getRepositoryClones()
/repos/{owner}/{repo}/traffic/clones https://docs.github.com/rest/metrics/traffic#get-repository-clones
Get top referral paths
$client->repos()->getTopReferralPaths()
/repos/{owner}/{repo}/traffic/popular/paths https://docs.github.com/rest/metrics/traffic#get-top-referral-paths
Get top referral sources
$client->repos()->getTopReferralSources()
/repos/{owner}/{repo}/traffic/popular/referrers https://docs.github.com/rest/metrics/traffic#get-top-referral-sources
Get page views
$client->repos()->getPageViews()
/repos/{owner}/{repo}/traffic/views https://docs.github.com/rest/metrics/traffic#get-page-views
Transfer a repository
$client->repos()->transferARepository()
/repos/{owner}/{repo}/transfer https://docs.github.com/rest/repos/repos#transfer-a-repository
Check if vulnerability alerts are enabled for a repository
$client->repos()->checkIfVulnerabilityAlertsAreEnabledForARepository()
/repos/{owner}/{repo}/vulnerability-alerts https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository
Enable vulnerability alerts
$client->repos()->enableVulnerabilityAlerts()
/repos/{owner}/{repo}/vulnerability-alerts https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts
Disable vulnerability alerts
$client->repos()->disableVulnerabilityAlerts()
/repos/{owner}/{repo}/vulnerability-alerts https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts
Download a repository archive (zip)
$client->repos()->downloadARepositoryArchiveZip()
/repos/{owner}/{repo}/zipball/{ref} https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip
Create a repository using a template
$client->repos()->createARepositoryUsingATemplate()
/repos/{template_owner}/{template_repo}/generate https://docs.github.com/rest/repos/repos#create-a-repository-using-a-template
List public repositories
$client->repos()->listPublicRepositories()
/repositories https://docs.github.com/rest/repos/repos#list-public-repositories
List environment secrets
$client->actions()->listEnvironmentSecrets()
/repositories/{repository_id}/environments/{environment_name}/secrets https://docs.github.com/rest/actions/secrets#list-environment-secrets
Get an environment public key
$client->actions()->getAnEnvironmentPublicKey()
/repositories/{repository_id}/environments/{environment_name}/secrets/public-key https://docs.github.com/rest/actions/secrets#get-an-environment-public-key
Get an environment secret
$client->actions()->getAnEnvironmentSecret()
/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name} https://docs.github.com/rest/actions/secrets#get-an-environment-secret
Create or update an environment secret
$client->actions()->createOrUpdateAnEnvironmentSecret()
/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name} https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret
Delete an environment secret
$client->actions()->deleteAnEnvironmentSecret()
/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name} https://docs.github.com/rest/actions/secrets#delete-an-environment-secret
List environment variables
$client->actions()->listEnvironmentVariables()
/repositories/{repository_id}/environments/{environment_name}/variables https://docs.github.com/rest/actions/variables#list-environment-variables
Create an environment variable
$client->actions()->createAnEnvironmentVariable()
/repositories/{repository_id}/environments/{environment_name}/variables https://docs.github.com/rest/actions/variables#create-an-environment-variable
Get an environment variable
$client->actions()->getAnEnvironmentVariable()
/repositories/{repository_id}/environments/{environment_name}/variables/{name} https://docs.github.com/rest/actions/variables#get-an-environment-variable
Update an environment variable
$client->actions()->updateAnEnvironmentVariable()
/repositories/{repository_id}/environments/{environment_name}/variables/{name} https://docs.github.com/rest/actions/variables#update-an-environment-variable
Delete an environment variable
$client->actions()->deleteAnEnvironmentVariable()
/repositories/{repository_id}/environments/{environment_name}/variables/{name} https://docs.github.com/rest/actions/variables#delete-an-environment-variable
Search code
$client->search()->searchCode()
/search/code https://docs.github.com/rest/search/search#search-code
Search commits
$client->search()->searchCommits()
/search/commits https://docs.github.com/rest/search/search#search-commits
Search issues and pull requests
$client->search()->searchIssuesAndPullRequests()
/search/issues https://docs.github.com/rest/search/search#search-issues-and-pull-requests
Search labels
$client->search()->searchLabels()
/search/labels https://docs.github.com/rest/search/search#search-labels
Search repositories
$client->search()->searchRepositories()
/search/repositories https://docs.github.com/rest/search/search#search-repositories
Search topics
$client->search()->searchTopics()
/search/topics https://docs.github.com/rest/search/search#search-topics
Search users
$client->search()->searchUsers()
/search/users https://docs.github.com/rest/search/search#search-users
Get a team (Legacy)
$client->teams()->getATeamLegacy()
/teams/{team_id} https://docs.github.com/rest/teams/teams#get-a-team-legacy
Update a team (Legacy)
$client->teams()->updateATeamLegacy()
/teams/{team_id} https://docs.github.com/rest/teams/teams#update-a-team-legacy
Delete a team (Legacy)
$client->teams()->deleteATeamLegacy()
/teams/{team_id} https://docs.github.com/rest/teams/teams#delete-a-team-legacy
List discussions (Legacy)
$client->teams()->listDiscussionsLegacy()
/teams/{team_id}/discussions https://docs.github.com/rest/teams/discussions#list-discussions-legacy
Create a discussion (Legacy)
$client->teams()->createADiscussionLegacy()
/teams/{team_id}/discussions https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy
Get a discussion (Legacy)
$client->teams()->getADiscussionLegacy()
/teams/{team_id}/discussions/{discussion_number} https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy
Update a discussion (Legacy)
$client->teams()->updateADiscussionLegacy()
/teams/{team_id}/discussions/{discussion_number} https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy
Delete a discussion (Legacy)
$client->teams()->deleteADiscussionLegacy()
/teams/{team_id}/discussions/{discussion_number} https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy
List discussion comments (Legacy)
$client->teams()->listDiscussionCommentsLegacy()
/teams/{team_id}/discussions/{discussion_number}/comments https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy
Create a discussion comment (Legacy)
$client->teams()->createADiscussionCommentLegacy()
/teams/{team_id}/discussions/{discussion_number}/comments https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy
Get a discussion comment (Legacy)
$client->teams()->getADiscussionCommentLegacy()
/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number} https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy
Update a discussion comment (Legacy)
$client->teams()->updateADiscussionCommentLegacy()
/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number} https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy
Delete a discussion comment (Legacy)
$client->teams()->deleteADiscussionCommentLegacy()
/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number} https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy
List reactions for a team discussion comment (Legacy)
$client->reactions()->listReactionsForATeamDiscussionCommentLegacy()
/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy
Create reaction for a team discussion comment (Legacy)
$client->reactions()->createReactionForATeamDiscussionCommentLegacy()
/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy
List reactions for a team discussion (Legacy)
$client->reactions()->listReactionsForATeamDiscussionLegacy()
/teams/{team_id}/discussions/{discussion_number}/reactions https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy
Create reaction for a team discussion (Legacy)
$client->reactions()->createReactionForATeamDiscussionLegacy()
/teams/{team_id}/discussions/{discussion_number}/reactions https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy
List pending team invitations (Legacy)
$client->teams()->listPendingTeamInvitationsLegacy()
/teams/{team_id}/invitations https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy
List team members (Legacy)
$client->teams()->listTeamMembersLegacy()
/teams/{team_id}/members https://docs.github.com/rest/teams/members#list-team-members-legacy
Get team member (Legacy)
$client->teams()->getTeamMemberLegacy()
/teams/{team_id}/members/{username} https://docs.github.com/rest/teams/members#get-team-member-legacy
Add team member (Legacy)
$client->teams()->addTeamMemberLegacy()
/teams/{team_id}/members/{username} https://docs.github.com/rest/teams/members#add-team-member-legacy
Remove team member (Legacy)
$client->teams()->removeTeamMemberLegacy()
/teams/{team_id}/members/{username} https://docs.github.com/rest/teams/members#remove-team-member-legacy
Get team membership for a user (Legacy)
$client->teams()->getTeamMembershipForAUserLegacy()
/teams/{team_id}/memberships/{username} https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy
Add or update team membership for a user (Legacy)
$client->teams()->addOrUpdateTeamMembershipForAUserLegacy()
/teams/{team_id}/memberships/{username} https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy
Remove team membership for a user (Legacy)
$client->teams()->removeTeamMembershipForAUserLegacy()
/teams/{team_id}/memberships/{username} https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy
List team projects (Legacy)
$client->teams()->listTeamProjectsLegacy()
/teams/{team_id}/projects https://docs.github.com/rest/teams/teams#list-team-projects-legacy
Check team permissions for a project (Legacy)
$client->teams()->checkTeamPermissionsForAProjectLegacy()
/teams/{team_id}/projects/{project_id} https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy
Add or update team project permissions (Legacy)
$client->teams()->addOrUpdateTeamProjectPermissionsLegacy()
/teams/{team_id}/projects/{project_id} https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy
Remove a project from a team (Legacy)
$client->teams()->removeAProjectFromATeamLegacy()
/teams/{team_id}/projects/{project_id} https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy
List team repositories (Legacy)
$client->teams()->listTeamRepositoriesLegacy()
/teams/{team_id}/repos https://docs.github.com/rest/teams/teams#list-team-repositories-legacy
Check team permissions for a repository (Legacy)
$client->teams()->checkTeamPermissionsForARepositoryLegacy()
/teams/{team_id}/repos/{owner}/{repo} https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy
Add or update team repository permissions (Legacy)
$client->teams()->addOrUpdateTeamRepositoryPermissionsLegacy()
/teams/{team_id}/repos/{owner}/{repo} https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy
Remove a repository from a team (Legacy)
$client->teams()->removeARepositoryFromATeamLegacy()
/teams/{team_id}/repos/{owner}/{repo} https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy
List child teams (Legacy)
$client->teams()->listChildTeamsLegacy()
/teams/{team_id}/teams https://docs.github.com/rest/teams/teams#list-child-teams-legacy
Get the authenticated user
$client->users()->getTheAuthenticatedUser()
/user https://docs.github.com/rest/users/users#get-the-authenticated-user
Update the authenticated user
$client->users()->updateTheAuthenticatedUser()
/user https://docs.github.com/rest/users/users#update-the-authenticated-user
List users blocked by the authenticated user
$client->users()->listUsersBlockedByTheAuthenticatedUser()
/user/blocks https://docs.github.com/rest/users/blocking#list-users-blocked-by-the-authenticated-user
Check if a user is blocked by the authenticated user
$client->users()->checkIfAUserIsBlockedByTheAuthenticatedUser()
/user/blocks/{username} https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user
Block a user
$client->users()->blockAUser()
/user/blocks/{username} https://docs.github.com/rest/users/blocking#block-a-user
Unblock a user
$client->users()->unblockAUser()
/user/blocks/{username} https://docs.github.com/rest/users/blocking#unblock-a-user
List codespaces for the authenticated user
$client->codespaces()->listCodespacesForTheAuthenticatedUser()
/user/codespaces https://docs.github.com/rest/codespaces/codespaces#list-codespaces-for-the-authenticated-user
Create a codespace for the authenticated user
$client->codespaces()->createACodespaceForTheAuthenticatedUser()
/user/codespaces https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-for-the-authenticated-user
List secrets for the authenticated user
$client->codespaces()->listSecretsForTheAuthenticatedUser()
/user/codespaces/secrets https://docs.github.com/rest/codespaces/secrets#list-secrets-for-the-authenticated-user
Get public key for the authenticated user
$client->codespaces()->getPublicKeyForTheAuthenticatedUser()
/user/codespaces/secrets/public-key https://docs.github.com/rest/codespaces/secrets#get-public-key-for-the-authenticated-user
Get a secret for the authenticated user
$client->codespaces()->getASecretForTheAuthenticatedUser()
/user/codespaces/secrets/{secret_name} https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user
Create or update a secret for the authenticated user
$client->codespaces()->createOrUpdateASecretForTheAuthenticatedUser()
/user/codespaces/secrets/{secret_name} https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user
Delete a secret for the authenticated user
$client->codespaces()->deleteASecretForTheAuthenticatedUser()
/user/codespaces/secrets/{secret_name} https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user
List selected repositories for a user secret
$client->codespaces()->listSelectedRepositoriesForAUserSecret()
/user/codespaces/secrets/{secret_name}/repositories https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret
Set selected repositories for a user secret
$client->codespaces()->setSelectedRepositoriesForAUserSecret()
/user/codespaces/secrets/{secret_name}/repositories https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret
Add a selected repository to a user secret
$client->codespaces()->addASelectedRepositoryToAUserSecret()
/user/codespaces/secrets/{secret_name}/repositories/{repository_id} https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret
Remove a selected repository from a user secret
$client->codespaces()->removeASelectedRepositoryFromAUserSecret()
/user/codespaces/secrets/{secret_name}/repositories/{repository_id} https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret
Get a codespace for the authenticated user
$client->codespaces()->getACodespaceForTheAuthenticatedUser()
/user/codespaces/{codespace_name} https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user
Update a codespace for the authenticated user
$client->codespaces()->updateACodespaceForTheAuthenticatedUser()
/user/codespaces/{codespace_name} https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user
Delete a codespace for the authenticated user
$client->codespaces()->deleteACodespaceForTheAuthenticatedUser()
/user/codespaces/{codespace_name} https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user
Export a codespace for the authenticated user
$client->codespaces()->exportACodespaceForTheAuthenticatedUser()
/user/codespaces/{codespace_name}/exports https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user
Get details about a codespace export
$client->codespaces()->getDetailsAboutACodespaceExport()
/user/codespaces/{codespace_name}/exports/{export_id} https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export
List machine types for a codespace
$client->codespaces()->listMachineTypesForACodespace()
/user/codespaces/{codespace_name}/machines https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace
Create a repository from an unpublished codespace
$client->codespaces()->createARepositoryFromAnUnpublishedCodespace()
/user/codespaces/{codespace_name}/publish https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace
Start a codespace for the authenticated user
$client->codespaces()->startACodespaceForTheAuthenticatedUser()
/user/codespaces/{codespace_name}/start https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user
Stop a codespace for the authenticated user
$client->codespaces()->stopACodespaceForTheAuthenticatedUser()
/user/codespaces/{codespace_name}/stop https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user
Get list of conflicting packages during Docker migration for authenticated-user
$client->packages()->getListOfConflictingPackagesDuringDockerMigrationForAuthenticatedUser()
/user/docker/conflicts https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-authenticated-user
Set primary email visibility for the authenticated user
$client->users()->setPrimaryEmailVisibilityForTheAuthenticatedUser()
/user/email/visibility https://docs.github.com/rest/users/emails#set-primary-email-visibility-for-the-authenticated-user
List email addresses for the authenticated user
$client->users()->listEmailAddressesForTheAuthenticatedUser()
/user/emails https://docs.github.com/rest/users/emails#list-email-addresses-for-the-authenticated-user
Add an email address for the authenticated user
$client->users()->addAnEmailAddressForTheAuthenticatedUser()
/user/emails https://docs.github.com/rest/users/emails#add-an-email-address-for-the-authenticated-user
Delete an email address for the authenticated user
$client->users()->deleteAnEmailAddressForTheAuthenticatedUser()
/user/emails https://docs.github.com/rest/users/emails#delete-an-email-address-for-the-authenticated-user
List followers of the authenticated user
$client->users()->listFollowersOfTheAuthenticatedUser()
/user/followers https://docs.github.com/rest/users/followers#list-followers-of-the-authenticated-user
List the people the authenticated user follows
$client->users()->listThePeopleTheAuthenticatedUserFollows()
/user/following https://docs.github.com/rest/users/followers#list-the-people-the-authenticated-user-follows
Check if a person is followed by the authenticated user
$client->users()->checkIfAPersonIsFollowedByTheAuthenticatedUser()
/user/following/{username} https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user
Follow a user
$client->users()->followAUser()
/user/following/{username} https://docs.github.com/rest/users/followers#follow-a-user
Unfollow a user
$client->users()->unfollowAUser()
/user/following/{username} https://docs.github.com/rest/users/followers#unfollow-a-user
List GPG keys for the authenticated user
$client->users()->listGPGKeysForTheAuthenticatedUser()
/user/gpg_keys https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-the-authenticated-user
Create a GPG key for the authenticated user
$client->users()->createAGPGKeyForTheAuthenticatedUser()
/user/gpg_keys https://docs.github.com/rest/users/gpg-keys#create-a-gpg-key-for-the-authenticated-user
Get a GPG key for the authenticated user
$client->users()->getAGPGKeyForTheAuthenticatedUser()
/user/gpg_keys/{gpg_key_id} https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user
Delete a GPG key for the authenticated user
$client->users()->deleteAGPGKeyForTheAuthenticatedUser()
/user/gpg_keys/{gpg_key_id} https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user
List app installations accessible to the user access token
$client->apps()->listAppInstallationsAccessibleToTheUserAccessToken()
/user/installations https://docs.github.com/rest/apps/installations#list-app-installations-accessible-to-the-user-access-token
List repositories accessible to the user access token
$client->apps()->listRepositoriesAccessibleToTheUserAccessToken()
/user/installations/{installation_id}/repositories https://docs.github.com/rest/apps/installations#list-repositories-accessible-to-the-user-access-token
Add a repository to an app installation
$client->apps()->addARepositoryToAnAppInstallation()
/user/installations/{installation_id}/repositories/{repository_id} https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation
Remove a repository from an app installation
$client->apps()->removeARepositoryFromAnAppInstallation()
/user/installations/{installation_id}/repositories/{repository_id} https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation
Get interaction restrictions for your public repositories
$client->interactions()->getInteractionRestrictionsForYourPublicRepositories()
/user/interaction-limits https://docs.github.com/rest/interactions/user#get-interaction-restrictions-for-your-public-repositories
Set interaction restrictions for your public repositories
$client->interactions()->setInteractionRestrictionsForYourPublicRepositories()
/user/interaction-limits https://docs.github.com/rest/interactions/user#set-interaction-restrictions-for-your-public-repositories
Remove interaction restrictions from your public repositories
$client->interactions()->removeInteractionRestrictionsFromYourPublicRepositories()
/user/interaction-limits https://docs.github.com/rest/interactions/user#remove-interaction-restrictions-from-your-public-repositories
List user account issues assigned to the authenticated user
$client->issues()->listUserAccountIssuesAssignedToTheAuthenticatedUser()
/user/issues https://docs.github.com/rest/issues/issues#list-user-account-issues-assigned-to-the-authenticated-user
List public SSH keys for the authenticated user
$client->users()->listPublicSSHKeysForTheAuthenticatedUser()
/user/keys https://docs.github.com/rest/users/keys#list-public-ssh-keys-for-the-authenticated-user
Create a public SSH key for the authenticated user
$client->users()->createAPublicSSHKeyForTheAuthenticatedUser()
/user/keys https://docs.github.com/rest/users/keys#create-a-public-ssh-key-for-the-authenticated-user
Get a public SSH key for the authenticated user
$client->users()->getAPublicSSHKeyForTheAuthenticatedUser()
/user/keys/{key_id} https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user
Delete a public SSH key for the authenticated user
$client->users()->deleteAPublicSSHKeyForTheAuthenticatedUser()
/user/keys/{key_id} https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user
List subscriptions for the authenticated user
$client->apps()->listSubscriptionsForTheAuthenticatedUser()
/user/marketplace_purchases https://docs.github.com/rest/apps/marketplace#list-subscriptions-for-the-authenticated-user
List subscriptions for the authenticated user (stubbed)
$client->apps()->listSubscriptionsForTheAuthenticatedUserStubbed()
/user/marketplace_purchases/stubbed https://docs.github.com/rest/apps/marketplace#list-subscriptions-for-the-authenticated-user-stubbed
List organization memberships for the authenticated user
$client->orgs()->listOrganizationMembershipsForTheAuthenticatedUser()
/user/memberships/orgs https://docs.github.com/rest/orgs/members#list-organization-memberships-for-the-authenticated-user
Get an organization membership for the authenticated user
$client->orgs()->getAnOrganizationMembershipForTheAuthenticatedUser()
/user/memberships/orgs/{org} https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user
Update an organization membership for the authenticated user
$client->orgs()->updateAnOrganizationMembershipForTheAuthenticatedUser()
/user/memberships/orgs/{org} https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user
List user migrations
$client->migrations()->listUserMigrations()
/user/migrations https://docs.github.com/rest/migrations/users#list-user-migrations
Start a user migration
$client->migrations()->startAUserMigration()
/user/migrations https://docs.github.com/rest/migrations/users#start-a-user-migration
Get a user migration status
$client->migrations()->getAUserMigrationStatus()
/user/migrations/{migration_id} https://docs.github.com/rest/migrations/users#get-a-user-migration-status
Download a user migration archive
$client->migrations()->downloadAUserMigrationArchive()
/user/migrations/{migration_id}/archive https://docs.github.com/rest/migrations/users#download-a-user-migration-archive
Delete a user migration archive
$client->migrations()->deleteAUserMigrationArchive()
/user/migrations/{migration_id}/archive https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive
Unlock a user repository
$client->migrations()->unlockAUserRepository()
/user/migrations/{migration_id}/repos/{repo_name}/lock https://docs.github.com/rest/migrations/users#unlock-a-user-repository
List repositories for a user migration
$client->migrations()->listRepositoriesForAUserMigration()
/user/migrations/{migration_id}/repositories https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration
List organizations for the authenticated user
$client->orgs()->listOrganizationsForTheAuthenticatedUser()
/user/orgs https://docs.github.com/rest/orgs/orgs#list-organizations-for-the-authenticated-user
List packages for the authenticated user's namespace
$client->packages()->listPackagesForTheAuthenticatedUserSNamespace()
/user/packages https://docs.github.com/rest/packages/packages#list-packages-for-the-authenticated-users-namespace
Get a package for the authenticated user
$client->packages()->getAPackageForTheAuthenticatedUser()
/user/packages/{package_type}/{package_name} https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user
Delete a package for the authenticated user
$client->packages()->deleteAPackageForTheAuthenticatedUser()
/user/packages/{package_type}/{package_name} https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user
Restore a package for the authenticated user
$client->packages()->restoreAPackageForTheAuthenticatedUser()
/user/packages/{package_type}/{package_name}/restore https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user
List package versions for a package owned by the authenticated user
$client->packages()->listPackageVersionsForAPackageOwnedByTheAuthenticatedUser()
/user/packages/{package_type}/{package_name}/versions https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user
Get a package version for the authenticated user
$client->packages()->getAPackageVersionForTheAuthenticatedUser()
/user/packages/{package_type}/{package_name}/versions/{package_version_id} https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user
Delete a package version for the authenticated user
$client->packages()->deleteAPackageVersionForTheAuthenticatedUser()
/user/packages/{package_type}/{package_name}/versions/{package_version_id} https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user
Restore a package version for the authenticated user
$client->packages()->restoreAPackageVersionForTheAuthenticatedUser()
/user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user
Create a user project
$client->projects()->createAUserProject()
/user/projects https://docs.github.com/rest/projects/projects#create-a-user-project
List public email addresses for the authenticated user
$client->users()->listPublicEmailAddressesForTheAuthenticatedUser()
/user/public_emails https://docs.github.com/rest/users/emails#list-public-email-addresses-for-the-authenticated-user
List repositories for the authenticated user
$client->repos()->listRepositoriesForTheAuthenticatedUser()
/user/repos https://docs.github.com/rest/repos/repos#list-repositories-for-the-authenticated-user
Create a repository for the authenticated user
$client->repos()->createARepositoryForTheAuthenticatedUser()
/user/repos https://docs.github.com/rest/repos/repos#create-a-repository-for-the-authenticated-user
List repository invitations for the authenticated user
$client->repos()->listRepositoryInvitationsForTheAuthenticatedUser()
/user/repository_invitations https://docs.github.com/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user
Accept a repository invitation
$client->repos()->acceptARepositoryInvitation()
/user/repository_invitations/{invitation_id} https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation
Decline a repository invitation
$client->repos()->declineARepositoryInvitation()
/user/repository_invitations/{invitation_id} https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation
List social accounts for the authenticated user
$client->users()->listSocialAccountsForTheAuthenticatedUser()
/user/social_accounts https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-the-authenticated-user
Add social accounts for the authenticated user
$client->users()->addSocialAccountsForTheAuthenticatedUser()
/user/social_accounts https://docs.github.com/rest/users/social-accounts#add-social-accounts-for-the-authenticated-user
Delete social accounts for the authenticated user
$client->users()->deleteSocialAccountsForTheAuthenticatedUser()
/user/social_accounts https://docs.github.com/rest/users/social-accounts#delete-social-accounts-for-the-authenticated-user
List SSH signing keys for the authenticated user
$client->users()->listSSHSigningKeysForTheAuthenticatedUser()
/user/ssh_signing_keys https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-the-authenticated-user
Create a SSH signing key for the authenticated user
$client->users()->createASSHSigningKeyForTheAuthenticatedUser()
/user/ssh_signing_keys https://docs.github.com/rest/users/ssh-signing-keys#create-a-ssh-signing-key-for-the-authenticated-user
Get an SSH signing key for the authenticated user
$client->users()->getAnSSHSigningKeyForTheAuthenticatedUser()
/user/ssh_signing_keys/{ssh_signing_key_id} https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user
Delete an SSH signing key for the authenticated user
$client->users()->deleteAnSSHSigningKeyForTheAuthenticatedUser()
/user/ssh_signing_keys/{ssh_signing_key_id} https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user
List repositories starred by the authenticated user
$client->activity()->listRepositoriesStarredByTheAuthenticatedUser()
/user/starred https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user
Check if a repository is starred by the authenticated user
$client->activity()->checkIfARepositoryIsStarredByTheAuthenticatedUser()
/user/starred/{owner}/{repo} https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user
Star a repository for the authenticated user
$client->activity()->starARepositoryForTheAuthenticatedUser()
/user/starred/{owner}/{repo} https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user
Unstar a repository for the authenticated user
$client->activity()->unstarARepositoryForTheAuthenticatedUser()
/user/starred/{owner}/{repo} https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user
List repositories watched by the authenticated user
$client->activity()->listRepositoriesWatchedByTheAuthenticatedUser()
/user/subscriptions https://docs.github.com/rest/activity/watching#list-repositories-watched-by-the-authenticated-user
List teams for the authenticated user
$client->teams()->listTeamsForTheAuthenticatedUser()
/user/teams https://docs.github.com/rest/teams/teams#list-teams-for-the-authenticated-user
List users
$client->users()->listUsers()
/users https://docs.github.com/rest/users/users#list-users
Get a user
$client->users()->getAUser()
/users/{username} https://docs.github.com/rest/users/users#get-a-user
Get list of conflicting packages during Docker migration for user
$client->packages()->getListOfConflictingPackagesDuringDockerMigrationForUser()
/users/{username}/docker/conflicts https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user
List events for the authenticated user
$client->activity()->listEventsForTheAuthenticatedUser()
/users/{username}/events https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user
List organization events for the authenticated user
$client->activity()->listOrganizationEventsForTheAuthenticatedUser()
/users/{username}/events/orgs/{org} https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user
List public events for a user
$client->activity()->listPublicEventsForAUser()
/users/{username}/events/public https://docs.github.com/rest/activity/events#list-public-events-for-a-user
List followers of a user
$client->users()->listFollowersOfAUser()
/users/{username}/followers https://docs.github.com/rest/users/followers#list-followers-of-a-user
List the people a user follows
$client->users()->listThePeopleAUserFollows()
/users/{username}/following https://docs.github.com/rest/users/followers#list-the-people-a-user-follows
Check if a user follows another user
$client->users()->checkIfAUserFollowsAnotherUser()
/users/{username}/following/{target_user} https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user
List gists for a user
$client->gists()->listGistsForAUser()
/users/{username}/gists https://docs.github.com/rest/gists/gists#list-gists-for-a-user
List GPG keys for a user
$client->users()->listGPGKeysForAUser()
/users/{username}/gpg_keys https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user
Get contextual information for a user
$client->users()->getContextualInformationForAUser()
/users/{username}/hovercard https://docs.github.com/rest/users/users#get-contextual-information-for-a-user
Get a user installation for the authenticated app
$client->apps()->getAUserInstallationForTheAuthenticatedApp()
/users/{username}/installation https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app
List public keys for a user
$client->users()->listPublicKeysForAUser()
/users/{username}/keys https://docs.github.com/rest/users/keys#list-public-keys-for-a-user
List organizations for a user
$client->orgs()->listOrganizationsForAUser()
/users/{username}/orgs https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user
List packages for a user
$client->packages()->listPackagesForAUser()
/users/{username}/packages https://docs.github.com/rest/packages/packages#list-packages-for-a-user
Get a package for a user
$client->packages()->getAPackageForAUser()
/users/{username}/packages/{package_type}/{package_name} https://docs.github.com/rest/packages/packages#get-a-package-for-a-user
Delete a package for a user
$client->packages()->deleteAPackageForAUser()
/users/{username}/packages/{package_type}/{package_name} https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user
Restore a package for a user
$client->packages()->restoreAPackageForAUser()
/users/{username}/packages/{package_type}/{package_name}/restore https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user
List package versions for a package owned by a user
$client->packages()->listPackageVersionsForAPackageOwnedByAUser()
/users/{username}/packages/{package_type}/{package_name}/versions https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user
Get a package version for a user
$client->packages()->getAPackageVersionForAUser()
/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id} https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user
Delete package version for a user
$client->packages()->deletePackageVersionForAUser()
/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id} https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user
Restore package version for a user
$client->packages()->restorePackageVersionForAUser()
/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user
List user projects
$client->projects()->listUserProjects()
/users/{username}/projects https://docs.github.com/rest/projects/projects#list-user-projects
List events received by the authenticated user
$client->activity()->listEventsReceivedByTheAuthenticatedUser()
/users/{username}/received_events https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user
List public events received by a user
$client->activity()->listPublicEventsReceivedByAUser()
/users/{username}/received_events/public https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user
List repositories for a user
$client->repos()->listRepositoriesForAUser()
/users/{username}/repos https://docs.github.com/rest/repos/repos#list-repositories-for-a-user
Get GitHub Actions billing for a user
$client->billing()->getGitHubActionsBillingForAUser()
/users/{username}/settings/billing/actions https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user
Get GitHub Packages billing for a user
$client->billing()->getGitHubPackagesBillingForAUser()
/users/{username}/settings/billing/packages https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user
Get shared storage billing for a user
$client->billing()->getSharedStorageBillingForAUser()
/users/{username}/settings/billing/shared-storage https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user
List social accounts for a user
$client->users()->listSocialAccountsForAUser()
/users/{username}/social_accounts https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user
List SSH signing keys for a user
$client->users()->listSSHSigningKeysForAUser()
/users/{username}/ssh_signing_keys https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user
List repositories starred by a user
$client->activity()->listRepositoriesStarredByAUser()
/users/{username}/starred https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user
List repositories watched by a user
$client->activity()->listRepositoriesWatchedByAUser()
/users/{username}/subscriptions https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user
Get all API versions
$client->meta()->getAllAPIVersions()
/versions https://docs.github.com/rest/meta/meta#get-all-api-versions
Get the Zen of GitHub
$client->meta()->getTheZenOfGitHub()
/zen https://docs.github.com/rest/meta/meta#get-the-zen-of-github