# GitHub v3 REST API ## API Docs - meta [GitHub API Root](https://github.apidog.io/api-3488870.md): Get Hypermedia links to resources accessible in GitHub's REST API - meta [Get GitHub meta information](https://github.apidog.io/api-3488871.md): Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/)." - meta [Get Octocat](https://github.apidog.io/api-3488854.md): Get the octocat as ASCII art - meta [Get all API versions](https://github.apidog.io/api-4078714.md): Get all supported GitHub API versions. - meta [Get the Zen of GitHub](https://github.apidog.io/api-3488855.md): Get a random sentence from the Zen of GitHub - apps [Get the authenticated app](https://github.apidog.io/api-3488852.md): Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the "[List installations for the authenticated app](https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app)" endpoint. - apps [Create a GitHub App from a manifest](https://github.apidog.io/api-3488869.md): Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`. - apps [Get a webhook configuration for an app](https://github.apidog.io/api-3488853.md): Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)." - apps [Update a webhook configuration for an app](https://github.apidog.io/api-3488866.md): Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)." - apps [List deliveries for an app webhook](https://github.apidog.io/api-4078715.md): Returns a list of webhook deliveries for the webhook configured for a GitHub App. - apps [Get a delivery for an app webhook](https://github.apidog.io/api-4078716.md): Returns a delivery for the webhook configured for a GitHub App. - apps [Redeliver a delivery for an app webhook](https://github.apidog.io/api-4078717.md): Redeliver a delivery for the webhook configured for a GitHub App. - apps [List installations for the authenticated app](https://github.apidog.io/api-3488856.md): You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. - apps [Delete an installation for the authenticated app](https://github.apidog.io/api-3488858.md): Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/reference/apps/#suspend-an-app-installation)" endpoint. - apps [Get an installation for the authenticated app](https://github.apidog.io/api-3488862.md): Enables an authenticated GitHub App to find an installation's information using the installation id. - apps [Create an installation access token for an app](https://github.apidog.io/api-3488868.md): Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key. - apps [Revoke a grant for an application](https://github.apidog.io/api-3488857.md): **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/). - apps [Unsuspend an app installation](https://github.apidog.io/api-3488859.md): Removes a GitHub App installation suspension. - apps [Suspend an app installation](https://github.apidog.io/api-3488861.md): Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account. - apps [Delete an app authorization](https://github.apidog.io/api-3488860.md): OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted. - apps [Delete an app token](https://github.apidog.io/api-3488865.md): OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. - apps [Reset a token](https://github.apidog.io/api-3488863.md): OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. - apps [Check a token](https://github.apidog.io/api-3488864.md): OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. - apps [Revoke an authorization for an application](https://github.apidog.io/api-3488872.md): **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/). - apps [Create a scoped access token](https://github.apidog.io/api-3488867.md): Use a non-scoped user-to-server access token to create a repository scoped and/or permission scoped user-to-server access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the `client_id` and `client_secret` of the GitHub App as the username and password. Invalid tokens will return `404 NOT FOUND`. - apps [Check an authorization](https://github.apidog.io/api-3488873.md): **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/). - apps [Reset an authorization](https://github.apidog.io/api-3488874.md): **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/). - apps [Get an app](https://github.apidog.io/api-3488875.md): **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). - apps [List repositories accessible to the app installation](https://github.apidog.io/api-3488878.md): List repositories that an app installation can access. - apps [Create a content attachment](https://github.apidog.io/api-3488876.md): Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/webhooks/event-payloads/#content_reference) to create an attachment. - apps [Revoke an installation access token](https://github.apidog.io/api-3488877.md): Revokes the installation token you're using to authenticate as an installation and access this endpoint. - apps [Get a subscription plan for an account](https://github.apidog.io/api-3488881.md): Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - apps [List plans](https://github.apidog.io/api-3488882.md): Lists all plans that are part of your GitHub Marketplace listing. - apps [List accounts for a plan](https://github.apidog.io/api-3488884.md): Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - apps [Get a subscription plan for an account (stubbed)](https://github.apidog.io/api-3488883.md): Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - apps [List plans (stubbed)](https://github.apidog.io/api-3488879.md): Lists all plans that are part of your GitHub Marketplace listing. - apps [List accounts for a plan (stubbed)](https://github.apidog.io/api-3488880.md): Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - apps [Get an organization installation for the authenticated app](https://github.apidog.io/api-3488885.md): Enables an authenticated GitHub App to find the organization's installation information. - apps [Get a repository installation for the authenticated app](https://github.apidog.io/api-3488886.md): Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to. - apps [List app installations accessible to the user access token](https://github.apidog.io/api-3488887.md): Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access. - apps [List repositories accessible to the user access token](https://github.apidog.io/api-3488888.md): List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation. - apps [Remove a repository from an app installation](https://github.apidog.io/api-3488889.md): Remove a single repository from an installation. The authenticated user must have admin access to the repository. - apps [Add a repository to an app installation](https://github.apidog.io/api-3488891.md): Add a single repository to an installation. The authenticated user must have admin access to the repository. - apps [List subscriptions for the authenticated user](https://github.apidog.io/api-3488892.md): Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/). - apps [List subscriptions for the authenticated user (stubbed)](https://github.apidog.io/api-3488893.md): Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/). - apps [Get a user installation for the authenticated app](https://github.apidog.io/api-3488890.md): Enables an authenticated GitHub App to find the user’s installation information. - oauth-authorizations [List your grants](https://github.apidog.io/api-3488894.md): **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - oauth-authorizations [Delete a grant](https://github.apidog.io/api-3488895.md): **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - oauth-authorizations [Get a single grant](https://github.apidog.io/api-3488900.md): **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - oauth-authorizations [List your authorizations](https://github.apidog.io/api-3488899.md): **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - oauth-authorizations [Create a new authorization](https://github.apidog.io/api-3488898.md): **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - oauth-authorizations [Get-or-create an authorization for a specific app](https://github.apidog.io/api-3488901.md): **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - oauth-authorizations [Get-or-create an authorization for a specific app and fingerprint](https://github.apidog.io/api-3488896.md): **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - oauth-authorizations [Delete an authorization](https://github.apidog.io/api-3488902.md): **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - oauth-authorizations [Get a single authorization](https://github.apidog.io/api-3488903.md): **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - oauth-authorizations [Update an existing authorization](https://github.apidog.io/api-3488897.md): **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/). - codes-of-conduct [Get all codes of conduct](https://github.apidog.io/api-3488904.md): - codes-of-conduct [Get a code of conduct](https://github.apidog.io/api-3488905.md): - codes-of-conduct [Get the code of conduct for a repository](https://github.apidog.io/api-3488906.md): Returns the contents of the repository's code of conduct file, if one is detected. - emojis [Get emojis](https://github.apidog.io/api-3488908.md): Lists all the emojis available to use on GitHub. - enterprise-admin [Get GitHub Actions permissions for an enterprise](https://github.apidog.io/api-3488907.md): Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise. - enterprise-admin [Set GitHub Actions permissions for an enterprise](https://github.apidog.io/api-3488910.md): Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise. - enterprise-admin [List selected organizations enabled for GitHub Actions in an enterprise](https://github.apidog.io/api-3488909.md): Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - enterprise-admin [Set selected organizations enabled for GitHub Actions in an enterprise](https://github.apidog.io/api-3488911.md): Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - enterprise-admin [Disable a selected organization for GitHub Actions in an enterprise](https://github.apidog.io/api-3488912.md): Removes an organization from the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - enterprise-admin [Enable a selected organization for GitHub Actions in an enterprise](https://github.apidog.io/api-3488913.md): Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - enterprise-admin [Get allowed actions for an enterprise](https://github.apidog.io/api-3488914.md): Gets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - enterprise-admin [Set allowed actions for an enterprise](https://github.apidog.io/api-3488915.md): Sets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." - enterprise-admin [List self-hosted runner groups for an enterprise](https://github.apidog.io/api-3488917.md): Lists all self-hosted runner groups for an enterprise. - enterprise-admin [Create a self-hosted runner group for an enterprise](https://github.apidog.io/api-3488916.md): Creates a new self-hosted runner group for an enterprise. - enterprise-admin [Delete a self-hosted runner group from an enterprise](https://github.apidog.io/api-3488918.md): Deletes a self-hosted runner group for an enterprise. - enterprise-admin [Get a self-hosted runner group for an enterprise](https://github.apidog.io/api-3488920.md): Gets a specific self-hosted runner group for an enterprise. - enterprise-admin [Update a self-hosted runner group for an enterprise](https://github.apidog.io/api-3488919.md): Updates the `name` and `visibility` of a self-hosted runner group in an enterprise. - enterprise-admin [List organization access to a self-hosted runner group in an enterprise](https://github.apidog.io/api-3488921.md): Lists the organizations with access to a self-hosted runner group. - enterprise-admin [Set organization access for a self-hosted runner group in an enterprise](https://github.apidog.io/api-3488923.md): Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise. - enterprise-admin [Remove organization access to a self-hosted runner group in an enterprise](https://github.apidog.io/api-3488922.md): Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise)." - enterprise-admin [Add organization access to a self-hosted runner group in an enterprise](https://github.apidog.io/api-3488924.md): Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an enterprise](#create-a-self-hosted-runner-group-for-an-enterprise)." - enterprise-admin [List self-hosted runners in a group for an enterprise](https://github.apidog.io/api-3488927.md): Lists the self-hosted runners that are in a specific enterprise group. - enterprise-admin [Set self-hosted runners in a group for an enterprise](https://github.apidog.io/api-3488928.md): Replaces the list of self-hosted runners that are part of an enterprise runner group. - enterprise-admin [Remove a self-hosted runner from a group for an enterprise](https://github.apidog.io/api-3488925.md): Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group. - enterprise-admin [Add a self-hosted runner to a group for an enterprise](https://github.apidog.io/api-3488926.md): Adds a self-hosted runner to a runner group configured in an enterprise. - enterprise-admin [List self-hosted runners for an enterprise](https://github.apidog.io/api-3488929.md): Lists all self-hosted runners configured for an enterprise. - enterprise-admin [List runner applications for an enterprise](https://github.apidog.io/api-3488930.md): Lists binaries for the runner application that you can download and run. - enterprise-admin [Create a registration token for an enterprise](https://github.apidog.io/api-3488932.md): Returns a token that you can pass to the `config` script. The token expires after one hour. - enterprise-admin [Create a remove token for an enterprise](https://github.apidog.io/api-3488931.md): Returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour. - enterprise-admin [Delete a self-hosted runner from an enterprise](https://github.apidog.io/api-3488933.md): Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. - enterprise-admin [Get a self-hosted runner for an enterprise](https://github.apidog.io/api-3488934.md): Gets a specific self-hosted runner configured in an enterprise. - enterprise-admin [List provisioned SCIM groups for an enterprise](https://github.apidog.io/api-3488935.md): **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - enterprise-admin [Provision a SCIM enterprise group and invite users](https://github.apidog.io/api-3488938.md): **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - enterprise-admin [Delete a SCIM group from an enterprise](https://github.apidog.io/api-3488937.md): **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - enterprise-admin [Get SCIM provisioning information for an enterprise group](https://github.apidog.io/api-3488936.md): **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - enterprise-admin [Update an attribute for a SCIM enterprise group](https://github.apidog.io/api-3488942.md): **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - enterprise-admin [Set SCIM information for a provisioned enterprise group](https://github.apidog.io/api-3488939.md): **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - enterprise-admin [List SCIM provisioned identities for an enterprise](https://github.apidog.io/api-3488940.md): **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - enterprise-admin [Provision and invite a SCIM enterprise user](https://github.apidog.io/api-3488941.md): **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - enterprise-admin [Delete a SCIM user from an enterprise](https://github.apidog.io/api-3488944.md): **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - enterprise-admin [Get SCIM provisioning information for an enterprise user](https://github.apidog.io/api-3488943.md): **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - enterprise-admin [Update an attribute for a SCIM enterprise user](https://github.apidog.io/api-3488945.md): **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - enterprise-admin [Set SCIM information for a provisioned enterprise user](https://github.apidog.io/api-3488947.md): **Note:** The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change. - audit-log [Get the audit log for an enterprise](https://github.apidog.io/api-3488946.md): **Note:** The audit log REST API is currently in beta and is subject to change. - billing [Get GitHub Actions billing for an enterprise](https://github.apidog.io/api-3488948.md): Gets the summary of the free and paid GitHub Actions minutes used. - billing [Get GitHub Actions billing for an organization](https://github.apidog.io/api-3488951.md): Gets the summary of the free and paid GitHub Actions minutes used. - billing [Get GitHub Packages billing for an enterprise](https://github.apidog.io/api-3488949.md): Gets the free and paid storage used for GitHub Packages in gigabytes. - billing [Get GitHub Packages billing for an organization](https://github.apidog.io/api-3488952.md): Gets the free and paid storage used for GitHub Packages in gigabytes. - billing [Get shared storage billing for an enterprise](https://github.apidog.io/api-3488950.md): Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages. - billing [Get shared storage billing for an organization](https://github.apidog.io/api-3488953.md): Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - billing [Get GitHub Actions billing for a user](https://github.apidog.io/api-3488954.md): Gets the summary of the free and paid GitHub Actions minutes used. - billing [Get GitHub Packages billing for a user](https://github.apidog.io/api-3488955.md): Gets the free and paid storage used for GitHub Packages in gigabytes. - billing [Get shared storage billing for a user](https://github.apidog.io/api-3488956.md): Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - activity [List public events](https://github.apidog.io/api-3488958.md): We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago. - activity [Get feeds](https://github.apidog.io/api-3488957.md): GitHub provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user: - activity [List public events for a network of repositories](https://github.apidog.io/api-3488967.md): - activity [List notifications for the authenticated user](https://github.apidog.io/api-3488962.md): List all notifications for the current user, sorted by most recently updated. - activity [Mark notifications as read](https://github.apidog.io/api-3488963.md): Marks all notifications as "read" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. - activity [Get a thread](https://github.apidog.io/api-3488961.md): Gets information about a notification thread. - activity [Mark a thread as read](https://github.apidog.io/api-3488959.md): Marks a thread as "read." Marking a thread as "read" is equivalent to clicking a notification in your notification inbox on GitHub: https://github.com/notifications. - activity [Delete a thread subscription](https://github.apidog.io/api-3488966.md): Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/rest/reference/activity#set-a-thread-subscription) endpoint and set `ignore` to `true`. - activity [Get a thread subscription for the authenticated user](https://github.apidog.io/api-3488964.md): This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/rest/reference/activity#get-a-repository-subscription). - activity [Set a thread subscription](https://github.apidog.io/api-3488965.md): If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**. - activity [List public organization events](https://github.apidog.io/api-3488960.md): - activity [List repository events](https://github.apidog.io/api-3488968.md): - activity [List repository notifications for the authenticated user](https://github.apidog.io/api-3488969.md): Lists all notifications for the current user in the specified repository. - activity [Mark repository notifications as read](https://github.apidog.io/api-3488972.md): Marks all notifications in a repository as "read" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. - activity [List stargazers](https://github.apidog.io/api-3488973.md): Lists the people that have starred the repository. - activity [List watchers](https://github.apidog.io/api-3488970.md): Lists the people watching the specified repository. - activity [Delete a repository subscription](https://github.apidog.io/api-3488971.md): This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/rest/reference/activity#set-a-repository-subscription). - activity [Get a repository subscription](https://github.apidog.io/api-3488975.md): - activity [Set a repository subscription](https://github.apidog.io/api-3488974.md): If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/rest/reference/activity#delete-a-repository-subscription) completely. - activity [List repositories starred by the authenticated user](https://github.apidog.io/api-3488976.md): Lists repositories the authenticated user has starred. - activity [Unstar a repository for the authenticated user](https://github.apidog.io/api-3488977.md): - activity [Check if a repository is starred by the authenticated user](https://github.apidog.io/api-3488978.md): - activity [Star a repository for the authenticated user](https://github.apidog.io/api-3488979.md): Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - activity [List repositories watched by the authenticated user](https://github.apidog.io/api-3488981.md): Lists repositories the authenticated user is watching. - activity [List events for the authenticated user](https://github.apidog.io/api-3488980.md): If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. - activity [List organization events for the authenticated user](https://github.apidog.io/api-3488982.md): This is the user's organization dashboard. You must be authenticated as the user to view this. - activity [List public events for a user](https://github.apidog.io/api-3488983.md): - activity [List events received by the authenticated user](https://github.apidog.io/api-3488984.md): These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events. - activity [List public events received by a user](https://github.apidog.io/api-3488985.md): - activity [List repositories starred by a user](https://github.apidog.io/api-3488987.md): Lists repositories a user has starred. - activity [List repositories watched by a user](https://github.apidog.io/api-3488986.md): Lists repositories a user is watching. - gists [List gists for the authenticated user](https://github.apidog.io/api-3488988.md): Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists: - gists [Create a gist](https://github.apidog.io/api-3488989.md): Allows you to add a new gist with one or more files. - gists [List public gists](https://github.apidog.io/api-3488991.md): List public gists sorted by most recently updated to least recently updated. - gists [List starred gists](https://github.apidog.io/api-3488995.md): List the authenticated user's starred gists: - gists [Delete a gist](https://github.apidog.io/api-3488996.md): - gists [Get a gist](https://github.apidog.io/api-3488993.md): - gists [Update a gist](https://github.apidog.io/api-3488990.md): Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged. - gists [List gist comments](https://github.apidog.io/api-3488994.md): - gists [Create a gist comment](https://github.apidog.io/api-3488992.md): - gists [Delete a gist comment](https://github.apidog.io/api-3488997.md): - gists [Get a gist comment](https://github.apidog.io/api-3488999.md): - gists [Update a gist comment](https://github.apidog.io/api-3488998.md): - gists [List gist commits](https://github.apidog.io/api-3489000.md): - gists [List gist forks](https://github.apidog.io/api-3489001.md): - gists [Fork a gist](https://github.apidog.io/api-3489004.md): - gists [Unstar a gist](https://github.apidog.io/api-3489003.md): - gists [Check if a gist is starred](https://github.apidog.io/api-3489005.md): - gists [Star a gist](https://github.apidog.io/api-3489006.md): Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - gists [Get a gist revision](https://github.apidog.io/api-3489002.md): - gists [List gists for a user](https://github.apidog.io/api-3489007.md): Lists public gists for the specified user: - gitignore [Get all gitignore templates](https://github.apidog.io/api-3489008.md): List all templates available to pass as an option when [creating a repository](https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user). - gitignore [Get a gitignore template](https://github.apidog.io/api-3489009.md): The API also allows fetching the source of a single template. - issues [List issues assigned to the authenticated user](https://github.apidog.io/api-3489012.md): List issues assigned to the authenticated user across all visible repositories including owned repositories, member - issues [List organization issues assigned to the authenticated user](https://github.apidog.io/api-3489011.md): List issues in an organization assigned to the authenticated user. - issues [List assignees](https://github.apidog.io/api-3489010.md): Lists the [available assignees](https://docs.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository. - issues [Check if a user can be assigned](https://github.apidog.io/api-3489014.md): Checks if a user has permission to be assigned to an issue in this repository. - issues [List repository issues](https://github.apidog.io/api-3489018.md): List issues in a repository. Only open issues will be listed. - issues [Create an issue](https://github.apidog.io/api-3489015.md): Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status. - issues [List issue comments for a repository](https://github.apidog.io/api-3489017.md): By default, Issue Comments are ordered by ascending ID. - issues [Delete an issue comment](https://github.apidog.io/api-3489013.md): - issues [Get an issue comment](https://github.apidog.io/api-3489016.md): - issues [Update an issue comment](https://github.apidog.io/api-3489020.md): - issues [List issue events for a repository](https://github.apidog.io/api-3489019.md): - issues [Get an issue event](https://github.apidog.io/api-3489021.md): - issues [Get an issue](https://github.apidog.io/api-3489026.md): The API returns a [`301 Moved Permanently` status](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was - issues [Update an issue](https://github.apidog.io/api-3489023.md): Issue owners and users with push access can edit an issue. - issues [Remove assignees from an issue](https://github.apidog.io/api-3489022.md): Removes one or more assignees from an issue. - issues [Add assignees to an issue](https://github.apidog.io/api-3489028.md): Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced. - issues [Check if a user can be assigned to a issue](https://github.apidog.io/api-4078740.md): Checks if a user has permission to be assigned to a specific issue. - issues [List issue comments](https://github.apidog.io/api-3489025.md): Issue Comments are ordered by ascending ID. - issues [Create an issue comment](https://github.apidog.io/api-3489024.md): This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details. - issues [List issue events](https://github.apidog.io/api-3489027.md): - issues [Remove all labels from an issue](https://github.apidog.io/api-3489029.md): - issues [List labels for an issue](https://github.apidog.io/api-3489032.md): - issues [Add labels to an issue](https://github.apidog.io/api-3489031.md): - issues [Set labels for an issue](https://github.apidog.io/api-3489033.md): Removes any previous labels and sets the new labels for an issue. - issues [Remove a label from an issue](https://github.apidog.io/api-3489030.md): Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist. - issues [Unlock an issue](https://github.apidog.io/api-3489034.md): Users with push access can unlock an issue's conversation. - issues [Lock an issue](https://github.apidog.io/api-3489035.md): Users with push access can lock an issue or pull request's conversation. - issues [List timeline events for an issue](https://github.apidog.io/api-3489036.md): - issues [List labels for a repository](https://github.apidog.io/api-3489037.md): - issues [Create a label](https://github.apidog.io/api-3489040.md): - issues [Delete a label](https://github.apidog.io/api-3489038.md): - issues [Get a label](https://github.apidog.io/api-3489039.md): - issues [Update a label](https://github.apidog.io/api-3489041.md): - issues [List milestones](https://github.apidog.io/api-3489042.md): - issues [Create a milestone](https://github.apidog.io/api-3489044.md): - issues [Delete a milestone](https://github.apidog.io/api-3489043.md): - issues [Get a milestone](https://github.apidog.io/api-3489045.md): - issues [Update a milestone](https://github.apidog.io/api-3489046.md): - issues [List labels for issues in a milestone](https://github.apidog.io/api-3489047.md): - issues [List user account issues assigned to the authenticated user](https://github.apidog.io/api-3489048.md): List issues across owned and member repositories assigned to the authenticated user. - licenses [Get all commonly used licenses](https://github.apidog.io/api-3489049.md): - licenses [Get a license](https://github.apidog.io/api-3489050.md): - licenses [Get the license for a repository](https://github.apidog.io/api-3489051.md): This method returns the contents of the repository's license file, if one is detected. - markdown [Render a Markdown document](https://github.apidog.io/api-3489056.md): - markdown [Render a Markdown document in raw mode](https://github.apidog.io/api-3489057.md): You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less. - orgs [List organizations](https://github.apidog.io/api-3489055.md): Lists all organizations, in the order that they were created on GitHub. - orgs [Get an organization](https://github.apidog.io/api-3489052.md): To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/). - orgs [Update an organization](https://github.apidog.io/api-3489053.md): **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). - orgs [Get the audit log for an organization](https://github.apidog.io/api-3489054.md): **Note:** The audit log REST API is currently in beta and is subject to change. - orgs [List users blocked by an organization](https://github.apidog.io/api-3489059.md): List the users blocked by an organization. - orgs [Unblock a user from an organization](https://github.apidog.io/api-3489058.md): - orgs [Check if a user is blocked by an organization](https://github.apidog.io/api-3489061.md): - orgs [Block a user from an organization](https://github.apidog.io/api-3489060.md): - orgs [List failed organization invitations](https://github.apidog.io/api-3489064.md): The return hash contains `failed_at` and `failed_reason` fields which represent the time at which the invitation failed and the reason for the failure. - orgs [List SAML SSO authorizations for an organization](https://github.apidog.io/api-3489062.md): Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products). - orgs [List organization webhooks](https://github.apidog.io/api-3489063.md): - orgs [Remove a SAML SSO authorization for an organization](https://github.apidog.io/api-3489065.md): Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products). - orgs [Create an organization webhook](https://github.apidog.io/api-3489066.md): Here's how you can create a hook that posts payloads in JSON format: - orgs [Delete an organization webhook](https://github.apidog.io/api-3489067.md): - orgs [Get an organization webhook](https://github.apidog.io/api-3489068.md): Returns a webhook configured in an organization. To get only the webhook `config` properties, see "[Get a webhook configuration for an organization](/rest/reference/orgs#get-a-webhook-configuration-for-an-organization)." - orgs [Update an organization webhook](https://github.apidog.io/api-3489069.md): Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for an organization](/rest/reference/orgs#update-a-webhook-configuration-for-an-organization)." - orgs [Get a webhook configuration for an organization](https://github.apidog.io/api-3489070.md): Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use "[Get an organization webhook ](/rest/reference/orgs#get-an-organization-webhook)." - orgs [Update a webhook configuration for an organization](https://github.apidog.io/api-3489073.md): Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use "[Update an organization webhook ](/rest/reference/orgs#update-an-organization-webhook)." - orgs [List deliveries for an organization webhook](https://github.apidog.io/api-4078741.md): Returns a list of webhook deliveries for a webhook configured in an organization. - orgs [Get a webhook delivery for an organization webhook](https://github.apidog.io/api-4078742.md): Returns a delivery for a webhook configured in an organization. - orgs [Redeliver a delivery for an organization webhook](https://github.apidog.io/api-4078743.md): Redeliver a delivery for a webhook configured in an organization. - orgs [Ping an organization webhook](https://github.apidog.io/api-3489072.md): This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook. - orgs [List app installations for an organization](https://github.apidog.io/api-3489074.md): Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint. - orgs [List pending organization invitations](https://github.apidog.io/api-3489071.md): The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. - orgs [Create an organization invitation](https://github.apidog.io/api-3489076.md): Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner. - orgs [Cancel an organization invitation](https://github.apidog.io/api-3489077.md): Cancel an organization invitation. In order to cancel an organization invitation, the authenticated user must be an organization owner. - orgs [List organization invitation teams](https://github.apidog.io/api-3489078.md): List all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner. - orgs [List organization members](https://github.apidog.io/api-3489075.md): List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned. - orgs [Remove an organization member](https://github.apidog.io/api-3489079.md): Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories. - orgs [Check organization membership for a user](https://github.apidog.io/api-3489082.md): Check if a user is, publicly or privately, a member of the organization. - orgs [Remove organization membership for a user](https://github.apidog.io/api-3489081.md): In order to remove a user's membership with an organization, the authenticated user must be an organization owner. - orgs [Get organization membership for a user](https://github.apidog.io/api-3489080.md): In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status. - orgs [Set organization membership for a user](https://github.apidog.io/api-3489083.md): Only authenticated organization owners can add a member to the organization or update the member's role. - orgs [List outside collaborators for an organization](https://github.apidog.io/api-3489085.md): List all users who are outside collaborators of an organization. - orgs [Remove outside collaborator from an organization](https://github.apidog.io/api-3489088.md): Removing a user from this list will remove them from all the organization's repositories. - orgs [Convert an organization member to outside collaborator](https://github.apidog.io/api-3489090.md): When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "[Converting an organization member to an outside collaborator](https://docs.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)." - orgs [List public organization members](https://github.apidog.io/api-3489084.md): Members of an organization can choose to have their membership publicized or not. - orgs [Remove public organization membership for the authenticated user](https://github.apidog.io/api-3489089.md): - orgs [Check public organization membership for a user](https://github.apidog.io/api-3489087.md): - orgs [Set public organization membership for the authenticated user](https://github.apidog.io/api-3489086.md): The user can publicize their own membership. (A user cannot publicize the membership for another user.) - orgs [List security manager teams](https://github.apidog.io/api-4078744.md): Lists teams that are security managers for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." - orgs [Remove a security manager team](https://github.apidog.io/api-4078745.md): Removes the security manager role from a team for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) team from an organization." - orgs [Add a security manager team](https://github.apidog.io/api-4078746.md): Adds a team as a security manager for an organization. For more information, see "[Managing security for an organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) for an organization." - orgs [Enable or disable a security feature for an organization](https://github.apidog.io/api-4078747.md): Enables or disables the specified security feature for all repositories in an organization. - orgs [List organization memberships for the authenticated user](https://github.apidog.io/api-3489093.md): - orgs [Get an organization membership for the authenticated user](https://github.apidog.io/api-3489091.md): - orgs [Update an organization membership for the authenticated user](https://github.apidog.io/api-3489092.md): - orgs [List organizations for the authenticated user](https://github.apidog.io/api-3489094.md): List organizations for the authenticated user. - orgs [List organizations for a user](https://github.apidog.io/api-3489096.md): List [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user. - actions [Get GitHub Actions cache usage for an organization](https://github.apidog.io/api-4078748.md): Gets the total GitHub Actions cache usage for an organization. - actions [List repositories with GitHub Actions cache usage for an organization](https://github.apidog.io/api-4078749.md): Lists repositories and their GitHub Actions cache usage for an organization. - actions [Get GitHub Actions permissions for an organization](https://github.apidog.io/api-3489095.md): Gets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization. - actions [Set GitHub Actions permissions for an organization](https://github.apidog.io/api-3489097.md): Sets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization. - actions [List selected repositories enabled for GitHub Actions in an organization](https://github.apidog.io/api-3489098.md): Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - actions [Set selected repositories enabled for GitHub Actions in an organization](https://github.apidog.io/api-3489100.md): Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - actions [Disable a selected repository for GitHub Actions in an organization](https://github.apidog.io/api-3489099.md): Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - actions [Enable a selected repository for GitHub Actions in an organization](https://github.apidog.io/api-3489106.md): Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - actions [Get allowed actions and reusable workflows for an organization](https://github.apidog.io/api-3489102.md): Gets the selected actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."" - actions [List self-hosted runner groups for an organization](https://github.apidog.io/api-3489103.md): The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - actions [Set allowed actions and reusable workflows for an organization](https://github.apidog.io/api-3489104.md): Sets the actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." - actions [Create a self-hosted runner group for an organization](https://github.apidog.io/api-3489105.md): The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - actions [Delete a self-hosted runner group from an organization](https://github.apidog.io/api-3489101.md): The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - actions [Get default workflow permissions for an organization](https://github.apidog.io/api-4078750.md): Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, - actions [Get a self-hosted runner group for an organization](https://github.apidog.io/api-3489107.md): The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - actions [Set default workflow permissions for an organization](https://github.apidog.io/api-4078751.md): Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, and sets if GitHub Actions - actions [Update a self-hosted runner group for an organization](https://github.apidog.io/api-3489108.md): The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - actions [List required workflows](https://github.apidog.io/api-4078752.md): List all required workflows in an organization. - actions [List repository access to a self-hosted runner group in an organization](https://github.apidog.io/api-3489110.md): The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - actions [Create a required workflow](https://github.apidog.io/api-4078753.md): Create a required workflow in an organization. - actions [Set repository access for a self-hosted runner group in an organization](https://github.apidog.io/api-3489109.md): The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - actions [Delete a required workflow](https://github.apidog.io/api-4078754.md): Deletes a required workflow configured in an organization. - actions [Remove repository access to a self-hosted runner group in an organization](https://github.apidog.io/api-3489111.md): The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - actions [Get a required workflow](https://github.apidog.io/api-4078755.md): Get a required workflow configured in an organization. - actions [Add repository access to a self-hosted runner group in an organization](https://github.apidog.io/api-3489112.md): The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - actions [Update a required workflow](https://github.apidog.io/api-4078756.md): Update a required workflow in an organization. - actions [List self-hosted runners in a group for an organization](https://github.apidog.io/api-3489114.md): The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - actions [List selected repositories for a required workflow](https://github.apidog.io/api-4078757.md): Lists the selected repositories that are configured for a required workflow in an organization. To use this endpoint, the required workflow must be configured to run on selected repositories. - actions [Set self-hosted runners in a group for an organization](https://github.apidog.io/api-3489115.md): The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - actions [Sets repositories for a required workflow](https://github.apidog.io/api-4078758.md): Sets the repositories for a required workflow that is required for selected repositories. - actions [Remove a self-hosted runner from a group for an organization](https://github.apidog.io/api-3489113.md): The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - actions [Remove a selected repository from required workflow](https://github.apidog.io/api-4078759.md): Removes a repository from a required workflow. To use this endpoint, the required workflow must be configured to run on selected repositories. - actions [Add a self-hosted runner to a group for an organization](https://github.apidog.io/api-3489116.md): The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - actions [Add a repository to a required workflow](https://github.apidog.io/api-4078760.md): Adds a repository to a required workflow. To use this endpoint, the required workflow must be configured to run on selected repositories. - actions [List self-hosted runners for an organization](https://github.apidog.io/api-3489118.md): Lists all self-hosted runners configured in an organization. - actions [List runner applications for an organization](https://github.apidog.io/api-3489119.md): Lists binaries for the runner application that you can download and run. - actions [Create a registration token for an organization](https://github.apidog.io/api-3489117.md): Returns a token that you can pass to the `config` script. The token expires after one hour. - actions [Create a remove token for an organization](https://github.apidog.io/api-3489121.md): Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour. - actions [Delete a self-hosted runner from an organization](https://github.apidog.io/api-3489122.md): Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. - actions [Get a self-hosted runner for an organization](https://github.apidog.io/api-3489120.md): Gets a specific self-hosted runner configured in an organization. - actions [Remove all custom labels from a self-hosted runner for an organization](https://github.apidog.io/api-4078761.md): Remove all custom labels from a self-hosted runner configured in an - actions [List labels for a self-hosted runner for an organization](https://github.apidog.io/api-4078762.md): Lists all labels for a self-hosted runner configured in an organization. - actions [Add custom labels to a self-hosted runner for an organization](https://github.apidog.io/api-4078763.md): Add custom labels to a self-hosted runner configured in an organization. - actions [Set custom labels for a self-hosted runner for an organization](https://github.apidog.io/api-4078764.md): Remove all previous custom labels and set the new custom labels for a specific - actions [Remove a custom label from a self-hosted runner for an organization](https://github.apidog.io/api-4078765.md): Remove a custom label from a self-hosted runner configured - actions [List organization secrets](https://github.apidog.io/api-3489123.md): Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - actions [Get an organization public key](https://github.apidog.io/api-3489124.md): Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - actions [Delete an organization secret](https://github.apidog.io/api-3489125.md): Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - actions [Get an organization secret](https://github.apidog.io/api-3489126.md): Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - actions [Create or update an organization secret](https://github.apidog.io/api-3489128.md): Creates or updates an organization secret with an encrypted value. Encrypt your secret using - actions [List selected repositories for an organization secret](https://github.apidog.io/api-3489127.md): Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - actions [Set selected repositories for an organization secret](https://github.apidog.io/api-3489129.md): Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - actions [Remove selected repository from an organization secret](https://github.apidog.io/api-3489132.md): Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - actions [Add selected repository to an organization secret](https://github.apidog.io/api-3489133.md): Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint. - actions [List organization variables](https://github.apidog.io/api-4078766.md): Lists all organization variables. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `organization_actions_variables:read` organization permission to use this endpoint. - actions [Create an organization variable](https://github.apidog.io/api-4078767.md): Creates an organization variable that you can reference in a GitHub Actions workflow. - actions [Delete an organization variable](https://github.apidog.io/api-4078768.md): Deletes an organization variable using the variable name. - actions [Get an organization variable](https://github.apidog.io/api-4078769.md): Gets a specific variable in an organization. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `organization_actions_variables:read` organization permission to use this endpoint. - actions [Update an organization variable](https://github.apidog.io/api-4078770.md): Updates an organization variable that you can reference in a GitHub Actions workflow. - actions [List selected repositories for an organization variable](https://github.apidog.io/api-4078771.md): Lists all repositories that can access an organization variable that is available to selected repositories. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `organization_actions_variables:read` organization permission to use this endpoint. - actions [Set selected repositories for an organization variable](https://github.apidog.io/api-4078772.md): Replaces all repositories for an organization variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint. - actions [Remove selected repository from an organization variable](https://github.apidog.io/api-4078773.md): Removes a repository from an organization variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint. - actions [Add selected repository to an organization variable](https://github.apidog.io/api-4078774.md): Adds a repository to an organization variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint. - actions [List repository required workflows](https://github.apidog.io/api-4078775.md): Lists the required workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. For more information, see "[Required Workflows](https://docs.github.com/actions/using-workflows/required-workflows)." - actions [Get a required workflow entity for a repository](https://github.apidog.io/api-4078776.md): Gets a specific required workflow present in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. For more information, see "[Required Workflows](https://docs.github.com/actions/using-workflows/required-workflows)." - actions [Get required workflow usage](https://github.apidog.io/api-4078777.md): Gets the number of billable minutes used by a specific required workflow during the current billing cycle. - actions [List artifacts for a repository](https://github.apidog.io/api-3489134.md): Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - actions [Delete an artifact](https://github.apidog.io/api-3489130.md): Deletes an artifact for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - actions [Get an artifact](https://github.apidog.io/api-3489131.md): Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - actions [Download an artifact](https://github.apidog.io/api-3489135.md): Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in - actions [Get GitHub Actions cache usage for a repository](https://github.apidog.io/api-4078778.md): Gets GitHub Actions cache usage for a repository. - actions [Delete GitHub Actions caches for a repository (using a cache key)](https://github.apidog.io/api-4078779.md): Deletes one or more GitHub Actions caches for a repository, using a complete cache key. By default, all caches that match the provided key are deleted, but you can optionally provide a Git ref to restrict deletions to caches that match both the provided key and the Git ref. - actions [List GitHub Actions caches for a repository](https://github.apidog.io/api-4078780.md): Lists the GitHub Actions caches for a repository. - actions [Delete a GitHub Actions cache for a repository (using a cache ID)](https://github.apidog.io/api-4078781.md): Deletes a GitHub Actions cache for a repository, using a cache ID. - actions [Get a job for a workflow run](https://github.apidog.io/api-3489136.md): Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - actions [Download job logs for a workflow run](https://github.apidog.io/api-3489138.md): Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look - actions [Re-run a job from a workflow run](https://github.apidog.io/api-4078782.md): Re-run a job and its dependent jobs in a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - actions [Get the customization template for an OIDC subject claim for a repository](https://github.apidog.io/api-4078783.md): Gets the customization template for an OpenID Connect (OIDC) subject claim. - actions [Set the customization template for an OIDC subject claim for a repository](https://github.apidog.io/api-4078784.md): Sets the customization template and `opt-in` or `opt-out` flag for an OpenID Connect (OIDC) subject claim for a repository. - actions [Get GitHub Actions permissions for a repository](https://github.apidog.io/api-3489137.md): Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions and reusable workflows allowed to run in the repository. - actions [Set GitHub Actions permissions for a repository](https://github.apidog.io/api-3489140.md): Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions and reusable workflows in the repository. - actions [Get the level of access for workflows outside of the repository](https://github.apidog.io/api-4078785.md): Gets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository. - actions [Set the level of access for workflows outside of the repository](https://github.apidog.io/api-4078786.md): Sets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository. - actions [Get allowed actions and reusable workflows for a repository](https://github.apidog.io/api-3489139.md): Gets the settings for selected actions and reusable workflows that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)." - actions [Set allowed actions and reusable workflows for a repository](https://github.apidog.io/api-3489143.md): Sets the actions and reusable workflows that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)." - actions [Get default workflow permissions for a repository](https://github.apidog.io/api-4078787.md): Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository, - actions [Set default workflow permissions for a repository](https://github.apidog.io/api-4078788.md): Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository, and sets if GitHub Actions - actions [List workflow runs for a required workflow](https://github.apidog.io/api-4078789.md): List all workflow runs for a required workflow. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters). - actions [List self-hosted runners for a repository](https://github.apidog.io/api-3489144.md): Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint. - actions [List runner applications for a repository](https://github.apidog.io/api-3489142.md): Lists binaries for the runner application that you can download and run. - actions [Create a registration token for a repository](https://github.apidog.io/api-3489141.md): Returns a token that you can pass to the `config` script. The token expires after one hour. You must authenticate - actions [Create a remove token for a repository](https://github.apidog.io/api-3489145.md): Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour. - actions [Delete a self-hosted runner from a repository](https://github.apidog.io/api-3489146.md): Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. - actions [Get a self-hosted runner for a repository](https://github.apidog.io/api-3489150.md): Gets a specific self-hosted runner configured in a repository. - actions [Remove all custom labels from a self-hosted runner for a repository](https://github.apidog.io/api-4078790.md): Remove all custom labels from a self-hosted runner configured in a - actions [List labels for a self-hosted runner for a repository](https://github.apidog.io/api-4078791.md): Lists all labels for a self-hosted runner configured in a repository. - actions [Add custom labels to a self-hosted runner for a repository](https://github.apidog.io/api-4078792.md): Add custom labels to a self-hosted runner configured in a repository. - actions [Set custom labels for a self-hosted runner for a repository](https://github.apidog.io/api-4078793.md): Remove all previous custom labels and set the new custom labels for a specific - actions [Remove a custom label from a self-hosted runner for a repository](https://github.apidog.io/api-4078794.md): Remove a custom label from a self-hosted runner configured - actions [List workflow runs for a repository](https://github.apidog.io/api-3489149.md): Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters). - actions [Delete a workflow run](https://github.apidog.io/api-3489148.md): Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is - actions [Get a workflow run](https://github.apidog.io/api-3489147.md): Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - actions [Get the review history for a workflow run](https://github.apidog.io/api-3489157.md): Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - actions [Approve a workflow run for a fork pull request](https://github.apidog.io/api-4078795.md): Approves a workflow run for a pull request from a public fork of a first time contributor. For more information, see ["Approving workflow runs from public forks](https://docs.github.com/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks)." - actions [List workflow run artifacts](https://github.apidog.io/api-3489153.md): Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - actions [Get a workflow run attempt](https://github.apidog.io/api-4078796.md): Gets a specific workflow run attempt. Anyone with read access to the repository - actions [List jobs for a workflow run attempt](https://github.apidog.io/api-4078797.md): Lists jobs for a specific workflow run attempt. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters). - actions [Download workflow run attempt logs](https://github.apidog.io/api-4078798.md): Gets a redirect URL to download an archive of log files for a specific workflow run attempt. This link expires after - actions [Cancel a workflow run](https://github.apidog.io/api-3489151.md): Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - actions [List jobs for a workflow run](https://github.apidog.io/api-3489159.md): Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters). - actions [Delete workflow run logs](https://github.apidog.io/api-3489152.md): Deletes all logs for a workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - actions [Download workflow run logs](https://github.apidog.io/api-3489155.md): Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for - actions [Get pending deployments for a workflow run](https://github.apidog.io/api-3489154.md): Get all deployment environments for a workflow run that are waiting for protection rules to pass. - actions [Review pending deployments for a workflow run](https://github.apidog.io/api-3489156.md): Approve or reject pending deployments that are waiting on approval by a required reviewer. - actions [Re-run a workflow](https://github.apidog.io/api-3489158.md): Re-runs your workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. - actions [Re-run failed jobs from a workflow run](https://github.apidog.io/api-4078799.md): Re-run all of the failed jobs and their dependent jobs in a workflow run using the `id` of the workflow run. You must authenticate using an access token with the `repo` scope to use this endpoint. - actions [Get workflow run usage](https://github.apidog.io/api-3489160.md): Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - actions [List repository secrets](https://github.apidog.io/api-3489165.md): Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - actions [Get a repository public key](https://github.apidog.io/api-3489161.md): Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint. - actions [Delete a repository secret](https://github.apidog.io/api-3489167.md): Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - actions [Get a repository secret](https://github.apidog.io/api-3489162.md): Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - actions [Create or update a repository secret](https://github.apidog.io/api-3489164.md): Creates or updates a repository secret with an encrypted value. Encrypt your secret using - actions [List repository variables](https://github.apidog.io/api-4078800.md): Lists all repository variables. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions_variables:read` repository permission to use this endpoint. - actions [Create a repository variable](https://github.apidog.io/api-4078801.md): Creates a repository variable that you can reference in a GitHub Actions workflow. - actions [Delete a repository variable](https://github.apidog.io/api-4078802.md): Deletes a repository variable using the variable name. - actions [Get a repository variable](https://github.apidog.io/api-4078803.md): Gets a specific variable in a repository. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions_variables:read` repository permission to use this endpoint. - actions [Update a repository variable](https://github.apidog.io/api-4078804.md): Updates a repository variable that you can reference in a GitHub Actions workflow. - actions [List repository workflows](https://github.apidog.io/api-3489163.md): Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - actions [Get a workflow](https://github.apidog.io/api-3489168.md): Gets a specific workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. - actions [Disable a workflow](https://github.apidog.io/api-3489166.md): Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - actions [Create a workflow dispatch event](https://github.apidog.io/api-3489169.md): You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - actions [Enable a workflow](https://github.apidog.io/api-3489170.md): Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - actions [List workflow runs for a workflow](https://github.apidog.io/api-3489171.md): List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters). - actions [Get workflow usage](https://github.apidog.io/api-3489172.md): Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - actions [List environment secrets](https://github.apidog.io/api-3489173.md): Lists all secrets available in an environment without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - actions [Get an environment public key](https://github.apidog.io/api-3489174.md): Get the public key for an environment, which you need to encrypt environment secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `secrets` repository permission to use this endpoint. - actions [Delete an environment secret](https://github.apidog.io/api-3489177.md): Deletes a secret in an environment using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - actions [Get an environment secret](https://github.apidog.io/api-3489176.md): Gets a single environment secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. - actions [Create or update an environment secret](https://github.apidog.io/api-3489175.md): Creates or updates an environment secret with an encrypted value. Encrypt your secret using - actions [List environment variables](https://github.apidog.io/api-4078805.md): Lists all environment variables. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `environments:read` repository permission to use this endpoint. - actions [Create an environment variable](https://github.apidog.io/api-4078806.md): Create an environment variable that you can reference in a GitHub Actions workflow. - actions [Delete an environment variable](https://github.apidog.io/api-4078807.md): Deletes an environment variable using the variable name. - actions [Get an environment variable](https://github.apidog.io/api-4078808.md): Gets a specific variable in an environment. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `environments:read` repository permission to use this endpoint. - actions [Update an environment variable](https://github.apidog.io/api-4078809.md): Updates an environment variable that you can reference in a GitHub Actions workflow. - interactions [Remove interaction restrictions for an organization](https://github.apidog.io/api-3489178.md): Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions. - interactions [Get interaction restrictions for an organization](https://github.apidog.io/api-3489179.md): Shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response. - interactions [Set interaction restrictions for an organization](https://github.apidog.io/api-3489180.md): Temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization. - interactions [Remove interaction restrictions for a repository](https://github.apidog.io/api-3489182.md): Removes all interaction restrictions from the given repository. You must have owner or admin access to remove restrictions. If the interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository. - interactions [Get interaction restrictions for a repository](https://github.apidog.io/api-3489181.md): Shows which type of GitHub user can interact with this repository and when the restriction expires. If there are no restrictions, you will see an empty response. - interactions [Set interaction restrictions for a repository](https://github.apidog.io/api-3489186.md): Temporarily restricts interactions to a certain type of GitHub user within the given repository. You must have owner or admin access to set these restrictions. If an interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository. - interactions [Remove interaction restrictions from your public repositories](https://github.apidog.io/api-3489189.md): Removes any interaction restrictions from your public repositories. - interactions [Get interaction restrictions for your public repositories](https://github.apidog.io/api-3489184.md): Shows which type of GitHub user can interact with your public repositories and when the restriction expires. - interactions [Set interaction restrictions for your public repositories](https://github.apidog.io/api-3489187.md): Temporarily restricts which type of GitHub user can interact with your public repositories. Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user. - migrations [List organization migrations](https://github.apidog.io/api-3489183.md): Lists the most recent migrations, including both exports (which can be started through the REST API) and imports (which cannot be started using the REST API). - migrations [Start an organization migration](https://github.apidog.io/api-3489188.md): Initiates the generation of a migration archive. - migrations [Get an organization migration status](https://github.apidog.io/api-3489185.md): Fetches the status of a migration. - migrations [Delete an organization migration archive](https://github.apidog.io/api-3489191.md): Deletes a previous migration archive. Migration archives are automatically deleted after seven days. - migrations [Download an organization migration archive](https://github.apidog.io/api-3489190.md): Fetches the URL to a migration archive. - migrations [Unlock an organization repository](https://github.apidog.io/api-3489192.md): Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/repos/repos#delete-a-repository) when the migration is complete and you no longer need the source data. - migrations [List repositories in an organization migration](https://github.apidog.io/api-3489193.md): List all the repositories for this organization migration. - migrations [Cancel an import](https://github.apidog.io/api-3489196.md): Stop an import for a repository. - migrations [Get an import status](https://github.apidog.io/api-3489194.md): View the progress of an import. - migrations [Update an import](https://github.apidog.io/api-3489199.md): An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API - migrations [Start an import](https://github.apidog.io/api-3489197.md): Start a source import to a GitHub repository using GitHub Importer. Importing into a GitHub repository with GitHub Actions enabled is not supported and will return a status `422 Unprocessable Entity` response. - migrations [Get commit authors](https://github.apidog.io/api-3489195.md): Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot `. - migrations [Map a commit author](https://github.apidog.io/api-3489198.md): Update an author's identity for the import. Your application can continue updating authors any time before you push new commits to the repository. - migrations [Get large files](https://github.apidog.io/api-3489200.md): List files larger than 100MB found during the import - migrations [Update Git LFS preference](https://github.apidog.io/api-3489201.md): You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability is powered by [Git LFS](https://git-lfs.com). You can learn more about our LFS feature and working with large files [on our help site](https://docs.github.com/repositories/working-with-files/managing-large-files). - migrations [List user migrations](https://github.apidog.io/api-3489202.md): Lists all migrations a user has started. - migrations [Start a user migration](https://github.apidog.io/api-3489207.md): Initiates the generation of a user migration archive. - migrations [Get a user migration status](https://github.apidog.io/api-3489205.md): Fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values: - migrations [Delete a user migration archive](https://github.apidog.io/api-3489204.md): Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://docs.github.com/rest/migrations/users#list-user-migrations) and [Get a user migration status](https://docs.github.com/rest/migrations/users#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted. - migrations [Download a user migration archive](https://github.apidog.io/api-3489203.md): Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects: - migrations [Unlock a user repository](https://github.apidog.io/api-3489206.md): Unlocks a repository. You can lock repositories when you [start a user migration](https://docs.github.com/rest/migrations/users#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://docs.github.com/rest/repos/repos#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked. - migrations [List repositories for a user migration](https://github.apidog.io/api-3489208.md): Lists all the repositories for this user migration. - packages [List packages for an organization](https://github.apidog.io/api-4078862.md): Lists packages in an organization readable by the user. - packages [Delete a package for an organization](https://github.apidog.io/api-3489211.md): Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance. - packages [Get a package for an organization](https://github.apidog.io/api-3489212.md): Gets a specific package in an organization. - packages [Restore a package for an organization](https://github.apidog.io/api-3489209.md): Restores an entire package in an organization. - packages [List package versions for a package owned by an organization](https://github.apidog.io/api-3489210.md): Lists package versions for a package owned by an organization. - packages [Delete package version for an organization](https://github.apidog.io/api-3489213.md): Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance. - packages [Get a package version for an organization](https://github.apidog.io/api-3489214.md): Gets a specific package version in an organization. - packages [Restore package version for an organization](https://github.apidog.io/api-3489215.md): Restores a specific package version in an organization. - packages [List packages for the authenticated user's namespace](https://github.apidog.io/api-4078863.md): Lists packages owned by the authenticated user within the user's namespace. - packages [Delete a package for the authenticated user](https://github.apidog.io/api-3489216.md): Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance. - packages [Get a package for the authenticated user](https://github.apidog.io/api-3489217.md): Gets a specific package for a package owned by the authenticated user. - packages [Restore a package for the authenticated user](https://github.apidog.io/api-3489218.md): Restores a package owned by the authenticated user. - packages [List package versions for a package owned by the authenticated user](https://github.apidog.io/api-3489219.md): Lists package versions for a package owned by the authenticated user. - packages [Delete a package version for the authenticated user](https://github.apidog.io/api-3489222.md): Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance. - packages [Get a package version for the authenticated user](https://github.apidog.io/api-3489221.md): Gets a specific package version for a package owned by the authenticated user. - packages [Restore a package version for the authenticated user](https://github.apidog.io/api-3489220.md): Restores a package version owned by the authenticated user. - packages [List packages for a user](https://github.apidog.io/api-4078864.md): Lists all packages in a user's namespace for which the requesting user has access. - packages [Delete a package for a user](https://github.apidog.io/api-4078865.md): Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance. - packages [Get a package for a user](https://github.apidog.io/api-3489225.md): Gets a specific package metadata for a public package owned by a user. - packages [Restore a package for a user](https://github.apidog.io/api-4078866.md): Restores an entire package for a user. - packages [List package versions for a package owned by a user](https://github.apidog.io/api-3489223.md): Lists package versions for a public package owned by a specified user. - packages [Delete package version for a user](https://github.apidog.io/api-4078867.md): Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance. - packages [Get a package version for a user](https://github.apidog.io/api-3489224.md): Gets a specific package version for a public package owned by a specified user. - packages [Restore package version for a user](https://github.apidog.io/api-4078868.md): Restores a specific package version for a user. - projects [List organization projects](https://github.apidog.io/api-3489226.md): Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. - projects [Create an organization project](https://github.apidog.io/api-3489227.md): Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. - projects [Delete a project card](https://github.apidog.io/api-3489229.md): - projects [Get a project card](https://github.apidog.io/api-3489228.md): - projects [Update an existing project card](https://github.apidog.io/api-3489234.md): - projects [Move a project card](https://github.apidog.io/api-3489230.md): - projects [Delete a project column](https://github.apidog.io/api-3489232.md): - projects [Get a project column](https://github.apidog.io/api-3489231.md): - projects [Update an existing project column](https://github.apidog.io/api-3489233.md): - projects [List project cards](https://github.apidog.io/api-3489235.md): - projects [Create a project card](https://github.apidog.io/api-3489236.md): - projects [Move a project column](https://github.apidog.io/api-3489238.md): - projects [Delete a project](https://github.apidog.io/api-3489237.md): Deletes a project board. Returns a `404 Not Found` status if projects are disabled. - projects [Get a project](https://github.apidog.io/api-3489239.md): Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. - projects [Update a project](https://github.apidog.io/api-3489240.md): Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. - projects [List project collaborators](https://github.apidog.io/api-3489241.md): Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators. - projects [Remove user as a collaborator](https://github.apidog.io/api-3489242.md): Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator. - projects [Add project collaborator](https://github.apidog.io/api-3489246.md): Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator. - projects [Get project permission for a user](https://github.apidog.io/api-3489243.md): Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level. - projects [List project columns](https://github.apidog.io/api-3489245.md): - projects [Create a project column](https://github.apidog.io/api-3489244.md): - projects [List repository projects](https://github.apidog.io/api-3489248.md): Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. - projects [Create a repository project](https://github.apidog.io/api-3489247.md): Creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. - projects [Create a user project](https://github.apidog.io/api-3489250.md): Creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. - projects [List user projects](https://github.apidog.io/api-3489249.md): - repos [List organization repositories](https://github.apidog.io/api-3489252.md): Lists repositories for the specified organization. - repos [Create an organization repository](https://github.apidog.io/api-3489253.md): Creates a new repository in the specified organization. The authenticated user must be a member of the organization. - repos [Delete a repository](https://github.apidog.io/api-3489251.md): Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required. - repos [Get a repository](https://github.apidog.io/api-3489255.md): The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network. - repos [Update a repository](https://github.apidog.io/api-3489254.md): **Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/rest/reference/repos#replace-all-repository-topics) endpoint. - repos [List all autolinks of a repository](https://github.apidog.io/api-4078869.md): This returns a list of autolinks configured for the given repository. - repos [Create an autolink reference for a repository](https://github.apidog.io/api-4078870.md): Users with admin access to the repository can create an autolink. - repos [Delete an autolink reference from a repository](https://github.apidog.io/api-4078871.md): This deletes a single autolink reference by ID that was configured for the given repository. - repos [Get an autolink reference of a repository](https://github.apidog.io/api-4078872.md): This returns a single autolink reference by ID that was configured for the given repository. - repos [Disable automated security fixes](https://github.apidog.io/api-3489257.md): Disables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see "[Configuring automated security fixes](https://docs.github.com/articles/configuring-automated-security-fixes)". - repos [Enable automated security fixes](https://github.apidog.io/api-3489256.md): Enables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see "[Configuring automated security fixes](https://docs.github.com/articles/configuring-automated-security-fixes)". - repos [List branches](https://github.apidog.io/api-3489258.md): - repos [Get a branch](https://github.apidog.io/api-3489259.md): - repos [Delete branch protection](https://github.apidog.io/api-3489261.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Get branch protection](https://github.apidog.io/api-3489260.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Update branch protection](https://github.apidog.io/api-3489262.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Delete admin branch protection](https://github.apidog.io/api-3489263.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Get admin branch protection](https://github.apidog.io/api-3489265.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Set admin branch protection](https://github.apidog.io/api-3489264.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Delete pull request review protection](https://github.apidog.io/api-3489267.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Get pull request review protection](https://github.apidog.io/api-3489266.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Update pull request review protection](https://github.apidog.io/api-3489269.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Delete commit signature protection](https://github.apidog.io/api-3489268.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Get commit signature protection](https://github.apidog.io/api-3489270.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Create commit signature protection](https://github.apidog.io/api-3489271.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Remove status check protection](https://github.apidog.io/api-3489272.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Get status checks protection](https://github.apidog.io/api-3489273.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Update status check protection](https://github.apidog.io/api-3489278.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Remove status check contexts](https://github.apidog.io/api-3489274.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Get all status check contexts](https://github.apidog.io/api-3489277.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Add status check contexts](https://github.apidog.io/api-3489276.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Set status check contexts](https://github.apidog.io/api-3489275.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Delete access restrictions](https://github.apidog.io/api-3489279.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Get access restrictions](https://github.apidog.io/api-3489280.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Remove app access restrictions](https://github.apidog.io/api-3489285.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Get apps with access to the protected branch](https://github.apidog.io/api-3489281.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Add app access restrictions](https://github.apidog.io/api-3489282.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Set app access restrictions](https://github.apidog.io/api-3489286.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Remove team access restrictions](https://github.apidog.io/api-3489284.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Get teams with access to the protected branch](https://github.apidog.io/api-3489283.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Add team access restrictions](https://github.apidog.io/api-3489288.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Set team access restrictions](https://github.apidog.io/api-3489287.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Remove user access restrictions](https://github.apidog.io/api-3489289.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Get users with access to the protected branch](https://github.apidog.io/api-3489291.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Add user access restrictions](https://github.apidog.io/api-3489290.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Set user access restrictions](https://github.apidog.io/api-3489292.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [Rename a branch](https://github.apidog.io/api-3489293.md): Renames a branch in a repository. - repos [List CODEOWNERS errors](https://github.apidog.io/api-4078873.md): List any syntax errors that are detected in the CODEOWNERS - repos [List repository collaborators](https://github.apidog.io/api-3489294.md): For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. - repos [Remove a repository collaborator](https://github.apidog.io/api-3489295.md): - repos [Check if a user is a repository collaborator](https://github.apidog.io/api-3489296.md): For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. - repos [Add a repository collaborator](https://github.apidog.io/api-3489298.md): This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details. - repos [Get repository permissions for a user](https://github.apidog.io/api-3489297.md): Checks the repository permission of a collaborator. The possible repository permissions are `admin`, `write`, `read`, and `none`. - repos [List commit comments for a repository](https://github.apidog.io/api-3489300.md): Commit Comments use [these custom media types](https://docs.github.com/rest/reference/repos#custom-media-types). You can read more about the use of media types in the API [here](https://docs.github.com/rest/overview/media-types/). - repos [Delete a commit comment](https://github.apidog.io/api-3489303.md): - repos [Get a commit comment](https://github.apidog.io/api-3489299.md): - repos [Update a commit comment](https://github.apidog.io/api-3489306.md): - repos [List commits](https://github.apidog.io/api-3489307.md): **Signature verification object** - repos [List branches for HEAD commit](https://github.apidog.io/api-3489305.md): Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - repos [List commit comments](https://github.apidog.io/api-3489302.md): Use the `:commit_sha` to specify the commit that will have its comments listed. - repos [Create a commit comment](https://github.apidog.io/api-3489308.md): Create a comment for a commit using its `:commit_sha`. - repos [List pull requests associated with a commit](https://github.apidog.io/api-3489301.md): Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit. - repos [Compare two commits](https://github.apidog.io/api-3489310.md): Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`. - repos [Get a commit](https://github.apidog.io/api-3489304.md): Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint. - repos [Get the combined status for a specific reference](https://github.apidog.io/api-3489309.md): Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. - repos [List commit statuses for a reference](https://github.apidog.io/api-3489314.md): Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one. - repos [Get community profile metrics](https://github.apidog.io/api-3489313.md): Returns all community profile metrics for a repository. The repository cannot be a fork. - repos [Compare two commits](https://github.apidog.io/api-4078874.md): Compares two commits against one another. You can compare branches in the same repository, or you can compare branches that exist in different repositories within the same repository network, including fork branches. For more information about how to view a repository's network, see "[Understanding connections between repositories](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories)." - repos [Delete a file](https://github.apidog.io/api-3489311.md): Deletes a file in a repository. - repos [Get repository content](https://github.apidog.io/api-3489312.md): Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit - repos [Create or update file contents](https://github.apidog.io/api-3489316.md): Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint. - repos [List repository contributors](https://github.apidog.io/api-3489315.md): Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API caches contributor data to improve performance. - repos [List deployments](https://github.apidog.io/api-3489317.md): Simple filtering of deployments is available via query parameters: - repos [Create a deployment](https://github.apidog.io/api-3489319.md): Deployments offer a few configurable parameters with certain defaults. - repos [Delete a deployment](https://github.apidog.io/api-3489318.md): If the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment. Anyone with `repo` or `repo_deployment` scopes can delete a deployment. - repos [Get a deployment](https://github.apidog.io/api-3489320.md): - repos [List deployment statuses](https://github.apidog.io/api-3489321.md): Users with pull access can view deployment statuses for a deployment: - repos [Create a deployment status](https://github.apidog.io/api-3489326.md): Users with `push` access can create deployment statuses for a given deployment. - repos [Get a deployment status](https://github.apidog.io/api-3489324.md): Users with pull access can view a deployment status for a deployment: - repos [Create a repository dispatch event](https://github.apidog.io/api-3489322.md): You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see "[RepositoryDispatchEvent](https://docs.github.com/webhooks/event-payloads/#repository_dispatch)." - repos [List environments](https://github.apidog.io/api-3489323.md): Lists the environments for a repository. - repos [Delete an environment](https://github.apidog.io/api-3489325.md): You must authenticate using an access token with the repo scope to use this endpoint. - repos [Get an environment](https://github.apidog.io/api-3489327.md): **Note:** To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)." - repos [Create or update an environment](https://github.apidog.io/api-3489328.md): Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)." - repos [List deployment branch policies](https://github.apidog.io/api-4078875.md): Lists the deployment branch policies for an environment. - repos [Create a deployment branch policy](https://github.apidog.io/api-4078876.md): Creates a deployment branch policy for an environment. - repos [Delete a deployment branch policy](https://github.apidog.io/api-4078877.md): Deletes a deployment branch policy for an environment. - repos [Get a deployment branch policy](https://github.apidog.io/api-4078878.md): Gets a deployment branch policy for an environment. - repos [Update a deployment branch policy](https://github.apidog.io/api-4078879.md): Updates a deployment branch policy for an environment. - repos [List forks](https://github.apidog.io/api-3489329.md): - repos [Create a fork](https://github.apidog.io/api-3489330.md): Create a fork for the authenticated user. - repos [List repository webhooks](https://github.apidog.io/api-3489331.md): Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days. - repos [Create a repository webhook](https://github.apidog.io/api-3489332.md): Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can - repos [Delete a repository webhook](https://github.apidog.io/api-3489333.md): - repos [Get a repository webhook](https://github.apidog.io/api-3489334.md): Returns a webhook configured in a repository. To get only the webhook `config` properties, see "[Get a webhook configuration for a repository](/rest/reference/repos#get-a-webhook-configuration-for-a-repository)." - repos [Update a repository webhook](https://github.apidog.io/api-3489337.md): Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for a repository](/rest/reference/repos#update-a-webhook-configuration-for-a-repository)." - repos [Get a webhook configuration for a repository](https://github.apidog.io/api-3489338.md): Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use "[Get a repository webhook](/rest/reference/orgs#get-a-repository-webhook)." - repos [Update a webhook configuration for a repository](https://github.apidog.io/api-3489339.md): Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use "[Update a repository webhook](/rest/reference/orgs#update-a-repository-webhook)." - repos [List deliveries for a repository webhook](https://github.apidog.io/api-4078880.md): Returns a list of webhook deliveries for a webhook configured in a repository. - repos [Get a delivery for a repository webhook](https://github.apidog.io/api-4078881.md): Returns a delivery for a webhook configured in a repository. - repos [Redeliver a delivery for a repository webhook](https://github.apidog.io/api-4078882.md): Redeliver a webhook delivery for a webhook configured in a repository. - repos [Ping a repository webhook](https://github.apidog.io/api-3489335.md): This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook. - repos [Test the push repository webhook](https://github.apidog.io/api-3489336.md): This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated. - repos [List repository invitations](https://github.apidog.io/api-3489340.md): When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations. - repos [Delete a repository invitation](https://github.apidog.io/api-3489342.md): - repos [Update a repository invitation](https://github.apidog.io/api-3489341.md): - repos [List deploy keys](https://github.apidog.io/api-3489344.md): - repos [Create a deploy key](https://github.apidog.io/api-3489343.md): You can create a read-only deploy key. - repos [Delete a deploy key](https://github.apidog.io/api-3489345.md): Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead. - repos [Get a deploy key](https://github.apidog.io/api-3489346.md): - repos [List repository languages](https://github.apidog.io/api-3489350.md): Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language. - repos [Disable Git LFS for a repository](https://github.apidog.io/api-4078883.md): Disables Git LFS for a repository. Access tokens must have the `admin:enterprise` scope. - repos [Enable Git LFS for a repository](https://github.apidog.io/api-4078884.md): Enables Git LFS for a repository. Access tokens must have the `admin:enterprise` scope. - repos [Sync a fork branch with the upstream repository](https://github.apidog.io/api-4078885.md): Sync a branch of a forked repository to keep it up-to-date with the upstream repository. - repos [Merge a branch](https://github.apidog.io/api-3489347.md): - repos [Delete a GitHub Pages site](https://github.apidog.io/api-3489348.md): Deletes a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages). - repos [Get a GitHub Pages site](https://github.apidog.io/api-3489349.md): - repos [Create a GitHub Pages site](https://github.apidog.io/api-3489351.md): Configures a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages)." - repos [Update information about a GitHub Pages site](https://github.apidog.io/api-3489353.md): Updates information for a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages). - repos [List GitHub Pages builds](https://github.apidog.io/api-3489352.md): - repos [Request a GitHub Pages build](https://github.apidog.io/api-3489354.md): You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures. - repos [Get latest Pages build](https://github.apidog.io/api-3489355.md): - repos [Get GitHub Pages build](https://github.apidog.io/api-3489356.md): - repos [Create a GitHub Pages deployment](https://github.apidog.io/api-4078886.md): Create a GitHub Pages deployment for a repository. - repos [Get a DNS health check for GitHub Pages](https://github.apidog.io/api-4078887.md): Gets a health check of the DNS settings for the `CNAME` record configured for a repository's GitHub Pages. - repos [Get a repository README](https://github.apidog.io/api-3489358.md): Gets the preferred README for a repository. - repos [Get a repository README for a directory](https://github.apidog.io/api-3489360.md): Gets the README from a repository directory. - repos [List releases](https://github.apidog.io/api-3489359.md): This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/rest/reference/repos#list-repository-tags). - repos [Create a release](https://github.apidog.io/api-3489357.md): Users with push access to the repository can create a release. - repos [Delete a release asset](https://github.apidog.io/api-3489361.md): - repos [Get a release asset](https://github.apidog.io/api-3489367.md): To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. - repos [Update a release asset](https://github.apidog.io/api-3489363.md): Users with push access to the repository can edit a release asset. - repos [Generate release notes content for a release](https://github.apidog.io/api-4078888.md): Generate a name and body describing a [release](https://docs.github.com/rest/reference/repos#releases). The body content will be markdown formatted and contain information like the changes since last release and users who contributed. The generated release notes are not saved anywhere. They are intended to be generated and used when creating a new release. - repos [Get the latest release](https://github.apidog.io/api-3489362.md): View the latest published full release for the repository. - repos [Get a release by tag name](https://github.apidog.io/api-3489364.md): Get a published release with the specified tag. - repos [Delete a release](https://github.apidog.io/api-3489365.md): Users with push access to the repository can delete a release. - repos [Get a release](https://github.apidog.io/api-3489369.md): **Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia). - repos [Update a release](https://github.apidog.io/api-3489368.md): Users with push access to the repository can edit a release. - repos [List release assets](https://github.apidog.io/api-3489366.md): - repos [Upload a release asset](https://github.apidog.io/api-3489374.md): This endpoint makes use of [a Hypermedia relation](https://docs.github.com/rest/overview/resources-in-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in - repos [Get the weekly commit activity](https://github.apidog.io/api-3489372.md): Returns a weekly aggregate of the number of additions and deletions pushed to a repository. - repos [Get the last year of commit activity](https://github.apidog.io/api-3489371.md): Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`. - repos [Get all contributor commit activity](https://github.apidog.io/api-3489370.md): - repos [Get the weekly commit count](https://github.apidog.io/api-3489373.md): Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`. - repos [Get the hourly commit count for each day](https://github.apidog.io/api-3489376.md): Each array contains the day number, hour number, and number of commits: - repos [Create a commit status](https://github.apidog.io/api-3489375.md): Users with push access in a repository can create commit statuses for a given SHA. - repos [List repository tags](https://github.apidog.io/api-3489379.md): - repos [List tag protection states for a repository](https://github.apidog.io/api-4078889.md): This returns the tag protection states of a repository. - repos [Create a tag protection state for a repository](https://github.apidog.io/api-4078890.md): This creates a tag protection state for a repository. - repos [Delete a tag protection state for a repository](https://github.apidog.io/api-4078891.md): This deletes a tag protection state for a repository. - repos [Download a repository archive (tar)](https://github.apidog.io/api-3489377.md): Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually - repos [List repository teams](https://github.apidog.io/api-3489382.md): - repos [Get all repository topics](https://github.apidog.io/api-3489378.md): - repos [Replace all repository topics](https://github.apidog.io/api-3489381.md): - repos [Get repository clones](https://github.apidog.io/api-3489380.md): Get the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday. - repos [Get top referral paths](https://github.apidog.io/api-3489383.md): Get the top 10 popular contents over the last 14 days. - repos [Get top referral sources](https://github.apidog.io/api-3489384.md): Get the top 10 referrers over the last 14 days. - repos [Get page views](https://github.apidog.io/api-3489385.md): Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday. - repos [Transfer a repository](https://github.apidog.io/api-3489386.md): A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/articles/about-repository-transfers/). - repos [Disable vulnerability alerts](https://github.apidog.io/api-3489387.md): Disables dependency alerts and the dependency graph for a repository. - repos [Check if vulnerability alerts are enabled for a repository](https://github.apidog.io/api-3489388.md): Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin read access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://docs.github.com/articles/about-security-alerts-for-vulnerable-dependencies)". - repos [Enable vulnerability alerts](https://github.apidog.io/api-3489389.md): Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://docs.github.com/articles/about-security-alerts-for-vulnerable-dependencies)". - repos [Download a repository archive (zip)](https://github.apidog.io/api-3489390.md): Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually - repos [Create a repository using a template](https://github.apidog.io/api-3489391.md): Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. If the repository is not public, the authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`. - repos [List public repositories](https://github.apidog.io/api-3489392.md): Lists all public repositories in the order that they were created. - repos [List repositories for the authenticated user](https://github.apidog.io/api-3489397.md): Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access. - repos [Create a repository for the authenticated user](https://github.apidog.io/api-3489394.md): Creates a new repository for the authenticated user. - repos [List repository invitations for the authenticated user](https://github.apidog.io/api-3489393.md): When authenticating as a user, this endpoint will list all currently open repository invitations for that user. - repos [Decline a repository invitation](https://github.apidog.io/api-3489398.md): - repos [Accept a repository invitation](https://github.apidog.io/api-3489399.md): - repos [List repositories for a user](https://github.apidog.io/api-3489396.md): Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user. - teams [List IdP groups for an organization](https://github.apidog.io/api-3489395.md): Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - teams [List teams](https://github.apidog.io/api-3489401.md): Lists all teams in an organization that are visible to the authenticated user. - teams [Create a team](https://github.apidog.io/api-3489400.md): To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see "[Setting team creation permissions](https://docs.github.com/articles/setting-team-creation-permissions-in-your-organization)." - teams [Delete a team](https://github.apidog.io/api-3489408.md): To delete a team, the authenticated user must be an organization owner or team maintainer. - teams [Get a team by name](https://github.apidog.io/api-3489402.md): Gets a team using the team's `slug`. To create the `slug`, GitHub replaces special characters in the `name` string, changes all words to lowercase, and replaces spaces with a `-` separator. For example, `"My TEam Näme"` would become `my-team-name`. - teams [Update a team](https://github.apidog.io/api-3489403.md): To edit a team, the authenticated user must either be an organization owner or a team maintainer. - teams [List discussions](https://github.apidog.io/api-3489404.md): List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - teams [Create a discussion](https://github.apidog.io/api-3489405.md): Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - teams [Delete a discussion](https://github.apidog.io/api-3489406.md): Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - teams [Get a discussion](https://github.apidog.io/api-3489407.md): Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - teams [Update a discussion](https://github.apidog.io/api-3489409.md): Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - teams [List discussion comments](https://github.apidog.io/api-3489410.md): List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - teams [Create a discussion comment](https://github.apidog.io/api-3489411.md): Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - teams [Delete a discussion comment](https://github.apidog.io/api-3489412.md): Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - teams [Get a discussion comment](https://github.apidog.io/api-3489413.md): Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - teams [Update a discussion comment](https://github.apidog.io/api-3489416.md): Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - teams [List pending team invitations](https://github.apidog.io/api-3489414.md): The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. - teams [List team members](https://github.apidog.io/api-3489415.md): Team members will include the members of child teams. - teams [Remove team membership for a user](https://github.apidog.io/api-3489417.md): To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team. - teams [Get team membership for a user](https://github.apidog.io/api-3489418.md): Team members will include the members of child teams. - teams [Add or update team membership for a user](https://github.apidog.io/api-3489422.md): Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team. - teams [List team projects](https://github.apidog.io/api-3489421.md): Lists the organization projects for a team. - teams [Remove a project from a team](https://github.apidog.io/api-3489420.md): Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project. - teams [Check team permissions for a project](https://github.apidog.io/api-3489423.md): Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. - teams [Add or update team project permissions](https://github.apidog.io/api-3489424.md): Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. - teams [List team repositories](https://github.apidog.io/api-3489419.md): Lists a team's repositories visible to the authenticated user. - teams [Remove a repository from a team](https://github.apidog.io/api-3489425.md): If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team. - teams [Check team permissions for a repository](https://github.apidog.io/api-3489426.md): Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked. - teams [Add or update team repository permissions](https://github.apidog.io/api-3489427.md): To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - teams [List child teams](https://github.apidog.io/api-3489430.md): Lists the child teams of the team specified by `{team_slug}`. - teams [List IdP groups for a team](https://github.apidog.io/api-3489428.md): Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - teams [Delete a team (Legacy)](https://github.apidog.io/api-3489429.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/reference/teams#delete-a-team) endpoint. - teams [Get a team (Legacy)](https://github.apidog.io/api-3489431.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/reference/teams#get-a-team-by-name) endpoint. - teams [Create or update IdP group connections](https://github.apidog.io/api-3489432.md): Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - teams [Update a team (Legacy)](https://github.apidog.io/api-3489435.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/reference/teams#update-a-team) endpoint. - teams [List discussions (Legacy)](https://github.apidog.io/api-3489434.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/reference/teams#list-discussions) endpoint. - teams [Create a discussion (Legacy)](https://github.apidog.io/api-3489433.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/reference/teams#create-a-discussion) endpoint. - teams [Delete a discussion (Legacy)](https://github.apidog.io/api-3489436.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/reference/teams#delete-a-discussion) endpoint. - teams [Get a discussion (Legacy)](https://github.apidog.io/api-3489439.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/reference/teams#get-a-discussion) endpoint. - teams [Update a discussion (Legacy)](https://github.apidog.io/api-3489440.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/reference/teams#update-a-discussion) endpoint. - teams [List discussion comments (Legacy)](https://github.apidog.io/api-3489437.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/reference/teams#list-discussion-comments) endpoint. - teams [Create a discussion comment (Legacy)](https://github.apidog.io/api-3489438.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/reference/teams#create-a-discussion-comment) endpoint. - teams [Delete a discussion comment (Legacy)](https://github.apidog.io/api-3489441.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/reference/teams#delete-a-discussion-comment) endpoint. - teams [Get a discussion comment (Legacy)](https://github.apidog.io/api-3489447.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/reference/teams#get-a-discussion-comment) endpoint. - teams [Update a discussion comment (Legacy)](https://github.apidog.io/api-3489443.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/reference/teams#update-a-discussion-comment) endpoint. - teams [List pending team invitations (Legacy)](https://github.apidog.io/api-3489442.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/reference/teams#list-pending-team-invitations) endpoint. - teams [List team members (Legacy)](https://github.apidog.io/api-3489445.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/reference/teams#list-team-members) endpoint. - teams [Remove team member (Legacy)](https://github.apidog.io/api-3489444.md): The "Remove team member" endpoint (described below) is deprecated. - teams [Get team member (Legacy)](https://github.apidog.io/api-3489449.md): The "Get team member" endpoint (described below) is deprecated. - teams [Add team member (Legacy)](https://github.apidog.io/api-3489446.md): The "Add team member" endpoint (described below) is deprecated. - teams [Remove team membership for a user (Legacy)](https://github.apidog.io/api-3489448.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user) endpoint. - teams [Get team membership for a user (Legacy)](https://github.apidog.io/api-3489450.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user) endpoint. - teams [Add or update team membership for a user (Legacy)](https://github.apidog.io/api-3489454.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user) endpoint. - teams [List team projects (Legacy)](https://github.apidog.io/api-3489451.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/reference/teams#list-team-projects) endpoint. - teams [Remove a project from a team (Legacy)](https://github.apidog.io/api-3489452.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/reference/teams#remove-a-project-from-a-team) endpoint. - teams [Check team permissions for a project (Legacy)](https://github.apidog.io/api-3489453.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-project) endpoint. - teams [Add or update team project permissions (Legacy)](https://github.apidog.io/api-3489455.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/reference/teams#add-or-update-team-project-permissions) endpoint. - teams [List team repositories (Legacy)](https://github.apidog.io/api-3489456.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/reference/teams#list-team-repositories) endpoint. - teams [Remove a repository from a team (Legacy)](https://github.apidog.io/api-3489457.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/reference/teams#remove-a-repository-from-a-team) endpoint. - teams [Check team permissions for a repository (Legacy)](https://github.apidog.io/api-3489459.md): **Note**: Repositories inherited through a parent team will also be checked. - teams [Add or update team repository permissions (Legacy)](https://github.apidog.io/api-3489460.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/reference/teams#add-or-update-team-repository-permissions)" endpoint. - teams [List child teams (Legacy)](https://github.apidog.io/api-3489463.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/reference/teams#list-child-teams) endpoint. - teams [List teams for the authenticated user](https://github.apidog.io/api-3489465.md): List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/apps/building-oauth-apps/). - teams [List IdP groups for a team (Legacy)](https://github.apidog.io/api-3489458.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List IdP groups for a team`](https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team) endpoint. - teams [Create or update IdP group connections (Legacy)](https://github.apidog.io/api-3489466.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create or update IdP group connections`](https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections) endpoint. - reactions [List reactions for a team discussion comment](https://github.apidog.io/api-3489462.md): List the reactions to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - reactions [Create reaction for a team discussion comment](https://github.apidog.io/api-3489461.md): Create a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. - reactions [Delete team discussion comment reaction](https://github.apidog.io/api-3489464.md): **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. - reactions [List reactions for a team discussion](https://github.apidog.io/api-3489468.md): List the reactions to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - reactions [Create reaction for a team discussion](https://github.apidog.io/api-3489467.md): Create a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion. - reactions [Delete team discussion reaction](https://github.apidog.io/api-3489469.md): **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. - reactions [Delete a reaction (Legacy)](https://github.apidog.io/api-3489470.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/). - reactions [List reactions for a commit comment](https://github.apidog.io/api-3489476.md): List the reactions to a [commit comment](https://docs.github.com/rest/reference/repos#comments). - reactions [Create reaction for a commit comment](https://github.apidog.io/api-3489474.md): Create a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment. - reactions [Delete a commit comment reaction](https://github.apidog.io/api-3489475.md): **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`. - reactions [List reactions for an issue comment](https://github.apidog.io/api-3489472.md): List the reactions to an [issue comment](https://docs.github.com/rest/reference/issues#comments). - reactions [Create reaction for an issue comment](https://github.apidog.io/api-3489477.md): Create a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment. - reactions [Delete an issue comment reaction](https://github.apidog.io/api-3489471.md): **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`. - reactions [List reactions for an issue](https://github.apidog.io/api-3489473.md): List the reactions to an [issue](https://docs.github.com/rest/reference/issues). - reactions [Create reaction for an issue](https://github.apidog.io/api-3489478.md): Create a reaction to an [issue](https://docs.github.com/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue. - reactions [Delete an issue reaction](https://github.apidog.io/api-3489480.md): **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`. - reactions [List reactions for a pull request review comment](https://github.apidog.io/api-3489479.md): List the reactions to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments). - reactions [Create reaction for a pull request review comment](https://github.apidog.io/api-3489481.md): Create a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment. - reactions [Delete a pull request comment reaction](https://github.apidog.io/api-3489482.md): **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.` - reactions [List reactions for a release](https://github.apidog.io/api-4078892.md): List the reactions to a [release](https://docs.github.com/rest/reference/repos#releases). - reactions [Create reaction for a release](https://github.apidog.io/api-4078893.md): Create a reaction to a [release](https://docs.github.com/rest/reference/repos#releases). A response with a `Status: 200 OK` means that you already added the reaction type to this release. - reactions [Delete a release reaction](https://github.apidog.io/api-4078894.md): **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`. - reactions [List reactions for a team discussion comment (Legacy)](https://github.apidog.io/api-3489483.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion-comment) endpoint. - reactions [Create reaction for a team discussion comment (Legacy)](https://github.apidog.io/api-3489484.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. - reactions [List reactions for a team discussion (Legacy)](https://github.apidog.io/api-3489485.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion) endpoint. - reactions [Create reaction for a team discussion (Legacy)](https://github.apidog.io/api-3489486.md): **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint. - rate-limit [Get rate limit status for the authenticated user](https://github.apidog.io/api-3489487.md): **Note:** Accessing this endpoint does not count against your REST API rate limit. - checks [Create a check run](https://github.apidog.io/api-3489489.md): **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - checks [Get a check run](https://github.apidog.io/api-3489488.md): **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - checks [Update a check run](https://github.apidog.io/api-3489490.md): **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - checks [List check run annotations](https://github.apidog.io/api-3489491.md): Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository. - checks [Rerequest a check run](https://github.apidog.io/api-4078895.md): Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared. - checks [Create a check suite](https://github.apidog.io/api-3489492.md): **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - checks [Update repository preferences for check suites](https://github.apidog.io/api-3489493.md): Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/rest/reference/checks#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites. - checks [Get a check suite](https://github.apidog.io/api-3489494.md): **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - checks [List check runs in a check suite](https://github.apidog.io/api-3489495.md): **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - checks [Rerequest a check suite](https://github.apidog.io/api-3489500.md): Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared. - checks [List check runs for a Git reference](https://github.apidog.io/api-3489497.md): **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. - checks [List check suites for a Git reference](https://github.apidog.io/api-3489496.md): **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`. - code-scanning [List code scanning alerts for an organization](https://github.apidog.io/api-4078812.md): Lists code scanning alerts for the default branch for all eligible repositories in an organization. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." - code-scanning [List code scanning alerts for a repository](https://github.apidog.io/api-3489499.md): Lists code scanning alerts. - code-scanning [Get a code scanning alert](https://github.apidog.io/api-3489498.md): Gets a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint with private repos, the `public_repo` scope also grants permission to read security events on public repos only. GitHub Apps must have the `security_events` read permission to use this endpoint. - code-scanning [Update a code scanning alert](https://github.apidog.io/api-3489506.md): Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint with private repositories. You can also use tokens with the `public_repo` scope for public repositories only. GitHub Apps must have the `security_events` write permission to use this endpoint. - code-scanning [List instances of a code scanning alert](https://github.apidog.io/api-3489504.md): Lists all instances of the specified code scanning alert. - code-scanning [List code scanning analyses for a repository](https://github.apidog.io/api-3489502.md): Lists the details of all code scanning analyses for a repository, - code-scanning [Delete a code scanning analysis from a repository](https://github.apidog.io/api-3489501.md): Deletes a specified code scanning analysis from a repository. For - code-scanning [Get a code scanning analysis for a repository](https://github.apidog.io/api-3489503.md): Gets a specified code scanning analysis for a repository. - code-scanning [List CodeQL databases for a repository](https://github.apidog.io/api-4078813.md): Lists the CodeQL databases that are available in a repository. - code-scanning [Get a CodeQL database for a repository](https://github.apidog.io/api-4078814.md): Gets a CodeQL database for a language in a repository. - code-scanning [Upload an analysis as SARIF data](https://github.apidog.io/api-3489507.md): Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint for private repositories. You can also use tokens with the `public_repo` scope for public repositories only. GitHub Apps must have the `security_events` write permission to use this endpoint. - code-scanning [Get information about a SARIF upload](https://github.apidog.io/api-3489505.md): Gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see "[Get a code scanning analysis for a repository](/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository)." You must use an access token with the `security_events` scope to use this endpoint with private repos, the `public_repo` scope also grants permission to read security events on public repos only. GitHub Apps must have the `security_events` read permission to use this endpoint. - git [Create a blob](https://github.apidog.io/api-3489510.md): - git [Get a blob](https://github.apidog.io/api-3489508.md): The `content` in the response will always be Base64 encoded. - git [Create a commit](https://github.apidog.io/api-3489509.md): Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects). - git [Get a commit](https://github.apidog.io/api-3489511.md): Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects). - git [List matching references](https://github.apidog.io/api-3489512.md): Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array. - git [Get a reference](https://github.apidog.io/api-3489513.md): Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned. - git [Create a reference](https://github.apidog.io/api-3489515.md): Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches. - git [Delete a reference](https://github.apidog.io/api-3489514.md): - git [Update a reference](https://github.apidog.io/api-3489517.md): - git [Create a tag object](https://github.apidog.io/api-3489516.md): Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/rest/reference/git#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/rest/reference/git#create-a-reference) the tag reference - this call would be unnecessary. - git [Get a tag](https://github.apidog.io/api-3489518.md): **Signature verification object** - git [Create a tree](https://github.apidog.io/api-3489520.md): The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure. - git [Get a tree](https://github.apidog.io/api-3489519.md): Returns a single tree using the SHA1 value for that tree. - pulls [List pull requests](https://github.apidog.io/api-3489523.md): Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - pulls [Create a pull request](https://github.apidog.io/api-3489522.md): Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - pulls [List review comments in a repository](https://github.apidog.io/api-3489521.md): Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID. - pulls [Delete a review comment for a pull request](https://github.apidog.io/api-3489525.md): Deletes a review comment. - pulls [Get a review comment for a pull request](https://github.apidog.io/api-3489524.md): Provides details for a review comment. - pulls [Update a review comment for a pull request](https://github.apidog.io/api-3489527.md): Enables you to edit a review comment. - pulls [Get a pull request](https://github.apidog.io/api-3489530.md): Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - pulls [Update a pull request](https://github.apidog.io/api-3489526.md): Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - pulls [List review comments on a pull request](https://github.apidog.io/api-3489528.md): Lists all review comments for a pull request. By default, review comments are in ascending order by ID. - pulls [Create a review comment for a pull request](https://github.apidog.io/api-3489529.md): - pulls [Create a reply for a review comment](https://github.apidog.io/api-3489532.md): Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported. - pulls [List commits on a pull request](https://github.apidog.io/api-3489531.md): Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/rest/reference/repos#list-commits) endpoint. - pulls [List pull requests files](https://github.apidog.io/api-3489533.md): **Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default. - pulls [Check if a pull request has been merged](https://github.apidog.io/api-3489536.md): - pulls [Merge a pull request](https://github.apidog.io/api-3489535.md): This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details. - pulls [Remove requested reviewers from a pull request](https://github.apidog.io/api-3489534.md): - pulls [Get all requested reviewers for a pull request](https://github.apidog.io/api-3489538.md): Gets the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request) operation. - pulls [Request reviewers for a pull request](https://github.apidog.io/api-3489537.md): This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details. - pulls [List reviews for a pull request](https://github.apidog.io/api-3489539.md): The list of reviews returns in chronological order. - pulls [Create a review for a pull request](https://github.apidog.io/api-3489540.md): This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See "[Secondary rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits)" and "[Dealing with secondary rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)" for details. - pulls [Delete a pending review for a pull request](https://github.apidog.io/api-3489541.md): - pulls [Get a review for a pull request](https://github.apidog.io/api-3489543.md): - pulls [Update a review for a pull request](https://github.apidog.io/api-3489542.md): Update the review summary comment with new text. - pulls [List comments for a pull request review](https://github.apidog.io/api-3489544.md): List comments for a specific pull request review. - pulls [Dismiss a review for a pull request](https://github.apidog.io/api-3489548.md): **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/reference/repos#branches), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews. - pulls [Submit a review for a pull request](https://github.apidog.io/api-3489547.md): Submits a pending review for a pull request. For more information about creating a pending review for a pull request, see "[Create a review for a pull request](https://docs.github.com/rest/pulls#create-a-review-for-a-pull-request)." - pulls [Update a pull request branch](https://github.apidog.io/api-3489546.md): Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. - secret-scanning [List secret scanning alerts for an enterprise](https://github.apidog.io/api-4078737.md): Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - secret-scanning [List secret scanning alerts for an organization](https://github.apidog.io/api-4078738.md): Lists secret scanning alerts for eligible repositories in an organization, from newest to oldest. - secret-scanning [List secret scanning alerts for a repository](https://github.apidog.io/api-3489545.md): Lists secret scanning alerts for an eligible repository, from newest to oldest. - secret-scanning [Get a secret scanning alert](https://github.apidog.io/api-3489550.md): Gets a single secret scanning alert detected in an eligible repository. - secret-scanning [Update a secret scanning alert](https://github.apidog.io/api-3489549.md): Updates the status of a secret scanning alert in an eligible repository. - secret-scanning [List locations for a secret scanning alert](https://github.apidog.io/api-4078739.md): Lists all locations for a given secret scanning alert for an eligible repository. - scim [List SCIM provisioned identities](https://github.apidog.io/api-3489553.md): Retrieves a paginated list of all provisioned organization members, including pending invitations. If you provide the `filter` parameter, the resources for all matching provisions members are returned. - scim [Provision and invite a SCIM user](https://github.apidog.io/api-3489551.md): Provision organization membership for a user, and send an activation email to the email address. - scim [Delete a SCIM user from an organization](https://github.apidog.io/api-3489554.md): - scim [Get SCIM provisioning information for a user](https://github.apidog.io/api-3489552.md): - scim [Update an attribute for a SCIM user](https://github.apidog.io/api-3489555.md): Allows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific `Operations` JSON format that contains at least one of the `add`, `remove`, or `replace` operations. For examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). - scim [Update a provisioned organization membership](https://github.apidog.io/api-3489556.md): Replaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the [Update an attribute for a SCIM user](https://docs.github.com/rest/reference/scim#update-an-attribute-for-a-scim-user) endpoint instead. - search [Search code](https://github.apidog.io/api-3489557.md): Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - search [Search commits](https://github.apidog.io/api-3489558.md): Find commits via various criteria on the default branch (usually `main`). This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - search [Search issues and pull requests](https://github.apidog.io/api-3489559.md): Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - search [Search labels](https://github.apidog.io/api-3489560.md): Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - search [Search repositories](https://github.apidog.io/api-3489563.md): Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - search [Search topics](https://github.apidog.io/api-3489562.md): Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). See "[Searching topics](https://docs.github.com/articles/searching-topics/)" for a detailed list of qualifiers. - search [Search users](https://github.apidog.io/api-3489564.md): Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). - users [Get the authenticated user](https://github.apidog.io/api-3489561.md): If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information. - users [Update the authenticated user](https://github.apidog.io/api-3489567.md): **Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API. - users [List users blocked by the authenticated user](https://github.apidog.io/api-3489568.md): List the users you've blocked on your personal account. - users [Unblock a user](https://github.apidog.io/api-3489565.md): - users [Check if a user is blocked by the authenticated user](https://github.apidog.io/api-3489566.md): - users [Block a user](https://github.apidog.io/api-3489570.md): - users [Set primary email visibility for the authenticated user](https://github.apidog.io/api-3489569.md): Sets the visibility for your primary email addresses. - users [Delete an email address for the authenticated user](https://github.apidog.io/api-3489571.md): This endpoint is accessible with the `user` scope. - users [List email addresses for the authenticated user](https://github.apidog.io/api-3489572.md): Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope. - users [Add an email address for the authenticated user](https://github.apidog.io/api-3489574.md): This endpoint is accessible with the `user` scope. - users [List followers of the authenticated user](https://github.apidog.io/api-3489573.md): Lists the people following the authenticated user. - users [List the people the authenticated user follows](https://github.apidog.io/api-3489577.md): Lists the people who the authenticated user follows. - users [Unfollow a user](https://github.apidog.io/api-3489576.md): Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope. - users [Check if a person is followed by the authenticated user](https://github.apidog.io/api-3489578.md): - users [Follow a user](https://github.apidog.io/api-3489575.md): Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." - users [List GPG keys for the authenticated user](https://github.apidog.io/api-3489579.md): Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - users [Create a GPG key for the authenticated user](https://github.apidog.io/api-3489584.md): Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - users [Delete a GPG key for the authenticated user](https://github.apidog.io/api-3489580.md): Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - users [Get a GPG key for the authenticated user](https://github.apidog.io/api-3489581.md): View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - users [List public SSH keys for the authenticated user](https://github.apidog.io/api-3489583.md): Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - users [Create a public SSH key for the authenticated user](https://github.apidog.io/api-3489582.md): Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - users [Delete a public SSH key for the authenticated user](https://github.apidog.io/api-3489585.md): Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - users [Get a public SSH key for the authenticated user](https://github.apidog.io/api-3489586.md): View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). - users [List public email addresses for the authenticated user](https://github.apidog.io/api-3489588.md): Lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope. - users [List SSH signing keys for the authenticated user](https://github.apidog.io/api-4078898.md): Lists the SSH signing keys for the authenticated user's GitHub account. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `read:ssh_signing_key` scope. For more information, see "[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/)." - users [Create a SSH signing key for the authenticated user](https://github.apidog.io/api-4078899.md): Creates an SSH signing key for the authenticated user's GitHub account. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `write:ssh_signing_key` scope. For more information, see "[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/)." - users [Delete an SSH signing key for the authenticated user](https://github.apidog.io/api-4078900.md): Deletes an SSH signing key from the authenticated user's GitHub account. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `admin:ssh_signing_key` scope. For more information, see "[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/)." - users [Get an SSH signing key for the authenticated user](https://github.apidog.io/api-4078901.md): Gets extended details for an SSH signing key. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `read:ssh_signing_key` scope. For more information, see "[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/)." - users [List users](https://github.apidog.io/api-3489587.md): Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts. - users [Get a user](https://github.apidog.io/api-3489590.md): Provides publicly available information about someone with a GitHub account. - users [List followers of a user](https://github.apidog.io/api-3489589.md): Lists the people following the specified user. - users [List the people a user follows](https://github.apidog.io/api-3489591.md): Lists the people who the specified user follows. - users [Check if a user follows another user](https://github.apidog.io/api-3489592.md): - users [List GPG keys for a user](https://github.apidog.io/api-3489593.md): Lists the GPG keys for a user. This information is accessible by anyone. - users [Get contextual information for a user](https://github.apidog.io/api-3489595.md): Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations. - users [List public keys for a user](https://github.apidog.io/api-3489594.md): Lists the _verified_ public SSH keys for a user. This is accessible by anyone. - users [List SSH signing keys for a user](https://github.apidog.io/api-4078902.md): Lists the SSH signing keys for a user. This operation is accessible by anyone. - dependabot [List Dependabot alerts for an enterprise](https://github.apidog.io/api-4078718.md): Lists Dependabot alerts for repositories that are owned by the specified enterprise. - dependabot [List Dependabot alerts for an organization](https://github.apidog.io/api-4078719.md): Lists Dependabot alerts for an organization. - dependabot [List organization secrets](https://github.apidog.io/api-4078720.md): Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint. - dependabot [Get an organization public key](https://github.apidog.io/api-4078721.md): Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint. - dependabot [Delete an organization secret](https://github.apidog.io/api-4078722.md): Deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint. - dependabot [Get an organization secret](https://github.apidog.io/api-4078723.md): Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint. - dependabot [Create or update an organization secret](https://github.apidog.io/api-4078724.md): Creates or updates an organization secret with an encrypted value. Encrypt your secret using - dependabot [List selected repositories for an organization secret](https://github.apidog.io/api-4078725.md): Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint. - dependabot [Set selected repositories for an organization secret](https://github.apidog.io/api-4078726.md): Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint. - dependabot [Remove selected repository from an organization secret](https://github.apidog.io/api-4078727.md): Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint. - dependabot [Add selected repository to an organization secret](https://github.apidog.io/api-4078728.md): Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint. - dependabot [List Dependabot alerts for a repository](https://github.apidog.io/api-4078729.md): You must use an access token with the `security_events` scope to use this endpoint with private repositories. - dependabot [Get a Dependabot alert](https://github.apidog.io/api-4078730.md): You must use an access token with the `security_events` scope to use this endpoint with private repositories. - dependabot [Update a Dependabot alert](https://github.apidog.io/api-4078731.md): You must use an access token with the `security_events` scope to use this endpoint with private repositories. - dependabot [List repository secrets](https://github.apidog.io/api-4078732.md): Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint. - dependabot [Get a repository public key](https://github.apidog.io/api-4078733.md): Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint. - dependabot [Delete a repository secret](https://github.apidog.io/api-4078734.md): Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint. - dependabot [Get a repository secret](https://github.apidog.io/api-4078735.md): Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` repository permission to use this endpoint. - dependabot [Create or update a repository secret](https://github.apidog.io/api-4078736.md): Creates or updates a repository secret with an encrypted value. Encrypt your secret using - oidc [Get the customization template for an OIDC subject claim for an organization](https://github.apidog.io/api-4078810.md): Gets the customization template for an OpenID Connect (OIDC) subject claim. - oidc [Set the customization template for an OIDC subject claim for an organization](https://github.apidog.io/api-4078811.md): Creates or updates the customization template for an OpenID Connect (OIDC) subject claim. - codespaces [List codespaces for the organization](https://github.apidog.io/api-4078815.md): Lists the codespaces associated to a specified organization. - codespaces [Manage access control for organization codespaces](https://github.apidog.io/api-4078816.md): Sets which users can access codespaces in an organization. This is synonymous with granting or revoking codespaces billing permissions for users according to the visibility. - codespaces [Removes users from Codespaces billing for an organization](https://github.apidog.io/api-4078817.md): Codespaces for the specified users will no longer be billed to the organization. - codespaces [Add users to Codespaces billing for an organization](https://github.apidog.io/api-4078818.md): Codespaces for the specified users will be billed to the organization. - codespaces [List organization secrets](https://github.apidog.io/api-4078819.md): Lists all Codespaces secrets available at the organization-level without revealing their encrypted values. - codespaces [Get an organization public key](https://github.apidog.io/api-4078820.md): Gets a public key for an organization, which is required in order to encrypt secrets. You need to encrypt the value of a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. - codespaces [Delete an organization secret](https://github.apidog.io/api-4078821.md): Deletes an organization secret using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. - codespaces [Get an organization secret](https://github.apidog.io/api-4078822.md): Gets an organization secret without revealing its encrypted value. - codespaces [Create or update an organization secret](https://github.apidog.io/api-4078823.md): Creates or updates an organization secret with an encrypted value. Encrypt your secret using - codespaces [List selected repositories for an organization secret](https://github.apidog.io/api-4078824.md): Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. - codespaces [Set selected repositories for an organization secret](https://github.apidog.io/api-4078825.md): Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/codespaces#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. - codespaces [Remove selected repository from an organization secret](https://github.apidog.io/api-4078826.md): Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/codespaces#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. - codespaces [Add selected repository to an organization secret](https://github.apidog.io/api-4078827.md): Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/reference/codespaces#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. - codespaces [List codespaces for a user in organization](https://github.apidog.io/api-4078828.md): Lists the codespaces that a member of an organization has for repositories in that organization. - codespaces [Delete a codespace from the organization](https://github.apidog.io/api-4078829.md): Deletes a user's codespace. - codespaces [Stop a codespace for an organization user](https://github.apidog.io/api-4078830.md): Stops a user's codespace. - codespaces [List codespaces in a repository for the authenticated user](https://github.apidog.io/api-4078831.md): Lists the codespaces associated to a specified repository and the authenticated user. - codespaces [Create a codespace in a repository](https://github.apidog.io/api-4078832.md): Creates a codespace owned by the authenticated user in the specified repository. - codespaces [List devcontainer configurations in a repository for the authenticated user](https://github.apidog.io/api-4078833.md): Lists the devcontainer.json files associated with a specified repository and the authenticated user. These files - codespaces [List available machine types for a repository](https://github.apidog.io/api-4078834.md): List the machine types available for a given repository based on its configuration. - codespaces [Get default attributes for a codespace](https://github.apidog.io/api-4078835.md): Gets the default attributes for codespaces created by the user with the repository. - codespaces [List repository secrets](https://github.apidog.io/api-4078836.md): Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have write access to the `codespaces_secrets` repository permission to use this endpoint. - codespaces [Get a repository public key](https://github.apidog.io/api-4078837.md): Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have write access to the `codespaces_secrets` repository permission to use this endpoint. - codespaces [Delete a repository secret](https://github.apidog.io/api-4078838.md): Deletes a secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have write access to the `codespaces_secrets` repository permission to use this endpoint. - codespaces [Get a repository secret](https://github.apidog.io/api-4078839.md): Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have write access to the `codespaces_secrets` repository permission to use this endpoint. - codespaces [Create or update a repository secret](https://github.apidog.io/api-4078840.md): Creates or updates a repository secret with an encrypted value. Encrypt your secret using - codespaces [Create a codespace from a pull request](https://github.apidog.io/api-4078841.md): Creates a codespace owned by the authenticated user for the specified pull request. - codespaces [List codespaces for the authenticated user](https://github.apidog.io/api-4078842.md): Lists the authenticated user's codespaces. - codespaces [Create a codespace for the authenticated user](https://github.apidog.io/api-4078843.md): Creates a new codespace, owned by the authenticated user. - codespaces [List secrets for the authenticated user](https://github.apidog.io/api-4078844.md): Lists all secrets available for a user's Codespaces without revealing their - codespaces [Get public key for the authenticated user](https://github.apidog.io/api-4078845.md): Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. - codespaces [Delete a secret for the authenticated user](https://github.apidog.io/api-4078846.md): Deletes a secret from a user's codespaces using the secret name. Deleting the secret will remove access from all codespaces that were allowed to access the secret. - codespaces [Get a secret for the authenticated user](https://github.apidog.io/api-4078847.md): Gets a secret available to a user's codespaces without revealing its encrypted value. - codespaces [Create or update a secret for the authenticated user](https://github.apidog.io/api-4078848.md): Creates or updates a secret for a user's codespace with an encrypted value. Encrypt your secret using - codespaces [List selected repositories for a user secret](https://github.apidog.io/api-4078849.md): List the repositories that have been granted the ability to use a user's codespace secret. - codespaces [Set selected repositories for a user secret](https://github.apidog.io/api-4078850.md): Select the repositories that will use a user's codespace secret. - codespaces [Remove a selected repository from a user secret](https://github.apidog.io/api-4078851.md): Removes a repository from the selected repositories for a user's codespace secret. - codespaces [Add a selected repository to a user secret](https://github.apidog.io/api-4078852.md): Adds a repository to the selected repositories for a user's codespace secret. - codespaces [Delete a codespace for the authenticated user](https://github.apidog.io/api-4078853.md): Deletes a user's codespace. - codespaces [Get a codespace for the authenticated user](https://github.apidog.io/api-4078854.md): Gets information about a user's codespace. - codespaces [Update a codespace for the authenticated user](https://github.apidog.io/api-4078855.md): Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint. - codespaces [Export a codespace for the authenticated user](https://github.apidog.io/api-4078856.md): Triggers an export of the specified codespace and returns a URL and ID where the status of the export can be monitored. - codespaces [Get details about a codespace export](https://github.apidog.io/api-4078857.md): Gets information about an export of a codespace. - codespaces [List machine types for a codespace](https://github.apidog.io/api-4078858.md): List the machine types a codespace can transition to use. - codespaces [Create a repository from an unpublished codespace](https://github.apidog.io/api-4078859.md): Publishes an unpublished codespace, creating a new repository and assigning it to the codespace. - codespaces [Start a codespace for the authenticated user](https://github.apidog.io/api-4078860.md): Starts a user's codespace. - codespaces [Stop a codespace for the authenticated user](https://github.apidog.io/api-4078861.md): Stops a user's codespace. - dependency-graph [Get a diff of the dependencies between commits](https://github.apidog.io/api-4078896.md): Gets the diff of the dependency changes between two commits of a repository, based on the changes to the dependency manifests made in those commits. - dependency-graph [Create a snapshot of dependencies for a repository](https://github.apidog.io/api-4078897.md): Create a new snapshot of a repository's dependencies. You must authenticate using an access token with the `repo` scope to use this endpoint for a repository that the requesting user has access to.