diff --git a/lib/rest/static/decorated/api.github.com.json b/lib/rest/static/decorated/api.github.com.json index 2e1f42bf1c5e..73ef65c5bc5b 100644 --- a/lib/rest/static/decorated/api.github.com.json +++ b/lib/rest/static/decorated/api.github.com.json @@ -31,9 +31,7 @@ "slug": "github-api-root", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -81,9 +79,7 @@ "slug": "get-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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\" endpoint.

\n

You must use a JWT to access this endpoint.

", "responses": [ @@ -443,9 +439,7 @@ "slug": "list-installations-for-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

You must use a JWT to access this endpoint.

\n

The permissions the installation has are included under the permissions key.

", "responses": [ @@ -505,9 +499,7 @@ "slug": "get-an-installation-for-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (target_type) will be either an organization or a user account, depending which account the repository belongs to.

\n

You must use a JWT to access this endpoint.

", "responses": [ @@ -786,9 +778,7 @@ "slug": "create-an-installation-access-token-for-an-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

You must use a JWT to access this endpoint.

", "responses": [ { @@ -2077,9 +2067,7 @@ "slug": "get-an-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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).

\n

If the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a personal access token or an installation access token to access this endpoint.

", "responses": [ @@ -3237,9 +3225,7 @@ "slug": "get-all-codes-of-conduct", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -3315,9 +3301,7 @@ "slug": "get-a-code-of-conduct", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -3437,9 +3421,7 @@ "categoryLabel": "Apps", "subcategory": "installations", "subcategoryLabel": "Installations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 to create an attachment.

\n

The app must create a content attachment within six hours of the content reference URL being posted. See \"Using content attachments\" for details about content attachments.

\n

You must use an installation access token to access this endpoint.

", "bodyParameters": [ { @@ -3541,9 +3523,7 @@ "slug": "get-emojis", "category": "emojis", "categoryLabel": "Emojis", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -6241,9 +6221,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -6308,9 +6286,7 @@ "categoryLabel": "Activity", "subcategory": "feeds", "subcategoryLabel": "Feeds", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

GitHub provides several timeline resources in Atom format. The Feeds API lists all the feeds available to the authenticated user:

\n\n

Note: Private feeds are only returned when authenticating via Basic Auth since current feed URIs use the older, non revocable auth tokens.

", "responses": [ @@ -8241,9 +8217,7 @@ "slug": "get-all-gitignore-templates", "category": "gitignore", "categoryLabel": "Gitignore", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all templates available to pass as an option when creating a repository.

", "responses": [ @@ -8307,9 +8281,7 @@ "slug": "get-a-gitignore-template", "category": "gitignore", "categoryLabel": "Gitignore", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The API also allows fetching the source of a single template.\nUse the raw media type to get the raw contents.

", "responses": [ @@ -8393,9 +8365,7 @@ "categoryLabel": "Apps", "subcategory": "installations", "subcategoryLabel": "Installations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List repositories that an app installation can access.

\n

You must use an installation access token to access this endpoint.

", "responses": [ @@ -8461,9 +8431,7 @@ "categoryLabel": "Apps", "subcategory": "installations", "subcategoryLabel": "Installations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -8744,9 +8712,7 @@ "slug": "get-all-commonly-used-licenses", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -8810,9 +8776,7 @@ "slug": "get-a-license", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -8923,9 +8887,7 @@ "slug": "render-a-markdown-document", "category": "markdown", "categoryLabel": "Markdown", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -9026,9 +8988,7 @@ "slug": "render-a-markdown-document-in-raw-mode", "category": "markdown", "categoryLabel": "Markdown", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -9626,9 +9586,7 @@ "slug": "get-github-meta-information", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This endpoint provides a list of GitHub's IP addresses. For more information, see \"About GitHub's IP addresses.\"

", "responses": [ @@ -9723,9 +9681,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -10463,9 +10419,7 @@ "slug": "get-octocat", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -10534,9 +10488,7 @@ "slug": "list-organizations", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", "responses": [ @@ -10607,9 +10559,7 @@ "slug": "get-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

GitHub Apps with the Organization plan permission can use this endpoint to retrieve information about an organization's GitHub plan. See \"Authenticating with GitHub Apps\" for details. For an example response, see 'Response with GitHub plan information' below.\"

", "responses": [ @@ -10875,9 +10825,7 @@ "slug": "update-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Enables an authenticated organization owner with the admin:org scope to update the organization's profile and member privileges.

", "bodyParameters": [ { @@ -11120,9 +11068,7 @@ "categoryLabel": "Actions", "subcategory": "permissions", "subcategoryLabel": "Permissions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization.

\n

You must authenticate using an access token with the admin:org scope to use this endpoint. GitHub Apps must have the administration organization permission to use this API.

", "responses": [ @@ -11229,9 +11175,7 @@ "categoryLabel": "Actions", "subcategory": "permissions", "subcategoryLabel": "Permissions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -11340,9 +11284,7 @@ "categoryLabel": "Actions", "subcategory": "permissions", "subcategoryLabel": "Permissions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.\"

\n

You must authenticate using an access token with the admin:org scope to use this endpoint. GitHub Apps must have the administration organization permission to use this API.

", "responses": [ @@ -11436,9 +11378,7 @@ "categoryLabel": "Actions", "subcategory": "permissions", "subcategoryLabel": "Permissions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -11521,9 +11461,7 @@ "categoryLabel": "Actions", "subcategory": "permissions", "subcategoryLabel": "Permissions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -11592,9 +11530,7 @@ "categoryLabel": "Actions", "subcategory": "permissions", "subcategoryLabel": "Permissions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -11654,9 +11590,7 @@ "categoryLabel": "Actions", "subcategory": "permissions", "subcategoryLabel": "Permissions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets the selected actions 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.\"\"

\n

You must authenticate using an access token with the admin:org scope to use this endpoint. GitHub Apps must have the administration organization permission to use this API.

", "responses": [ @@ -11770,9 +11704,7 @@ "categoryLabel": "Actions", "subcategory": "permissions", "subcategoryLabel": "Permissions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -11883,9 +11815,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"GitHub's products.\"

\n

Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.

\n

You must authenticate using an access token with the admin:org scope to use this endpoint.

", "responses": [ @@ -12022,9 +11952,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"GitHub's products.\"

\n

Creates a new self-hosted runner group for an organization.

\n

You must authenticate using an access token with the admin:org scope to use this endpoint.

", "bodyParameters": [ { @@ -12146,9 +12074,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"GitHub's products.\"

\n

Gets a specific self-hosted runner group for an organization.

\n

You must authenticate using an access token with the admin:org scope to use this endpoint.

", "responses": [ @@ -12257,9 +12183,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"GitHub's products.\"

\n

Updates the name and visibility of a self-hosted runner group in an organization.

\n

You must authenticate using an access token with the admin:org scope to use this endpoint.

", "bodyParameters": [ { @@ -12354,9 +12278,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -12426,9 +12348,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"GitHub's products.\"

\n

Lists the repositories with access to a self-hosted runner group configured in an organization.

\n

You must authenticate using an access token with the admin:org scope to use this endpoint.

", "responses": [ @@ -12532,9 +12452,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -12627,9 +12545,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -12708,9 +12624,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -12800,9 +12714,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"GitHub's products.\"

\n

Lists self-hosted runners that are in a specific organization group.

\n

You must authenticate using an access token with the admin:org scope to use this endpoint.

", "responses": [ @@ -12906,9 +12818,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -13002,9 +12912,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -13084,9 +12992,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -13166,9 +13072,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all self-hosted runners configured in an organization.

\n

You must authenticate using an access token with the admin:org scope to use this endpoint.

", "responses": [ @@ -13229,9 +13133,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists binaries for the runner application that you can download and run.

\n

You must authenticate using an access token with the admin:org scope to use this endpoint.

", "responses": [ @@ -13292,9 +13194,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a token that you can pass to the config script. The token expires after one hour.

\n

You must authenticate using an access token with the admin:org scope to use this endpoint.

\n

Example using registration token

\n

Configure your self-hosted runner, replacing TOKEN with the registration token provided by this endpoint.

\n
./config.sh --url https://github.com/octo-org --token TOKEN\n
", "responses": [ @@ -13355,9 +13255,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

You must authenticate using an access token with the admin:org scope to use this endpoint.

\n

Example using remove token

\n

To remove your self-hosted runner from an organization, replace TOKEN with the remove token provided by this\nendpoint.

\n
./config.sh remove --token TOKEN\n
", "responses": [ @@ -13428,9 +13326,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a specific self-hosted runner configured in an organization.

\n

You must authenticate using an access token with the admin:org scope to use this endpoint.

", "responses": [ @@ -13501,9 +13397,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -13583,9 +13477,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -13646,9 +13538,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -13719,9 +13609,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -13856,9 +13744,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -13978,9 +13864,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -14050,9 +13934,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -14151,9 +14033,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -14245,9 +14125,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -14331,9 +14209,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -14398,9 +14274,7 @@ "categoryLabel": "Orgs", "subcategory": "blocking", "subcategoryLabel": "Blocking", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the users blocked by an organization.

", "responses": [ @@ -14475,9 +14349,7 @@ "categoryLabel": "Orgs", "subcategory": "blocking", "subcategoryLabel": "Blocking", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -14551,9 +14423,7 @@ "categoryLabel": "Orgs", "subcategory": "blocking", "subcategoryLabel": "Blocking", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -14627,9 +14497,7 @@ "categoryLabel": "Orgs", "subcategory": "blocking", "subcategoryLabel": "Blocking", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -14687,9 +14555,7 @@ "slug": "list-saml-sso-authorizations-for-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see GitHub's products.

\n

An authenticated organization owner with the read:org scope can list all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials are either personal access tokens or SSH keys that organization members have authorized for the organization. For more information, see About authentication with SAML single sign-on.

", "responses": [ @@ -14757,9 +14623,7 @@ "slug": "remove-a-saml-sso-authorization-for-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -14844,9 +14708,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -14926,9 +14788,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -15195,9 +15055,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Here's how you can create a hook that posts payloads in JSON format:

", "responses": [ { @@ -15452,9 +15310,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a webhook configured in an organization. To get only the webhook config properties, see \"Get a webhook configuration for an organization.\"

", "responses": [ @@ -15684,9 +15540,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

", "responses": [ { @@ -15905,9 +15759,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -15981,9 +15833,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 .\"

\n

Access tokens must have the admin:org_hook scope, and GitHub Apps must have the organization_hooks:read permission.

", "responses": [ @@ -16111,9 +15961,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 .\"

\n

Access tokens must have the admin:org_hook scope, and GitHub Apps must have the organization_hooks:write permission.

", "bodyParameters": [ { @@ -16225,9 +16073,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -16369,9 +16215,7 @@ "slug": "list-app-installations-for-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -16432,9 +16276,7 @@ "categoryLabel": "Interactions", "subcategory": "orgs", "subcategoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -16543,9 +16385,7 @@ "categoryLabel": "Interactions", "subcategory": "orgs", "subcategoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -16644,9 +16484,7 @@ "categoryLabel": "Interactions", "subcategory": "orgs", "subcategoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -16726,9 +16564,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -16859,9 +16695,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -17008,9 +16842,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner.

", "responses": [ @@ -17303,9 +17135,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -17385,9 +17215,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -17466,9 +17294,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -17542,9 +17368,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

In order to get a user's membership with an organization, the authenticated user must be an organization member.

", "responses": [ @@ -17661,9 +17485,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", "bodyParameters": [ { @@ -17764,9 +17586,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -18579,9 +18399,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all users who are outside collaborators of an organization.

", "responses": [ @@ -18651,9 +18469,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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\".

", "responses": [ @@ -18744,9 +18560,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Removing a user from this list will remove them from all the organization's repositories.

", "responses": [ @@ -18853,9 +18667,7 @@ "slug": "list-organization-projects", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -18962,9 +18774,7 @@ "slug": "create-an-organization-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates an organization project board. 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.

", "bodyParameters": [ { @@ -19089,9 +18899,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Members of an organization can choose to have their membership publicized or not.

", "responses": [ @@ -19161,9 +18969,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -19452,9 +19258,7 @@ "slug": "list-organization-repositories", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories for the specified organization.

", "responses": [ @@ -19718,9 +19522,7 @@ "slug": "create-an-organization-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

\n

OAuth scope requirements

\n

When using OAuth, authorizations must include:

\n", "bodyParameters": [ { @@ -20158,9 +19960,7 @@ "categoryLabel": "Teams", "subcategory": "team-sync", "subcategoryLabel": "Team sync", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

List IdP groups available in an organization. You can limit your page results using the per_page parameter. GitHub generates a url-encoded page token using a cursor value for where the next page begins. For more information on cursor pagination, see \"Offset and Cursor Pagination explained.\"

\n

The per_page parameter provides pagination for a list of IdP groups the authenticated user can access in an organization. For example, if the user octocat wants to see two groups per page in octo-org via cURL, it would look like this:

", "responses": [ @@ -20239,9 +20039,7 @@ "slug": "list-teams", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all teams in an organization that are visible to the authenticated user.

", "responses": [ @@ -20404,9 +20202,7 @@ "slug": "create-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

\n

When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of maintainers. For more information, see \"About teams\".

", "bodyParameters": [ { @@ -20565,9 +20361,7 @@ "slug": "get-a-team-by-name", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a team using the team's slug. GitHub generates the slug from the team name.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}.

", "responses": [ @@ -20715,9 +20509,7 @@ "slug": "update-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

To edit a team, the authenticated user must either be an organization owner or a team maintainer.

\n

Note: You can also specify a team by org_id and team_id using the route PATCH /organizations/{org_id}/team/{team_id}.

", "bodyParameters": [ { @@ -20842,9 +20634,7 @@ "slug": "delete-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -20956,9 +20746,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all discussions on a team's page. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/discussions.

", "responses": [ @@ -21084,9 +20872,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new discussion post on a team's page. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Note: You can also specify a team by org_id and team_id using the route POST /organizations/{org_id}/team/{team_id}/discussions.

", "bodyParameters": [ { @@ -21202,9 +20988,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a specific discussion on a team's page. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}.

", "responses": [ @@ -21323,9 +21107,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Note: You can also specify a team by org_id and team_id using the route PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}.

", "bodyParameters": [ { @@ -21424,9 +21206,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -21547,9 +21327,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all comments on a team discussion. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments.

", "responses": [ @@ -21663,9 +21441,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new comment on a team discussion. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Note: You can also specify a team by org_id and team_id using the route POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments.

", "bodyParameters": [ { @@ -21771,9 +21547,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a specific comment on a team discussion. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}.

", "responses": [ @@ -21895,9 +21669,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Edits the body text of a discussion comment. OAuth access tokens require the write:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}.

", "bodyParameters": [ { @@ -21996,9 +21768,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -22131,9 +21901,7 @@ "slug": "list-reactions-for-a-team-discussion-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a team discussion comment. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions.

", "responses": [ @@ -22263,9 +22031,7 @@ "slug": "create-reaction-for-a-team-discussion-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a team discussion comment. OAuth access tokens require the write:discussion scope. A response with a Status: 200 OK means that you already added the reaction type to this team discussion comment.

\n

Note: You can also specify a team by org_id and team_id using the route POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions.

", "bodyParameters": [ { @@ -22388,9 +22154,7 @@ "slug": "delete-team-discussion-comment-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -22514,9 +22278,7 @@ "slug": "list-reactions-for-a-team-discussion", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a team discussion. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions.

", "responses": [ @@ -22751,9 +22513,7 @@ "slug": "delete-team-discussion-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -22843,9 +22603,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/invitations.

", "responses": [ @@ -22952,9 +22710,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Team members will include the members of child teams.

\n

To list members in a team, the team must be visible to the authenticated user.

", "responses": [ @@ -23034,9 +22790,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Team members will include the members of child teams.

\n

To get a user's membership with a team, the team must be visible to the authenticated user.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/memberships/{username}.

\n

Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

", "responses": [ @@ -23158,9 +22912,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.

\n

Note: When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub.\"

\n

An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.

\n

If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.

\n

Note: You can also specify a team by org_id and team_id using the route PUT /organizations/{org_id}/team/{team_id}/memberships/{username}.

", "bodyParameters": [ { @@ -23272,9 +23024,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -23374,9 +23124,7 @@ "slug": "list-team-projects", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the organization projects for a team.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/projects.

", "responses": [ @@ -23461,9 +23209,7 @@ "slug": "check-team-permissions-for-a-project", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Checks whether a team has read, write, or admin permissions for an organization project. The response includes projects inherited from a parent team.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/projects/{project_id}.

", "responses": [ @@ -23578,9 +23324,7 @@ "slug": "add-or-update-team-project-permissions", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Note: You can also specify a team by org_id and team_id using the route PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}.

", "bodyParameters": [ { @@ -23678,9 +23422,7 @@ "slug": "remove-a-project-from-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -23768,9 +23510,7 @@ "slug": "list-team-repositories", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists a team's repositories visible to the authenticated user.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/repos.

", "responses": [ @@ -23857,9 +23597,7 @@ "slug": "check-team-permissions-for-a-repository", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -23982,9 +23720,7 @@ "slug": "add-or-update-team-repository-permissions", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -24087,9 +23823,7 @@ "slug": "remove-a-repository-from-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -24505,9 +24239,7 @@ "slug": "list-child-teams", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the child teams of the team specified by {team_slug}.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/teams.

", "responses": [ @@ -24576,9 +24308,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -24699,9 +24429,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -24817,9 +24545,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -24942,9 +24668,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -25059,9 +24783,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -25174,9 +24896,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -25271,9 +24991,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -25392,9 +25110,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -25521,9 +25237,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the pull_request key.

\n

Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull request id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -25642,9 +25356,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -25741,9 +25453,7 @@ "slug": "get-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -25890,9 +25600,7 @@ "slug": "update-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -26044,9 +25752,7 @@ "slug": "delete-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -26174,9 +25880,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -26310,9 +26014,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -26435,9 +26137,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -26543,9 +26243,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -26663,9 +26361,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -26772,9 +26468,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -26854,9 +26548,7 @@ "slug": "get-rate-limit-status-for-the-authenticated-user", "category": "rate-limit", "categoryLabel": "Rate limit", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Accessing this endpoint does not count against your REST API rate limit.

\n

Note: The rate object is deprecated. If you're writing new API client code or updating existing code, you should use the core object instead of the rate object. The core object contains the same information that is present in the rate object.

", "responses": [ @@ -26935,9 +26627,7 @@ "slug": "delete-a-reaction-legacy", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -27042,9 +26732,7 @@ "slug": "get-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

When you pass the scarlet-witch-preview media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.

\n

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.

", "responses": [ @@ -27317,9 +27005,7 @@ "slug": "update-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: To edit a repository's topics, use the Replace all repository topics endpoint.

", "bodyParameters": [ { @@ -27554,9 +27240,7 @@ "slug": "delete-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Deleting a repository requires admin access. If OAuth is used, the delete_repo scope is required.

\n

If an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a 403 Forbidden response.

", "responses": [ @@ -27656,9 +27340,7 @@ "categoryLabel": "Actions", "subcategory": "artifacts", "subcategoryLabel": "Artifacts", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -27738,9 +27420,7 @@ "categoryLabel": "Actions", "subcategory": "artifacts", "subcategoryLabel": "Artifacts", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -27820,9 +27500,7 @@ "categoryLabel": "Actions", "subcategory": "artifacts", "subcategoryLabel": "Artifacts", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -27910,9 +27588,7 @@ "categoryLabel": "Actions", "subcategory": "artifacts", "subcategoryLabel": "Artifacts", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -27991,9 +27667,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-jobs", "subcategoryLabel": "Workflow jobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -28073,9 +27747,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-jobs", "subcategoryLabel": "Workflow jobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -28144,9 +27816,7 @@ "categoryLabel": "Actions", "subcategory": "permissions", "subcategoryLabel": "Permissions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository.

\n

You must authenticate using an access token with the repo scope to use this\nendpoint. GitHub Apps must have the administration repository permission to use this API.

", "responses": [ @@ -28257,9 +27927,7 @@ "categoryLabel": "Actions", "subcategory": "permissions", "subcategoryLabel": "Permissions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -28352,9 +28020,7 @@ "categoryLabel": "Actions", "subcategory": "permissions", "subcategoryLabel": "Permissions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets the settings for selected actions 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.\"

\n

You must authenticate using an access token with the repo scope to use this endpoint. GitHub Apps must have the administration repository permission to use this API.

", "responses": [ @@ -28477,9 +28143,7 @@ "categoryLabel": "Actions", "subcategory": "permissions", "subcategoryLabel": "Permissions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -28599,9 +28263,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the repo scope to use this endpoint.

", "responses": [ @@ -28671,9 +28333,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists binaries for the runner application that you can download and run.

\n

You must authenticate using an access token with the repo scope to use this endpoint.

", "responses": [ @@ -28743,9 +28403,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a token that you can pass to the config script. The token expires after one hour. You must authenticate\nusing an access token with the repo scope to use this endpoint.

\n

Example using registration token

\n

Configure your self-hosted runner, replacing TOKEN with the registration token provided by this endpoint.

\n
./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n
", "responses": [ @@ -28815,9 +28473,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the repo scope to use this endpoint.

\n

Example using remove token

\n

To remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.

\n
./config.sh remove --token TOKEN\n
", "responses": [ @@ -28897,9 +28553,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a specific self-hosted runner configured in a repository.

\n

You must authenticate using an access token with the repo scope to use this\nendpoint.

", "responses": [ @@ -28979,9 +28633,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -29115,9 +28767,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-runs", "subcategoryLabel": "Workflow runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

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.

", "responses": [ @@ -29196,9 +28846,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-runs", "subcategoryLabel": "Workflow runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -29277,9 +28925,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-runs", "subcategoryLabel": "Workflow runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -29377,9 +29023,7 @@ "categoryLabel": "Actions", "subcategory": "artifacts", "subcategoryLabel": "Artifacts", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -29458,9 +29102,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-runs", "subcategoryLabel": "Workflow runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "202", @@ -29573,9 +29215,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-jobs", "subcategoryLabel": "Workflow jobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -29654,9 +29294,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-runs", "subcategoryLabel": "Workflow runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -29734,9 +29372,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-runs", "subcategoryLabel": "Workflow runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -29982,9 +29618,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -30054,9 +29688,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -30136,9 +29768,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -30251,9 +29881,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -30356,9 +29984,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -30447,9 +30073,7 @@ "categoryLabel": "Actions", "subcategory": "workflows", "subcategoryLabel": "Workflows", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -30536,9 +30160,7 @@ "categoryLabel": "Actions", "subcategory": "workflows", "subcategoryLabel": "Workflows", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -30625,9 +30247,7 @@ "categoryLabel": "Actions", "subcategory": "workflows", "subcategoryLabel": "Workflows", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -30756,9 +30376,7 @@ "categoryLabel": "Actions", "subcategory": "workflows", "subcategoryLabel": "Workflows", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -30867,9 +30485,7 @@ "categoryLabel": "Actions", "subcategory": "workflows", "subcategoryLabel": "Workflows", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -31020,9 +30636,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-runs", "subcategoryLabel": "Workflow runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

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.

", "responses": [ @@ -31199,9 +30813,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the available assignees for issues in a repository.

", "responses": [ @@ -31285,9 +30897,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -31366,9 +30976,7 @@ "slug": "enable-automated-security-fixes", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -31442,9 +31050,7 @@ "slug": "disable-automated-security-fixes", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -31543,9 +31149,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -31636,9 +31240,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -31735,9 +31337,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -32321,9 +31921,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -32862,9 +32460,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -32948,9 +32544,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -33030,9 +32624,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.

", "responses": [ @@ -33112,9 +32704,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -33205,9 +32795,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -33411,9 +32999,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.

\n

Note: Passing new arrays of users and teams replaces their previous values.

", "responses": [ { @@ -33593,9 +33179,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -33686,9 +33270,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of true indicates you must sign commits on this branch. For more information, see Signing commits with GPG in GitHub Help.

\n

Note: You must enable branch protection to require signed commits.

", "responses": [ @@ -33780,9 +33362,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.

", "responses": [ @@ -33874,9 +33454,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -33960,9 +33538,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -34085,9 +33661,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.

", "bodyParameters": [ { @@ -34199,9 +33773,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -34280,9 +33852,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -34399,9 +33969,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -34541,9 +34109,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -34678,9 +34244,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -34783,9 +34347,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists who has access to this protected branch.

\n

Note: Users, apps, and teams restrictions are only available for organization-owned repositories.

", "responses": [ @@ -34870,9 +34432,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -34951,9 +34511,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

", "responses": [ @@ -35070,9 +34628,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified apps push access for this branch. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe GitHub Apps that have push access to this branch. Use the app's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -35202,9 +34758,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe GitHub Apps that have push access to this branch. Use the app's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -35334,9 +34888,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of an app to push to this branch. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe GitHub Apps that have push access to this branch. Use the app's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -35434,9 +34986,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the teams who have push access to this branch. The list includes child teams.

", "responses": [ @@ -35553,9 +35103,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified teams push access for this branch. You can also give push access to child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe teams that can have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -35685,9 +35233,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe teams that can have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -35817,9 +35363,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of a team to push to this branch. You can also remove push access for child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayTeams that should no longer have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -35917,9 +35461,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the people who have push access to this branch.

", "responses": [ @@ -36036,9 +35578,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified people push access for this branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -36168,9 +35708,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -36300,9 +35838,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of a user to push to this branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames of the people who should no longer have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -37405,9 +36941,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Creates a new check run for a specific commit in a repository. Your GitHub App must have the checks:write permission to create check runs.

\n

In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.

", "responses": [ { @@ -38428,9 +37962,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Gets a single check run using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -39482,9 +39014,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Updates a check run for a specific commit in a repository. Your GitHub App must have the checks:write permission to edit check runs.

", "responses": [ { @@ -40508,9 +40038,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -40606,9 +40134,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

By default, check suites are automatically created when you create a check run. You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"Update repository preferences for check suites\". Your GitHub App must have the checks:write permission to create check suites.

", "bodyParameters": [ { @@ -40771,9 +40297,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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. You must have admin permissions in the repository to set preferences for check suites.

", "responses": [ { @@ -40918,9 +40442,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Gets a single check suite using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the repo scope to get check suites in a private repository.

", "responses": [ @@ -41060,9 +40582,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check runs for a check suite using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -41142,9 +40662,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -41238,9 +40756,7 @@ "slug": "list-code-scanning-alerts-for-a-repository", "category": "code-scanning", "categoryLabel": "Code scanning", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all open code scanning alerts for the default branch (usually main or master). For private repos, you must use an access token with the repo scope. For public repos, you must use an access token with public_repo and repo:security_events scopes. GitHub Apps must have the security_events read permission to use this endpoint.

", "responses": [ @@ -41327,9 +40843,7 @@ "slug": "get-a-code-scanning-alert", "category": "code-scanning", "categoryLabel": "Code scanning", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a single code scanning alert. You must use an access token with the security_events scope to use this endpoint. GitHub Apps must have the security_events read permission to use this endpoint.

\n

The security alert_number is found at the end of the security alert's URL. For example, the security alert ID for https://github.com/Octo-org/octo-repo/security/code-scanning/88 is 88.

", "responses": [ @@ -41474,9 +40988,7 @@ "slug": "update-a-code-scanning-alert", "category": "code-scanning", "categoryLabel": "Code scanning", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Updates the status of a single code scanning alert. For private repos, you must use an access token with the repo scope. For public repos, you must use an access token with public_repo and repo:security_events scopes.\nGitHub Apps must have the security_events write permission to use this endpoint.

", "bodyParameters": [ { @@ -41613,9 +41125,7 @@ "slug": "list-recent-code-scanning-analyses-for-a-repository", "category": "code-scanning", "categoryLabel": "Code scanning", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the details of recent code scanning analyses for a repository. For private repos, you must use an access token with the repo scope. For public repos, you must use an access token with public_repo and repo:security_events scopes. GitHub Apps must have the security_events read permission to use this endpoint.

", "responses": [ @@ -41765,9 +41275,7 @@ "slug": "upload-a-sarif-file", "category": "code-scanning", "categoryLabel": "Code scanning", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "202", @@ -41943,9 +41451,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Team members will include the members of child teams.

", "responses": [ @@ -42029,9 +41535,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -42152,9 +41656,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

For more information the permission levels, see \"Repository permission levels for an organization\".

\n

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.\"

\n

The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the repository invitations API endpoints.

\n

Rate limits

\n

To prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.

", "bodyParameters": [ { @@ -42275,9 +41777,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -42355,9 +41855,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Checks the repository permission of a collaborator. The possible repository permissions are admin, write, read, and none.

", "responses": [ @@ -42459,9 +41957,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Commit Comments use these custom media types. You can read more about the use of media types in the API here.

\n

Comments are ordered by ascending ID.

", "responses": [ @@ -42548,9 +42044,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -42661,9 +42155,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -42758,9 +42250,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -42889,9 +42379,7 @@ "slug": "list-reactions-for-a-commit-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a commit comment.

", "responses": [ @@ -43022,9 +42510,7 @@ "slug": "create-reaction-for-a-commit-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a commit comment. A response with a Status: 200 OK means that you already added the reaction type to this commit comment.

", "bodyParameters": [ { @@ -43154,9 +42640,7 @@ "slug": "delete-a-commit-comment-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -43295,9 +42779,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -43404,9 +42886,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch.

", "responses": [ @@ -43523,9 +43003,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Use the :commit_sha to specify the commit that will have its comments listed.

", "responses": [ @@ -43662,9 +43140,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a comment for a commit using its :commit_sha.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -43818,9 +43294,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the List pull requests endpoint.

", "responses": [ @@ -43905,9 +43379,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the contents of a single commit reference. You must have read access for the repository to use this endpoint.

\n

Note: If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.

\n

You can pass the appropriate media type to fetch diff and patch formats. Diffs with binary data will have no patch property.

\n

To return only the SHA-1 hash of the commit reference, you can provide the sha custom media type in the Accept header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -44062,9 +43534,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check runs for a commit ref. The ref can be a SHA, branch name, or a tag name. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -44185,9 +43655,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check suites for a commit ref. The ref can be a SHA, branch name, or a tag name. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the repo scope to get check suites in a private repository.

", "responses": [ @@ -44267,9 +43735,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

The most recent status for each context is returned, up to 100. This field paginates if there are over 100 contexts.

\n

Additionally, a combined state is returned. The state is one of:

\n", "responses": [ @@ -44374,9 +43840,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

This resource is also available via a legacy route: GET /repos/:owner/:repo/statuses/:ref.

", "responses": [ @@ -44456,9 +43920,7 @@ "slug": "get-the-code-of-conduct-for-a-repository", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This method returns the contents of the repository's code of conduct file, if one is detected.

", "responses": [ @@ -44527,9 +43989,7 @@ "categoryLabel": "Repos", "subcategory": "community", "subcategoryLabel": "Community", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This endpoint will return all community profile metrics, including an\noverall health score, repository description, the presence of documentation, detected\ncode of conduct, detected license, and the presence of ISSUE_TEMPLATE, PULL_REQUEST_TEMPLATE,\nREADME, and CONTRIBUTING files.

\n

content_reports_enabled is only returned for organization-owned repositories.

", "responses": [ @@ -44617,9 +44077,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 <USERNAME>:branch.

\n

The response from the API is equivalent to running the git log base..head command; however, commits are returned in chronological order. Pass the appropriate media type to fetch diff and patch formats.

\n

The response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a renamed status have a previous_filename field showing the previous filename of the file, and files with a modified status have a patch field showing the changes made to the file.

\n

Working with large comparisons

\n

The response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the List commits to enumerate all commits in the range.

\n

For comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -44719,9 +44177,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets the contents of a file or directory in a repository. Specify the file path or directory in :path. If you omit\n:path, you will receive the contents of all files in the repository.

\n

Files and symlinks support a custom media type for\nretrieving the raw content or rendered HTML (when supported). All content types support a custom media\ntype to ensure the content is returned in a consistent\nobject format.

\n

Note:

\n\n

If the content is a directory

\n

The response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\nshould be \"submodule\". This behavior exists in API v3 for backwards compatibility purposes.\nIn the next major version of the API, the type will be returned as \"submodule\".

\n

If the content is a symlink

\n

If the requested :path points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object\ndescribing the symlink itself.

\n

If the content is a submodule

\n

The submodule_git_url identifies the location of the submodule repository, and the sha identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.

\n

If the submodule repository is not hosted on github.com, the Git URLs (git_url and _links[\"git\"]) and the\ngithub.com URLs (html_url and _links[\"html\"]) will have null values.

", "responses": [ @@ -45064,9 +44520,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new file or replaces an existing file in a repository.

", "responses": [ { @@ -45518,9 +44972,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Deletes a file in a repository.

\n

You can provide an additional committer parameter, which is an object containing information about the committer. Or, you can provide an author parameter, which is an object containing information about the author.

\n

The author section is optional and is filled in with the committer information if omitted. If the committer information is omitted, the authenticated user's information is used.

\n

You must provide values for both name and email, whether you choose to use author or committer. Otherwise, you'll receive a 422 status code.

", "responses": [ { @@ -45776,9 +45228,7 @@ "slug": "list-repository-contributors", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 v3 caches contributor data to improve performance.

\n

GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.

", "responses": [ @@ -45934,9 +45384,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Simple filtering of deployments is available via query parameters:

", "responses": [ @@ -46150,9 +45598,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Deployments offer a few configurable parameters with certain defaults.

\n

The ref parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them\nbefore we merge a pull request.

\n

The environment parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as production, staging, and qa. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is production.

\n

The auto_merge parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref is behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.

\n

By default, commit statuses for every submitted context must be in a success\nstate. The required_contexts parameter allows you to specify a subset of contexts that must be success, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.

\n

The payload parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.

\n

The task parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe deploy:migrations to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.

\n

Users with repo or repo_deployment scopes can create a deployment for a given ref.

\n

Merged branch response

\n

You will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:

\n\n

If there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.

\n

Merge conflict response

\n

This error happens when the auto_merge option is enabled and when the default branch (in this case master), can't\nbe merged into the branch that's being deployed (in this case topic-branch), due to merge conflicts.

\n

Failed commit status checks

\n

This error happens when the required_contexts parameter indicates that one or more contexts need to have a success\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of success.

", "bodyParameters": [ { @@ -46369,9 +45815,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -46456,9 +45900,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -46580,9 +46022,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Users with pull access can view deployment statuses for a deployment:

", "responses": [ @@ -46781,9 +46221,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access can create deployment statuses for a given deployment.

\n

GitHub Apps require read & write access to \"Deployments\" and read-only access to \"Repo contents\" (for private repos). OAuth Apps require the repo_deployment scope.

", "bodyParameters": [ { @@ -46972,9 +46410,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Users with pull access can view a deployment status for a deployment:

", "responses": [ @@ -47092,9 +46528,7 @@ "slug": "create-a-repository-dispatch-event", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -47208,9 +46642,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -47315,9 +46747,7 @@ "categoryLabel": "Repos", "subcategory": "forks", "subcategoryLabel": "Forks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -47412,9 +46842,7 @@ "categoryLabel": "Repos", "subcategory": "forks", "subcategoryLabel": "Forks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a fork for the authenticated user.

\n

Note: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact GitHub Support or GitHub Premium Support.

", "bodyParameters": [ { @@ -47551,9 +46979,7 @@ "categoryLabel": "Git", "subcategory": "blobs", "subcategoryLabel": "Blobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -47672,9 +47098,7 @@ "categoryLabel": "Git", "subcategory": "blobs", "subcategoryLabel": "Blobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The content in the response will always be Base64 encoded.

\n

Note: This API supports blobs up to 100 megabytes in size.

", "responses": [ @@ -47972,9 +47396,7 @@ "categoryLabel": "Git", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new Git commit object.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ { @@ -48250,9 +47672,7 @@ "categoryLabel": "Git", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a Git commit object.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -48357,9 +47777,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns an array of references from your Git database that match the supplied name. The :ref in the URL must be formatted as heads/<branch name> for branches and tags/<tag name> for tags. If the :ref doesn't exist in the repository, but existing refs start with :ref, they will be returned as an array.

\n

When you use this endpoint without providing a :ref, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just heads and tags.

\n

Note: You need to explicitly request a pull request to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"Checking mergeability of pull requests\".

\n

If you request matching references for a branch named feature but the branch feature doesn't exist, the response can still include other matching head refs that start with the word feature, such as featureA and featureB.

", "responses": [ @@ -48439,9 +47857,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a single reference from your Git database. The :ref in the URL must be formatted as heads/<branch name> for branches and tags/<tag name> for tags. If the :ref doesn't match an existing ref, a 404 is returned.

\n

Note: You need to explicitly request a pull request to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"Checking mergeability of pull requests\".

", "responses": [ @@ -48562,9 +47978,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -48714,9 +48128,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -48821,9 +48233,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -49039,9 +48449,7 @@ "categoryLabel": "Git", "subcategory": "tags", "subcategoryLabel": "Tags", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 the refs/tags/[tag] reference. If you want to create a lightweight tag, you only have to create the tag reference - this call would be unnecessary.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ { @@ -49240,9 +48648,7 @@ "categoryLabel": "Git", "subcategory": "tags", "subcategoryLabel": "Tags", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -49489,9 +48895,7 @@ "categoryLabel": "Git", "subcategory": "trees", "subcategoryLabel": "Trees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

If you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"Create a commit\" and \"Update a reference.\"

", "responses": [ { @@ -49743,9 +49147,7 @@ "categoryLabel": "Git", "subcategory": "trees", "subcategoryLabel": "Trees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a single tree using the SHA1 value for that tree.

\n

If truncated is true in the response then the number of items in the tree array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.

", "responses": [ @@ -49851,9 +49253,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -50129,9 +49529,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Repositories can have multiple webhooks installed. Each webhook should have a unique config. Multiple webhooks can\nshare the same config as long as those webhooks do not have any events that overlap.

", "responses": [ { @@ -50400,9 +49798,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a webhook configured in a repository. To get only the webhook config properties, see \"Get a webhook configuration for a repository.\"

", "responses": [ @@ -50692,9 +50088,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

", "responses": [ { @@ -50973,9 +50367,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -51058,9 +50450,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.\"

\n

Access tokens must have the read:repo_hook or repo scope, and GitHub Apps must have the repository_hooks:read permission.

", "responses": [ @@ -51197,9 +50587,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

\n

Access tokens must have the write:repo_hook or repo scope, and GitHub Apps must have the repository_hooks:write permission.

", "bodyParameters": [ { @@ -51320,9 +50708,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -51405,9 +50791,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -51481,9 +50865,7 @@ "categoryLabel": "Migrations", "subcategory": "source-imports", "subcategoryLabel": "Source imports", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

View the progress of an import.

\n

Import status

\n

This section includes details about the possible values of the status field of the Import Progress response.

\n

An import that does not have errors will progress through these steps:

\n\n

If there are problems, you will see one of these in the status field:

\n\n

The project_choices field

\n

When multiple projects are found at the provided URL, the response hash will include a project_choices field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type.

\n

Git LFS related fields

\n

This section includes details about Git LFS related fields that may be present in the Import Progress response.

\n", "responses": [ @@ -51629,9 +51011,7 @@ "categoryLabel": "Migrations", "subcategory": "source-imports", "subcategoryLabel": "Source imports", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Start a source import to a GitHub repository using GitHub Importer.

", "bodyParameters": [ { @@ -51819,9 +51199,7 @@ "categoryLabel": "Migrations", "subcategory": "source-imports", "subcategoryLabel": "Source imports", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API\nrequest. If no parameters are provided, the import will be restarted.

", "bodyParameters": [ { @@ -51940,9 +51318,7 @@ "categoryLabel": "Migrations", "subcategory": "source-imports", "subcategoryLabel": "Source imports", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -52021,9 +51397,7 @@ "categoryLabel": "Migrations", "subcategory": "source-imports", "subcategoryLabel": "Source imports", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 <hubot@12341234-abab-fefe-8787-fedcba987654>.

\n

This endpoint and the Map a commit author endpoint allow you to provide correct Git author information.

", "responses": [ @@ -52149,9 +51523,7 @@ "categoryLabel": "Migrations", "subcategory": "source-imports", "subcategoryLabel": "Source imports", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Update an author's identity for the import. Your application can continue updating authors any time before you push new commits to the repository.

", "bodyParameters": [ { @@ -52259,9 +51631,7 @@ "categoryLabel": "Migrations", "subcategory": "source-imports", "subcategoryLabel": "Source imports", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List files larger than 100MB found during the import

", "responses": [ @@ -52361,9 +51731,7 @@ "categoryLabel": "Migrations", "subcategory": "source-imports", "subcategoryLabel": "Source imports", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability is powered by Git LFS. You can learn more about our LFS feature and working with large files on our help site.

", "bodyParameters": [ { @@ -52530,9 +51898,7 @@ "categoryLabel": "Interactions", "subcategory": "repos", "subcategoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -52650,9 +52016,7 @@ "categoryLabel": "Interactions", "subcategory": "repos", "subcategoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -52760,9 +52124,7 @@ "categoryLabel": "Interactions", "subcategory": "repos", "subcategoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -52856,9 +52218,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.

", "responses": [ @@ -52965,9 +52325,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -53064,9 +52422,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -53267,9 +52623,7 @@ "slug": "list-repository-issues", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List issues in a repository.

\n

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe pull_request key. Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull\nrequest id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -53461,9 +52815,7 @@ "slug": "create-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Any user with pull access to a repository can create an issue. If issues are disabled in the repository, the API returns a 410 Gone status.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -53708,9 +53060,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

By default, Issue Comments are ordered by ascending ID.

", "responses": [ @@ -53807,9 +53157,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -53920,9 +53268,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -54017,9 +53363,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -54143,9 +53487,7 @@ "slug": "list-reactions-for-an-issue-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to an issue comment.

", "responses": [ @@ -54276,9 +53618,7 @@ "slug": "create-reaction-for-an-issue-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to an issue comment. A response with a Status: 200 OK means that you already added the reaction type to this issue comment.

", "bodyParameters": [ { @@ -54408,9 +53748,7 @@ "slug": "delete-an-issue-comment-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -54506,9 +53844,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -54599,9 +53935,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -54701,9 +54035,7 @@ "slug": "get-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The API returns a 301 Moved Permanently status if the issue was\ntransferred to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a 404 Not Found status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a 410 Gone status. To receive webhook events for transferred and deleted issues, subscribe\nto the issues webhook.

\n

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe pull_request key. Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull\nrequest id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -54919,9 +54251,7 @@ "slug": "update-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Issue owners and users with push access can edit an issue.

", "bodyParameters": [ { @@ -55156,9 +54486,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.

", "bodyParameters": [ { @@ -55280,9 +54608,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Removes one or more assignees from an issue.

", "bodyParameters": [ { @@ -55412,9 +54738,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Issue Comments are ordered by ascending ID.

", "responses": [ @@ -55531,9 +54855,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -55670,9 +54992,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -55777,9 +55097,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -55896,9 +55214,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -56030,9 +55346,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Removes any previous labels and sets the new labels for an issue.

", "bodyParameters": [ { @@ -56135,9 +55449,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -56230,9 +55542,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -56346,9 +55656,7 @@ "slug": "lock-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -56461,9 +55769,7 @@ "slug": "unlock-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -56597,9 +55903,7 @@ "slug": "list-reactions-for-an-issue", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to an issue.

", "responses": [ @@ -56859,9 +56163,7 @@ "slug": "delete-an-issue-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -56973,9 +56275,7 @@ "categoryLabel": "Issues", "subcategory": "timeline", "subcategoryLabel": "Timeline", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -57080,9 +56380,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -57198,9 +56496,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

You can create a read-only deploy key.

", "bodyParameters": [ { @@ -57313,9 +56609,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -57400,9 +56694,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -57491,9 +56783,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -57614,9 +56904,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -57733,9 +57021,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -57862,9 +57148,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -57971,9 +57255,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -58040,9 +57322,7 @@ "slug": "list-repository-languages", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.

", "responses": [ @@ -58110,9 +57390,7 @@ "slug": "get-the-license-for-a-repository", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This method returns the contents of the repository's license file, if one is detected.

\n

Similar to Get repository content, this method also supports custom media types for retrieving the raw license content or rendered license HTML.

", "responses": [ @@ -58229,9 +57507,7 @@ "categoryLabel": "Repos", "subcategory": "merging", "subcategoryLabel": "Merging", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -58423,9 +57699,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -58561,9 +57835,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -58695,9 +57967,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -58840,9 +58110,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -58964,9 +58232,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -59070,9 +58336,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -59373,9 +58637,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -59546,9 +58808,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Configures a GitHub Pages site. For more information, see \"About GitHub Pages.\"

", "responses": [ { @@ -59772,9 +59032,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -59910,9 +59168,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -60016,9 +59272,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -60088,9 +59342,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.

", "responses": [ @@ -60160,9 +59412,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -60241,9 +59491,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -60354,9 +59602,7 @@ "slug": "list-repository-projects", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -60492,9 +59738,7 @@ "slug": "create-a-repository-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a repository project board. 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.

", "bodyParameters": [ { @@ -60693,9 +59937,7 @@ "slug": "list-pull-requests", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -60858,9 +60100,7 @@ "slug": "create-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.

\n

You can create a new pull request.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -61076,9 +60316,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -61171,9 +60409,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Provides details for a review comment.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -61291,9 +60527,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Enables you to edit a review comment.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n", "bodyParameters": [ { @@ -61383,9 +60617,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -61514,9 +60746,7 @@ "slug": "list-reactions-for-a-pull-request-review-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a pull request review comment.

", "responses": [ @@ -61647,9 +60877,7 @@ "slug": "create-reaction-for-a-pull-request-review-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a pull request review comment. A response with a Status: 200 OK means that you already added the reaction type to this pull request review comment.

", "bodyParameters": [ { @@ -61779,9 +61007,7 @@ "slug": "delete-a-pull-request-comment-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -61857,9 +61083,7 @@ "slug": "get-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists details of a pull request by providing its number.

\n

When you get, create, or edit a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the mergeable key. For more information, see \"Checking mergeability of pull requests\".

\n

The value of the mergeable attribute can be true, false, or null. If the value is null, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-null value for the mergeable attribute in the response. If mergeable is true, then merge_commit_sha will be the SHA of the test merge commit.

\n

The value of the merge_commit_sha attribute changes depending on the state of the pull request. Before merging a pull request, the merge_commit_sha attribute holds the SHA of the test merge commit. After merging a pull request, the merge_commit_sha attribute changes depending on how you merged the pull request:

\n\n

Pass the appropriate media type to fetch diff and patch formats.

", "responses": [ @@ -62017,9 +61241,7 @@ "slug": "update-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.

", "bodyParameters": [ { @@ -62230,9 +61452,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Lists all review comments for a pull request. By default, review comments are in ascending order by ID.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -62448,9 +61668,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"Create an issue comment.\" We recommend creating a review comment using line, side, and optionally start_line and start_side if your comment applies to more than one line in the pull request diff.

\n

You can still create a review comment using the position parameter. When you use position, the line, side, start_line, and start_side parameters are not required. For more information, see Multi-line comment summary.

\n

Note: The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n", "bodyParameters": [ { @@ -62779,9 +61997,7 @@ "slug": "list-commits-on-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

", "responses": [ @@ -62878,9 +62094,7 @@ "slug": "list-pull-requests-files", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.

", "responses": [ @@ -62967,9 +62181,7 @@ "slug": "check-if-a-pull-request-has-been-merged", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -63103,9 +62315,7 @@ "slug": "merge-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -63273,9 +62483,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -63400,9 +62608,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -63561,9 +62767,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -63691,9 +62895,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The list of reviews returns in chronological order.

", "responses": [ @@ -63980,9 +63182,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Pull request reviews created in the PENDING state do not include the submitted_at property in the response.

\n

Note: To comment on a specific line in a file, you need to first determine the position of that line in the diff. The GitHub REST API v3 offers the application/vnd.github.v3.diff media type. To see a pull request diff, add this media type to the Accept header of a call to the single pull request endpoint.

\n

The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.

", "responses": [ { @@ -64266,9 +63466,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -64388,9 +63586,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Update the review summary comment with new text.

", "bodyParameters": [ { @@ -64494,9 +63690,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -64615,9 +63809,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List comments for a specific pull request review.

", "responses": [ @@ -64743,9 +63935,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: To dismiss a pull request review on a protected branch, you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.

", "bodyParameters": [ { @@ -64900,9 +64090,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -65153,9 +64341,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets the preferred README for a repository.

\n

READMEs support custom media types for retrieving the raw content or rendered HTML.

", "responses": [ @@ -65255,9 +64441,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Information about published releases are available to everyone. Only users with push access will receive listings for draft releases.

", "responses": [ @@ -65411,9 +64595,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can create a release.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -65555,9 +64737,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

To download the asset's binary content, set the Accept header of the request to application/octet-stream. 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.

", "responses": [ @@ -65694,9 +64874,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can edit a release asset.

", "bodyParameters": [ { @@ -65804,9 +64982,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -65875,9 +65051,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

View the latest published full release for the repository.

\n

The latest release is the most recent non-prerelease, non-draft release, sorted by the created_at attribute. The created_at attribute is the date of the commit used for the release, and not the date when the release was drafted or published.

", "responses": [ @@ -65957,9 +65131,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a published release with the specified tag.

", "responses": [ @@ -66044,9 +65216,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: This returns an upload_url key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource.

", "responses": [ @@ -66204,9 +65374,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can edit a release.

", "bodyParameters": [ { @@ -66341,9 +65509,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -66442,9 +65608,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -66561,9 +65725,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This endpoint makes use of a Hypermedia relation 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\nthe response of the Create a release endpoint to upload a release asset.

\n

You need to use an HTTP client which supports SNI to make calls to this endpoint.

\n

Most libraries will set the required Content-Length header automatically. Use the required Content-Type header to provide the media type of the asset. For a list of media types, see Media Types. For example:

\n

application/zip

\n

GitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.

\n

When an upstream failure occurs, you will receive a 502 Bad Gateway status. This may leave an empty asset with a state of starter. It can be safely deleted.

\n

Notes:

\n", "responses": [ @@ -66653,9 +65815,7 @@ "categoryLabel": "Activity", "subcategory": "starring", "subcategoryLabel": "Starring", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people that have starred the repository.

\n

You can also find out when stars were created by passing the following custom media type via the Accept header:

", "responses": [ @@ -66730,9 +65890,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

", "responses": [ @@ -66802,9 +65960,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the last year of commit activity grouped by week. The days array is a group of commits per day, starting on Sunday.

", "responses": [ @@ -66874,9 +66030,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", "responses": [ @@ -66946,9 +66100,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

The array order is oldest week (index 0) to most recent week.

", "responses": [ @@ -67023,9 +66175,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Each array contains the day number, hour number, and number of commits:

\n\n

For example, [2, 14, 25] indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.

", "responses": [ @@ -67167,9 +66317,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access in a repository can create commit statuses for a given SHA.

\n

Note: there is a limit of 1000 statuses per sha and context within a repository. Attempts to create more than 1000 statuses will result in a validation error.

", "bodyParameters": [ { @@ -67303,9 +66451,7 @@ "categoryLabel": "Activity", "subcategory": "watching", "subcategoryLabel": "Watching", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people watching the specified repository.

", "responses": [ @@ -67660,9 +66806,7 @@ "slug": "list-repository-tags", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -67741,9 +66885,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -67830,9 +66972,7 @@ "slug": "list-repository-teams", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -67907,9 +67047,7 @@ "slug": "get-all-repository-topics", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -68028,9 +67166,7 @@ "slug": "replace-all-repository-topics", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -68143,9 +67279,7 @@ "categoryLabel": "Repos", "subcategory": "traffic", "subcategoryLabel": "Traffic", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -68220,9 +67354,7 @@ "categoryLabel": "Repos", "subcategory": "traffic", "subcategoryLabel": "Traffic", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get the top 10 popular contents over the last 14 days.

", "responses": [ @@ -68297,9 +67429,7 @@ "categoryLabel": "Repos", "subcategory": "traffic", "subcategoryLabel": "Traffic", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get the top 10 referrers over the last 14 days.

", "responses": [ @@ -68389,9 +67519,7 @@ "categoryLabel": "Repos", "subcategory": "traffic", "subcategoryLabel": "Traffic", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -68503,9 +67631,7 @@ "slug": "transfer-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -68681,9 +67807,7 @@ "slug": "enable-vulnerability-alerts", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -68757,9 +67881,7 @@ "slug": "disable-vulnerability-alerts", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -68837,9 +67959,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -69089,9 +68209,7 @@ "slug": "list-public-repositories", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.

", "responses": [ @@ -69183,9 +68301,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "scim", "subcategoryLabel": "Scim", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.

", "responses": [ @@ -69339,9 +68455,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "scim", "subcategoryLabel": "Scim", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.

\n

Provision an enterprise group, and invite users to the group. This sends invitation emails to the email address of the invited users to join the GitHub organization that the SCIM group corresponds to.

", "responses": [ { @@ -69477,9 +68591,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "scim", "subcategoryLabel": "Scim", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.

", "responses": [ @@ -69643,9 +68755,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "scim", "subcategoryLabel": "Scim", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.

\n

Replaces an existing provisioned group’s information. You must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the Update an attribute for a SCIM enterprise group endpoint instead.

", "responses": [ { @@ -69836,9 +68946,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "scim", "subcategoryLabel": "Scim", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.

\n

Allows you to change a provisioned group’s individual attributes. To change a group’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.

", "responses": [ { @@ -69935,9 +69043,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "scim", "subcategoryLabel": "Scim", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -70018,9 +69124,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "scim", "subcategoryLabel": "Scim", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.

\n

Retrieves a paginated list of all provisioned enterprise members, including pending invitations.

\n

When a user with a SAML-provisioned external identity leaves (or is removed from) an enterprise, the account's metadata is immediately removed. However, the returned list of user accounts might not always match the organization or enterprise member list you see on GitHub. This can happen in certain cases where an external identity associated with an organization will not match an organization member:

\n\n

The returned list of external identities can include an entry for a null user. These are unlinked SAML identities that are created when a user goes through the following Single Sign-On (SSO) process but does not sign in to their GitHub account after completing SSO:

\n
    \n
  1. \n

    The user is granted access by the IdP and is not a member of the GitHub enterprise.

    \n
  2. \n
  3. \n

    The user attempts to access the GitHub enterprise and initiates the SAML SSO process, and is not currently signed in to their GitHub account.

    \n
  4. \n
  5. \n

    After successfully authenticating with the SAML SSO IdP, the null external identity entry is created and the user is prompted to sign in to their GitHub account:

    \n\n
  6. \n
", "responses": [ @@ -70319,9 +69423,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "scim", "subcategoryLabel": "Scim", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.

\n

Provision enterprise membership for a user, and send organization invitation emails to the email address.

\n

You can optionally include the groups a user will be invited to join. If you do not provide a list of groups, the user is provisioned for the enterprise, but no organization invitation emails will be sent.

", "responses": [ { @@ -70592,9 +69694,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "scim", "subcategoryLabel": "Scim", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.

", "responses": [ @@ -70903,9 +70003,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "scim", "subcategoryLabel": "Scim", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.

\n

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 endpoint instead.

\n

You must at least provide the required values for the user: userName, name, and emails.

\n

Warning: Setting active: false removes the user from the enterprise, deletes the external identity, and deletes the associated {scim_user_id}.

", "responses": [ { @@ -71237,9 +70335,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "scim", "subcategoryLabel": "Scim", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: The SCIM API endpoints for enterprise accounts are currently in beta and are subject to change.

\n

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.

\n

Note: Complicated SCIM path selectors that include filters are not supported. For example, a path selector defined as \"path\": \"emails[type eq \\\"work\\\"]\" will not work.

\n

Warning: If you set active:false using the replace operation (as shown in the JSON example below), it removes the user from the enterprise, deletes the external identity, and deletes the associated :scim_user_id.

\n
{\n  \"Operations\":[{\n    \"op\":\"replace\",\n    \"value\":{\n      \"active\":false\n    }\n  }]\n}\n
", "responses": [ { @@ -71336,9 +70432,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "scim", "subcategoryLabel": "Scim", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -71426,9 +70520,7 @@ "slug": "list-scim-provisioned-identities", "category": "scim", "categoryLabel": "SCIM", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -71729,9 +70821,7 @@ "slug": "provision-and-invite-a-scim-user", "category": "scim", "categoryLabel": "SCIM", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -72037,9 +71127,7 @@ "slug": "get-scim-provisioning-information-for-a-user", "category": "scim", "categoryLabel": "SCIM", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -72345,9 +71433,7 @@ "slug": "update-a-provisioned-organization-membership", "category": "scim", "categoryLabel": "SCIM", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -72839,9 +71925,7 @@ "slug": "update-an-attribute-for-a-scim-user", "category": "scim", "categoryLabel": "SCIM", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -73122,9 +72206,7 @@ "slug": "delete-a-scim-user-from-an-organization", "category": "scim", "categoryLabel": "SCIM", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -73246,9 +72328,7 @@ "slug": "search-code", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Searches for query terms inside of a file. This method returns up to 100 results per page.

\n

When searching for code, you can get text match metadata for the file content and file path fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to find the definition of the addClass function inside jQuery repository, your query would look something like this:

\n

q=addClass+in:file+language:js+repo:jquery/jquery

\n

This query searches for the keyword addClass within a file's contents. The query limits the search to files where the language is JavaScript in the jquery/jquery repository.

\n

Considerations for code search

\n

Due to the complexity of searching code, there are a few restrictions on how searches are performed:

\n", "responses": [ @@ -73384,9 +72464,7 @@ "slug": "search-commits", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find commits via various criteria on the default branch (usually master). This method returns up to 100 results per page.

\n

When searching for commits, you can get text match metadata for the message field when you provide the text-match media type. For more details about how to receive highlighted search results, see Text match\nmetadata.

\n

For example, if you want to find commits related to CSS in the octocat/Spoon-Knife repository. Your query would look something like this:

\n

q=repo:octocat/Spoon-Knife+css

", "responses": [ @@ -73514,9 +72592,7 @@ "slug": "search-issues-and-pull-requests", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find issues by state and keyword. This method returns up to 100 results per page.

\n

When searching for issues, you can get text match metadata for the issue title, issue body, and issue comment body fields when you pass the text-match media type. For more details about how to receive highlighted\nsearch results, see Text match metadata.

\n

For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.

\n

q=windows+label:bug+language:python+state:open&sort=created&order=asc

\n

This query searches for the keyword windows, within any open issue that is labeled as bug. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.

\n

Note: For user-to-server GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the is:issue or is:pull-request qualifier will receive an HTTP 422 Unprocessable Entity response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the is qualifier, see \"Searching only issues or pull requests.\"

", "responses": [ @@ -73635,9 +72711,7 @@ "slug": "search-labels", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results per page.

\n

When searching for labels, you can get text match metadata for the label name and description fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to find labels in the linguist repository that match bug, defect, or enhancement. Your query might look like this:

\n

q=bug+defect+enhancement&repository_id=64778136

\n

The labels that best match the query appear first in the search results.

", "responses": [ @@ -73775,9 +72849,7 @@ "slug": "search-repositories", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find repositories via various criteria. This method returns up to 100 results per page.

\n

When searching for repositories, you can get text match metadata for the name and description fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:

\n

q=tetris+language:assembly&sort=stars&order=desc

\n

This query searches for repositories with the word tetris in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.

\n

When you include the mercy preview header, you can also search for multiple topics by adding more topic: instances. For example, your query might look like this:

\n

q=topic:ruby+topic:rails

", "responses": [ @@ -73859,9 +72931,7 @@ "slug": "search-topics", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results per page. See \"Searching topics\" for a detailed list of qualifiers.

\n

When searching for topics, you can get text match metadata for the topic's short_description, description, name, or display_name field when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:

\n

q=ruby+is:featured

\n

This query searches for topics with the keyword ruby and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.

", "responses": [ @@ -73981,9 +73051,7 @@ "slug": "search-users", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find users via various criteria. This method returns up to 100 results per page.

\n

When searching for users, you can get text match metadata for the issue login, email, and name fields when you pass the text-match media type. For more details about highlighting search results, see Text match metadata. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you're looking for a list of popular users, you might try this query:

\n

q=tom+repos:%3E42+followers:%3E1000

\n

This query searches for users with the name tom. The results are restricted to users with more than 42 repositories and over 1,000 followers.

", "responses": [ @@ -74060,9 +73128,7 @@ "slug": "get-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

", "responses": [ @@ -74204,9 +73270,7 @@ "slug": "update-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

To edit a team, the authenticated user must either be an organization owner or a team maintainer.

\n

Note: With nested teams, the privacy for parent teams cannot be secret.

", "bodyParameters": [ { @@ -74340,9 +73404,7 @@ "slug": "delete-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -74457,9 +73519,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

List all discussions on a team's page. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -74578,9 +73638,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Creates a new discussion post on a team's page. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -74689,9 +73747,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Get a specific discussion on a team's page. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -74803,9 +73859,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

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.

", "bodyParameters": [ { @@ -74897,9 +73951,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -75013,9 +74065,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

List all comments on a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -75122,9 +74172,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Creates a new comment on a team discussion. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -75223,9 +74271,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Get a specific comment on a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -75340,9 +74386,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Edits the body text of a discussion comment. OAuth access tokens require the write:discussion scope.

", "bodyParameters": [ { @@ -75434,9 +74478,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -75562,9 +74604,7 @@ "slug": "list-reactions-for-a-team-discussion-comment-legacy", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

List the reactions to a team discussion comment. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -75687,9 +74727,7 @@ "slug": "create-reaction-for-a-team-discussion-comment-legacy", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Create a reaction to a team discussion comment. OAuth access tokens require the write:discussion scope. A response with a Status: 200 OK means that you already added the reaction type to this team discussion comment.

", "bodyParameters": [ { @@ -75827,9 +74865,7 @@ "slug": "list-reactions-for-a-team-discussion-legacy", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

List the reactions to a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -76047,9 +75083,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

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.

", "responses": [ @@ -76149,9 +75183,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Team members will include the members of child teams.

", "responses": [ @@ -76229,9 +75261,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -76308,9 +75338,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The \"Add team member\" endpoint (described below) is deprecated.

\n

We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

\n

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.

\n

Note: When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub.\"

\n

Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

", "responses": [ @@ -76404,9 +75432,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -76483,9 +75509,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Team members will include the members of child teams.

\n

To get a user's membership with a team, the team must be visible to the authenticated user.

\n

Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

", "responses": [ @@ -76600,9 +75624,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.

\n

Note: When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub.\"

\n

If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.

\n

If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.

", "bodyParameters": [ { @@ -76712,9 +75734,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -76807,9 +75827,7 @@ "slug": "list-team-projects-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Lists the organization projects for a team.

", "responses": [ @@ -76897,9 +75915,7 @@ "slug": "check-team-permissions-for-a-project-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Checks whether a team has read, write, or admin permissions for an organization project. The response includes projects inherited from a parent team.

", "responses": [ @@ -77012,9 +76028,7 @@ "slug": "add-or-update-team-project-permissions-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

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.

", "bodyParameters": [ { @@ -77120,9 +76134,7 @@ "slug": "remove-a-project-from-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -77218,9 +76230,7 @@ "slug": "list-team-repositories-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

", "responses": [ @@ -77305,9 +76315,7 @@ "slug": "check-team-permissions-for-a-repository-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -77421,9 +76429,7 @@ "slug": "add-or-update-team-repository-permissions-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -77527,9 +76533,7 @@ "slug": "remove-a-repository-from-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -78071,9 +77075,7 @@ "slug": "list-child-teams-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

", "responses": [ @@ -82535,9 +81537,7 @@ "slug": "create-a-user-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -84206,9 +83206,7 @@ "slug": "list-users", "category": "users", "categoryLabel": "Users", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", "responses": [ @@ -84272,9 +83270,7 @@ "slug": "get-a-user", "category": "users", "categoryLabel": "Users", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Provides publicly available information about someone with a GitHub account.

\n

GitHub Apps with the Plan user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See \"Identifying and authorizing users for GitHub Apps\" for details about authentication. For an example response, see 'Response with GitHub plan information' below\"

\n

The email key in the following response is the publicly visible email address from your GitHub profile page. When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for email, then it will have a value of null. You only see publicly visible email addresses when authenticated with GitHub. For more information, see Authentication.

\n

The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"Emails API\".

", "responses": [ @@ -84366,9 +83362,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -84537,9 +83531,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -84619,9 +83611,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people following the specified user.

", "responses": [ @@ -84702,9 +83692,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people who the specified user follows.

", "responses": [ @@ -84774,9 +83762,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -84955,9 +83941,7 @@ "categoryLabel": "Users", "subcategory": "gpg-keys", "subcategoryLabel": "Gpg keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the GPG keys for a user. This information is accessible by anyone.

", "responses": [ @@ -85192,9 +84176,7 @@ "categoryLabel": "Users", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the verified public SSH keys for a user. This is accessible by anyone.

", "responses": [ @@ -85273,9 +84255,7 @@ "slug": "list-organizations-for-a-user", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List public organization memberships for the specified user.

\n

This method only lists public memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the List organizations for the authenticated user API instead.

", "responses": [ @@ -85468,9 +84448,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -85550,9 +84528,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -85684,9 +84660,7 @@ "slug": "list-repositories-for-a-user", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists public repositories for the specified user.

", "responses": [ @@ -85974,9 +84948,7 @@ "categoryLabel": "Activity", "subcategory": "starring", "subcategoryLabel": "Starring", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories a user has starred.

\n

You can also find out when stars were created by passing the following custom media type via the Accept header:

", "responses": [ @@ -86057,9 +85029,7 @@ "categoryLabel": "Activity", "subcategory": "watching", "subcategoryLabel": "Watching", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories a user is watching.

", "responses": [ @@ -86103,9 +85073,7 @@ "slug": "get-the-zen-of-github", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", diff --git a/lib/rest/static/decorated/ghes-2.18.json b/lib/rest/static/decorated/ghes-2.18.json index 43d319ca038d..8f1ee900a5f5 100644 --- a/lib/rest/static/decorated/ghes-2.18.json +++ b/lib/rest/static/decorated/ghes-2.18.json @@ -31,9 +31,7 @@ "slug": "github-api-root", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -3534,9 +3532,7 @@ "slug": "get-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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\" endpoint.

\n

You must use a JWT to access this endpoint.

", "responses": [ @@ -3692,9 +3688,7 @@ "slug": "list-installations-for-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

You must use a JWT to access this endpoint.

\n

The permissions the installation has are included under the permissions key.

", "responses": [ @@ -3771,9 +3765,7 @@ "slug": "get-an-installation-for-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (target_type) will be either an organization or a user account, depending which account the repository belongs to.

\n

You must use a JWT to access this endpoint.

", "responses": [ @@ -4092,9 +4084,7 @@ "slug": "create-an-installation-access-token-for-an-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

You must use a JWT to access this endpoint.

", "responses": [ { @@ -4837,9 +4827,7 @@ "slug": "get-an-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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).

\n

If the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a personal access token or an installation access token to access this endpoint.

", "responses": [ @@ -5997,9 +5985,7 @@ "slug": "get-all-codes-of-conduct", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -6075,9 +6061,7 @@ "slug": "get-a-code-of-conduct", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -6197,9 +6181,7 @@ "categoryLabel": "Apps", "subcategory": "installations", "subcategoryLabel": "Installations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 to create an attachment.

\n

The app must create a content attachment within six hours of the content reference URL being posted. See \"Using content attachments\" for details about content attachments.

\n

You must use an installation access token to access this endpoint.

", "bodyParameters": [ { @@ -6301,9 +6283,7 @@ "slug": "get-emojis", "category": "emojis", "categoryLabel": "Emojis", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -6491,9 +6471,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -6558,9 +6536,7 @@ "categoryLabel": "Activity", "subcategory": "feeds", "subcategoryLabel": "Feeds", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

GitHub Enterprise Server provides several timeline resources in Atom format. The Feeds API lists all the feeds available to the authenticated user:

\n\n

Note: Private feeds are only returned when authenticating via Basic Auth since current feed URIs use the older, non revocable auth tokens.

", "responses": [ @@ -8491,9 +8467,7 @@ "slug": "get-all-gitignore-templates", "category": "gitignore", "categoryLabel": "Gitignore", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all templates available to pass as an option when creating a repository.

", "responses": [ @@ -8557,9 +8531,7 @@ "slug": "get-a-gitignore-template", "category": "gitignore", "categoryLabel": "Gitignore", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The API also allows fetching the source of a single template.\nUse the raw media type to get the raw contents.

", "responses": [ @@ -8660,9 +8632,7 @@ "categoryLabel": "Apps", "subcategory": "installations", "subcategoryLabel": "Installations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List repositories that an app installation can access.

\n

You must use an installation access token to access this endpoint.

", "responses": [ @@ -8958,9 +8928,7 @@ "slug": "get-all-commonly-used-licenses", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -9024,9 +8992,7 @@ "slug": "get-a-license", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -9137,9 +9103,7 @@ "slug": "render-a-markdown-document", "category": "markdown", "categoryLabel": "Markdown", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -9240,9 +9204,7 @@ "slug": "render-a-markdown-document-in-raw-mode", "category": "markdown", "categoryLabel": "Markdown", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -9295,9 +9257,7 @@ "slug": "get-github-enterprise-server-meta-information", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This endpoint provides a list of GitHub's IP addresses. For more information, see \"About GitHub's IP addresses.\"

", "responses": [ @@ -9392,9 +9352,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -10132,9 +10090,7 @@ "slug": "get-octocat", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -10203,9 +10159,7 @@ "slug": "list-organizations", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub Enterprise Server.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", "responses": [ @@ -10276,9 +10230,7 @@ "slug": "get-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

GitHub Apps with the Organization plan permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"Authenticating with GitHub Apps\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"

", "responses": [ @@ -10544,9 +10496,7 @@ "slug": "update-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Parameter Deprecation Notice: GitHub Enterprise Server 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.

\n

Enables an authenticated organization owner with the admin:org scope to update the organization's profile and member privileges.

", "bodyParameters": [ { @@ -10809,9 +10759,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -10891,9 +10839,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -11160,9 +11106,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Here's how you can create a hook that posts payloads in JSON format:

", "responses": [ { @@ -11417,9 +11361,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a webhook configured in an organization. To get only the webhook config properties, see \"Get a webhook configuration for an organization.\"

", "responses": [ @@ -11649,9 +11591,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

", "responses": [ { @@ -11870,9 +11810,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -11946,9 +11884,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -12315,9 +12251,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -12397,9 +12331,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -12478,9 +12410,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -12554,9 +12484,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

In order to get a user's membership with an organization, the authenticated user must be an organization member.

", "responses": [ @@ -12673,9 +12601,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", "bodyParameters": [ { @@ -12776,9 +12702,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -12883,9 +12807,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all users who are outside collaborators of an organization.

", "responses": [ @@ -12955,9 +12877,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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\".

", "responses": [ @@ -13048,9 +12968,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Removing a user from this list will remove them from all the organization's repositories.

", "responses": [ @@ -13143,9 +13061,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.

", "responses": [ @@ -13222,9 +13138,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -13334,9 +13248,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

For pre-receive hooks which are allowed to be configured at the org level, you can set enforcement and allow_downstream_configuration

", "bodyParameters": [ { @@ -13432,9 +13344,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Removes any overrides for this hook at the org level for this org.

", "responses": [ @@ -13536,9 +13446,7 @@ "slug": "list-organization-projects", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -13645,9 +13553,7 @@ "slug": "create-an-organization-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates an organization project board. 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.

", "bodyParameters": [ { @@ -13772,9 +13678,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Members of an organization can choose to have their membership publicized or not.

", "responses": [ @@ -13844,9 +13748,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -14135,9 +14037,7 @@ "slug": "list-organization-repositories", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories for the specified organization.

", "responses": [ @@ -14401,9 +14301,7 @@ "slug": "create-an-organization-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

\n

OAuth scope requirements

\n

When using OAuth, authorizations must include:

\n", "bodyParameters": [ { @@ -14662,9 +14560,7 @@ "slug": "list-teams", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all teams in an organization that are visible to the authenticated user.

", "responses": [ @@ -14827,9 +14723,7 @@ "slug": "create-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

\n

When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of maintainers. For more information, see \"About teams\".

", "bodyParameters": [ { @@ -14988,9 +14882,7 @@ "slug": "get-a-team-by-name", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a team using the team's slug. GitHub Enterprise Server generates the slug from the team name.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}.

", "responses": [ @@ -15064,9 +14956,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -15187,9 +15077,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -15305,9 +15193,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -15430,9 +15316,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -15547,9 +15431,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -15662,9 +15544,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -15759,9 +15639,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -15880,9 +15758,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -16009,9 +15885,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the pull_request key.

\n

Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull request id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -16130,9 +16004,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -16229,9 +16101,7 @@ "slug": "get-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -16378,9 +16248,7 @@ "slug": "update-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -16532,9 +16400,7 @@ "slug": "delete-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -16662,9 +16528,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -16798,9 +16662,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -16923,9 +16785,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -17031,9 +16891,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -17151,9 +17009,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -17260,9 +17116,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -17342,9 +17196,7 @@ "slug": "get-rate-limit-status-for-the-authenticated-user", "category": "rate-limit", "categoryLabel": "Rate limit", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Accessing this endpoint does not count against your REST API rate limit.

\n

Note: The rate object is deprecated. If you're writing new API client code or updating existing code, you should use the core object instead of the rate object. The core object contains the same information that is present in the rate object.

", "responses": [ @@ -17437,9 +17289,7 @@ "slug": "delete-a-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -17519,9 +17369,7 @@ "slug": "get-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

When you pass the scarlet-witch-preview media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.

\n

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.

", "responses": [ @@ -17794,9 +17642,7 @@ "slug": "update-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: To edit a repository's topics, use the Replace all repository topics endpoint.

", "bodyParameters": [ { @@ -18031,9 +17877,7 @@ "slug": "delete-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Deleting a repository requires admin access. If OAuth is used, the delete_repo scope is required.

\n

If an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a 403 Forbidden response.

", "responses": [ @@ -18133,9 +17977,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the available assignees for issues in a repository.

", "responses": [ @@ -18219,9 +18061,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -18325,9 +18165,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -18418,9 +18256,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -18517,9 +18353,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -19103,9 +18937,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -19644,9 +19476,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -19730,9 +19560,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -19812,9 +19640,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.

", "responses": [ @@ -19894,9 +19720,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -19987,9 +19811,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -20193,9 +20015,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.

\n

Note: Passing new arrays of users and teams replaces their previous values.

", "responses": [ { @@ -20375,9 +20195,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -20468,9 +20286,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of true indicates you must sign commits on this branch. For more information, see Signing commits with GPG in GitHub Help.

\n

Note: You must enable branch protection to require signed commits.

", "responses": [ @@ -20562,9 +20378,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.

", "responses": [ @@ -20656,9 +20470,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -20742,9 +20554,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -20867,9 +20677,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.

", "bodyParameters": [ { @@ -20981,9 +20789,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -21062,9 +20868,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -21181,9 +20985,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -21323,9 +21125,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -21460,9 +21260,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -21565,9 +21363,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists who has access to this protected branch.

\n

Note: Users, apps, and teams restrictions are only available for organization-owned repositories.

", "responses": [ @@ -21652,9 +21448,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -21733,9 +21527,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the teams who have push access to this branch. The list includes child teams.

", "responses": [ @@ -21852,9 +21644,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified teams push access for this branch. You can also give push access to child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe teams that can have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -21984,9 +21774,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe teams that can have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -22116,9 +21904,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of a team to push to this branch. You can also remove push access for child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayTeams that should no longer have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -22216,9 +22002,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the people who have push access to this branch.

", "responses": [ @@ -22335,9 +22119,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified people push access for this branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -22467,9 +22249,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -22599,9 +22379,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of a user to push to this branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames of the people who should no longer have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -23711,9 +23489,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Creates a new check run for a specific commit in a repository. Your GitHub App must have the checks:write permission to create check runs.

\n

In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.

", "responses": [ { @@ -24741,9 +24517,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Gets a single check run using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -25802,9 +25576,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Updates a check run for a specific commit in a repository. Your GitHub App must have the checks:write permission to edit check runs.

", "responses": [ { @@ -26835,9 +26607,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -26940,9 +26710,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

By default, check suites are automatically created when you create a check run. You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"Update repository preferences for check suites\". Your GitHub App must have the checks:write permission to create check suites.

", "bodyParameters": [ { @@ -27112,9 +26880,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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. You must have admin permissions in the repository to set preferences for check suites.

", "responses": [ { @@ -27266,9 +27032,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Gets a single check suite using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the repo scope to get check suites in a private repository.

", "responses": [ @@ -27415,9 +27179,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check runs for a check suite using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -27504,9 +27266,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -27611,9 +27371,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Team members will include the members of child teams.

", "responses": [ @@ -27697,9 +27455,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -27820,9 +27576,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

For more information the permission levels, see \"Repository permission levels for an organization\".

\n

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.\"

\n

The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the repository invitations API endpoints.

\n

Rate limits

\n

To prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.

", "bodyParameters": [ { @@ -27943,9 +27697,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -28023,9 +27775,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Checks the repository permission of a collaborator. The possible repository permissions are admin, write, read, and none.

", "responses": [ @@ -28127,9 +27877,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Commit Comments use these custom media types. You can read more about the use of media types in the API here.

\n

Comments are ordered by ascending ID.

", "responses": [ @@ -28216,9 +27964,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -28329,9 +28075,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -28426,9 +28170,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -28557,9 +28299,7 @@ "slug": "list-reactions-for-a-commit-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a commit comment.

", "responses": [ @@ -28690,9 +28430,7 @@ "slug": "create-reaction-for-a-commit-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a commit comment. A response with a Status: 200 OK means that you already added the reaction type to this commit comment.

", "bodyParameters": [ { @@ -28868,9 +28606,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -28977,9 +28713,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch.

", "responses": [ @@ -29096,9 +28830,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Use the :commit_sha to specify the commit that will have its comments listed.

", "responses": [ @@ -29235,9 +28967,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a comment for a commit using its :commit_sha.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -29391,9 +29121,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the List pull requests endpoint.

", "responses": [ @@ -29478,9 +29206,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the contents of a single commit reference. You must have read access for the repository to use this endpoint.

\n

Note: If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.

\n

You can pass the appropriate media type to fetch diff and patch formats. Diffs with binary data will have no patch property.

\n

To return only the SHA-1 hash of the commit reference, you can provide the sha custom media type in the Accept header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -29642,9 +29368,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check runs for a commit ref. The ref can be a SHA, branch name, or a tag name. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -29772,9 +29496,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check suites for a commit ref. The ref can be a SHA, branch name, or a tag name. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the repo scope to get check suites in a private repository.

", "responses": [ @@ -29854,9 +29576,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

The most recent status for each context is returned, up to 100. This field paginates if there are over 100 contexts.

\n

Additionally, a combined state is returned. The state is one of:

\n", "responses": [ @@ -29961,9 +29681,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

This resource is also available via a legacy route: GET /repos/:owner/:repo/statuses/:ref.

", "responses": [ @@ -30043,9 +29761,7 @@ "slug": "get-the-code-of-conduct-for-a-repository", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This method returns the contents of the repository's code of conduct file, if one is detected.

", "responses": [ @@ -30133,9 +29849,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 <USERNAME>:branch.

\n

The response from the API is equivalent to running the git log base..head command; however, commits are returned in chronological order. Pass the appropriate media type to fetch diff and patch formats.

\n

The response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a renamed status have a previous_filename field showing the previous filename of the file, and files with a modified status have a patch field showing the changes made to the file.

\n

Working with large comparisons

\n

The response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the List commits to enumerate all commits in the range.

\n

For comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -30235,9 +29949,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets the contents of a file or directory in a repository. Specify the file path or directory in :path. If you omit\n:path, you will receive the contents of all files in the repository.

\n

Files and symlinks support a custom media type for\nretrieving the raw content or rendered HTML (when supported). All content types support a custom media\ntype to ensure the content is returned in a consistent\nobject format.

\n

Note:

\n\n

If the content is a directory

\n

The response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\nshould be \"submodule\". This behavior exists in API v3 for backwards compatibility purposes.\nIn the next major version of the API, the type will be returned as \"submodule\".

\n

If the content is a symlink

\n

If the requested :path points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object\ndescribing the symlink itself.

\n

If the content is a submodule

\n

The submodule_git_url identifies the location of the submodule repository, and the sha identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.

\n

If the submodule repository is not hosted on github.com, the Git URLs (git_url and _links[\"git\"]) and the\ngithub.com URLs (html_url and _links[\"html\"]) will have null values.

", "responses": [ @@ -30580,9 +30292,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new file or replaces an existing file in a repository.

", "responses": [ { @@ -31034,9 +30744,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Deletes a file in a repository.

\n

You can provide an additional committer parameter, which is an object containing information about the committer. Or, you can provide an author parameter, which is an object containing information about the author.

\n

The author section is optional and is filled in with the committer information if omitted. If the committer information is omitted, the authenticated user's information is used.

\n

You must provide values for both name and email, whether you choose to use author or committer. Otherwise, you'll receive a 422 status code.

", "responses": [ { @@ -31292,9 +31000,7 @@ "slug": "list-repository-contributors", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 v3 caches contributor data to improve performance.

\n

GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.

", "responses": [ @@ -31450,9 +31156,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Simple filtering of deployments is available via query parameters:

", "responses": [ @@ -31666,9 +31370,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Deployments offer a few configurable parameters with certain defaults.

\n

The ref parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.

\n

The environment parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as production, staging, and qa. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is production.

\n

The auto_merge parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref is behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.

\n

By default, commit statuses for every submitted context must be in a success\nstate. The required_contexts parameter allows you to specify a subset of contexts that must be success, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.

\n

The payload parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.

\n

The task parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe deploy:migrations to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.

\n

Users with repo or repo_deployment scopes can create a deployment for a given ref.

\n

Merged branch response

\n

You will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:

\n\n

If there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.

\n

Merge conflict response

\n

This error happens when the auto_merge option is enabled and when the default branch (in this case master), can't\nbe merged into the branch that's being deployed (in this case topic-branch), due to merge conflicts.

\n

Failed commit status checks

\n

This error happens when the required_contexts parameter indicates that one or more contexts need to have a success\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of success.

", "bodyParameters": [ { @@ -31891,9 +31593,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -32011,9 +31711,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Users with pull access can view deployment statuses for a deployment:

", "responses": [ @@ -32212,9 +31910,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access can create deployment statuses for a given deployment.

\n

GitHub Apps require read & write access to \"Deployments\" and read-only access to \"Repo contents\" (for private repos). OAuth Apps require the repo_deployment scope.

", "bodyParameters": [ { @@ -32409,9 +32105,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Users with pull access can view a deployment status for a deployment:

", "responses": [ @@ -32511,9 +32205,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -32618,9 +32310,7 @@ "categoryLabel": "Repos", "subcategory": "forks", "subcategoryLabel": "Forks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -32715,9 +32405,7 @@ "categoryLabel": "Repos", "subcategory": "forks", "subcategoryLabel": "Forks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a fork for the authenticated user.

\n

Note: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact GitHub Enterprise Server Support or GitHub Enterprise Server Premium Support.

", "bodyParameters": [ { @@ -32854,9 +32542,7 @@ "categoryLabel": "Git", "subcategory": "blobs", "subcategoryLabel": "Blobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -32975,9 +32661,7 @@ "categoryLabel": "Git", "subcategory": "blobs", "subcategoryLabel": "Blobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The content in the response will always be Base64 encoded.

\n

Note: This API supports blobs up to 100 megabytes in size.

", "responses": [ @@ -33275,9 +32959,7 @@ "categoryLabel": "Git", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new Git commit object.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ { @@ -33553,9 +33235,7 @@ "categoryLabel": "Git", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a Git commit object.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -33676,9 +33356,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -33801,9 +33479,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -33919,9 +33595,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -34026,9 +33700,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -34244,9 +33916,7 @@ "categoryLabel": "Git", "subcategory": "tags", "subcategoryLabel": "Tags", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 the refs/tags/[tag] reference. If you want to create a lightweight tag, you only have to create the tag reference - this call would be unnecessary.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ { @@ -34445,9 +34115,7 @@ "categoryLabel": "Git", "subcategory": "tags", "subcategoryLabel": "Tags", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -34694,9 +34362,7 @@ "categoryLabel": "Git", "subcategory": "trees", "subcategoryLabel": "Trees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

If you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"Create a commit\" and \"Update a reference.\"

", "responses": [ { @@ -34948,9 +34614,7 @@ "categoryLabel": "Git", "subcategory": "trees", "subcategoryLabel": "Trees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a single tree using the SHA1 value for that tree.

\n

If truncated is true in the response then the number of items in the tree array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.

", "responses": [ @@ -35056,9 +34720,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -35334,9 +34996,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Repositories can have multiple webhooks installed. Each webhook should have a unique config. Multiple webhooks can\nshare the same config as long as those webhooks do not have any events that overlap.

", "responses": [ { @@ -35605,9 +35265,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a webhook configured in a repository. To get only the webhook config properties, see \"Get a webhook configuration for a repository.\"

", "responses": [ @@ -35897,9 +35555,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

", "responses": [ { @@ -36178,9 +35834,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -36263,9 +35917,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -36348,9 +36000,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -36539,9 +36189,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.

", "responses": [ @@ -36648,9 +36296,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -36747,9 +36393,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -36949,9 +36593,7 @@ "slug": "list-repository-issues", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List issues in a repository.

\n

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe pull_request key. Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull\nrequest id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -37143,9 +36785,7 @@ "slug": "create-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Any user with pull access to a repository can create an issue. If issues are disabled in the repository, the API returns a 410 Gone status.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -37390,9 +37030,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

By default, Issue Comments are ordered by ascending ID.

", "responses": [ @@ -37489,9 +37127,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -37602,9 +37238,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -37699,9 +37333,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -37825,9 +37457,7 @@ "slug": "list-reactions-for-an-issue-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to an issue comment.

", "responses": [ @@ -37958,9 +37588,7 @@ "slug": "create-reaction-for-an-issue-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to an issue comment. A response with a Status: 200 OK means that you already added the reaction type to this issue comment.

", "bodyParameters": [ { @@ -38099,9 +37727,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -38204,9 +37830,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -38306,9 +37930,7 @@ "slug": "get-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The API returns a 301 Moved Permanently status if the issue was\ntransferred to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a 404 Not Found status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a 410 Gone status. To receive webhook events for transferred and deleted issues, subscribe\nto the issues webhook.

\n

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe pull_request key. Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull\nrequest id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -38524,9 +38146,7 @@ "slug": "update-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Issue owners and users with push access can edit an issue.

", "bodyParameters": [ { @@ -38761,9 +38381,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.

", "bodyParameters": [ { @@ -38885,9 +38503,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Removes one or more assignees from an issue.

", "bodyParameters": [ { @@ -39017,9 +38633,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Issue Comments are ordered by ascending ID.

", "responses": [ @@ -39136,9 +38750,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -39281,9 +38893,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -39388,9 +38998,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -39507,9 +39115,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -39641,9 +39247,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Removes any previous labels and sets the new labels for an issue.

", "bodyParameters": [ { @@ -39746,9 +39350,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -39841,9 +39443,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -39963,9 +39563,7 @@ "slug": "lock-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -40078,9 +39676,7 @@ "slug": "unlock-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -40214,9 +39810,7 @@ "slug": "list-reactions-for-an-issue", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to an issue.

", "responses": [ @@ -40495,9 +40089,7 @@ "categoryLabel": "Issues", "subcategory": "timeline", "subcategoryLabel": "Timeline", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -40602,9 +40194,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -40720,9 +40310,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

You can create a read-only deploy key.

", "bodyParameters": [ { @@ -40835,9 +40423,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -40922,9 +40508,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -41013,9 +40597,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -41136,9 +40718,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -41255,9 +40835,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -41341,9 +40919,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -41410,9 +40986,7 @@ "slug": "list-repository-languages", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.

", "responses": [ @@ -41480,9 +41054,7 @@ "slug": "get-the-license-for-a-repository", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This method returns the contents of the repository's license file, if one is detected.

\n

Similar to Get repository content, this method also supports custom media types for retrieving the raw license content or rendered license HTML.

", "responses": [ @@ -41599,9 +41171,7 @@ "categoryLabel": "Repos", "subcategory": "merging", "subcategoryLabel": "Merging", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -41793,9 +41363,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -41931,9 +41499,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -42065,9 +41631,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -42210,9 +41774,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -42334,9 +41896,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -42440,9 +42000,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -42743,9 +42301,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -42930,9 +42486,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Configures a GitHub Enterprise Server Pages site. For more information, see \"About GitHub Pages.\"

", "responses": [ { @@ -43162,9 +42716,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -43298,9 +42850,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -43404,9 +42954,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -43476,9 +43024,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.

", "responses": [ @@ -43548,9 +43094,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -43629,9 +43173,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -43728,9 +43270,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.

", "responses": [ @@ -43816,9 +43356,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -43927,9 +43465,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

For pre-receive hooks which are allowed to be configured at the repo level, you can set enforcement

", "bodyParameters": [ { @@ -44025,9 +43561,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Deletes any overridden enforcement on this repository for the specified hook.

\n

Responds with effective values inherited from owner and/or global level.

", "responses": [ @@ -44138,9 +43672,7 @@ "slug": "list-repository-projects", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -44276,9 +43808,7 @@ "slug": "create-a-repository-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a repository project board. 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.

", "bodyParameters": [ { @@ -44489,9 +44019,7 @@ "slug": "list-pull-requests", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.

", "responses": [ @@ -44666,9 +44194,7 @@ "slug": "create-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" for details.

", "bodyParameters": [ { @@ -44884,9 +44410,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -44979,9 +44503,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Provides details for a review comment.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -45099,9 +44621,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Enables you to edit a review comment.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n", "bodyParameters": [ { @@ -45191,9 +44711,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -45322,9 +44840,7 @@ "slug": "list-reactions-for-a-pull-request-review-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a pull request review comment.

", "responses": [ @@ -45455,9 +44971,7 @@ "slug": "create-reaction-for-a-pull-request-review-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a pull request review comment. A response with a Status: 200 OK means that you already added the reaction type to this pull request review comment.

", "bodyParameters": [ { @@ -45570,9 +45084,7 @@ "slug": "get-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists details of a pull request by providing its number.

\n

When you get, create, or edit a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the mergeable key. For more information, see \"Checking mergeability of pull requests\".

\n

The value of the mergeable attribute can be true, false, or null. If the value is null, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-null value for the mergeable attribute in the response. If mergeable is true, then merge_commit_sha will be the SHA of the test merge commit.

\n

The value of the merge_commit_sha attribute changes depending on the state of the pull request. Before merging a pull request, the merge_commit_sha attribute holds the SHA of the test merge commit. After merging a pull request, the merge_commit_sha attribute changes depending on how you merged the pull request:

\n\n

Pass the appropriate media type to fetch diff and patch formats.

", "responses": [ @@ -45742,9 +45254,7 @@ "slug": "update-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.

", "bodyParameters": [ { @@ -45955,9 +45465,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Lists all review comments for a pull request. By default, review comments are in ascending order by ID.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -46072,9 +45580,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"Create an issue comment.\"

\n

Note: The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" for details.

", "bodyParameters": [ { @@ -46321,9 +45827,7 @@ "slug": "list-commits-on-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

", "responses": [ @@ -46420,9 +45924,7 @@ "slug": "list-pull-requests-files", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.

", "responses": [ @@ -46509,9 +46011,7 @@ "slug": "check-if-a-pull-request-has-been-merged", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -46645,9 +46145,7 @@ "slug": "merge-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -46815,9 +46313,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -46942,9 +46438,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -47103,9 +46597,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -47233,9 +46725,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The list of reviews returns in chronological order.

", "responses": [ @@ -47522,9 +47012,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Pull request reviews created in the PENDING state do not include the submitted_at property in the response.

\n

Note: To comment on a specific line in a file, you need to first determine the position of that line in the diff. The GitHub REST API v3 offers the application/vnd.github.v3.diff media type. To see a pull request diff, add this media type to the Accept header of a call to the single pull request endpoint.

\n

The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.

", "responses": [ { @@ -47808,9 +47296,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -47930,9 +47416,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Update the review summary comment with new text.

", "bodyParameters": [ { @@ -48036,9 +47520,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -48157,9 +47639,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List comments for a specific pull request review.

", "responses": [ @@ -48285,9 +47765,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: To dismiss a pull request review on a protected branch, you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.

", "bodyParameters": [ { @@ -48442,9 +47920,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -48695,9 +48171,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets the preferred README for a repository.

\n

READMEs support custom media types for retrieving the raw content or rendered HTML.

", "responses": [ @@ -48797,9 +48271,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Information about published releases are available to everyone. Only users with push access will receive listings for draft releases.

", "responses": [ @@ -48953,9 +48425,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can create a release.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -49097,9 +48567,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

To download the asset's binary content, set the Accept header of the request to application/octet-stream. 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.

", "responses": [ @@ -49236,9 +48704,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can edit a release asset.

", "bodyParameters": [ { @@ -49346,9 +48812,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -49417,9 +48881,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

View the latest published full release for the repository.

\n

The latest release is the most recent non-prerelease, non-draft release, sorted by the created_at attribute. The created_at attribute is the date of the commit used for the release, and not the date when the release was drafted or published.

", "responses": [ @@ -49499,9 +48961,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a published release with the specified tag.

", "responses": [ @@ -49586,9 +49046,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: This returns an upload_url key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource.

", "responses": [ @@ -49746,9 +49204,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can edit a release.

", "bodyParameters": [ { @@ -49883,9 +49339,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -49984,9 +49438,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -50103,9 +49555,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This endpoint makes use of a Hypermedia relation 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\nthe response of the Create a release endpoint to upload a release asset.

\n

You need to use an HTTP client which supports SNI to make calls to this endpoint.

\n

Most libraries will set the required Content-Length header automatically. Use the required Content-Type header to provide the media type of the asset. For a list of media types, see Media Types. For example:

\n

application/zip

\n

GitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.

\n

When an upstream failure occurs, you will receive a 502 Bad Gateway status. This may leave an empty asset with a state of starter. It can be safely deleted.

\n

Notes:

\n", "responses": [ @@ -50195,9 +49645,7 @@ "categoryLabel": "Activity", "subcategory": "starring", "subcategoryLabel": "Starring", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people that have starred the repository.

\n

You can also find out when stars were created by passing the following custom media type via the Accept header:

", "responses": [ @@ -50272,9 +49720,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

", "responses": [ @@ -50344,9 +49790,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the last year of commit activity grouped by week. The days array is a group of commits per day, starting on Sunday.

", "responses": [ @@ -50416,9 +49860,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", "responses": [ @@ -50488,9 +49930,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

The array order is oldest week (index 0) to most recent week.

", "responses": [ @@ -50565,9 +50005,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Each array contains the day number, hour number, and number of commits:

\n\n

For example, [2, 14, 25] indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.

", "responses": [ @@ -50709,9 +50147,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access in a repository can create commit statuses for a given SHA.

\n

Note: there is a limit of 1000 statuses per sha and context within a repository. Attempts to create more than 1000 statuses will result in a validation error.

", "bodyParameters": [ { @@ -50845,9 +50281,7 @@ "categoryLabel": "Activity", "subcategory": "watching", "subcategoryLabel": "Watching", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people watching the specified repository.

", "responses": [ @@ -51202,9 +50636,7 @@ "slug": "list-repository-tags", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -51283,9 +50715,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -51372,9 +50802,7 @@ "slug": "list-repository-teams", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -51449,9 +50877,7 @@ "slug": "get-all-repository-topics", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -51570,9 +50996,7 @@ "slug": "replace-all-repository-topics", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -51707,9 +51131,7 @@ "slug": "transfer-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -51806,9 +51228,7 @@ "slug": "enable-vulnerability-alerts", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -51882,9 +51302,7 @@ "slug": "disable-vulnerability-alerts", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -51962,9 +51380,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -52230,9 +51646,7 @@ "slug": "list-public-repositories", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.

", "responses": [ @@ -52350,9 +51764,7 @@ "slug": "search-code", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Searches for query terms inside of a file. This method returns up to 100 results per page.

\n

When searching for code, you can get text match metadata for the file content and file path fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to find the definition of the addClass function inside jQuery repository, your query would look something like this:

\n

q=addClass+in:file+language:js+repo:jquery/jquery

\n

This query searches for the keyword addClass within a file's contents. The query limits the search to files where the language is JavaScript in the jquery/jquery repository.

\n

Considerations for code search

\n

Due to the complexity of searching code, there are a few restrictions on how searches are performed:

\n", "responses": [ @@ -52488,9 +51900,7 @@ "slug": "search-commits", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find commits via various criteria on the default branch (usually master). This method returns up to 100 results per page.

\n

When searching for commits, you can get text match metadata for the message field when you provide the text-match media type. For more details about how to receive highlighted search results, see Text match\nmetadata.

\n

For example, if you want to find commits related to CSS in the octocat/Spoon-Knife repository. Your query would look something like this:

\n

q=repo:octocat/Spoon-Knife+css

", "responses": [ @@ -52618,9 +52028,7 @@ "slug": "search-issues-and-pull-requests", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find issues by state and keyword. This method returns up to 100 results per page.

\n

When searching for issues, you can get text match metadata for the issue title, issue body, and issue comment body fields when you pass the text-match media type. For more details about how to receive highlighted\nsearch results, see Text match metadata.

\n

For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.

\n

q=windows+label:bug+language:python+state:open&sort=created&order=asc

\n

This query searches for the keyword windows, within any open issue that is labeled as bug. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.

\n

Note: For user-to-server GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the is:issue or is:pull-request qualifier will receive an HTTP 422 Unprocessable Entity response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the is qualifier, see \"Searching only issues or pull requests.\"

", "responses": [ @@ -52739,9 +52147,7 @@ "slug": "search-labels", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results per page.

\n

When searching for labels, you can get text match metadata for the label name and description fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to find labels in the linguist repository that match bug, defect, or enhancement. Your query might look like this:

\n

q=bug+defect+enhancement&repository_id=64778136

\n

The labels that best match the query appear first in the search results.

", "responses": [ @@ -52879,9 +52285,7 @@ "slug": "search-repositories", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find repositories via various criteria. This method returns up to 100 results per page.

\n

When searching for repositories, you can get text match metadata for the name and description fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:

\n

q=tetris+language:assembly&sort=stars&order=desc

\n

This query searches for repositories with the word tetris in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.

\n

When you include the mercy preview header, you can also search for multiple topics by adding more topic: instances. For example, your query might look like this:

\n

q=topic:ruby+topic:rails

", "responses": [ @@ -52963,9 +52367,7 @@ "slug": "search-topics", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results per page. See \"Searching topics\" for a detailed list of qualifiers.

\n

When searching for topics, you can get text match metadata for the topic's short_description, description, name, or display_name field when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:

\n

q=ruby+is:featured

\n

This query searches for topics with the keyword ruby and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.

", "responses": [ @@ -53085,9 +52487,7 @@ "slug": "search-users", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find users via various criteria. This method returns up to 100 results per page.

\n

When searching for users, you can get text match metadata for the issue login, email, and name fields when you pass the text-match media type. For more details about highlighting search results, see Text match metadata. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you're looking for a list of popular users, you might try this query:

\n

q=tom+repos:%3E42+followers:%3E1000

\n

This query searches for users with the name tom. The results are restricted to users with more than 42 repositories and over 1,000 followers.

", "responses": [ @@ -53956,9 +53356,7 @@ "slug": "get-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -54098,9 +53496,7 @@ "slug": "update-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

To edit a team, the authenticated user must either be an organization owner or a team maintainer.

\n

Note: With nested teams, the privacy for parent teams cannot be secret.

", "bodyParameters": [ { @@ -54222,9 +53618,7 @@ "slug": "delete-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -54343,9 +53737,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all discussions on a team's page. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -54478,9 +53870,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new discussion post on a team's page. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" for details.

", "bodyParameters": [ { @@ -54603,9 +53993,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a specific discussion on a team's page. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -54731,9 +54119,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -54840,9 +54226,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -54970,9 +54354,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all comments on a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -55093,9 +54475,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new comment on a team discussion. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" for details.

", "bodyParameters": [ { @@ -55208,9 +54588,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a specific comment on a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -55339,9 +54717,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Edits the body text of a discussion comment. OAuth access tokens require the write:discussion scope.

", "bodyParameters": [ { @@ -55448,9 +54824,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -55590,9 +54964,7 @@ "slug": "list-reactions-for-a-team-discussion-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a team discussion comment. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -55729,9 +55101,7 @@ "slug": "create-reaction-for-a-team-discussion-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a team discussion comment. OAuth access tokens require the write:discussion scope. A response with a Status: 200 OK means that you already added the reaction type to this team discussion comment.

", "bodyParameters": [ { @@ -55883,9 +55253,7 @@ "slug": "list-reactions-for-a-team-discussion", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -56137,9 +55505,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

If you pass the hellcat-preview media type, team members will include the members of child teams.

\n

To list members in a team, the team must be visible to the authenticated user.

", "responses": [ @@ -56212,9 +55578,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -56291,9 +55655,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The \"Add team member\" endpoint (described below) is deprecated.

\n

We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

\n

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.

\n

Note: When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub Enterprise Server.\"

\n

Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

", "responses": [ @@ -56387,9 +55749,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -56470,9 +55830,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

If you pass the hellcat-preview media type, team members will include the members of child teams.

\n

To get a user's membership with a team, the team must be visible to the authenticated user.

\n

Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

", "responses": [ @@ -56579,9 +55937,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.

\n

If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.

\n

If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.

", "bodyParameters": [ { @@ -56678,9 +56034,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -56782,9 +56136,7 @@ "slug": "list-team-projects", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the organization projects for a team. If you are an authenticated site administrator for your Enterprise instance, you will be able to list all projects for the team. If you pass the hellcat-preview media type, the response will include projects inherited from a parent team.

", "responses": [ @@ -56876,9 +56228,7 @@ "slug": "check-team-permissions-for-a-project", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Checks whether a team has read, write, or admin permissions for an organization project. If you pass the hellcat-preview media type, the response will include projects inherited from a parent team.

", "responses": [ @@ -57000,9 +56350,7 @@ "slug": "add-or-update-team-project-permissions", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -57090,9 +56438,7 @@ "slug": "remove-a-project-from-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -57177,9 +56523,7 @@ "slug": "list-team-repositories", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: If you pass the hellcat-preview media type, the response will include any repositories inherited through a parent team.

\n

If you are an authenticated site administrator for your Enterprise instance, you will be able to list all repositories for the team.

", "responses": [ @@ -57263,9 +56607,7 @@ "slug": "check-team-permissions-for-a-repository", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -57383,9 +56725,7 @@ "slug": "add-or-update-team-repository-permissions", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -57476,9 +56816,7 @@ "slug": "remove-a-repository-from-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -57563,9 +56901,7 @@ "slug": "list-child-teams", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

You must use the hellcat-preview media type to use this endpoint.

", "responses": [ @@ -60438,9 +59774,7 @@ "slug": "create-a-user-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -62109,9 +61443,7 @@ "slug": "list-users", "category": "users", "categoryLabel": "Users", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", "responses": [ @@ -62175,9 +61507,7 @@ "slug": "get-a-user", "category": "users", "categoryLabel": "Users", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Provides publicly available information about someone with a GitHub account.

\n

GitHub Apps with the Plan user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"Identifying and authorizing users for GitHub Apps\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"

\n

The email key in the following response is the publicly visible email address from your GitHub Enterprise Server profile page. When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for email, then it will have a value of null. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see Authentication.

\n

The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"Emails API\".

", "responses": [ @@ -62269,9 +61599,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -62440,9 +61768,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -62522,9 +61848,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people following the specified user.

", "responses": [ @@ -62605,9 +61929,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people who the specified user follows.

", "responses": [ @@ -62677,9 +61999,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -62858,9 +62178,7 @@ "categoryLabel": "Users", "subcategory": "gpg-keys", "subcategoryLabel": "Gpg keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the GPG keys for a user. This information is accessible by anyone.

", "responses": [ @@ -63112,9 +62430,7 @@ "categoryLabel": "Users", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the verified public SSH keys for a user. This is accessible by anyone.

", "responses": [ @@ -63193,9 +62509,7 @@ "slug": "list-organizations-for-a-user", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List public organization memberships for the specified user.

\n

This method only lists public memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the List organizations for the authenticated user API instead.

", "responses": [ @@ -63388,9 +62702,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -63470,9 +62782,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -63604,9 +62914,7 @@ "slug": "list-repositories-for-a-user", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists public repositories for the specified user.

", "responses": [ @@ -63837,9 +63145,7 @@ "categoryLabel": "Activity", "subcategory": "starring", "subcategoryLabel": "Starring", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories a user has starred.

\n

You can also find out when stars were created by passing the following custom media type via the Accept header:

", "responses": [ @@ -63920,9 +63226,7 @@ "categoryLabel": "Activity", "subcategory": "watching", "subcategoryLabel": "Watching", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories a user is watching.

", "responses": [ @@ -64146,9 +63450,7 @@ "slug": "get-the-zen-of-github", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", diff --git a/lib/rest/static/decorated/ghes-2.19.json b/lib/rest/static/decorated/ghes-2.19.json index 285b1c6f9db2..2c1ae65a2d32 100644 --- a/lib/rest/static/decorated/ghes-2.19.json +++ b/lib/rest/static/decorated/ghes-2.19.json @@ -31,9 +31,7 @@ "slug": "github-api-root", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -3534,9 +3532,7 @@ "slug": "get-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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\" endpoint.

\n

You must use a JWT to access this endpoint.

", "responses": [ @@ -3692,9 +3688,7 @@ "slug": "list-installations-for-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

You must use a JWT to access this endpoint.

\n

The permissions the installation has are included under the permissions key.

", "responses": [ @@ -3771,9 +3765,7 @@ "slug": "get-an-installation-for-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (target_type) will be either an organization or a user account, depending which account the repository belongs to.

\n

You must use a JWT to access this endpoint.

", "responses": [ @@ -4092,9 +4084,7 @@ "slug": "create-an-installation-access-token-for-an-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

You must use a JWT to access this endpoint.

", "responses": [ { @@ -4837,9 +4827,7 @@ "slug": "get-an-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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).

\n

If the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a personal access token or an installation access token to access this endpoint.

", "responses": [ @@ -5997,9 +5985,7 @@ "slug": "get-all-codes-of-conduct", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -6075,9 +6061,7 @@ "slug": "get-a-code-of-conduct", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -6197,9 +6181,7 @@ "categoryLabel": "Apps", "subcategory": "installations", "subcategoryLabel": "Installations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 to create an attachment.

\n

The app must create a content attachment within six hours of the content reference URL being posted. See \"Using content attachments\" for details about content attachments.

\n

You must use an installation access token to access this endpoint.

", "bodyParameters": [ { @@ -6301,9 +6283,7 @@ "slug": "get-emojis", "category": "emojis", "categoryLabel": "Emojis", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -6491,9 +6471,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -6558,9 +6536,7 @@ "categoryLabel": "Activity", "subcategory": "feeds", "subcategoryLabel": "Feeds", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

GitHub Enterprise Server provides several timeline resources in Atom format. The Feeds API lists all the feeds available to the authenticated user:

\n\n

Note: Private feeds are only returned when authenticating via Basic Auth since current feed URIs use the older, non revocable auth tokens.

", "responses": [ @@ -8491,9 +8467,7 @@ "slug": "get-all-gitignore-templates", "category": "gitignore", "categoryLabel": "Gitignore", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all templates available to pass as an option when creating a repository.

", "responses": [ @@ -8557,9 +8531,7 @@ "slug": "get-a-gitignore-template", "category": "gitignore", "categoryLabel": "Gitignore", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The API also allows fetching the source of a single template.\nUse the raw media type to get the raw contents.

", "responses": [ @@ -8660,9 +8632,7 @@ "categoryLabel": "Apps", "subcategory": "installations", "subcategoryLabel": "Installations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List repositories that an app installation can access.

\n

You must use an installation access token to access this endpoint.

", "responses": [ @@ -8958,9 +8928,7 @@ "slug": "get-all-commonly-used-licenses", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -9024,9 +8992,7 @@ "slug": "get-a-license", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -9137,9 +9103,7 @@ "slug": "render-a-markdown-document", "category": "markdown", "categoryLabel": "Markdown", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -9240,9 +9204,7 @@ "slug": "render-a-markdown-document-in-raw-mode", "category": "markdown", "categoryLabel": "Markdown", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -9295,9 +9257,7 @@ "slug": "get-github-enterprise-server-meta-information", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This endpoint provides a list of GitHub's IP addresses. For more information, see \"About GitHub's IP addresses.\"

", "responses": [ @@ -9392,9 +9352,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -10132,9 +10090,7 @@ "slug": "get-octocat", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -10203,9 +10159,7 @@ "slug": "list-organizations", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub Enterprise Server.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", "responses": [ @@ -10276,9 +10230,7 @@ "slug": "get-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

GitHub Apps with the Organization plan permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"Authenticating with GitHub Apps\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"

", "responses": [ @@ -10544,9 +10496,7 @@ "slug": "update-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Parameter Deprecation Notice: GitHub Enterprise Server 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.

\n

Enables an authenticated organization owner with the admin:org scope to update the organization's profile and member privileges.

", "bodyParameters": [ { @@ -10809,9 +10759,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -10891,9 +10839,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -11160,9 +11106,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Here's how you can create a hook that posts payloads in JSON format:

", "responses": [ { @@ -11417,9 +11361,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a webhook configured in an organization. To get only the webhook config properties, see \"Get a webhook configuration for an organization.\"

", "responses": [ @@ -11649,9 +11591,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

", "responses": [ { @@ -11870,9 +11810,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -11946,9 +11884,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -12124,9 +12060,7 @@ "slug": "list-app-installations-for-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -12413,9 +12347,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -12495,9 +12427,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -12576,9 +12506,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -12652,9 +12580,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

In order to get a user's membership with an organization, the authenticated user must be an organization member.

", "responses": [ @@ -12771,9 +12697,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", "bodyParameters": [ { @@ -12874,9 +12798,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -12981,9 +12903,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all users who are outside collaborators of an organization.

", "responses": [ @@ -13053,9 +12973,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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\".

", "responses": [ @@ -13146,9 +13064,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Removing a user from this list will remove them from all the organization's repositories.

", "responses": [ @@ -13241,9 +13157,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.

", "responses": [ @@ -13320,9 +13234,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -13432,9 +13344,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

For pre-receive hooks which are allowed to be configured at the org level, you can set enforcement and allow_downstream_configuration

", "bodyParameters": [ { @@ -13530,9 +13440,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Removes any overrides for this hook at the org level for this org.

", "responses": [ @@ -13634,9 +13542,7 @@ "slug": "list-organization-projects", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -13743,9 +13649,7 @@ "slug": "create-an-organization-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates an organization project board. 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.

", "bodyParameters": [ { @@ -13870,9 +13774,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Members of an organization can choose to have their membership publicized or not.

", "responses": [ @@ -13942,9 +13844,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -14233,9 +14133,7 @@ "slug": "list-organization-repositories", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories for the specified organization.

", "responses": [ @@ -14499,9 +14397,7 @@ "slug": "create-an-organization-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

\n

OAuth scope requirements

\n

When using OAuth, authorizations must include:

\n", "bodyParameters": [ { @@ -14760,9 +14656,7 @@ "slug": "list-teams", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all teams in an organization that are visible to the authenticated user.

", "responses": [ @@ -14925,9 +14819,7 @@ "slug": "create-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

\n

When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of maintainers. For more information, see \"About teams\".

", "bodyParameters": [ { @@ -15086,9 +14978,7 @@ "slug": "get-a-team-by-name", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a team using the team's slug. GitHub Enterprise Server generates the slug from the team name.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}.

", "responses": [ @@ -15162,9 +15052,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -15285,9 +15173,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -15403,9 +15289,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -15528,9 +15412,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -15645,9 +15527,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -15760,9 +15640,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -15857,9 +15735,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -15978,9 +15854,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -16107,9 +15981,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the pull_request key.

\n

Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull request id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -16228,9 +16100,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -16327,9 +16197,7 @@ "slug": "get-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -16476,9 +16344,7 @@ "slug": "update-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -16630,9 +16496,7 @@ "slug": "delete-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -16760,9 +16624,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -16896,9 +16758,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -17021,9 +16881,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -17129,9 +16987,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -17249,9 +17105,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -17358,9 +17212,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -17440,9 +17292,7 @@ "slug": "get-rate-limit-status-for-the-authenticated-user", "category": "rate-limit", "categoryLabel": "Rate limit", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Accessing this endpoint does not count against your REST API rate limit.

\n

Note: The rate object is deprecated. If you're writing new API client code or updating existing code, you should use the core object instead of the rate object. The core object contains the same information that is present in the rate object.

", "responses": [ @@ -17527,9 +17377,7 @@ "slug": "delete-a-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -17609,9 +17457,7 @@ "slug": "get-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

When you pass the scarlet-witch-preview media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.

\n

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.

", "responses": [ @@ -17884,9 +17730,7 @@ "slug": "update-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: To edit a repository's topics, use the Replace all repository topics endpoint.

", "bodyParameters": [ { @@ -18121,9 +17965,7 @@ "slug": "delete-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Deleting a repository requires admin access. If OAuth is used, the delete_repo scope is required.

\n

If an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a 403 Forbidden response.

", "responses": [ @@ -18223,9 +18065,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the available assignees for issues in a repository.

", "responses": [ @@ -18309,9 +18149,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -18415,9 +18253,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -18508,9 +18344,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -18607,9 +18441,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -19193,9 +19025,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -19734,9 +19564,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -19820,9 +19648,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -19902,9 +19728,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.

", "responses": [ @@ -19984,9 +19808,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -20077,9 +19899,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -20283,9 +20103,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.

\n

Note: Passing new arrays of users and teams replaces their previous values.

", "responses": [ { @@ -20465,9 +20283,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -20558,9 +20374,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of true indicates you must sign commits on this branch. For more information, see Signing commits with GPG in GitHub Help.

\n

Note: You must enable branch protection to require signed commits.

", "responses": [ @@ -20652,9 +20466,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.

", "responses": [ @@ -20746,9 +20558,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -20832,9 +20642,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -20957,9 +20765,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.

", "bodyParameters": [ { @@ -21071,9 +20877,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -21152,9 +20956,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -21271,9 +21073,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -21413,9 +21213,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -21550,9 +21348,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -21655,9 +21451,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists who has access to this protected branch.

\n

Note: Users, apps, and teams restrictions are only available for organization-owned repositories.

", "responses": [ @@ -21742,9 +21536,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -21823,9 +21615,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

", "responses": [ @@ -21942,9 +21732,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified apps push access for this branch. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe GitHub Apps that have push access to this branch. Use the app's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -22074,9 +21862,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe GitHub Apps that have push access to this branch. Use the app's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -22206,9 +21992,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of an app to push to this branch. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe GitHub Apps that have push access to this branch. Use the app's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -22306,9 +22090,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the teams who have push access to this branch. The list includes child teams.

", "responses": [ @@ -22425,9 +22207,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified teams push access for this branch. You can also give push access to child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe teams that can have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -22557,9 +22337,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe teams that can have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -22689,9 +22467,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of a team to push to this branch. You can also remove push access for child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayTeams that should no longer have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -22789,9 +22565,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the people who have push access to this branch.

", "responses": [ @@ -22908,9 +22682,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified people push access for this branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -23040,9 +22812,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -23172,9 +22942,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of a user to push to this branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames of the people who should no longer have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -24284,9 +24052,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Creates a new check run for a specific commit in a repository. Your GitHub App must have the checks:write permission to create check runs.

\n

In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.

", "responses": [ { @@ -25314,9 +25080,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Gets a single check run using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -26375,9 +26139,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Updates a check run for a specific commit in a repository. Your GitHub App must have the checks:write permission to edit check runs.

", "responses": [ { @@ -27408,9 +27170,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -27513,9 +27273,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

By default, check suites are automatically created when you create a check run. You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"Update repository preferences for check suites\". Your GitHub App must have the checks:write permission to create check suites.

", "bodyParameters": [ { @@ -27685,9 +27443,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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. You must have admin permissions in the repository to set preferences for check suites.

", "responses": [ { @@ -27839,9 +27595,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Gets a single check suite using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the repo scope to get check suites in a private repository.

", "responses": [ @@ -27988,9 +27742,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check runs for a check suite using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -28077,9 +27829,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -28184,9 +27934,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Team members will include the members of child teams.

", "responses": [ @@ -28270,9 +28018,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -28393,9 +28139,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

For more information the permission levels, see \"Repository permission levels for an organization\".

\n

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.\"

\n

The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the repository invitations API endpoints.

\n

Rate limits

\n

To prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.

", "bodyParameters": [ { @@ -28516,9 +28260,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -28596,9 +28338,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Checks the repository permission of a collaborator. The possible repository permissions are admin, write, read, and none.

", "responses": [ @@ -28700,9 +28440,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Commit Comments use these custom media types. You can read more about the use of media types in the API here.

\n

Comments are ordered by ascending ID.

", "responses": [ @@ -28789,9 +28527,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -28902,9 +28638,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -28999,9 +28733,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -29130,9 +28862,7 @@ "slug": "list-reactions-for-a-commit-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a commit comment.

", "responses": [ @@ -29263,9 +28993,7 @@ "slug": "create-reaction-for-a-commit-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a commit comment. A response with a Status: 200 OK means that you already added the reaction type to this commit comment.

", "bodyParameters": [ { @@ -29441,9 +29169,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -29550,9 +29276,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch.

", "responses": [ @@ -29669,9 +29393,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Use the :commit_sha to specify the commit that will have its comments listed.

", "responses": [ @@ -29808,9 +29530,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a comment for a commit using its :commit_sha.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -29964,9 +29684,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the List pull requests endpoint.

", "responses": [ @@ -30051,9 +29769,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the contents of a single commit reference. You must have read access for the repository to use this endpoint.

\n

Note: If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.

\n

You can pass the appropriate media type to fetch diff and patch formats. Diffs with binary data will have no patch property.

\n

To return only the SHA-1 hash of the commit reference, you can provide the sha custom media type in the Accept header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -30215,9 +29931,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check runs for a commit ref. The ref can be a SHA, branch name, or a tag name. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -30345,9 +30059,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check suites for a commit ref. The ref can be a SHA, branch name, or a tag name. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the repo scope to get check suites in a private repository.

", "responses": [ @@ -30427,9 +30139,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

The most recent status for each context is returned, up to 100. This field paginates if there are over 100 contexts.

\n

Additionally, a combined state is returned. The state is one of:

\n", "responses": [ @@ -30534,9 +30244,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

This resource is also available via a legacy route: GET /repos/:owner/:repo/statuses/:ref.

", "responses": [ @@ -30616,9 +30324,7 @@ "slug": "get-the-code-of-conduct-for-a-repository", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This method returns the contents of the repository's code of conduct file, if one is detected.

", "responses": [ @@ -30706,9 +30412,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 <USERNAME>:branch.

\n

The response from the API is equivalent to running the git log base..head command; however, commits are returned in chronological order. Pass the appropriate media type to fetch diff and patch formats.

\n

The response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a renamed status have a previous_filename field showing the previous filename of the file, and files with a modified status have a patch field showing the changes made to the file.

\n

Working with large comparisons

\n

The response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the List commits to enumerate all commits in the range.

\n

For comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -30808,9 +30512,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets the contents of a file or directory in a repository. Specify the file path or directory in :path. If you omit\n:path, you will receive the contents of all files in the repository.

\n

Files and symlinks support a custom media type for\nretrieving the raw content or rendered HTML (when supported). All content types support a custom media\ntype to ensure the content is returned in a consistent\nobject format.

\n

Note:

\n\n

If the content is a directory

\n

The response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\nshould be \"submodule\". This behavior exists in API v3 for backwards compatibility purposes.\nIn the next major version of the API, the type will be returned as \"submodule\".

\n

If the content is a symlink

\n

If the requested :path points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object\ndescribing the symlink itself.

\n

If the content is a submodule

\n

The submodule_git_url identifies the location of the submodule repository, and the sha identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.

\n

If the submodule repository is not hosted on github.com, the Git URLs (git_url and _links[\"git\"]) and the\ngithub.com URLs (html_url and _links[\"html\"]) will have null values.

", "responses": [ @@ -31153,9 +30855,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new file or replaces an existing file in a repository.

", "responses": [ { @@ -31607,9 +31307,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Deletes a file in a repository.

\n

You can provide an additional committer parameter, which is an object containing information about the committer. Or, you can provide an author parameter, which is an object containing information about the author.

\n

The author section is optional and is filled in with the committer information if omitted. If the committer information is omitted, the authenticated user's information is used.

\n

You must provide values for both name and email, whether you choose to use author or committer. Otherwise, you'll receive a 422 status code.

", "responses": [ { @@ -31865,9 +31563,7 @@ "slug": "list-repository-contributors", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 v3 caches contributor data to improve performance.

\n

GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.

", "responses": [ @@ -32023,9 +31719,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Simple filtering of deployments is available via query parameters:

", "responses": [ @@ -32239,9 +31933,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Deployments offer a few configurable parameters with certain defaults.

\n

The ref parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.

\n

The environment parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as production, staging, and qa. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is production.

\n

The auto_merge parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref is behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.

\n

By default, commit statuses for every submitted context must be in a success\nstate. The required_contexts parameter allows you to specify a subset of contexts that must be success, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.

\n

The payload parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.

\n

The task parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe deploy:migrations to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.

\n

Users with repo or repo_deployment scopes can create a deployment for a given ref.

\n

Merged branch response

\n

You will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:

\n\n

If there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.

\n

Merge conflict response

\n

This error happens when the auto_merge option is enabled and when the default branch (in this case master), can't\nbe merged into the branch that's being deployed (in this case topic-branch), due to merge conflicts.

\n

Failed commit status checks

\n

This error happens when the required_contexts parameter indicates that one or more contexts need to have a success\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of success.

", "bodyParameters": [ { @@ -32464,9 +32156,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -32584,9 +32274,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Users with pull access can view deployment statuses for a deployment:

", "responses": [ @@ -32785,9 +32473,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access can create deployment statuses for a given deployment.

\n

GitHub Apps require read & write access to \"Deployments\" and read-only access to \"Repo contents\" (for private repos). OAuth Apps require the repo_deployment scope.

", "bodyParameters": [ { @@ -32982,9 +32668,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Users with pull access can view a deployment status for a deployment:

", "responses": [ @@ -33084,9 +32768,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -33191,9 +32873,7 @@ "categoryLabel": "Repos", "subcategory": "forks", "subcategoryLabel": "Forks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -33288,9 +32968,7 @@ "categoryLabel": "Repos", "subcategory": "forks", "subcategoryLabel": "Forks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a fork for the authenticated user.

\n

Note: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact GitHub Enterprise Server Support or GitHub Enterprise Server Premium Support.

", "bodyParameters": [ { @@ -33427,9 +33105,7 @@ "categoryLabel": "Git", "subcategory": "blobs", "subcategoryLabel": "Blobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -33548,9 +33224,7 @@ "categoryLabel": "Git", "subcategory": "blobs", "subcategoryLabel": "Blobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The content in the response will always be Base64 encoded.

\n

Note: This API supports blobs up to 100 megabytes in size.

", "responses": [ @@ -33848,9 +33522,7 @@ "categoryLabel": "Git", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new Git commit object.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ { @@ -34126,9 +33798,7 @@ "categoryLabel": "Git", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a Git commit object.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -34233,9 +33903,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns an array of references from your Git database that match the supplied name. The :ref in the URL must be formatted as heads/<branch name> for branches and tags/<tag name> for tags. If the :ref doesn't exist in the repository, but existing refs start with :ref, they will be returned as an array.

\n

When you use this endpoint without providing a :ref, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just heads and tags.

\n

Note: You need to explicitly request a pull request to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"Checking mergeability of pull requests\".

\n

If you request matching references for a branch named feature but the branch feature doesn't exist, the response can still include other matching head refs that start with the word feature, such as featureA and featureB.

", "responses": [ @@ -34315,9 +33983,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a single reference from your Git database. The :ref in the URL must be formatted as heads/<branch name> for branches and tags/<tag name> for tags. If the :ref doesn't match an existing ref, a 404 is returned.

\n

Note: You need to explicitly request a pull request to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"Checking mergeability of pull requests\".

", "responses": [ @@ -34438,9 +34104,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -34590,9 +34254,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -34697,9 +34359,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -34915,9 +34575,7 @@ "categoryLabel": "Git", "subcategory": "tags", "subcategoryLabel": "Tags", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 the refs/tags/[tag] reference. If you want to create a lightweight tag, you only have to create the tag reference - this call would be unnecessary.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ { @@ -35116,9 +34774,7 @@ "categoryLabel": "Git", "subcategory": "tags", "subcategoryLabel": "Tags", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -35365,9 +35021,7 @@ "categoryLabel": "Git", "subcategory": "trees", "subcategoryLabel": "Trees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

If you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"Create a commit\" and \"Update a reference.\"

", "responses": [ { @@ -35619,9 +35273,7 @@ "categoryLabel": "Git", "subcategory": "trees", "subcategoryLabel": "Trees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a single tree using the SHA1 value for that tree.

\n

If truncated is true in the response then the number of items in the tree array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.

", "responses": [ @@ -35727,9 +35379,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -36005,9 +35655,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Repositories can have multiple webhooks installed. Each webhook should have a unique config. Multiple webhooks can\nshare the same config as long as those webhooks do not have any events that overlap.

", "responses": [ { @@ -36276,9 +35924,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a webhook configured in a repository. To get only the webhook config properties, see \"Get a webhook configuration for a repository.\"

", "responses": [ @@ -36568,9 +36214,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

", "responses": [ { @@ -36849,9 +36493,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -36934,9 +36576,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -37019,9 +36659,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -37210,9 +36848,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.

", "responses": [ @@ -37319,9 +36955,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -37418,9 +37052,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -37620,9 +37252,7 @@ "slug": "list-repository-issues", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List issues in a repository.

\n

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe pull_request key. Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull\nrequest id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -37814,9 +37444,7 @@ "slug": "create-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Any user with pull access to a repository can create an issue. If issues are disabled in the repository, the API returns a 410 Gone status.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -38061,9 +37689,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

By default, Issue Comments are ordered by ascending ID.

", "responses": [ @@ -38160,9 +37786,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -38273,9 +37897,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -38370,9 +37992,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -38496,9 +38116,7 @@ "slug": "list-reactions-for-an-issue-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to an issue comment.

", "responses": [ @@ -38629,9 +38247,7 @@ "slug": "create-reaction-for-an-issue-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to an issue comment. A response with a Status: 200 OK means that you already added the reaction type to this issue comment.

", "bodyParameters": [ { @@ -38770,9 +38386,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -38875,9 +38489,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -38977,9 +38589,7 @@ "slug": "get-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The API returns a 301 Moved Permanently status if the issue was\ntransferred to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a 404 Not Found status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a 410 Gone status. To receive webhook events for transferred and deleted issues, subscribe\nto the issues webhook.

\n

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe pull_request key. Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull\nrequest id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -39195,9 +38805,7 @@ "slug": "update-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Issue owners and users with push access can edit an issue.

", "bodyParameters": [ { @@ -39432,9 +39040,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.

", "bodyParameters": [ { @@ -39556,9 +39162,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Removes one or more assignees from an issue.

", "bodyParameters": [ { @@ -39688,9 +39292,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Issue Comments are ordered by ascending ID.

", "responses": [ @@ -39807,9 +39409,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -39952,9 +39552,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -40059,9 +39657,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -40178,9 +39774,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -40312,9 +39906,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Removes any previous labels and sets the new labels for an issue.

", "bodyParameters": [ { @@ -40417,9 +40009,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -40512,9 +40102,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -40634,9 +40222,7 @@ "slug": "lock-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -40749,9 +40335,7 @@ "slug": "unlock-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -40885,9 +40469,7 @@ "slug": "list-reactions-for-an-issue", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to an issue.

", "responses": [ @@ -41166,9 +40748,7 @@ "categoryLabel": "Issues", "subcategory": "timeline", "subcategoryLabel": "Timeline", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -41273,9 +40853,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -41391,9 +40969,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

You can create a read-only deploy key.

", "bodyParameters": [ { @@ -41506,9 +41082,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -41593,9 +41167,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -41684,9 +41256,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -41807,9 +41377,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -41926,9 +41494,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -42055,9 +41621,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -42164,9 +41728,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -42233,9 +41795,7 @@ "slug": "list-repository-languages", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.

", "responses": [ @@ -42303,9 +41863,7 @@ "slug": "get-the-license-for-a-repository", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This method returns the contents of the repository's license file, if one is detected.

\n

Similar to Get repository content, this method also supports custom media types for retrieving the raw license content or rendered license HTML.

", "responses": [ @@ -42422,9 +41980,7 @@ "categoryLabel": "Repos", "subcategory": "merging", "subcategoryLabel": "Merging", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -42616,9 +42172,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -42754,9 +42308,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -42888,9 +42440,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -43033,9 +42583,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -43157,9 +42705,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -43263,9 +42809,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -43566,9 +43110,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -43747,9 +43289,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Configures a GitHub Enterprise Server Pages site. For more information, see \"About GitHub Pages.\"

", "responses": [ { @@ -43972,9 +43512,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -44108,9 +43646,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -44214,9 +43750,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -44286,9 +43820,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.

", "responses": [ @@ -44358,9 +43890,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -44439,9 +43969,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -44538,9 +44066,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.

", "responses": [ @@ -44626,9 +44152,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -44737,9 +44261,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

For pre-receive hooks which are allowed to be configured at the repo level, you can set enforcement

", "bodyParameters": [ { @@ -44835,9 +44357,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Deletes any overridden enforcement on this repository for the specified hook.

\n

Responds with effective values inherited from owner and/or global level.

", "responses": [ @@ -44948,9 +44468,7 @@ "slug": "list-repository-projects", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -45086,9 +44604,7 @@ "slug": "create-a-repository-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a repository project board. 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.

", "bodyParameters": [ { @@ -45299,9 +44815,7 @@ "slug": "list-pull-requests", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.

", "responses": [ @@ -45476,9 +44990,7 @@ "slug": "create-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" for details.

", "bodyParameters": [ { @@ -45694,9 +45206,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -45789,9 +45299,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Provides details for a review comment.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -45909,9 +45417,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Enables you to edit a review comment.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n", "bodyParameters": [ { @@ -46001,9 +45507,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -46132,9 +45636,7 @@ "slug": "list-reactions-for-a-pull-request-review-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a pull request review comment.

", "responses": [ @@ -46265,9 +45767,7 @@ "slug": "create-reaction-for-a-pull-request-review-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a pull request review comment. A response with a Status: 200 OK means that you already added the reaction type to this pull request review comment.

", "bodyParameters": [ { @@ -46380,9 +45880,7 @@ "slug": "get-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists details of a pull request by providing its number.

\n

When you get, create, or edit a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the mergeable key. For more information, see \"Checking mergeability of pull requests\".

\n

The value of the mergeable attribute can be true, false, or null. If the value is null, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-null value for the mergeable attribute in the response. If mergeable is true, then merge_commit_sha will be the SHA of the test merge commit.

\n

The value of the merge_commit_sha attribute changes depending on the state of the pull request. Before merging a pull request, the merge_commit_sha attribute holds the SHA of the test merge commit. After merging a pull request, the merge_commit_sha attribute changes depending on how you merged the pull request:

\n\n

Pass the appropriate media type to fetch diff and patch formats.

", "responses": [ @@ -46552,9 +46050,7 @@ "slug": "update-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.

", "bodyParameters": [ { @@ -46765,9 +46261,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Lists all review comments for a pull request. By default, review comments are in ascending order by ID.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -46882,9 +46376,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"Create an issue comment.\"

\n

Note: The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" for details.

", "bodyParameters": [ { @@ -47131,9 +46623,7 @@ "slug": "list-commits-on-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

", "responses": [ @@ -47230,9 +46720,7 @@ "slug": "list-pull-requests-files", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.

", "responses": [ @@ -47319,9 +46807,7 @@ "slug": "check-if-a-pull-request-has-been-merged", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -47455,9 +46941,7 @@ "slug": "merge-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -47625,9 +47109,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -47752,9 +47234,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -47913,9 +47393,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -48043,9 +47521,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The list of reviews returns in chronological order.

", "responses": [ @@ -48332,9 +47808,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Pull request reviews created in the PENDING state do not include the submitted_at property in the response.

\n

Note: To comment on a specific line in a file, you need to first determine the position of that line in the diff. The GitHub REST API v3 offers the application/vnd.github.v3.diff media type. To see a pull request diff, add this media type to the Accept header of a call to the single pull request endpoint.

\n

The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.

", "responses": [ { @@ -48618,9 +48092,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -48740,9 +48212,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Update the review summary comment with new text.

", "bodyParameters": [ { @@ -48846,9 +48316,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -48967,9 +48435,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List comments for a specific pull request review.

", "responses": [ @@ -49095,9 +48561,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: To dismiss a pull request review on a protected branch, you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.

", "bodyParameters": [ { @@ -49252,9 +48716,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -49505,9 +48967,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets the preferred README for a repository.

\n

READMEs support custom media types for retrieving the raw content or rendered HTML.

", "responses": [ @@ -49607,9 +49067,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Information about published releases are available to everyone. Only users with push access will receive listings for draft releases.

", "responses": [ @@ -49763,9 +49221,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can create a release.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -49907,9 +49363,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

To download the asset's binary content, set the Accept header of the request to application/octet-stream. 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.

", "responses": [ @@ -50046,9 +49500,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can edit a release asset.

", "bodyParameters": [ { @@ -50156,9 +49608,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -50227,9 +49677,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

View the latest published full release for the repository.

\n

The latest release is the most recent non-prerelease, non-draft release, sorted by the created_at attribute. The created_at attribute is the date of the commit used for the release, and not the date when the release was drafted or published.

", "responses": [ @@ -50309,9 +49757,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a published release with the specified tag.

", "responses": [ @@ -50396,9 +49842,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: This returns an upload_url key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource.

", "responses": [ @@ -50556,9 +50000,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can edit a release.

", "bodyParameters": [ { @@ -50693,9 +50135,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -50794,9 +50234,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -50913,9 +50351,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This endpoint makes use of a Hypermedia relation 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\nthe response of the Create a release endpoint to upload a release asset.

\n

You need to use an HTTP client which supports SNI to make calls to this endpoint.

\n

Most libraries will set the required Content-Length header automatically. Use the required Content-Type header to provide the media type of the asset. For a list of media types, see Media Types. For example:

\n

application/zip

\n

GitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.

\n

When an upstream failure occurs, you will receive a 502 Bad Gateway status. This may leave an empty asset with a state of starter. It can be safely deleted.

\n

Notes:

\n", "responses": [ @@ -51005,9 +50441,7 @@ "categoryLabel": "Activity", "subcategory": "starring", "subcategoryLabel": "Starring", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people that have starred the repository.

\n

You can also find out when stars were created by passing the following custom media type via the Accept header:

", "responses": [ @@ -51082,9 +50516,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

", "responses": [ @@ -51154,9 +50586,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the last year of commit activity grouped by week. The days array is a group of commits per day, starting on Sunday.

", "responses": [ @@ -51226,9 +50656,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", "responses": [ @@ -51298,9 +50726,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

The array order is oldest week (index 0) to most recent week.

", "responses": [ @@ -51375,9 +50801,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Each array contains the day number, hour number, and number of commits:

\n\n

For example, [2, 14, 25] indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.

", "responses": [ @@ -51519,9 +50943,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access in a repository can create commit statuses for a given SHA.

\n

Note: there is a limit of 1000 statuses per sha and context within a repository. Attempts to create more than 1000 statuses will result in a validation error.

", "bodyParameters": [ { @@ -51655,9 +51077,7 @@ "categoryLabel": "Activity", "subcategory": "watching", "subcategoryLabel": "Watching", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people watching the specified repository.

", "responses": [ @@ -52012,9 +51432,7 @@ "slug": "list-repository-tags", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -52093,9 +51511,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -52182,9 +51598,7 @@ "slug": "list-repository-teams", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -52259,9 +51673,7 @@ "slug": "get-all-repository-topics", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -52380,9 +51792,7 @@ "slug": "replace-all-repository-topics", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -52517,9 +51927,7 @@ "slug": "transfer-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -52616,9 +52024,7 @@ "slug": "enable-vulnerability-alerts", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -52692,9 +52098,7 @@ "slug": "disable-vulnerability-alerts", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -52772,9 +52176,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -53040,9 +52442,7 @@ "slug": "list-public-repositories", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.

", "responses": [ @@ -53160,9 +52560,7 @@ "slug": "search-code", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Searches for query terms inside of a file. This method returns up to 100 results per page.

\n

When searching for code, you can get text match metadata for the file content and file path fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to find the definition of the addClass function inside jQuery repository, your query would look something like this:

\n

q=addClass+in:file+language:js+repo:jquery/jquery

\n

This query searches for the keyword addClass within a file's contents. The query limits the search to files where the language is JavaScript in the jquery/jquery repository.

\n

Considerations for code search

\n

Due to the complexity of searching code, there are a few restrictions on how searches are performed:

\n", "responses": [ @@ -53298,9 +52696,7 @@ "slug": "search-commits", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find commits via various criteria on the default branch (usually master). This method returns up to 100 results per page.

\n

When searching for commits, you can get text match metadata for the message field when you provide the text-match media type. For more details about how to receive highlighted search results, see Text match\nmetadata.

\n

For example, if you want to find commits related to CSS in the octocat/Spoon-Knife repository. Your query would look something like this:

\n

q=repo:octocat/Spoon-Knife+css

", "responses": [ @@ -53428,9 +52824,7 @@ "slug": "search-issues-and-pull-requests", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find issues by state and keyword. This method returns up to 100 results per page.

\n

When searching for issues, you can get text match metadata for the issue title, issue body, and issue comment body fields when you pass the text-match media type. For more details about how to receive highlighted\nsearch results, see Text match metadata.

\n

For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.

\n

q=windows+label:bug+language:python+state:open&sort=created&order=asc

\n

This query searches for the keyword windows, within any open issue that is labeled as bug. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.

\n

Note: For user-to-server GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the is:issue or is:pull-request qualifier will receive an HTTP 422 Unprocessable Entity response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the is qualifier, see \"Searching only issues or pull requests.\"

", "responses": [ @@ -53549,9 +52943,7 @@ "slug": "search-labels", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results per page.

\n

When searching for labels, you can get text match metadata for the label name and description fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to find labels in the linguist repository that match bug, defect, or enhancement. Your query might look like this:

\n

q=bug+defect+enhancement&repository_id=64778136

\n

The labels that best match the query appear first in the search results.

", "responses": [ @@ -53689,9 +53081,7 @@ "slug": "search-repositories", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find repositories via various criteria. This method returns up to 100 results per page.

\n

When searching for repositories, you can get text match metadata for the name and description fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:

\n

q=tetris+language:assembly&sort=stars&order=desc

\n

This query searches for repositories with the word tetris in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.

\n

When you include the mercy preview header, you can also search for multiple topics by adding more topic: instances. For example, your query might look like this:

\n

q=topic:ruby+topic:rails

", "responses": [ @@ -53773,9 +53163,7 @@ "slug": "search-topics", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results per page. See \"Searching topics\" for a detailed list of qualifiers.

\n

When searching for topics, you can get text match metadata for the topic's short_description, description, name, or display_name field when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:

\n

q=ruby+is:featured

\n

This query searches for topics with the keyword ruby and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.

", "responses": [ @@ -53895,9 +53283,7 @@ "slug": "search-users", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find users via various criteria. This method returns up to 100 results per page.

\n

When searching for users, you can get text match metadata for the issue login, email, and name fields when you pass the text-match media type. For more details about highlighting search results, see Text match metadata. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you're looking for a list of popular users, you might try this query:

\n

q=tom+repos:%3E42+followers:%3E1000

\n

This query searches for users with the name tom. The results are restricted to users with more than 42 repositories and over 1,000 followers.

", "responses": [ @@ -54766,9 +54152,7 @@ "slug": "get-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -54908,9 +54292,7 @@ "slug": "update-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

To edit a team, the authenticated user must either be an organization owner or a team maintainer.

\n

Note: With nested teams, the privacy for parent teams cannot be secret.

", "bodyParameters": [ { @@ -55032,9 +54414,7 @@ "slug": "delete-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -55135,9 +54515,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all discussions on a team's page. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -55252,9 +54630,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new discussion post on a team's page. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" for details.

", "bodyParameters": [ { @@ -55359,9 +54735,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a specific discussion on a team's page. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -55469,9 +54843,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -55560,9 +54932,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -55672,9 +55042,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all comments on a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -55777,9 +55145,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new comment on a team discussion. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" for details.

", "bodyParameters": [ { @@ -55874,9 +55240,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a specific comment on a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -55987,9 +55351,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Edits the body text of a discussion comment. OAuth access tokens require the write:discussion scope.

", "bodyParameters": [ { @@ -56078,9 +55440,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -56212,9 +55572,7 @@ "slug": "list-reactions-for-a-team-discussion-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a team discussion comment. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -56343,9 +55701,7 @@ "slug": "create-reaction-for-a-team-discussion-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a team discussion comment. OAuth access tokens require the write:discussion scope. A response with a Status: 200 OK means that you already added the reaction type to this team discussion comment.

", "bodyParameters": [ { @@ -56489,9 +55845,7 @@ "slug": "list-reactions-for-a-team-discussion", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -56735,9 +56089,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

If you pass the hellcat-preview media type, team members will include the members of child teams.

\n

To list members in a team, the team must be visible to the authenticated user.

", "responses": [ @@ -56810,9 +56162,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -56889,9 +56239,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The \"Add team member\" endpoint (described below) is deprecated.

\n

We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

\n

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.

\n

Note: When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub Enterprise Server.\"

\n

Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

", "responses": [ @@ -56985,9 +56333,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -57068,9 +56414,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

If you pass the hellcat-preview media type, team members will include the members of child teams.

\n

To get a user's membership with a team, the team must be visible to the authenticated user.

\n

Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

", "responses": [ @@ -57177,9 +56521,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.

\n

If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.

\n

If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.

", "bodyParameters": [ { @@ -57276,9 +56618,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -57380,9 +56720,7 @@ "slug": "list-team-projects", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the organization projects for a team. If you are an authenticated site administrator for your Enterprise instance, you will be able to list all projects for the team. If you pass the hellcat-preview media type, the response will include projects inherited from a parent team.

", "responses": [ @@ -57474,9 +56812,7 @@ "slug": "check-team-permissions-for-a-project", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Checks whether a team has read, write, or admin permissions for an organization project. If you pass the hellcat-preview media type, the response will include projects inherited from a parent team.

", "responses": [ @@ -57598,9 +56934,7 @@ "slug": "add-or-update-team-project-permissions", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -57688,9 +57022,7 @@ "slug": "remove-a-project-from-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -57775,9 +57107,7 @@ "slug": "list-team-repositories", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: If you pass the hellcat-preview media type, the response will include any repositories inherited through a parent team.

\n

If you are an authenticated site administrator for your Enterprise instance, you will be able to list all repositories for the team.

", "responses": [ @@ -57861,9 +57191,7 @@ "slug": "check-team-permissions-for-a-repository", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -57981,9 +57309,7 @@ "slug": "add-or-update-team-repository-permissions", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -58074,9 +57400,7 @@ "slug": "remove-a-repository-from-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -58161,9 +57485,7 @@ "slug": "list-child-teams", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

You must use the hellcat-preview media type to use this endpoint.

", "responses": [ @@ -61036,9 +60358,7 @@ "slug": "create-a-user-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -62707,9 +62027,7 @@ "slug": "list-users", "category": "users", "categoryLabel": "Users", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", "responses": [ @@ -62773,9 +62091,7 @@ "slug": "get-a-user", "category": "users", "categoryLabel": "Users", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Provides publicly available information about someone with a GitHub account.

\n

GitHub Apps with the Plan user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"Identifying and authorizing users for GitHub Apps\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"

\n

The email key in the following response is the publicly visible email address from your GitHub Enterprise Server profile page. When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for email, then it will have a value of null. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see Authentication.

\n

The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"Emails API\".

", "responses": [ @@ -62867,9 +62183,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -63038,9 +62352,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -63120,9 +62432,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people following the specified user.

", "responses": [ @@ -63203,9 +62513,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people who the specified user follows.

", "responses": [ @@ -63275,9 +62583,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -63456,9 +62762,7 @@ "categoryLabel": "Users", "subcategory": "gpg-keys", "subcategoryLabel": "Gpg keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the GPG keys for a user. This information is accessible by anyone.

", "responses": [ @@ -63710,9 +63014,7 @@ "categoryLabel": "Users", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the verified public SSH keys for a user. This is accessible by anyone.

", "responses": [ @@ -63791,9 +63093,7 @@ "slug": "list-organizations-for-a-user", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List public organization memberships for the specified user.

\n

This method only lists public memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the List organizations for the authenticated user API instead.

", "responses": [ @@ -63986,9 +63286,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -64068,9 +63366,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -64202,9 +63498,7 @@ "slug": "list-repositories-for-a-user", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists public repositories for the specified user.

", "responses": [ @@ -64435,9 +63729,7 @@ "categoryLabel": "Activity", "subcategory": "starring", "subcategoryLabel": "Starring", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories a user has starred.

\n

You can also find out when stars were created by passing the following custom media type via the Accept header:

", "responses": [ @@ -64518,9 +63810,7 @@ "categoryLabel": "Activity", "subcategory": "watching", "subcategoryLabel": "Watching", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories a user is watching.

", "responses": [ @@ -64744,9 +64034,7 @@ "slug": "get-the-zen-of-github", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", diff --git a/lib/rest/static/decorated/ghes-2.20.json b/lib/rest/static/decorated/ghes-2.20.json index 9abf62da4863..4cfca802191c 100644 --- a/lib/rest/static/decorated/ghes-2.20.json +++ b/lib/rest/static/decorated/ghes-2.20.json @@ -31,9 +31,7 @@ "slug": "github-api-root", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -3527,9 +3525,7 @@ "slug": "get-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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\" endpoint.

\n

You must use a JWT to access this endpoint.

", "responses": [ @@ -3685,9 +3681,7 @@ "slug": "list-installations-for-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

You must use a JWT to access this endpoint.

\n

The permissions the installation has are included under the permissions key.

", "responses": [ @@ -3764,9 +3758,7 @@ "slug": "get-an-installation-for-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (target_type) will be either an organization or a user account, depending which account the repository belongs to.

\n

You must use a JWT to access this endpoint.

", "responses": [ @@ -4085,9 +4077,7 @@ "slug": "create-an-installation-access-token-for-an-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

You must use a JWT to access this endpoint.

", "responses": [ { @@ -5254,9 +5244,7 @@ "slug": "get-an-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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).

\n

If the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a personal access token or an installation access token to access this endpoint.

", "responses": [ @@ -6414,9 +6402,7 @@ "slug": "get-all-codes-of-conduct", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -6492,9 +6478,7 @@ "slug": "get-a-code-of-conduct", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -6614,9 +6598,7 @@ "categoryLabel": "Apps", "subcategory": "installations", "subcategoryLabel": "Installations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 to create an attachment.

\n

The app must create a content attachment within six hours of the content reference URL being posted. See \"Using content attachments\" for details about content attachments.

\n

You must use an installation access token to access this endpoint.

", "bodyParameters": [ { @@ -6718,9 +6700,7 @@ "slug": "get-emojis", "category": "emojis", "categoryLabel": "Emojis", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -6908,9 +6888,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -6975,9 +6953,7 @@ "categoryLabel": "Activity", "subcategory": "feeds", "subcategoryLabel": "Feeds", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

GitHub Enterprise Server provides several timeline resources in Atom format. The Feeds API lists all the feeds available to the authenticated user:

\n\n

Note: Private feeds are only returned when authenticating via Basic Auth since current feed URIs use the older, non revocable auth tokens.

", "responses": [ @@ -8908,9 +8884,7 @@ "slug": "get-all-gitignore-templates", "category": "gitignore", "categoryLabel": "Gitignore", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all templates available to pass as an option when creating a repository.

", "responses": [ @@ -8974,9 +8948,7 @@ "slug": "get-a-gitignore-template", "category": "gitignore", "categoryLabel": "Gitignore", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The API also allows fetching the source of a single template.\nUse the raw media type to get the raw contents.

", "responses": [ @@ -9077,9 +9049,7 @@ "categoryLabel": "Apps", "subcategory": "installations", "subcategoryLabel": "Installations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List repositories that an app installation can access.

\n

You must use an installation access token to access this endpoint.

", "responses": [ @@ -9145,9 +9115,7 @@ "categoryLabel": "Apps", "subcategory": "installations", "subcategoryLabel": "Installations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -9427,9 +9395,7 @@ "slug": "get-all-commonly-used-licenses", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -9493,9 +9459,7 @@ "slug": "get-a-license", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -9606,9 +9570,7 @@ "slug": "render-a-markdown-document", "category": "markdown", "categoryLabel": "Markdown", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -9709,9 +9671,7 @@ "slug": "render-a-markdown-document-in-raw-mode", "category": "markdown", "categoryLabel": "Markdown", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -9764,9 +9724,7 @@ "slug": "get-github-enterprise-server-meta-information", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This endpoint provides a list of GitHub's IP addresses. For more information, see \"About GitHub's IP addresses.\"

", "responses": [ @@ -9861,9 +9819,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -10601,9 +10557,7 @@ "slug": "get-octocat", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -10672,9 +10626,7 @@ "slug": "list-organizations", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub Enterprise Server.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", "responses": [ @@ -10745,9 +10697,7 @@ "slug": "get-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

GitHub Apps with the Organization plan permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"Authenticating with GitHub Apps\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"

", "responses": [ @@ -11013,9 +10963,7 @@ "slug": "update-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Parameter Deprecation Notice: GitHub Enterprise Server 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.

\n

Enables an authenticated organization owner with the admin:org scope to update the organization's profile and member privileges.

", "bodyParameters": [ { @@ -11278,9 +11226,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -11360,9 +11306,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -11629,9 +11573,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Here's how you can create a hook that posts payloads in JSON format:

", "responses": [ { @@ -11886,9 +11828,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a webhook configured in an organization. To get only the webhook config properties, see \"Get a webhook configuration for an organization.\"

", "responses": [ @@ -12118,9 +12058,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

", "responses": [ { @@ -12339,9 +12277,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -12415,9 +12351,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -12593,9 +12527,7 @@ "slug": "list-app-installations-for-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -12882,9 +12814,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -12964,9 +12894,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -13045,9 +12973,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -13121,9 +13047,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

In order to get a user's membership with an organization, the authenticated user must be an organization member.

", "responses": [ @@ -13240,9 +13164,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", "bodyParameters": [ { @@ -13343,9 +13265,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -13450,9 +13370,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all users who are outside collaborators of an organization.

", "responses": [ @@ -13522,9 +13440,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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\".

", "responses": [ @@ -13615,9 +13531,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Removing a user from this list will remove them from all the organization's repositories.

", "responses": [ @@ -13710,9 +13624,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.

", "responses": [ @@ -13789,9 +13701,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -13901,9 +13811,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

For pre-receive hooks which are allowed to be configured at the org level, you can set enforcement and allow_downstream_configuration

", "bodyParameters": [ { @@ -13999,9 +13907,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Removes any overrides for this hook at the org level for this org.

", "responses": [ @@ -14103,9 +14009,7 @@ "slug": "list-organization-projects", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -14212,9 +14116,7 @@ "slug": "create-an-organization-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates an organization project board. 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.

", "bodyParameters": [ { @@ -14339,9 +14241,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Members of an organization can choose to have their membership publicized or not.

", "responses": [ @@ -14411,9 +14311,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -14702,9 +14600,7 @@ "slug": "list-organization-repositories", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories for the specified organization.

", "responses": [ @@ -14968,9 +14864,7 @@ "slug": "create-an-organization-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

\n

OAuth scope requirements

\n

When using OAuth, authorizations must include:

\n", "bodyParameters": [ { @@ -15229,9 +15123,7 @@ "slug": "list-teams", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all teams in an organization that are visible to the authenticated user.

", "responses": [ @@ -15394,9 +15286,7 @@ "slug": "create-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

\n

When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of maintainers. For more information, see \"About teams\".

", "bodyParameters": [ { @@ -15555,9 +15445,7 @@ "slug": "get-a-team-by-name", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a team using the team's slug. GitHub Enterprise Server generates the slug from the team name.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}.

", "responses": [ @@ -15631,9 +15519,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -15754,9 +15640,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -15872,9 +15756,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -15997,9 +15879,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -16114,9 +15994,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -16229,9 +16107,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -16326,9 +16202,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -16447,9 +16321,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -16576,9 +16448,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the pull_request key.

\n

Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull request id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -16697,9 +16567,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -16796,9 +16664,7 @@ "slug": "get-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -16945,9 +16811,7 @@ "slug": "update-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -17099,9 +16963,7 @@ "slug": "delete-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -17229,9 +17091,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -17365,9 +17225,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -17490,9 +17348,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -17598,9 +17454,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -17718,9 +17572,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -17827,9 +17679,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -17909,9 +17759,7 @@ "slug": "get-rate-limit-status-for-the-authenticated-user", "category": "rate-limit", "categoryLabel": "Rate limit", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Accessing this endpoint does not count against your REST API rate limit.

\n

Note: The rate object is deprecated. If you're writing new API client code or updating existing code, you should use the core object instead of the rate object. The core object contains the same information that is present in the rate object.

", "responses": [ @@ -17996,9 +17844,7 @@ "slug": "delete-a-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -18078,9 +17924,7 @@ "slug": "get-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

When you pass the scarlet-witch-preview media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.

\n

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.

", "responses": [ @@ -18353,9 +18197,7 @@ "slug": "update-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: To edit a repository's topics, use the Replace all repository topics endpoint.

", "bodyParameters": [ { @@ -18590,9 +18432,7 @@ "slug": "delete-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Deleting a repository requires admin access. If OAuth is used, the delete_repo scope is required.

\n

If an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a 403 Forbidden response.

", "responses": [ @@ -18692,9 +18532,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the available assignees for issues in a repository.

", "responses": [ @@ -18778,9 +18616,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -18884,9 +18720,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -18977,9 +18811,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -19076,9 +18908,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -19662,9 +19492,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -20203,9 +20031,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -20289,9 +20115,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -20371,9 +20195,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.

", "responses": [ @@ -20453,9 +20275,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -20546,9 +20366,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -20752,9 +20570,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.

\n

Note: Passing new arrays of users and teams replaces their previous values.

", "responses": [ { @@ -20934,9 +20750,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -21027,9 +20841,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of true indicates you must sign commits on this branch. For more information, see Signing commits with GPG in GitHub Help.

\n

Note: You must enable branch protection to require signed commits.

", "responses": [ @@ -21121,9 +20933,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.

", "responses": [ @@ -21215,9 +21025,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -21301,9 +21109,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -21426,9 +21232,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.

", "bodyParameters": [ { @@ -21540,9 +21344,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -21621,9 +21423,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -21740,9 +21540,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -21882,9 +21680,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -22019,9 +21815,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -22124,9 +21918,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists who has access to this protected branch.

\n

Note: Users, apps, and teams restrictions are only available for organization-owned repositories.

", "responses": [ @@ -22211,9 +22003,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -22292,9 +22082,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

", "responses": [ @@ -22411,9 +22199,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified apps push access for this branch. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe GitHub Apps that have push access to this branch. Use the app's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -22543,9 +22329,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe GitHub Apps that have push access to this branch. Use the app's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -22675,9 +22459,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of an app to push to this branch. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe GitHub Apps that have push access to this branch. Use the app's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -22775,9 +22557,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the teams who have push access to this branch. The list includes child teams.

", "responses": [ @@ -22894,9 +22674,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified teams push access for this branch. You can also give push access to child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe teams that can have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -23026,9 +22804,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe teams that can have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -23158,9 +22934,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of a team to push to this branch. You can also remove push access for child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayTeams that should no longer have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -23258,9 +23032,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the people who have push access to this branch.

", "responses": [ @@ -23377,9 +23149,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified people push access for this branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -23509,9 +23279,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -23641,9 +23409,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of a user to push to this branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames of the people who should no longer have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -24753,9 +24519,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Creates a new check run for a specific commit in a repository. Your GitHub App must have the checks:write permission to create check runs.

\n

In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.

", "responses": [ { @@ -25783,9 +25547,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Gets a single check run using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -26844,9 +26606,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Updates a check run for a specific commit in a repository. Your GitHub App must have the checks:write permission to edit check runs.

", "responses": [ { @@ -27877,9 +27637,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -27982,9 +27740,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

By default, check suites are automatically created when you create a check run. You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"Update repository preferences for check suites\". Your GitHub App must have the checks:write permission to create check suites.

", "bodyParameters": [ { @@ -28154,9 +27910,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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. You must have admin permissions in the repository to set preferences for check suites.

", "responses": [ { @@ -28308,9 +28062,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Gets a single check suite using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the repo scope to get check suites in a private repository.

", "responses": [ @@ -28457,9 +28209,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check runs for a check suite using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -28546,9 +28296,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -28653,9 +28401,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Team members will include the members of child teams.

", "responses": [ @@ -28739,9 +28485,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -28862,9 +28606,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

For more information the permission levels, see \"Repository permission levels for an organization\".

\n

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.\"

\n

The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the repository invitations API endpoints.

\n

Rate limits

\n

To prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.

", "bodyParameters": [ { @@ -28985,9 +28727,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -29065,9 +28805,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Checks the repository permission of a collaborator. The possible repository permissions are admin, write, read, and none.

", "responses": [ @@ -29169,9 +28907,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Commit Comments use these custom media types. You can read more about the use of media types in the API here.

\n

Comments are ordered by ascending ID.

", "responses": [ @@ -29258,9 +28994,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -29371,9 +29105,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -29468,9 +29200,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -29599,9 +29329,7 @@ "slug": "list-reactions-for-a-commit-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a commit comment.

", "responses": [ @@ -29732,9 +29460,7 @@ "slug": "create-reaction-for-a-commit-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a commit comment. A response with a Status: 200 OK means that you already added the reaction type to this commit comment.

", "bodyParameters": [ { @@ -29910,9 +29636,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -30019,9 +29743,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch.

", "responses": [ @@ -30138,9 +29860,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Use the :commit_sha to specify the commit that will have its comments listed.

", "responses": [ @@ -30277,9 +29997,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a comment for a commit using its :commit_sha.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -30433,9 +30151,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the List pull requests endpoint.

", "responses": [ @@ -30520,9 +30236,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the contents of a single commit reference. You must have read access for the repository to use this endpoint.

\n

Note: If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.

\n

You can pass the appropriate media type to fetch diff and patch formats. Diffs with binary data will have no patch property.

\n

To return only the SHA-1 hash of the commit reference, you can provide the sha custom media type in the Accept header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -30684,9 +30398,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check runs for a commit ref. The ref can be a SHA, branch name, or a tag name. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -30814,9 +30526,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check suites for a commit ref. The ref can be a SHA, branch name, or a tag name. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the repo scope to get check suites in a private repository.

", "responses": [ @@ -30896,9 +30606,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

The most recent status for each context is returned, up to 100. This field paginates if there are over 100 contexts.

\n

Additionally, a combined state is returned. The state is one of:

\n", "responses": [ @@ -31003,9 +30711,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

This resource is also available via a legacy route: GET /repos/:owner/:repo/statuses/:ref.

", "responses": [ @@ -31085,9 +30791,7 @@ "slug": "get-the-code-of-conduct-for-a-repository", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This method returns the contents of the repository's code of conduct file, if one is detected.

", "responses": [ @@ -31175,9 +30879,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 <USERNAME>:branch.

\n

The response from the API is equivalent to running the git log base..head command; however, commits are returned in chronological order. Pass the appropriate media type to fetch diff and patch formats.

\n

The response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a renamed status have a previous_filename field showing the previous filename of the file, and files with a modified status have a patch field showing the changes made to the file.

\n

Working with large comparisons

\n

The response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the List commits to enumerate all commits in the range.

\n

For comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -31277,9 +30979,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets the contents of a file or directory in a repository. Specify the file path or directory in :path. If you omit\n:path, you will receive the contents of all files in the repository.

\n

Files and symlinks support a custom media type for\nretrieving the raw content or rendered HTML (when supported). All content types support a custom media\ntype to ensure the content is returned in a consistent\nobject format.

\n

Note:

\n\n

If the content is a directory

\n

The response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\nshould be \"submodule\". This behavior exists in API v3 for backwards compatibility purposes.\nIn the next major version of the API, the type will be returned as \"submodule\".

\n

If the content is a symlink

\n

If the requested :path points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object\ndescribing the symlink itself.

\n

If the content is a submodule

\n

The submodule_git_url identifies the location of the submodule repository, and the sha identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.

\n

If the submodule repository is not hosted on github.com, the Git URLs (git_url and _links[\"git\"]) and the\ngithub.com URLs (html_url and _links[\"html\"]) will have null values.

", "responses": [ @@ -31622,9 +31322,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new file or replaces an existing file in a repository.

", "responses": [ { @@ -32076,9 +31774,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Deletes a file in a repository.

\n

You can provide an additional committer parameter, which is an object containing information about the committer. Or, you can provide an author parameter, which is an object containing information about the author.

\n

The author section is optional and is filled in with the committer information if omitted. If the committer information is omitted, the authenticated user's information is used.

\n

You must provide values for both name and email, whether you choose to use author or committer. Otherwise, you'll receive a 422 status code.

", "responses": [ { @@ -32334,9 +32030,7 @@ "slug": "list-repository-contributors", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 v3 caches contributor data to improve performance.

\n

GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.

", "responses": [ @@ -32492,9 +32186,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Simple filtering of deployments is available via query parameters:

", "responses": [ @@ -32708,9 +32400,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Deployments offer a few configurable parameters with certain defaults.

\n

The ref parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.

\n

The environment parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as production, staging, and qa. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is production.

\n

The auto_merge parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref is behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.

\n

By default, commit statuses for every submitted context must be in a success\nstate. The required_contexts parameter allows you to specify a subset of contexts that must be success, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.

\n

The payload parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.

\n

The task parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe deploy:migrations to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.

\n

Users with repo or repo_deployment scopes can create a deployment for a given ref.

\n

Merged branch response

\n

You will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:

\n\n

If there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.

\n

Merge conflict response

\n

This error happens when the auto_merge option is enabled and when the default branch (in this case master), can't\nbe merged into the branch that's being deployed (in this case topic-branch), due to merge conflicts.

\n

Failed commit status checks

\n

This error happens when the required_contexts parameter indicates that one or more contexts need to have a success\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of success.

", "bodyParameters": [ { @@ -32933,9 +32623,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -33053,9 +32741,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Users with pull access can view deployment statuses for a deployment:

", "responses": [ @@ -33254,9 +32940,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access can create deployment statuses for a given deployment.

\n

GitHub Apps require read & write access to \"Deployments\" and read-only access to \"Repo contents\" (for private repos). OAuth Apps require the repo_deployment scope.

", "bodyParameters": [ { @@ -33451,9 +33135,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Users with pull access can view a deployment status for a deployment:

", "responses": [ @@ -33553,9 +33235,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -33660,9 +33340,7 @@ "categoryLabel": "Repos", "subcategory": "forks", "subcategoryLabel": "Forks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -33757,9 +33435,7 @@ "categoryLabel": "Repos", "subcategory": "forks", "subcategoryLabel": "Forks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a fork for the authenticated user.

\n

Note: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact GitHub Enterprise Server Support or GitHub Enterprise Server Premium Support.

", "bodyParameters": [ { @@ -33896,9 +33572,7 @@ "categoryLabel": "Git", "subcategory": "blobs", "subcategoryLabel": "Blobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -34017,9 +33691,7 @@ "categoryLabel": "Git", "subcategory": "blobs", "subcategoryLabel": "Blobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The content in the response will always be Base64 encoded.

\n

Note: This API supports blobs up to 100 megabytes in size.

", "responses": [ @@ -34317,9 +33989,7 @@ "categoryLabel": "Git", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new Git commit object.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ { @@ -34595,9 +34265,7 @@ "categoryLabel": "Git", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a Git commit object.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -34702,9 +34370,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns an array of references from your Git database that match the supplied name. The :ref in the URL must be formatted as heads/<branch name> for branches and tags/<tag name> for tags. If the :ref doesn't exist in the repository, but existing refs start with :ref, they will be returned as an array.

\n

When you use this endpoint without providing a :ref, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just heads and tags.

\n

Note: You need to explicitly request a pull request to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"Checking mergeability of pull requests\".

\n

If you request matching references for a branch named feature but the branch feature doesn't exist, the response can still include other matching head refs that start with the word feature, such as featureA and featureB.

", "responses": [ @@ -34784,9 +34450,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a single reference from your Git database. The :ref in the URL must be formatted as heads/<branch name> for branches and tags/<tag name> for tags. If the :ref doesn't match an existing ref, a 404 is returned.

\n

Note: You need to explicitly request a pull request to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"Checking mergeability of pull requests\".

", "responses": [ @@ -34907,9 +34571,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -35059,9 +34721,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -35166,9 +34826,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -35384,9 +35042,7 @@ "categoryLabel": "Git", "subcategory": "tags", "subcategoryLabel": "Tags", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 the refs/tags/[tag] reference. If you want to create a lightweight tag, you only have to create the tag reference - this call would be unnecessary.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ { @@ -35585,9 +35241,7 @@ "categoryLabel": "Git", "subcategory": "tags", "subcategoryLabel": "Tags", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -35834,9 +35488,7 @@ "categoryLabel": "Git", "subcategory": "trees", "subcategoryLabel": "Trees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

If you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"Create a commit\" and \"Update a reference.\"

", "responses": [ { @@ -36088,9 +35740,7 @@ "categoryLabel": "Git", "subcategory": "trees", "subcategoryLabel": "Trees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a single tree using the SHA1 value for that tree.

\n

If truncated is true in the response then the number of items in the tree array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.

", "responses": [ @@ -36196,9 +35846,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -36474,9 +36122,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Repositories can have multiple webhooks installed. Each webhook should have a unique config. Multiple webhooks can\nshare the same config as long as those webhooks do not have any events that overlap.

", "responses": [ { @@ -36745,9 +36391,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a webhook configured in a repository. To get only the webhook config properties, see \"Get a webhook configuration for a repository.\"

", "responses": [ @@ -37037,9 +36681,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

", "responses": [ { @@ -37318,9 +36960,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -37403,9 +37043,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -37488,9 +37126,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -37679,9 +37315,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.

", "responses": [ @@ -37788,9 +37422,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -37887,9 +37519,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -38089,9 +37719,7 @@ "slug": "list-repository-issues", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List issues in a repository.

\n

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe pull_request key. Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull\nrequest id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -38283,9 +37911,7 @@ "slug": "create-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Any user with pull access to a repository can create an issue. If issues are disabled in the repository, the API returns a 410 Gone status.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -38530,9 +38156,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

By default, Issue Comments are ordered by ascending ID.

", "responses": [ @@ -38629,9 +38253,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -38742,9 +38364,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -38839,9 +38459,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -38965,9 +38583,7 @@ "slug": "list-reactions-for-an-issue-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to an issue comment.

", "responses": [ @@ -39098,9 +38714,7 @@ "slug": "create-reaction-for-an-issue-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to an issue comment. A response with a Status: 200 OK means that you already added the reaction type to this issue comment.

", "bodyParameters": [ { @@ -39239,9 +38853,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -39344,9 +38956,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -39446,9 +39056,7 @@ "slug": "get-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The API returns a 301 Moved Permanently status if the issue was\ntransferred to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a 404 Not Found status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a 410 Gone status. To receive webhook events for transferred and deleted issues, subscribe\nto the issues webhook.

\n

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe pull_request key. Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull\nrequest id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -39664,9 +39272,7 @@ "slug": "update-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Issue owners and users with push access can edit an issue.

", "bodyParameters": [ { @@ -39901,9 +39507,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.

", "bodyParameters": [ { @@ -40025,9 +39629,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Removes one or more assignees from an issue.

", "bodyParameters": [ { @@ -40157,9 +39759,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Issue Comments are ordered by ascending ID.

", "responses": [ @@ -40276,9 +39876,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -40421,9 +40019,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -40528,9 +40124,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -40647,9 +40241,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -40781,9 +40373,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Removes any previous labels and sets the new labels for an issue.

", "bodyParameters": [ { @@ -40886,9 +40476,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -40981,9 +40569,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -41103,9 +40689,7 @@ "slug": "lock-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -41218,9 +40802,7 @@ "slug": "unlock-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -41354,9 +40936,7 @@ "slug": "list-reactions-for-an-issue", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to an issue.

", "responses": [ @@ -41635,9 +41215,7 @@ "categoryLabel": "Issues", "subcategory": "timeline", "subcategoryLabel": "Timeline", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -41742,9 +41320,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -41860,9 +41436,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

You can create a read-only deploy key.

", "bodyParameters": [ { @@ -41975,9 +41549,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -42062,9 +41634,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -42153,9 +41723,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -42276,9 +41844,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -42395,9 +41961,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -42524,9 +42088,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -42633,9 +42195,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -42702,9 +42262,7 @@ "slug": "list-repository-languages", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.

", "responses": [ @@ -42772,9 +42330,7 @@ "slug": "get-the-license-for-a-repository", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This method returns the contents of the repository's license file, if one is detected.

\n

Similar to Get repository content, this method also supports custom media types for retrieving the raw license content or rendered license HTML.

", "responses": [ @@ -42891,9 +42447,7 @@ "categoryLabel": "Repos", "subcategory": "merging", "subcategoryLabel": "Merging", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -43085,9 +42639,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -43223,9 +42775,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -43357,9 +42907,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -43502,9 +43050,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -43626,9 +43172,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -43732,9 +43276,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -44035,9 +43577,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -44216,9 +43756,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Configures a GitHub Enterprise Server Pages site. For more information, see \"About GitHub Pages.\"

", "responses": [ { @@ -44441,9 +43979,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -44577,9 +44113,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -44683,9 +44217,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -44755,9 +44287,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.

", "responses": [ @@ -44827,9 +44357,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -44908,9 +44436,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -45007,9 +44533,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.

", "responses": [ @@ -45095,9 +44619,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -45206,9 +44728,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

For pre-receive hooks which are allowed to be configured at the repo level, you can set enforcement

", "bodyParameters": [ { @@ -45304,9 +44824,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Deletes any overridden enforcement on this repository for the specified hook.

\n

Responds with effective values inherited from owner and/or global level.

", "responses": [ @@ -45417,9 +44935,7 @@ "slug": "list-repository-projects", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -45555,9 +45071,7 @@ "slug": "create-a-repository-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a repository project board. 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.

", "bodyParameters": [ { @@ -45768,9 +45282,7 @@ "slug": "list-pull-requests", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.

", "responses": [ @@ -45945,9 +45457,7 @@ "slug": "create-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" for details.

", "bodyParameters": [ { @@ -46163,9 +45673,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -46258,9 +45766,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Provides details for a review comment.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -46378,9 +45884,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Enables you to edit a review comment.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n", "bodyParameters": [ { @@ -46470,9 +45974,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -46601,9 +46103,7 @@ "slug": "list-reactions-for-a-pull-request-review-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a pull request review comment.

", "responses": [ @@ -46734,9 +46234,7 @@ "slug": "create-reaction-for-a-pull-request-review-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a pull request review comment. A response with a Status: 200 OK means that you already added the reaction type to this pull request review comment.

", "bodyParameters": [ { @@ -46849,9 +46347,7 @@ "slug": "get-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists details of a pull request by providing its number.

\n

When you get, create, or edit a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the mergeable key. For more information, see \"Checking mergeability of pull requests\".

\n

The value of the mergeable attribute can be true, false, or null. If the value is null, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-null value for the mergeable attribute in the response. If mergeable is true, then merge_commit_sha will be the SHA of the test merge commit.

\n

The value of the merge_commit_sha attribute changes depending on the state of the pull request. Before merging a pull request, the merge_commit_sha attribute holds the SHA of the test merge commit. After merging a pull request, the merge_commit_sha attribute changes depending on how you merged the pull request:

\n\n

Pass the appropriate media type to fetch diff and patch formats.

", "responses": [ @@ -47021,9 +46517,7 @@ "slug": "update-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.

", "bodyParameters": [ { @@ -47234,9 +46728,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Lists all review comments for a pull request. By default, review comments are in ascending order by ID.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -47452,9 +46944,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"Create an issue comment.\" We recommend creating a review comment using line, side, and optionally start_line and start_side if your comment applies to more than one line in the pull request diff.

\n

You can still create a review comment using the position parameter. When you use position, the line, side, start_line, and start_side parameters are not required. For more information, see Multi-line comment summary.

\n

Note: The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n", "bodyParameters": [ { @@ -47783,9 +47273,7 @@ "slug": "list-commits-on-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

", "responses": [ @@ -47882,9 +47370,7 @@ "slug": "list-pull-requests-files", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.

", "responses": [ @@ -47971,9 +47457,7 @@ "slug": "check-if-a-pull-request-has-been-merged", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -48107,9 +47591,7 @@ "slug": "merge-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -48277,9 +47759,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -48404,9 +47884,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -48565,9 +48043,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -48695,9 +48171,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The list of reviews returns in chronological order.

", "responses": [ @@ -48984,9 +48458,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Pull request reviews created in the PENDING state do not include the submitted_at property in the response.

\n

Note: To comment on a specific line in a file, you need to first determine the position of that line in the diff. The GitHub REST API v3 offers the application/vnd.github.v3.diff media type. To see a pull request diff, add this media type to the Accept header of a call to the single pull request endpoint.

\n

The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.

", "responses": [ { @@ -49270,9 +48742,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -49392,9 +48862,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Update the review summary comment with new text.

", "bodyParameters": [ { @@ -49498,9 +48966,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -49619,9 +49085,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List comments for a specific pull request review.

", "responses": [ @@ -49747,9 +49211,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: To dismiss a pull request review on a protected branch, you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.

", "bodyParameters": [ { @@ -49904,9 +49366,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -50157,9 +49617,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets the preferred README for a repository.

\n

READMEs support custom media types for retrieving the raw content or rendered HTML.

", "responses": [ @@ -50259,9 +49717,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Information about published releases are available to everyone. Only users with push access will receive listings for draft releases.

", "responses": [ @@ -50415,9 +49871,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can create a release.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -50559,9 +50013,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

To download the asset's binary content, set the Accept header of the request to application/octet-stream. 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.

", "responses": [ @@ -50698,9 +50150,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can edit a release asset.

", "bodyParameters": [ { @@ -50808,9 +50258,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -50879,9 +50327,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

View the latest published full release for the repository.

\n

The latest release is the most recent non-prerelease, non-draft release, sorted by the created_at attribute. The created_at attribute is the date of the commit used for the release, and not the date when the release was drafted or published.

", "responses": [ @@ -50961,9 +50407,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a published release with the specified tag.

", "responses": [ @@ -51048,9 +50492,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: This returns an upload_url key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource.

", "responses": [ @@ -51208,9 +50650,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can edit a release.

", "bodyParameters": [ { @@ -51345,9 +50785,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -51446,9 +50884,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -51565,9 +51001,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This endpoint makes use of a Hypermedia relation 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\nthe response of the Create a release endpoint to upload a release asset.

\n

You need to use an HTTP client which supports SNI to make calls to this endpoint.

\n

Most libraries will set the required Content-Length header automatically. Use the required Content-Type header to provide the media type of the asset. For a list of media types, see Media Types. For example:

\n

application/zip

\n

GitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.

\n

When an upstream failure occurs, you will receive a 502 Bad Gateway status. This may leave an empty asset with a state of starter. It can be safely deleted.

\n

Notes:

\n", "responses": [ @@ -51657,9 +51091,7 @@ "categoryLabel": "Activity", "subcategory": "starring", "subcategoryLabel": "Starring", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people that have starred the repository.

\n

You can also find out when stars were created by passing the following custom media type via the Accept header:

", "responses": [ @@ -51734,9 +51166,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

", "responses": [ @@ -51806,9 +51236,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the last year of commit activity grouped by week. The days array is a group of commits per day, starting on Sunday.

", "responses": [ @@ -51878,9 +51306,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", "responses": [ @@ -51950,9 +51376,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

The array order is oldest week (index 0) to most recent week.

", "responses": [ @@ -52027,9 +51451,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Each array contains the day number, hour number, and number of commits:

\n\n

For example, [2, 14, 25] indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.

", "responses": [ @@ -52171,9 +51593,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access in a repository can create commit statuses for a given SHA.

\n

Note: there is a limit of 1000 statuses per sha and context within a repository. Attempts to create more than 1000 statuses will result in a validation error.

", "bodyParameters": [ { @@ -52307,9 +51727,7 @@ "categoryLabel": "Activity", "subcategory": "watching", "subcategoryLabel": "Watching", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people watching the specified repository.

", "responses": [ @@ -52664,9 +52082,7 @@ "slug": "list-repository-tags", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -52745,9 +52161,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -52834,9 +52248,7 @@ "slug": "list-repository-teams", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -52911,9 +52323,7 @@ "slug": "get-all-repository-topics", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -53032,9 +52442,7 @@ "slug": "replace-all-repository-topics", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -53169,9 +52577,7 @@ "slug": "transfer-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -53268,9 +52674,7 @@ "slug": "enable-vulnerability-alerts", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -53344,9 +52748,7 @@ "slug": "disable-vulnerability-alerts", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -53424,9 +52826,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -53692,9 +53092,7 @@ "slug": "list-public-repositories", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.

", "responses": [ @@ -53812,9 +53210,7 @@ "slug": "search-code", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Searches for query terms inside of a file. This method returns up to 100 results per page.

\n

When searching for code, you can get text match metadata for the file content and file path fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to find the definition of the addClass function inside jQuery repository, your query would look something like this:

\n

q=addClass+in:file+language:js+repo:jquery/jquery

\n

This query searches for the keyword addClass within a file's contents. The query limits the search to files where the language is JavaScript in the jquery/jquery repository.

\n

Considerations for code search

\n

Due to the complexity of searching code, there are a few restrictions on how searches are performed:

\n", "responses": [ @@ -53950,9 +53346,7 @@ "slug": "search-commits", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find commits via various criteria on the default branch (usually master). This method returns up to 100 results per page.

\n

When searching for commits, you can get text match metadata for the message field when you provide the text-match media type. For more details about how to receive highlighted search results, see Text match\nmetadata.

\n

For example, if you want to find commits related to CSS in the octocat/Spoon-Knife repository. Your query would look something like this:

\n

q=repo:octocat/Spoon-Knife+css

", "responses": [ @@ -54080,9 +53474,7 @@ "slug": "search-issues-and-pull-requests", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find issues by state and keyword. This method returns up to 100 results per page.

\n

When searching for issues, you can get text match metadata for the issue title, issue body, and issue comment body fields when you pass the text-match media type. For more details about how to receive highlighted\nsearch results, see Text match metadata.

\n

For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.

\n

q=windows+label:bug+language:python+state:open&sort=created&order=asc

\n

This query searches for the keyword windows, within any open issue that is labeled as bug. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.

\n

Note: For user-to-server GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the is:issue or is:pull-request qualifier will receive an HTTP 422 Unprocessable Entity response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the is qualifier, see \"Searching only issues or pull requests.\"

", "responses": [ @@ -54201,9 +53593,7 @@ "slug": "search-labels", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results per page.

\n

When searching for labels, you can get text match metadata for the label name and description fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to find labels in the linguist repository that match bug, defect, or enhancement. Your query might look like this:

\n

q=bug+defect+enhancement&repository_id=64778136

\n

The labels that best match the query appear first in the search results.

", "responses": [ @@ -54341,9 +53731,7 @@ "slug": "search-repositories", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find repositories via various criteria. This method returns up to 100 results per page.

\n

When searching for repositories, you can get text match metadata for the name and description fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:

\n

q=tetris+language:assembly&sort=stars&order=desc

\n

This query searches for repositories with the word tetris in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.

\n

When you include the mercy preview header, you can also search for multiple topics by adding more topic: instances. For example, your query might look like this:

\n

q=topic:ruby+topic:rails

", "responses": [ @@ -54425,9 +53813,7 @@ "slug": "search-topics", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results per page. See \"Searching topics\" for a detailed list of qualifiers.

\n

When searching for topics, you can get text match metadata for the topic's short_description, description, name, or display_name field when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:

\n

q=ruby+is:featured

\n

This query searches for topics with the keyword ruby and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.

", "responses": [ @@ -54547,9 +53933,7 @@ "slug": "search-users", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find users via various criteria. This method returns up to 100 results per page.

\n

When searching for users, you can get text match metadata for the issue login, email, and name fields when you pass the text-match media type. For more details about highlighting search results, see Text match metadata. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you're looking for a list of popular users, you might try this query:

\n

q=tom+repos:%3E42+followers:%3E1000

\n

This query searches for users with the name tom. The results are restricted to users with more than 42 repositories and over 1,000 followers.

", "responses": [ @@ -55410,9 +54794,7 @@ "slug": "get-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -55544,9 +54926,7 @@ "slug": "update-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

To edit a team, the authenticated user must either be an organization owner or a team maintainer.

\n

Note: With nested teams, the privacy for parent teams cannot be secret.

", "bodyParameters": [ { @@ -55660,9 +55040,7 @@ "slug": "delete-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -55763,9 +55141,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all discussions on a team's page. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -55880,9 +55256,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new discussion post on a team's page. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" for details.

", "bodyParameters": [ { @@ -55987,9 +55361,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a specific discussion on a team's page. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -56097,9 +55469,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -56188,9 +55558,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -56300,9 +55668,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all comments on a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -56405,9 +55771,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new comment on a team discussion. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" for details.

", "bodyParameters": [ { @@ -56502,9 +55866,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a specific comment on a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -56615,9 +55977,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Edits the body text of a discussion comment. OAuth access tokens require the write:discussion scope.

", "bodyParameters": [ { @@ -56706,9 +56066,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -56840,9 +56198,7 @@ "slug": "list-reactions-for-a-team-discussion-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a team discussion comment. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -56971,9 +56327,7 @@ "slug": "create-reaction-for-a-team-discussion-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a team discussion comment. OAuth access tokens require the write:discussion scope. A response with a Status: 200 OK means that you already added the reaction type to this team discussion comment.

", "bodyParameters": [ { @@ -57117,9 +56471,7 @@ "slug": "list-reactions-for-a-team-discussion", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -57356,9 +56708,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Team members will include the members of child teams.

\n

To list members in a team, the team must be visible to the authenticated user.

", "responses": [ @@ -57431,9 +56781,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -57510,9 +56858,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The \"Add team member\" endpoint (described below) is deprecated.

\n

We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

\n

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.

\n

Note: When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub Enterprise Server.\"

\n

Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

", "responses": [ @@ -57606,9 +56952,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -57682,9 +57026,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Team members will include the members of child teams.

\n

To get a user's membership with a team, the team must be visible to the authenticated user.

\n

Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

", "responses": [ @@ -57791,9 +57133,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.

\n

If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.

\n

If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.

", "bodyParameters": [ { @@ -57890,9 +57230,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -57986,9 +57324,7 @@ "slug": "list-team-projects", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the organization projects for a team. If you are an authenticated site administrator for your Enterprise instance, you will be able to list all projects for the team.

", "responses": [ @@ -58072,9 +57408,7 @@ "slug": "check-team-permissions-for-a-project", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Checks whether a team has read, write, or admin permissions for an organization project. The response includes projects inherited from a parent team.

", "responses": [ @@ -58188,9 +57522,7 @@ "slug": "add-or-update-team-project-permissions", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -58278,9 +57610,7 @@ "slug": "remove-a-project-from-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -58357,9 +57687,7 @@ "slug": "list-team-repositories", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

If you are an authenticated site administrator for your Enterprise instance, you will be able to list all repositories for the team.

", "responses": [ @@ -58435,9 +57763,7 @@ "slug": "check-team-permissions-for-a-repository", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -58547,9 +57873,7 @@ "slug": "add-or-update-team-repository-permissions", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -58640,9 +57964,7 @@ "slug": "remove-a-repository-from-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -58719,9 +58041,7 @@ "slug": "list-child-teams", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -61594,9 +60914,7 @@ "slug": "create-a-user-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -63265,9 +62583,7 @@ "slug": "list-users", "category": "users", "categoryLabel": "Users", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", "responses": [ @@ -63331,9 +62647,7 @@ "slug": "get-a-user", "category": "users", "categoryLabel": "Users", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Provides publicly available information about someone with a GitHub account.

\n

GitHub Apps with the Plan user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"Identifying and authorizing users for GitHub Apps\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"

\n

The email key in the following response is the publicly visible email address from your GitHub Enterprise Server profile page. When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for email, then it will have a value of null. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see Authentication.

\n

The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"Emails API\".

", "responses": [ @@ -63425,9 +62739,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -63596,9 +62908,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -63678,9 +62988,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people following the specified user.

", "responses": [ @@ -63761,9 +63069,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people who the specified user follows.

", "responses": [ @@ -63833,9 +63139,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -64014,9 +63318,7 @@ "categoryLabel": "Users", "subcategory": "gpg-keys", "subcategoryLabel": "Gpg keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the GPG keys for a user. This information is accessible by anyone.

", "responses": [ @@ -64268,9 +63570,7 @@ "categoryLabel": "Users", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the verified public SSH keys for a user. This is accessible by anyone.

", "responses": [ @@ -64349,9 +63649,7 @@ "slug": "list-organizations-for-a-user", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List public organization memberships for the specified user.

\n

This method only lists public memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the List organizations for the authenticated user API instead.

", "responses": [ @@ -64544,9 +63842,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -64626,9 +63922,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -64760,9 +64054,7 @@ "slug": "list-repositories-for-a-user", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists public repositories for the specified user.

", "responses": [ @@ -64993,9 +64285,7 @@ "categoryLabel": "Activity", "subcategory": "starring", "subcategoryLabel": "Starring", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories a user has starred.

\n

You can also find out when stars were created by passing the following custom media type via the Accept header:

", "responses": [ @@ -65076,9 +64366,7 @@ "categoryLabel": "Activity", "subcategory": "watching", "subcategoryLabel": "Watching", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories a user is watching.

", "responses": [ @@ -65302,9 +64590,7 @@ "slug": "get-the-zen-of-github", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", diff --git a/lib/rest/static/decorated/ghes-2.21.json b/lib/rest/static/decorated/ghes-2.21.json index 6cd1524aca86..a5e9a934e481 100644 --- a/lib/rest/static/decorated/ghes-2.21.json +++ b/lib/rest/static/decorated/ghes-2.21.json @@ -31,9 +31,7 @@ "slug": "github-api-root", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -3527,9 +3525,7 @@ "slug": "get-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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\" endpoint.

\n

You must use a JWT to access this endpoint.

", "responses": [ @@ -3685,9 +3681,7 @@ "slug": "list-installations-for-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

You must use a JWT to access this endpoint.

\n

The permissions the installation has are included under the permissions key.

", "responses": [ @@ -3764,9 +3758,7 @@ "slug": "get-an-installation-for-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (target_type) will be either an organization or a user account, depending which account the repository belongs to.

\n

You must use a JWT to access this endpoint.

", "responses": [ @@ -4079,9 +4071,7 @@ "slug": "create-an-installation-access-token-for-an-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

You must use a JWT to access this endpoint.

", "responses": [ { @@ -5248,9 +5238,7 @@ "slug": "get-an-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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).

\n

If the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a personal access token or an installation access token to access this endpoint.

", "responses": [ @@ -6408,9 +6396,7 @@ "slug": "get-all-codes-of-conduct", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -6486,9 +6472,7 @@ "slug": "get-a-code-of-conduct", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -6608,9 +6592,7 @@ "categoryLabel": "Apps", "subcategory": "installations", "subcategoryLabel": "Installations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 to create an attachment.

\n

The app must create a content attachment within six hours of the content reference URL being posted. See \"Using content attachments\" for details about content attachments.

\n

You must use an installation access token to access this endpoint.

", "bodyParameters": [ { @@ -6712,9 +6694,7 @@ "slug": "get-emojis", "category": "emojis", "categoryLabel": "Emojis", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -6902,9 +6882,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -6969,9 +6947,7 @@ "categoryLabel": "Activity", "subcategory": "feeds", "subcategoryLabel": "Feeds", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

GitHub Enterprise Server provides several timeline resources in Atom format. The Feeds API lists all the feeds available to the authenticated user:

\n\n

Note: Private feeds are only returned when authenticating via Basic Auth since current feed URIs use the older, non revocable auth tokens.

", "responses": [ @@ -8902,9 +8878,7 @@ "slug": "get-all-gitignore-templates", "category": "gitignore", "categoryLabel": "Gitignore", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all templates available to pass as an option when creating a repository.

", "responses": [ @@ -8968,9 +8942,7 @@ "slug": "get-a-gitignore-template", "category": "gitignore", "categoryLabel": "Gitignore", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The API also allows fetching the source of a single template.\nUse the raw media type to get the raw contents.

", "responses": [ @@ -9071,9 +9043,7 @@ "categoryLabel": "Apps", "subcategory": "installations", "subcategoryLabel": "Installations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List repositories that an app installation can access.

\n

You must use an installation access token to access this endpoint.

", "responses": [ @@ -9139,9 +9109,7 @@ "categoryLabel": "Apps", "subcategory": "installations", "subcategoryLabel": "Installations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -9421,9 +9389,7 @@ "slug": "get-all-commonly-used-licenses", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -9487,9 +9453,7 @@ "slug": "get-a-license", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -9600,9 +9564,7 @@ "slug": "render-a-markdown-document", "category": "markdown", "categoryLabel": "Markdown", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -9703,9 +9665,7 @@ "slug": "render-a-markdown-document-in-raw-mode", "category": "markdown", "categoryLabel": "Markdown", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -9758,9 +9718,7 @@ "slug": "get-github-enterprise-server-meta-information", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This endpoint provides a list of GitHub's IP addresses. For more information, see \"About GitHub's IP addresses.\"

", "responses": [ @@ -9855,9 +9813,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -10595,9 +10551,7 @@ "slug": "get-octocat", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -10666,9 +10620,7 @@ "slug": "list-organizations", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub Enterprise Server.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", "responses": [ @@ -10739,9 +10691,7 @@ "slug": "get-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

GitHub Apps with the Organization plan permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"Authenticating with GitHub Apps\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"

", "responses": [ @@ -11007,9 +10957,7 @@ "slug": "update-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Parameter Deprecation Notice: GitHub Enterprise Server 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.

\n

Enables an authenticated organization owner with the admin:org scope to update the organization's profile and member privileges.

", "bodyParameters": [ { @@ -11272,9 +11220,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -11354,9 +11300,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -11623,9 +11567,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Here's how you can create a hook that posts payloads in JSON format:

", "responses": [ { @@ -11880,9 +11822,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a webhook configured in an organization. To get only the webhook config properties, see \"Get a webhook configuration for an organization.\"

", "responses": [ @@ -12112,9 +12052,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

", "responses": [ { @@ -12333,9 +12271,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -12409,9 +12345,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -12587,9 +12521,7 @@ "slug": "list-app-installations-for-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -12876,9 +12808,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -12958,9 +12888,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -13039,9 +12967,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -13115,9 +13041,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

In order to get a user's membership with an organization, the authenticated user must be an organization member.

", "responses": [ @@ -13234,9 +13158,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", "bodyParameters": [ { @@ -13337,9 +13259,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -13444,9 +13364,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all users who are outside collaborators of an organization.

", "responses": [ @@ -13516,9 +13434,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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\".

", "responses": [ @@ -13609,9 +13525,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Removing a user from this list will remove them from all the organization's repositories.

", "responses": [ @@ -13704,9 +13618,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.

", "responses": [ @@ -13783,9 +13695,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -13895,9 +13805,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

For pre-receive hooks which are allowed to be configured at the org level, you can set enforcement and allow_downstream_configuration

", "bodyParameters": [ { @@ -13993,9 +13901,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Removes any overrides for this hook at the org level for this org.

", "responses": [ @@ -14097,9 +14003,7 @@ "slug": "list-organization-projects", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -14206,9 +14110,7 @@ "slug": "create-an-organization-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates an organization project board. 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.

", "bodyParameters": [ { @@ -14333,9 +14235,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Members of an organization can choose to have their membership publicized or not.

", "responses": [ @@ -14405,9 +14305,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -14696,9 +14594,7 @@ "slug": "list-organization-repositories", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories for the specified organization.

", "responses": [ @@ -14962,9 +14858,7 @@ "slug": "create-an-organization-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

\n

OAuth scope requirements

\n

When using OAuth, authorizations must include:

\n", "bodyParameters": [ { @@ -15223,9 +15117,7 @@ "slug": "list-teams", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all teams in an organization that are visible to the authenticated user.

", "responses": [ @@ -15388,9 +15280,7 @@ "slug": "create-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

\n

When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of maintainers. For more information, see \"About teams\".

", "bodyParameters": [ { @@ -15549,9 +15439,7 @@ "slug": "get-a-team-by-name", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a team using the team's slug. GitHub Enterprise Server generates the slug from the team name.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}.

", "responses": [ @@ -15699,9 +15587,7 @@ "slug": "update-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

To edit a team, the authenticated user must either be an organization owner or a team maintainer.

\n

Note: You can also specify a team by org_id and team_id using the route PATCH /organizations/{org_id}/team/{team_id}.

", "bodyParameters": [ { @@ -15826,9 +15712,7 @@ "slug": "delete-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -15940,9 +15824,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all discussions on a team's page. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/discussions.

", "responses": [ @@ -16068,9 +15950,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new discussion post on a team's page. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Note: You can also specify a team by org_id and team_id using the route POST /organizations/{org_id}/team/{team_id}/discussions.

", "bodyParameters": [ { @@ -16186,9 +16066,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a specific discussion on a team's page. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}.

", "responses": [ @@ -16307,9 +16185,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Note: You can also specify a team by org_id and team_id using the route PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}.

", "bodyParameters": [ { @@ -16408,9 +16284,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -16531,9 +16405,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all comments on a team discussion. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments.

", "responses": [ @@ -16647,9 +16519,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new comment on a team discussion. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Note: You can also specify a team by org_id and team_id using the route POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments.

", "bodyParameters": [ { @@ -16755,9 +16625,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a specific comment on a team discussion. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}.

", "responses": [ @@ -16879,9 +16747,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Edits the body text of a discussion comment. OAuth access tokens require the write:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}.

", "bodyParameters": [ { @@ -16980,9 +16846,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -17115,9 +16979,7 @@ "slug": "list-reactions-for-a-team-discussion-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a team discussion comment. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions.

", "responses": [ @@ -17247,9 +17109,7 @@ "slug": "create-reaction-for-a-team-discussion-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a team discussion comment. OAuth access tokens require the write:discussion scope. A response with a Status: 200 OK means that you already added the reaction type to this team discussion comment.

\n

Note: You can also specify a team by org_id and team_id using the route POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions.

", "bodyParameters": [ { @@ -17372,9 +17232,7 @@ "slug": "delete-team-discussion-comment-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -17498,9 +17356,7 @@ "slug": "list-reactions-for-a-team-discussion", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a team discussion. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions.

", "responses": [ @@ -17735,9 +17591,7 @@ "slug": "delete-team-discussion-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -17843,9 +17697,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Team members will include the members of child teams.

\n

To list members in a team, the team must be visible to the authenticated user.

", "responses": [ @@ -17925,9 +17777,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Team members will include the members of child teams.

\n

To get a user's membership with a team, the team must be visible to the authenticated user.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/memberships/{username}.

\n

Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

", "responses": [ @@ -18049,9 +17899,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.

\n

Note: When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub Enterprise Server.\"

\n

An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.

\n

If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.

\n

Note: You can also specify a team by org_id and team_id using the route PUT /organizations/{org_id}/team/{team_id}/memberships/{username}.

", "bodyParameters": [ { @@ -18163,9 +18011,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -18265,9 +18111,7 @@ "slug": "list-team-projects", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the organization projects for a team.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/projects.

", "responses": [ @@ -18352,9 +18196,7 @@ "slug": "check-team-permissions-for-a-project", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Checks whether a team has read, write, or admin permissions for an organization project. The response includes projects inherited from a parent team.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/projects/{project_id}.

", "responses": [ @@ -18469,9 +18311,7 @@ "slug": "add-or-update-team-project-permissions", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Note: You can also specify a team by org_id and team_id using the route PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}.

", "bodyParameters": [ { @@ -18569,9 +18409,7 @@ "slug": "remove-a-project-from-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -18659,9 +18497,7 @@ "slug": "list-team-repositories", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists a team's repositories visible to the authenticated user.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/repos.

", "responses": [ @@ -18748,9 +18584,7 @@ "slug": "check-team-permissions-for-a-repository", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -18873,9 +18707,7 @@ "slug": "add-or-update-team-repository-permissions", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -18978,9 +18810,7 @@ "slug": "remove-a-repository-from-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -19068,9 +18898,7 @@ "slug": "list-child-teams", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the child teams of the team specified by {team_slug}.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/teams.

", "responses": [ @@ -19139,9 +18967,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -19262,9 +19088,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -19380,9 +19204,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -19505,9 +19327,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -19622,9 +19442,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -19737,9 +19555,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -19834,9 +19650,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -19955,9 +19769,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -20084,9 +19896,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the pull_request key.

\n

Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull request id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -20205,9 +20015,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -20304,9 +20112,7 @@ "slug": "get-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -20453,9 +20259,7 @@ "slug": "update-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -20607,9 +20411,7 @@ "slug": "delete-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -20737,9 +20539,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -20873,9 +20673,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -20998,9 +20796,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -21106,9 +20902,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -21226,9 +21020,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -21335,9 +21127,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -21417,9 +21207,7 @@ "slug": "get-rate-limit-status-for-the-authenticated-user", "category": "rate-limit", "categoryLabel": "Rate limit", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Accessing this endpoint does not count against your REST API rate limit.

\n

Note: The rate object is deprecated. If you're writing new API client code or updating existing code, you should use the core object instead of the rate object. The core object contains the same information that is present in the rate object.

", "responses": [ @@ -21498,9 +21286,7 @@ "slug": "delete-a-reaction-legacy", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -21605,9 +21391,7 @@ "slug": "get-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

When you pass the scarlet-witch-preview media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.

\n

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.

", "responses": [ @@ -21880,9 +21664,7 @@ "slug": "update-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: To edit a repository's topics, use the Replace all repository topics endpoint.

", "bodyParameters": [ { @@ -22117,9 +21899,7 @@ "slug": "delete-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Deleting a repository requires admin access. If OAuth is used, the delete_repo scope is required.

\n

If an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a 403 Forbidden response.

", "responses": [ @@ -22219,9 +21999,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the available assignees for issues in a repository.

", "responses": [ @@ -22305,9 +22083,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -22411,9 +22187,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -22504,9 +22278,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -22603,9 +22375,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -23189,9 +22959,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -23730,9 +23498,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -23816,9 +23582,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -23898,9 +23662,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.

", "responses": [ @@ -23980,9 +23742,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -24073,9 +23833,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -24279,9 +24037,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.

\n

Note: Passing new arrays of users and teams replaces their previous values.

", "responses": [ { @@ -24461,9 +24217,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -24554,9 +24308,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of true indicates you must sign commits on this branch. For more information, see Signing commits with GPG in GitHub Help.

\n

Note: You must enable branch protection to require signed commits.

", "responses": [ @@ -24648,9 +24400,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.

", "responses": [ @@ -24742,9 +24492,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -24828,9 +24576,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -24953,9 +24699,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.

", "bodyParameters": [ { @@ -25067,9 +24811,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -25148,9 +24890,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -25267,9 +25007,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -25409,9 +25147,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -25546,9 +25282,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -25651,9 +25385,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists who has access to this protected branch.

\n

Note: Users, apps, and teams restrictions are only available for organization-owned repositories.

", "responses": [ @@ -25738,9 +25470,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -25819,9 +25549,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

", "responses": [ @@ -25938,9 +25666,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified apps push access for this branch. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe GitHub Apps that have push access to this branch. Use the app's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -26070,9 +25796,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe GitHub Apps that have push access to this branch. Use the app's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -26202,9 +25926,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of an app to push to this branch. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe GitHub Apps that have push access to this branch. Use the app's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -26302,9 +26024,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the teams who have push access to this branch. The list includes child teams.

", "responses": [ @@ -26421,9 +26141,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified teams push access for this branch. You can also give push access to child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe teams that can have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -26553,9 +26271,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe teams that can have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -26685,9 +26401,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of a team to push to this branch. You can also remove push access for child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayTeams that should no longer have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -26785,9 +26499,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the people who have push access to this branch.

", "responses": [ @@ -26904,9 +26616,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified people push access for this branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -27036,9 +26746,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -27168,9 +26876,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of a user to push to this branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames of the people who should no longer have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -28280,9 +27986,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Creates a new check run for a specific commit in a repository. Your GitHub App must have the checks:write permission to create check runs.

\n

In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.

", "responses": [ { @@ -29310,9 +29014,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Gets a single check run using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -30371,9 +30073,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Updates a check run for a specific commit in a repository. Your GitHub App must have the checks:write permission to edit check runs.

", "responses": [ { @@ -31404,9 +31104,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -31509,9 +31207,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

By default, check suites are automatically created when you create a check run. You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"Update repository preferences for check suites\". Your GitHub App must have the checks:write permission to create check suites.

", "bodyParameters": [ { @@ -31681,9 +31377,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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. You must have admin permissions in the repository to set preferences for check suites.

", "responses": [ { @@ -31835,9 +31529,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Gets a single check suite using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the repo scope to get check suites in a private repository.

", "responses": [ @@ -31984,9 +31676,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check runs for a check suite using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -32073,9 +31763,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -32180,9 +31868,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Team members will include the members of child teams.

", "responses": [ @@ -32266,9 +31952,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -32389,9 +32073,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

For more information the permission levels, see \"Repository permission levels for an organization\".

\n

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.\"

\n

The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the repository invitations API endpoints.

\n

Rate limits

\n

To prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.

", "bodyParameters": [ { @@ -32512,9 +32194,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -32592,9 +32272,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Checks the repository permission of a collaborator. The possible repository permissions are admin, write, read, and none.

", "responses": [ @@ -32696,9 +32374,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Commit Comments use these custom media types. You can read more about the use of media types in the API here.

\n

Comments are ordered by ascending ID.

", "responses": [ @@ -32785,9 +32461,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -32898,9 +32572,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -32995,9 +32667,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -33126,9 +32796,7 @@ "slug": "list-reactions-for-a-commit-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a commit comment.

", "responses": [ @@ -33259,9 +32927,7 @@ "slug": "create-reaction-for-a-commit-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a commit comment. A response with a Status: 200 OK means that you already added the reaction type to this commit comment.

", "bodyParameters": [ { @@ -33391,9 +33057,7 @@ "slug": "delete-a-commit-comment-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -33532,9 +33196,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -33641,9 +33303,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch.

", "responses": [ @@ -33760,9 +33420,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Use the :commit_sha to specify the commit that will have its comments listed.

", "responses": [ @@ -33899,9 +33557,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a comment for a commit using its :commit_sha.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -34055,9 +33711,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the List pull requests endpoint.

", "responses": [ @@ -34142,9 +33796,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the contents of a single commit reference. You must have read access for the repository to use this endpoint.

\n

Note: If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.

\n

You can pass the appropriate media type to fetch diff and patch formats. Diffs with binary data will have no patch property.

\n

To return only the SHA-1 hash of the commit reference, you can provide the sha custom media type in the Accept header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -34306,9 +33958,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check runs for a commit ref. The ref can be a SHA, branch name, or a tag name. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -34436,9 +34086,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check suites for a commit ref. The ref can be a SHA, branch name, or a tag name. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the repo scope to get check suites in a private repository.

", "responses": [ @@ -34518,9 +34166,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

The most recent status for each context is returned, up to 100. This field paginates if there are over 100 contexts.

\n

Additionally, a combined state is returned. The state is one of:

\n", "responses": [ @@ -34625,9 +34271,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

This resource is also available via a legacy route: GET /repos/:owner/:repo/statuses/:ref.

", "responses": [ @@ -34707,9 +34351,7 @@ "slug": "get-the-code-of-conduct-for-a-repository", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This method returns the contents of the repository's code of conduct file, if one is detected.

", "responses": [ @@ -34797,9 +34439,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 <USERNAME>:branch.

\n

The response from the API is equivalent to running the git log base..head command; however, commits are returned in chronological order. Pass the appropriate media type to fetch diff and patch formats.

\n

The response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a renamed status have a previous_filename field showing the previous filename of the file, and files with a modified status have a patch field showing the changes made to the file.

\n

Working with large comparisons

\n

The response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the List commits to enumerate all commits in the range.

\n

For comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -34899,9 +34539,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets the contents of a file or directory in a repository. Specify the file path or directory in :path. If you omit\n:path, you will receive the contents of all files in the repository.

\n

Files and symlinks support a custom media type for\nretrieving the raw content or rendered HTML (when supported). All content types support a custom media\ntype to ensure the content is returned in a consistent\nobject format.

\n

Note:

\n\n

If the content is a directory

\n

The response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\nshould be \"submodule\". This behavior exists in API v3 for backwards compatibility purposes.\nIn the next major version of the API, the type will be returned as \"submodule\".

\n

If the content is a symlink

\n

If the requested :path points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object\ndescribing the symlink itself.

\n

If the content is a submodule

\n

The submodule_git_url identifies the location of the submodule repository, and the sha identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.

\n

If the submodule repository is not hosted on github.com, the Git URLs (git_url and _links[\"git\"]) and the\ngithub.com URLs (html_url and _links[\"html\"]) will have null values.

", "responses": [ @@ -35244,9 +34882,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new file or replaces an existing file in a repository.

", "responses": [ { @@ -35698,9 +35334,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Deletes a file in a repository.

\n

You can provide an additional committer parameter, which is an object containing information about the committer. Or, you can provide an author parameter, which is an object containing information about the author.

\n

The author section is optional and is filled in with the committer information if omitted. If the committer information is omitted, the authenticated user's information is used.

\n

You must provide values for both name and email, whether you choose to use author or committer. Otherwise, you'll receive a 422 status code.

", "responses": [ { @@ -35956,9 +35590,7 @@ "slug": "list-repository-contributors", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 v3 caches contributor data to improve performance.

\n

GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.

", "responses": [ @@ -36114,9 +35746,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Simple filtering of deployments is available via query parameters:

", "responses": [ @@ -36330,9 +35960,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Deployments offer a few configurable parameters with certain defaults.

\n

The ref parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.

\n

The environment parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as production, staging, and qa. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is production.

\n

The auto_merge parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref is behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.

\n

By default, commit statuses for every submitted context must be in a success\nstate. The required_contexts parameter allows you to specify a subset of contexts that must be success, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.

\n

The payload parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.

\n

The task parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe deploy:migrations to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.

\n

Users with repo or repo_deployment scopes can create a deployment for a given ref.

\n

Merged branch response

\n

You will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:

\n\n

If there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.

\n

Merge conflict response

\n

This error happens when the auto_merge option is enabled and when the default branch (in this case master), can't\nbe merged into the branch that's being deployed (in this case topic-branch), due to merge conflicts.

\n

Failed commit status checks

\n

This error happens when the required_contexts parameter indicates that one or more contexts need to have a success\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of success.

", "bodyParameters": [ { @@ -36555,9 +36183,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -36642,9 +36268,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -36766,9 +36390,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Users with pull access can view deployment statuses for a deployment:

", "responses": [ @@ -36967,9 +36589,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access can create deployment statuses for a given deployment.

\n

GitHub Apps require read & write access to \"Deployments\" and read-only access to \"Repo contents\" (for private repos). OAuth Apps require the repo_deployment scope.

", "bodyParameters": [ { @@ -37164,9 +36784,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Users with pull access can view a deployment status for a deployment:

", "responses": [ @@ -37266,9 +36884,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -37373,9 +36989,7 @@ "categoryLabel": "Repos", "subcategory": "forks", "subcategoryLabel": "Forks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -37470,9 +37084,7 @@ "categoryLabel": "Repos", "subcategory": "forks", "subcategoryLabel": "Forks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a fork for the authenticated user.

\n

Note: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact GitHub Enterprise Server Support or GitHub Enterprise Server Premium Support.

", "bodyParameters": [ { @@ -37609,9 +37221,7 @@ "categoryLabel": "Git", "subcategory": "blobs", "subcategoryLabel": "Blobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -37730,9 +37340,7 @@ "categoryLabel": "Git", "subcategory": "blobs", "subcategoryLabel": "Blobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The content in the response will always be Base64 encoded.

\n

Note: This API supports blobs up to 100 megabytes in size.

", "responses": [ @@ -38030,9 +37638,7 @@ "categoryLabel": "Git", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new Git commit object.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ { @@ -38308,9 +37914,7 @@ "categoryLabel": "Git", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a Git commit object.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -38415,9 +38019,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns an array of references from your Git database that match the supplied name. The :ref in the URL must be formatted as heads/<branch name> for branches and tags/<tag name> for tags. If the :ref doesn't exist in the repository, but existing refs start with :ref, they will be returned as an array.

\n

When you use this endpoint without providing a :ref, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just heads and tags.

\n

Note: You need to explicitly request a pull request to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"Checking mergeability of pull requests\".

\n

If you request matching references for a branch named feature but the branch feature doesn't exist, the response can still include other matching head refs that start with the word feature, such as featureA and featureB.

", "responses": [ @@ -38497,9 +38099,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a single reference from your Git database. The :ref in the URL must be formatted as heads/<branch name> for branches and tags/<tag name> for tags. If the :ref doesn't match an existing ref, a 404 is returned.

\n

Note: You need to explicitly request a pull request to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"Checking mergeability of pull requests\".

", "responses": [ @@ -38620,9 +38220,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -38772,9 +38370,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -38879,9 +38475,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -39097,9 +38691,7 @@ "categoryLabel": "Git", "subcategory": "tags", "subcategoryLabel": "Tags", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 the refs/tags/[tag] reference. If you want to create a lightweight tag, you only have to create the tag reference - this call would be unnecessary.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ { @@ -39298,9 +38890,7 @@ "categoryLabel": "Git", "subcategory": "tags", "subcategoryLabel": "Tags", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -39547,9 +39137,7 @@ "categoryLabel": "Git", "subcategory": "trees", "subcategoryLabel": "Trees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

If you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"Create a commit\" and \"Update a reference.\"

", "responses": [ { @@ -39801,9 +39389,7 @@ "categoryLabel": "Git", "subcategory": "trees", "subcategoryLabel": "Trees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a single tree using the SHA1 value for that tree.

\n

If truncated is true in the response then the number of items in the tree array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.

", "responses": [ @@ -39909,9 +39495,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -40187,9 +39771,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Repositories can have multiple webhooks installed. Each webhook should have a unique config. Multiple webhooks can\nshare the same config as long as those webhooks do not have any events that overlap.

", "responses": [ { @@ -40458,9 +40040,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a webhook configured in a repository. To get only the webhook config properties, see \"Get a webhook configuration for a repository.\"

", "responses": [ @@ -40750,9 +40330,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

", "responses": [ { @@ -41031,9 +40609,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -41116,9 +40692,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -41201,9 +40775,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -41392,9 +40964,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.

", "responses": [ @@ -41501,9 +41071,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -41600,9 +41168,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -41802,9 +41368,7 @@ "slug": "list-repository-issues", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List issues in a repository.

\n

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe pull_request key. Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull\nrequest id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -41996,9 +41560,7 @@ "slug": "create-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Any user with pull access to a repository can create an issue. If issues are disabled in the repository, the API returns a 410 Gone status.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -42243,9 +41805,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

By default, Issue Comments are ordered by ascending ID.

", "responses": [ @@ -42342,9 +41902,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -42455,9 +42013,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -42552,9 +42108,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -42678,9 +42232,7 @@ "slug": "list-reactions-for-an-issue-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to an issue comment.

", "responses": [ @@ -42811,9 +42363,7 @@ "slug": "create-reaction-for-an-issue-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to an issue comment. A response with a Status: 200 OK means that you already added the reaction type to this issue comment.

", "bodyParameters": [ { @@ -42943,9 +42493,7 @@ "slug": "delete-an-issue-comment-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -43047,9 +42595,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -43152,9 +42698,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -43254,9 +42798,7 @@ "slug": "get-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The API returns a 301 Moved Permanently status if the issue was\ntransferred to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a 404 Not Found status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a 410 Gone status. To receive webhook events for transferred and deleted issues, subscribe\nto the issues webhook.

\n

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe pull_request key. Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull\nrequest id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -43472,9 +43014,7 @@ "slug": "update-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Issue owners and users with push access can edit an issue.

", "bodyParameters": [ { @@ -43709,9 +43249,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.

", "bodyParameters": [ { @@ -43833,9 +43371,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Removes one or more assignees from an issue.

", "bodyParameters": [ { @@ -43965,9 +43501,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Issue Comments are ordered by ascending ID.

", "responses": [ @@ -44084,9 +43618,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -44229,9 +43761,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -44336,9 +43866,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -44455,9 +43983,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -44589,9 +44115,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Removes any previous labels and sets the new labels for an issue.

", "bodyParameters": [ { @@ -44694,9 +44218,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -44789,9 +44311,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -44911,9 +44431,7 @@ "slug": "lock-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -45026,9 +44544,7 @@ "slug": "unlock-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -45162,9 +44678,7 @@ "slug": "list-reactions-for-an-issue", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to an issue.

", "responses": [ @@ -45424,9 +44938,7 @@ "slug": "delete-an-issue-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -45538,9 +45050,7 @@ "categoryLabel": "Issues", "subcategory": "timeline", "subcategoryLabel": "Timeline", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -45645,9 +45155,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -45763,9 +45271,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

You can create a read-only deploy key.

", "bodyParameters": [ { @@ -45878,9 +45384,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -45965,9 +45469,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -46056,9 +45558,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -46179,9 +45679,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -46298,9 +45796,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -46427,9 +45923,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -46536,9 +46030,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -46605,9 +46097,7 @@ "slug": "list-repository-languages", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.

", "responses": [ @@ -46675,9 +46165,7 @@ "slug": "get-the-license-for-a-repository", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This method returns the contents of the repository's license file, if one is detected.

\n

Similar to Get repository content, this method also supports custom media types for retrieving the raw license content or rendered license HTML.

", "responses": [ @@ -46794,9 +46282,7 @@ "categoryLabel": "Repos", "subcategory": "merging", "subcategoryLabel": "Merging", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -46988,9 +46474,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -47126,9 +46610,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -47260,9 +46742,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -47405,9 +46885,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -47529,9 +47007,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -47635,9 +47111,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -47938,9 +47412,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -48119,9 +47591,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Configures a GitHub Enterprise Server Pages site. For more information, see \"About GitHub Pages.\"

", "responses": [ { @@ -48344,9 +47814,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -48480,9 +47948,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -48586,9 +48052,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -48658,9 +48122,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.

", "responses": [ @@ -48730,9 +48192,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -48811,9 +48271,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -48910,9 +48368,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.

", "responses": [ @@ -48998,9 +48454,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -49109,9 +48563,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

For pre-receive hooks which are allowed to be configured at the repo level, you can set enforcement

", "bodyParameters": [ { @@ -49207,9 +48659,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Deletes any overridden enforcement on this repository for the specified hook.

\n

Responds with effective values inherited from owner and/or global level.

", "responses": [ @@ -49320,9 +48770,7 @@ "slug": "list-repository-projects", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -49458,9 +48906,7 @@ "slug": "create-a-repository-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a repository project board. 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.

", "bodyParameters": [ { @@ -49665,9 +49111,7 @@ "slug": "list-pull-requests", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.

", "responses": [ @@ -49836,9 +49280,7 @@ "slug": "create-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" for details.

", "bodyParameters": [ { @@ -50054,9 +49496,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -50149,9 +49589,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Provides details for a review comment.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -50269,9 +49707,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Enables you to edit a review comment.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n", "bodyParameters": [ { @@ -50361,9 +49797,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -50492,9 +49926,7 @@ "slug": "list-reactions-for-a-pull-request-review-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a pull request review comment.

", "responses": [ @@ -50625,9 +50057,7 @@ "slug": "create-reaction-for-a-pull-request-review-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a pull request review comment. A response with a Status: 200 OK means that you already added the reaction type to this pull request review comment.

", "bodyParameters": [ { @@ -50757,9 +50187,7 @@ "slug": "delete-a-pull-request-comment-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -50835,9 +50263,7 @@ "slug": "get-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists details of a pull request by providing its number.

\n

When you get, create, or edit a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the mergeable key. For more information, see \"Checking mergeability of pull requests\".

\n

The value of the mergeable attribute can be true, false, or null. If the value is null, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-null value for the mergeable attribute in the response. If mergeable is true, then merge_commit_sha will be the SHA of the test merge commit.

\n

The value of the merge_commit_sha attribute changes depending on the state of the pull request. Before merging a pull request, the merge_commit_sha attribute holds the SHA of the test merge commit. After merging a pull request, the merge_commit_sha attribute changes depending on how you merged the pull request:

\n\n

Pass the appropriate media type to fetch diff and patch formats.

", "responses": [ @@ -51001,9 +50427,7 @@ "slug": "update-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.

", "bodyParameters": [ { @@ -51214,9 +50638,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Lists all review comments for a pull request. By default, review comments are in ascending order by ID.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -51432,9 +50854,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"Create an issue comment.\" We recommend creating a review comment using line, side, and optionally start_line and start_side if your comment applies to more than one line in the pull request diff.

\n

You can still create a review comment using the position parameter. When you use position, the line, side, start_line, and start_side parameters are not required. For more information, see Multi-line comment summary.

\n

Note: The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n", "bodyParameters": [ { @@ -51763,9 +51183,7 @@ "slug": "list-commits-on-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

", "responses": [ @@ -51862,9 +51280,7 @@ "slug": "list-pull-requests-files", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.

", "responses": [ @@ -51951,9 +51367,7 @@ "slug": "check-if-a-pull-request-has-been-merged", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -52087,9 +51501,7 @@ "slug": "merge-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -52257,9 +51669,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -52384,9 +51794,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -52545,9 +51953,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -52675,9 +52081,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The list of reviews returns in chronological order.

", "responses": [ @@ -52964,9 +52368,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Pull request reviews created in the PENDING state do not include the submitted_at property in the response.

\n

Note: To comment on a specific line in a file, you need to first determine the position of that line in the diff. The GitHub REST API v3 offers the application/vnd.github.v3.diff media type. To see a pull request diff, add this media type to the Accept header of a call to the single pull request endpoint.

\n

The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.

", "responses": [ { @@ -53250,9 +52652,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -53372,9 +52772,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Update the review summary comment with new text.

", "bodyParameters": [ { @@ -53478,9 +52876,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -53599,9 +52995,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List comments for a specific pull request review.

", "responses": [ @@ -53727,9 +53121,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: To dismiss a pull request review on a protected branch, you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.

", "bodyParameters": [ { @@ -53884,9 +53276,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -54137,9 +53527,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets the preferred README for a repository.

\n

READMEs support custom media types for retrieving the raw content or rendered HTML.

", "responses": [ @@ -54239,9 +53627,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Information about published releases are available to everyone. Only users with push access will receive listings for draft releases.

", "responses": [ @@ -54395,9 +53781,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can create a release.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -54539,9 +53923,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

To download the asset's binary content, set the Accept header of the request to application/octet-stream. 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.

", "responses": [ @@ -54678,9 +54060,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can edit a release asset.

", "bodyParameters": [ { @@ -54788,9 +54168,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -54859,9 +54237,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

View the latest published full release for the repository.

\n

The latest release is the most recent non-prerelease, non-draft release, sorted by the created_at attribute. The created_at attribute is the date of the commit used for the release, and not the date when the release was drafted or published.

", "responses": [ @@ -54941,9 +54317,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a published release with the specified tag.

", "responses": [ @@ -55028,9 +54402,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: This returns an upload_url key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource.

", "responses": [ @@ -55188,9 +54560,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can edit a release.

", "bodyParameters": [ { @@ -55325,9 +54695,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -55426,9 +54794,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -55545,9 +54911,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This endpoint makes use of a Hypermedia relation 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\nthe response of the Create a release endpoint to upload a release asset.

\n

You need to use an HTTP client which supports SNI to make calls to this endpoint.

\n

Most libraries will set the required Content-Length header automatically. Use the required Content-Type header to provide the media type of the asset. For a list of media types, see Media Types. For example:

\n

application/zip

\n

GitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.

\n

When an upstream failure occurs, you will receive a 502 Bad Gateway status. This may leave an empty asset with a state of starter. It can be safely deleted.

\n

Notes:

\n", "responses": [ @@ -55637,9 +55001,7 @@ "categoryLabel": "Activity", "subcategory": "starring", "subcategoryLabel": "Starring", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people that have starred the repository.

\n

You can also find out when stars were created by passing the following custom media type via the Accept header:

", "responses": [ @@ -55714,9 +55076,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

", "responses": [ @@ -55786,9 +55146,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the last year of commit activity grouped by week. The days array is a group of commits per day, starting on Sunday.

", "responses": [ @@ -55858,9 +55216,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", "responses": [ @@ -55930,9 +55286,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

The array order is oldest week (index 0) to most recent week.

", "responses": [ @@ -56007,9 +55361,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Each array contains the day number, hour number, and number of commits:

\n\n

For example, [2, 14, 25] indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.

", "responses": [ @@ -56151,9 +55503,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access in a repository can create commit statuses for a given SHA.

\n

Note: there is a limit of 1000 statuses per sha and context within a repository. Attempts to create more than 1000 statuses will result in a validation error.

", "bodyParameters": [ { @@ -56287,9 +55637,7 @@ "categoryLabel": "Activity", "subcategory": "watching", "subcategoryLabel": "Watching", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people watching the specified repository.

", "responses": [ @@ -56644,9 +55992,7 @@ "slug": "list-repository-tags", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -56725,9 +56071,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -56814,9 +56158,7 @@ "slug": "list-repository-teams", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -56891,9 +56233,7 @@ "slug": "get-all-repository-topics", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -57012,9 +56352,7 @@ "slug": "replace-all-repository-topics", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -57149,9 +56487,7 @@ "slug": "transfer-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -57248,9 +56584,7 @@ "slug": "enable-vulnerability-alerts", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -57324,9 +56658,7 @@ "slug": "disable-vulnerability-alerts", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -57404,9 +56736,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -57672,9 +57002,7 @@ "slug": "list-public-repositories", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.

", "responses": [ @@ -57792,9 +57120,7 @@ "slug": "search-code", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Searches for query terms inside of a file. This method returns up to 100 results per page.

\n

When searching for code, you can get text match metadata for the file content and file path fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to find the definition of the addClass function inside jQuery repository, your query would look something like this:

\n

q=addClass+in:file+language:js+repo:jquery/jquery

\n

This query searches for the keyword addClass within a file's contents. The query limits the search to files where the language is JavaScript in the jquery/jquery repository.

\n

Considerations for code search

\n

Due to the complexity of searching code, there are a few restrictions on how searches are performed:

\n", "responses": [ @@ -57930,9 +57256,7 @@ "slug": "search-commits", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find commits via various criteria on the default branch (usually master). This method returns up to 100 results per page.

\n

When searching for commits, you can get text match metadata for the message field when you provide the text-match media type. For more details about how to receive highlighted search results, see Text match\nmetadata.

\n

For example, if you want to find commits related to CSS in the octocat/Spoon-Knife repository. Your query would look something like this:

\n

q=repo:octocat/Spoon-Knife+css

", "responses": [ @@ -58060,9 +57384,7 @@ "slug": "search-issues-and-pull-requests", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find issues by state and keyword. This method returns up to 100 results per page.

\n

When searching for issues, you can get text match metadata for the issue title, issue body, and issue comment body fields when you pass the text-match media type. For more details about how to receive highlighted\nsearch results, see Text match metadata.

\n

For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.

\n

q=windows+label:bug+language:python+state:open&sort=created&order=asc

\n

This query searches for the keyword windows, within any open issue that is labeled as bug. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.

\n

Note: For user-to-server GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the is:issue or is:pull-request qualifier will receive an HTTP 422 Unprocessable Entity response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the is qualifier, see \"Searching only issues or pull requests.\"

", "responses": [ @@ -58181,9 +57503,7 @@ "slug": "search-labels", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results per page.

\n

When searching for labels, you can get text match metadata for the label name and description fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to find labels in the linguist repository that match bug, defect, or enhancement. Your query might look like this:

\n

q=bug+defect+enhancement&repository_id=64778136

\n

The labels that best match the query appear first in the search results.

", "responses": [ @@ -58321,9 +57641,7 @@ "slug": "search-repositories", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find repositories via various criteria. This method returns up to 100 results per page.

\n

When searching for repositories, you can get text match metadata for the name and description fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:

\n

q=tetris+language:assembly&sort=stars&order=desc

\n

This query searches for repositories with the word tetris in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.

\n

When you include the mercy preview header, you can also search for multiple topics by adding more topic: instances. For example, your query might look like this:

\n

q=topic:ruby+topic:rails

", "responses": [ @@ -58405,9 +57723,7 @@ "slug": "search-topics", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results per page. See \"Searching topics\" for a detailed list of qualifiers.

\n

When searching for topics, you can get text match metadata for the topic's short_description, description, name, or display_name field when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:

\n

q=ruby+is:featured

\n

This query searches for topics with the keyword ruby and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.

", "responses": [ @@ -58527,9 +57843,7 @@ "slug": "search-users", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find users via various criteria. This method returns up to 100 results per page.

\n

When searching for users, you can get text match metadata for the issue login, email, and name fields when you pass the text-match media type. For more details about highlighting search results, see Text match metadata. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you're looking for a list of popular users, you might try this query:

\n

q=tom+repos:%3E42+followers:%3E1000

\n

This query searches for users with the name tom. The results are restricted to users with more than 42 repositories and over 1,000 followers.

", "responses": [ @@ -59394,9 +58708,7 @@ "slug": "get-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

", "responses": [ @@ -59538,9 +58850,7 @@ "slug": "update-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

To edit a team, the authenticated user must either be an organization owner or a team maintainer.

\n

Note: With nested teams, the privacy for parent teams cannot be secret.

", "bodyParameters": [ { @@ -59674,9 +58984,7 @@ "slug": "delete-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -59791,9 +59099,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

List all discussions on a team's page. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -59912,9 +59218,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Creates a new discussion post on a team's page. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -60023,9 +59327,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Get a specific discussion on a team's page. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -60137,9 +59439,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

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.

", "bodyParameters": [ { @@ -60231,9 +59531,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -60347,9 +59645,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

List all comments on a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -60456,9 +59752,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Creates a new comment on a team discussion. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -60557,9 +59851,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Get a specific comment on a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -60674,9 +59966,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Edits the body text of a discussion comment. OAuth access tokens require the write:discussion scope.

", "bodyParameters": [ { @@ -60768,9 +60058,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -60896,9 +60184,7 @@ "slug": "list-reactions-for-a-team-discussion-comment-legacy", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

List the reactions to a team discussion comment. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -61021,9 +60307,7 @@ "slug": "create-reaction-for-a-team-discussion-comment-legacy", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Create a reaction to a team discussion comment. OAuth access tokens require the write:discussion scope. A response with a Status: 200 OK means that you already added the reaction type to this team discussion comment.

", "bodyParameters": [ { @@ -61161,9 +60445,7 @@ "slug": "list-reactions-for-a-team-discussion-legacy", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

List the reactions to a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -61397,9 +60679,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Team members will include the members of child teams.

", "responses": [ @@ -61477,9 +60757,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -61556,9 +60834,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The \"Add team member\" endpoint (described below) is deprecated.

\n

We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

\n

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.

\n

Note: When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub Enterprise Server.\"

\n

Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

", "responses": [ @@ -61652,9 +60928,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -61731,9 +61005,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Team members will include the members of child teams.

\n

To get a user's membership with a team, the team must be visible to the authenticated user.

\n

Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

", "responses": [ @@ -61848,9 +61120,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.

\n

Note: When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub Enterprise Server.\"

\n

If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.

\n

If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.

", "bodyParameters": [ { @@ -61960,9 +61230,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -62055,9 +61323,7 @@ "slug": "list-team-projects-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Lists the organization projects for a team.

", "responses": [ @@ -62145,9 +61411,7 @@ "slug": "check-team-permissions-for-a-project-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Checks whether a team has read, write, or admin permissions for an organization project. The response includes projects inherited from a parent team.

", "responses": [ @@ -62260,9 +61524,7 @@ "slug": "add-or-update-team-project-permissions-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

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.

", "bodyParameters": [ { @@ -62368,9 +61630,7 @@ "slug": "remove-a-project-from-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -62466,9 +61726,7 @@ "slug": "list-team-repositories-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

", "responses": [ @@ -62553,9 +61811,7 @@ "slug": "check-team-permissions-for-a-repository-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -62669,9 +61925,7 @@ "slug": "add-or-update-team-repository-permissions-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -62775,9 +62029,7 @@ "slug": "remove-a-repository-from-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -62858,9 +62110,7 @@ "slug": "list-child-teams-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

", "responses": [ @@ -65748,9 +64998,7 @@ "slug": "create-a-user-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -67419,9 +66667,7 @@ "slug": "list-users", "category": "users", "categoryLabel": "Users", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", "responses": [ @@ -67485,9 +66731,7 @@ "slug": "get-a-user", "category": "users", "categoryLabel": "Users", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Provides publicly available information about someone with a GitHub account.

\n

GitHub Apps with the Plan user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"Identifying and authorizing users for GitHub Apps\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"

\n

The email key in the following response is the publicly visible email address from your GitHub Enterprise Server profile page. When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for email, then it will have a value of null. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see Authentication.

\n

The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"Emails API\".

", "responses": [ @@ -67579,9 +66823,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -67750,9 +66992,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -67832,9 +67072,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people following the specified user.

", "responses": [ @@ -67915,9 +67153,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people who the specified user follows.

", "responses": [ @@ -67987,9 +67223,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -68168,9 +67402,7 @@ "categoryLabel": "Users", "subcategory": "gpg-keys", "subcategoryLabel": "Gpg keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the GPG keys for a user. This information is accessible by anyone.

", "responses": [ @@ -68422,9 +67654,7 @@ "categoryLabel": "Users", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the verified public SSH keys for a user. This is accessible by anyone.

", "responses": [ @@ -68503,9 +67733,7 @@ "slug": "list-organizations-for-a-user", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List public organization memberships for the specified user.

\n

This method only lists public memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the List organizations for the authenticated user API instead.

", "responses": [ @@ -68698,9 +67926,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -68780,9 +68006,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -68914,9 +68138,7 @@ "slug": "list-repositories-for-a-user", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists public repositories for the specified user.

", "responses": [ @@ -69147,9 +68369,7 @@ "categoryLabel": "Activity", "subcategory": "starring", "subcategoryLabel": "Starring", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories a user has starred.

\n

You can also find out when stars were created by passing the following custom media type via the Accept header:

", "responses": [ @@ -69230,9 +68450,7 @@ "categoryLabel": "Activity", "subcategory": "watching", "subcategoryLabel": "Watching", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories a user is watching.

", "responses": [ @@ -69456,9 +68674,7 @@ "slug": "get-the-zen-of-github", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", diff --git a/lib/rest/static/decorated/ghes-2.22.json b/lib/rest/static/decorated/ghes-2.22.json index 4ac7357ca844..6be80977d7e5 100644 --- a/lib/rest/static/decorated/ghes-2.22.json +++ b/lib/rest/static/decorated/ghes-2.22.json @@ -31,9 +31,7 @@ "slug": "github-api-root", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -3528,9 +3526,7 @@ "slug": "get-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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\" endpoint.

\n

You must use a JWT to access this endpoint.

", "responses": [ @@ -3688,9 +3684,7 @@ "slug": "list-installations-for-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

You must use a JWT to access this endpoint.

\n

The permissions the installation has are included under the permissions key.

", "responses": [ @@ -3750,9 +3744,7 @@ "slug": "get-an-installation-for-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (target_type) will be either an organization or a user account, depending which account the repository belongs to.

\n

You must use a JWT to access this endpoint.

", "responses": [ @@ -4031,9 +4023,7 @@ "slug": "create-an-installation-access-token-for-an-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

You must use a JWT to access this endpoint.

", "responses": [ { @@ -5194,9 +5184,7 @@ "slug": "get-an-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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).

\n

If the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a personal access token or an installation access token to access this endpoint.

", "responses": [ @@ -6354,9 +6342,7 @@ "slug": "get-all-codes-of-conduct", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -6432,9 +6418,7 @@ "slug": "get-a-code-of-conduct", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -6554,9 +6538,7 @@ "categoryLabel": "Apps", "subcategory": "installations", "subcategoryLabel": "Installations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 to create an attachment.

\n

The app must create a content attachment within six hours of the content reference URL being posted. See \"Using content attachments\" for details about content attachments.

\n

You must use an installation access token to access this endpoint.

", "bodyParameters": [ { @@ -6658,9 +6640,7 @@ "slug": "get-emojis", "category": "emojis", "categoryLabel": "Emojis", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -8547,9 +8527,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -8614,9 +8592,7 @@ "categoryLabel": "Activity", "subcategory": "feeds", "subcategoryLabel": "Feeds", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

GitHub Enterprise Server provides several timeline resources in Atom format. The Feeds API lists all the feeds available to the authenticated user:

\n\n

Note: Private feeds are only returned when authenticating via Basic Auth since current feed URIs use the older, non revocable auth tokens.

", "responses": [ @@ -10547,9 +10523,7 @@ "slug": "get-all-gitignore-templates", "category": "gitignore", "categoryLabel": "Gitignore", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all templates available to pass as an option when creating a repository.

", "responses": [ @@ -10613,9 +10587,7 @@ "slug": "get-a-gitignore-template", "category": "gitignore", "categoryLabel": "Gitignore", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The API also allows fetching the source of a single template.\nUse the raw media type to get the raw contents.

", "responses": [ @@ -10699,9 +10671,7 @@ "categoryLabel": "Apps", "subcategory": "installations", "subcategoryLabel": "Installations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List repositories that an app installation can access.

\n

You must use an installation access token to access this endpoint.

", "responses": [ @@ -10767,9 +10737,7 @@ "categoryLabel": "Apps", "subcategory": "installations", "subcategoryLabel": "Installations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -11050,9 +11018,7 @@ "slug": "get-all-commonly-used-licenses", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -11116,9 +11082,7 @@ "slug": "get-a-license", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -11229,9 +11193,7 @@ "slug": "render-a-markdown-document", "category": "markdown", "categoryLabel": "Markdown", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -11332,9 +11294,7 @@ "slug": "render-a-markdown-document-in-raw-mode", "category": "markdown", "categoryLabel": "Markdown", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -11387,9 +11347,7 @@ "slug": "get-github-enterprise-server-meta-information", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This endpoint provides a list of GitHub's IP addresses. For more information, see \"About GitHub's IP addresses.\"

", "responses": [ @@ -11484,9 +11442,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -12224,9 +12180,7 @@ "slug": "get-octocat", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -12295,9 +12249,7 @@ "slug": "list-organizations", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub Enterprise Server.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", "responses": [ @@ -12368,9 +12320,7 @@ "slug": "get-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

GitHub Apps with the Organization plan permission can use this endpoint to retrieve information about an organization's GitHub Enterprise Server plan. See \"Authenticating with GitHub Apps\" for details. For an example response, see 'Response with GitHub Enterprise Server plan information' below.\"

", "responses": [ @@ -12636,9 +12586,7 @@ "slug": "update-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Parameter Deprecation Notice: GitHub Enterprise Server 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.

\n

Enables an authenticated organization owner with the admin:org scope to update the organization's profile and member privileges.

", "bodyParameters": [ { @@ -12901,9 +12849,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.\nYou must authenticate using an access token with the admin:org scope to use this endpoint.

", "responses": [ @@ -13040,9 +12986,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"GitHub's products.\"

\n

Creates a new self-hosted runner group for an organization.

\n

You must authenticate using an access token with the admin:org scope to use this endpoint.

", "bodyParameters": [ { @@ -13164,9 +13108,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a specific self-hosted runner group for an organization.\nYou must authenticate using an access token with the admin:org scope to use this endpoint.

", "responses": [ @@ -13275,9 +13217,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Updates the name and visibility of a self-hosted runner group in an organization.\nYou must authenticate using an access token with the admin:org scope to use this endpoint.

", "bodyParameters": [ { @@ -13372,9 +13312,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -13444,9 +13382,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see \"GitHub's products.\"

\n

Lists the repositories with access to a self-hosted runner group configured in an organization.

\n

You must authenticate using an access token with the admin:org scope to use this endpoint.

", "responses": [ @@ -13550,9 +13486,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -13645,9 +13579,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -13726,9 +13658,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -13818,9 +13748,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists self-hosted runners that are in a specific organization group.\nYou must authenticate using an access token with the admin:org scope to use this endpoint.

", "responses": [ @@ -13924,9 +13852,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -14020,9 +13946,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -14102,9 +14026,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runner-groups", "subcategoryLabel": "Self hosted runner groups", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -14184,9 +14106,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all self-hosted runners configured in an organization.

\n

You must authenticate using an access token with the admin:org scope to use this endpoint.

", "responses": [ @@ -14247,9 +14167,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists binaries for the runner application that you can download and run.

\n

You must authenticate using an access token with the admin:org scope to use this endpoint.

", "responses": [ @@ -14310,9 +14228,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a token that you can pass to the config script. The token expires after one hour.

\n

You must authenticate using an access token with the admin:org scope to use this endpoint.

\n

Example using registration token

\n

Configure your self-hosted runner, replacing TOKEN with the registration token provided by this endpoint.

\n
./config.sh --url https://github.com/octo-org --token TOKEN\n
", "responses": [ @@ -14373,9 +14289,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

You must authenticate using an access token with the admin:org scope to use this endpoint.

\n

Example using remove token

\n

To remove your self-hosted runner from an organization, replace TOKEN with the remove token provided by this\nendpoint.

\n
./config.sh remove --token TOKEN\n
", "responses": [ @@ -14446,9 +14360,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a specific self-hosted runner configured in an organization.

\n

You must authenticate using an access token with the admin:org scope to use this endpoint.

", "responses": [ @@ -14519,9 +14431,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -14601,9 +14511,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -14664,9 +14572,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -14737,9 +14643,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -14874,9 +14778,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -14996,9 +14898,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -15068,9 +14968,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -15169,9 +15067,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -15263,9 +15159,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -15349,9 +15243,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -15436,9 +15328,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -15518,9 +15408,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -15787,9 +15675,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Here's how you can create a hook that posts payloads in JSON format:

", "responses": [ { @@ -16044,9 +15930,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a webhook configured in an organization. To get only the webhook config properties, see \"Get a webhook configuration for an organization.\"

", "responses": [ @@ -16276,9 +16160,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

", "responses": [ { @@ -16497,9 +16379,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -16573,9 +16453,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -16717,9 +16595,7 @@ "slug": "list-app-installations-for-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -17007,9 +16883,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -17089,9 +16963,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -17170,9 +17042,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -17246,9 +17116,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

In order to get a user's membership with an organization, the authenticated user must be an organization member.

", "responses": [ @@ -17365,9 +17233,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", "bodyParameters": [ { @@ -17468,9 +17334,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -17575,9 +17439,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all users who are outside collaborators of an organization.

", "responses": [ @@ -17647,9 +17509,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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\".

", "responses": [ @@ -17740,9 +17600,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Removing a user from this list will remove them from all the organization's repositories.

", "responses": [ @@ -17835,9 +17693,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.

", "responses": [ @@ -17914,9 +17770,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -18026,9 +17880,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

For pre-receive hooks which are allowed to be configured at the org level, you can set enforcement and allow_downstream_configuration

", "bodyParameters": [ { @@ -18124,9 +17976,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "org-pre-receive-hooks", "subcategoryLabel": "Org pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Removes any overrides for this hook at the org level for this org.

", "responses": [ @@ -18228,9 +18078,7 @@ "slug": "list-organization-projects", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -18337,9 +18185,7 @@ "slug": "create-an-organization-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates an organization project board. 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.

", "bodyParameters": [ { @@ -18464,9 +18310,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Members of an organization can choose to have their membership publicized or not.

", "responses": [ @@ -18536,9 +18380,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -18827,9 +18669,7 @@ "slug": "list-organization-repositories", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories for the specified organization.

", "responses": [ @@ -19093,9 +18933,7 @@ "slug": "create-an-organization-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

\n

OAuth scope requirements

\n

When using OAuth, authorizations must include:

\n", "bodyParameters": [ { @@ -19354,9 +19192,7 @@ "slug": "list-teams", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all teams in an organization that are visible to the authenticated user.

", "responses": [ @@ -19519,9 +19355,7 @@ "slug": "create-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

\n

When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of maintainers. For more information, see \"About teams\".

", "bodyParameters": [ { @@ -19680,9 +19514,7 @@ "slug": "get-a-team-by-name", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a team using the team's slug. GitHub Enterprise Server generates the slug from the team name.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}.

", "responses": [ @@ -19830,9 +19662,7 @@ "slug": "update-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

To edit a team, the authenticated user must either be an organization owner or a team maintainer.

\n

Note: You can also specify a team by org_id and team_id using the route PATCH /organizations/{org_id}/team/{team_id}.

", "bodyParameters": [ { @@ -19957,9 +19787,7 @@ "slug": "delete-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -20071,9 +19899,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all discussions on a team's page. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/discussions.

", "responses": [ @@ -20199,9 +20025,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new discussion post on a team's page. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Note: You can also specify a team by org_id and team_id using the route POST /organizations/{org_id}/team/{team_id}/discussions.

", "bodyParameters": [ { @@ -20317,9 +20141,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a specific discussion on a team's page. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}.

", "responses": [ @@ -20438,9 +20260,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Note: You can also specify a team by org_id and team_id using the route PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}.

", "bodyParameters": [ { @@ -20539,9 +20359,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -20662,9 +20480,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all comments on a team discussion. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments.

", "responses": [ @@ -20778,9 +20594,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new comment on a team discussion. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Note: You can also specify a team by org_id and team_id using the route POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments.

", "bodyParameters": [ { @@ -20886,9 +20700,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a specific comment on a team discussion. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}.

", "responses": [ @@ -21010,9 +20822,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Edits the body text of a discussion comment. OAuth access tokens require the write:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}.

", "bodyParameters": [ { @@ -21111,9 +20921,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -21246,9 +21054,7 @@ "slug": "list-reactions-for-a-team-discussion-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a team discussion comment. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions.

", "responses": [ @@ -21378,9 +21184,7 @@ "slug": "create-reaction-for-a-team-discussion-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a team discussion comment. OAuth access tokens require the write:discussion scope. A response with a Status: 200 OK means that you already added the reaction type to this team discussion comment.

\n

Note: You can also specify a team by org_id and team_id using the route POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions.

", "bodyParameters": [ { @@ -21503,9 +21307,7 @@ "slug": "delete-team-discussion-comment-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -21629,9 +21431,7 @@ "slug": "list-reactions-for-a-team-discussion", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a team discussion. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions.

", "responses": [ @@ -21866,9 +21666,7 @@ "slug": "delete-team-discussion-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -21974,9 +21772,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Team members will include the members of child teams.

\n

To list members in a team, the team must be visible to the authenticated user.

", "responses": [ @@ -22056,9 +21852,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Team members will include the members of child teams.

\n

To get a user's membership with a team, the team must be visible to the authenticated user.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/memberships/{username}.

\n

Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

", "responses": [ @@ -22180,9 +21974,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.

\n

Note: When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub Enterprise Server.\"

\n

An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.

\n

If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.

\n

Note: You can also specify a team by org_id and team_id using the route PUT /organizations/{org_id}/team/{team_id}/memberships/{username}.

", "bodyParameters": [ { @@ -22294,9 +22086,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -22396,9 +22186,7 @@ "slug": "list-team-projects", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the organization projects for a team.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/projects.

", "responses": [ @@ -22483,9 +22271,7 @@ "slug": "check-team-permissions-for-a-project", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Checks whether a team has read, write, or admin permissions for an organization project. The response includes projects inherited from a parent team.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/projects/{project_id}.

", "responses": [ @@ -22600,9 +22386,7 @@ "slug": "add-or-update-team-project-permissions", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Note: You can also specify a team by org_id and team_id using the route PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}.

", "bodyParameters": [ { @@ -22700,9 +22484,7 @@ "slug": "remove-a-project-from-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -22790,9 +22572,7 @@ "slug": "list-team-repositories", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists a team's repositories visible to the authenticated user.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/repos.

", "responses": [ @@ -22879,9 +22659,7 @@ "slug": "check-team-permissions-for-a-repository", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -23004,9 +22782,7 @@ "slug": "add-or-update-team-repository-permissions", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -23109,9 +22885,7 @@ "slug": "remove-a-repository-from-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -23199,9 +22973,7 @@ "slug": "list-child-teams", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the child teams of the team specified by {team_slug}.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/teams.

", "responses": [ @@ -23270,9 +23042,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -23393,9 +23163,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -23511,9 +23279,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -23636,9 +23402,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -23753,9 +23517,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -23868,9 +23630,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -23965,9 +23725,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -24086,9 +23844,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -24215,9 +23971,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the pull_request key.

\n

Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull request id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -24336,9 +24090,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -24435,9 +24187,7 @@ "slug": "get-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -24584,9 +24334,7 @@ "slug": "update-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -24738,9 +24486,7 @@ "slug": "delete-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -24868,9 +24614,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -25004,9 +24748,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -25129,9 +24871,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -25237,9 +24977,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -25357,9 +25095,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -25466,9 +25202,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -25548,9 +25282,7 @@ "slug": "get-rate-limit-status-for-the-authenticated-user", "category": "rate-limit", "categoryLabel": "Rate limit", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Accessing this endpoint does not count against your REST API rate limit.

\n

Note: The rate object is deprecated. If you're writing new API client code or updating existing code, you should use the core object instead of the rate object. The core object contains the same information that is present in the rate object.

", "responses": [ @@ -25629,9 +25361,7 @@ "slug": "delete-a-reaction-legacy", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -25736,9 +25466,7 @@ "slug": "get-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

When you pass the scarlet-witch-preview media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.

\n

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.

", "responses": [ @@ -26011,9 +25739,7 @@ "slug": "update-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: To edit a repository's topics, use the Replace all repository topics endpoint.

", "bodyParameters": [ { @@ -26248,9 +25974,7 @@ "slug": "delete-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Deleting a repository requires admin access. If OAuth is used, the delete_repo scope is required.

\n

If an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a 403 Forbidden response.

", "responses": [ @@ -26350,9 +26074,7 @@ "categoryLabel": "Actions", "subcategory": "artifacts", "subcategoryLabel": "Artifacts", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -26432,9 +26154,7 @@ "categoryLabel": "Actions", "subcategory": "artifacts", "subcategoryLabel": "Artifacts", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -26514,9 +26234,7 @@ "categoryLabel": "Actions", "subcategory": "artifacts", "subcategoryLabel": "Artifacts", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -26604,9 +26322,7 @@ "categoryLabel": "Actions", "subcategory": "artifacts", "subcategoryLabel": "Artifacts", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -26685,9 +26401,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-jobs", "subcategoryLabel": "Workflow jobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -26767,9 +26481,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-jobs", "subcategoryLabel": "Workflow jobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -26858,9 +26570,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all self-hosted runners configured in a repository. You must authenticate using an access token with the repo scope to use this endpoint.

", "responses": [ @@ -26930,9 +26640,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists binaries for the runner application that you can download and run.

\n

You must authenticate using an access token with the repo scope to use this endpoint.

", "responses": [ @@ -27002,9 +26710,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a token that you can pass to the config script. The token expires after one hour. You must authenticate\nusing an access token with the repo scope to use this endpoint.

\n

Example using registration token

\n

Configure your self-hosted runner, replacing TOKEN with the registration token provided by this endpoint.

\n
./config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN\n
", "responses": [ @@ -27074,9 +26780,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.\nYou must authenticate using an access token with the repo scope to use this endpoint.

\n

Example using remove token

\n

To remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.

\n
./config.sh remove --token TOKEN\n
", "responses": [ @@ -27156,9 +26860,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a specific self-hosted runner configured in a repository.

\n

You must authenticate using an access token with the repo scope to use this\nendpoint.

", "responses": [ @@ -27238,9 +26940,7 @@ "categoryLabel": "Actions", "subcategory": "self-hosted-runners", "subcategoryLabel": "Self hosted runners", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -27374,9 +27074,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-runs", "subcategoryLabel": "Workflow runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

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.

", "responses": [ @@ -27455,9 +27153,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-runs", "subcategoryLabel": "Workflow runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -27536,9 +27232,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-runs", "subcategoryLabel": "Workflow runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -27636,9 +27330,7 @@ "categoryLabel": "Actions", "subcategory": "artifacts", "subcategoryLabel": "Artifacts", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -27717,9 +27409,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-runs", "subcategoryLabel": "Workflow runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "202", @@ -27832,9 +27522,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-jobs", "subcategoryLabel": "Workflow jobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -27913,9 +27601,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-runs", "subcategoryLabel": "Workflow runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -27993,9 +27679,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-runs", "subcategoryLabel": "Workflow runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -28162,9 +27846,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -28234,9 +27916,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -28316,9 +27996,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -28431,9 +28109,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -28536,9 +28212,7 @@ "categoryLabel": "Actions", "subcategory": "secrets", "subcategoryLabel": "Secrets", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -28627,9 +28301,7 @@ "categoryLabel": "Actions", "subcategory": "workflows", "subcategoryLabel": "Workflows", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -28716,9 +28388,7 @@ "categoryLabel": "Actions", "subcategory": "workflows", "subcategoryLabel": "Workflows", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -28848,9 +28518,7 @@ "categoryLabel": "Actions", "subcategory": "workflows", "subcategoryLabel": "Workflows", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -29024,9 +28692,7 @@ "categoryLabel": "Actions", "subcategory": "workflow-runs", "subcategoryLabel": "Workflow runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

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.

", "responses": [ @@ -29116,9 +28782,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the available assignees for issues in a repository.

", "responses": [ @@ -29202,9 +28866,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -29308,9 +28970,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -29401,9 +29061,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -29500,9 +29158,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -30086,9 +29742,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -30627,9 +30281,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -30713,9 +30365,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -30795,9 +30445,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.

", "responses": [ @@ -30877,9 +30525,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -30970,9 +30616,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -31176,9 +30820,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.

\n

Note: Passing new arrays of users and teams replaces their previous values.

", "responses": [ { @@ -31358,9 +31000,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -31451,9 +31091,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of true indicates you must sign commits on this branch. For more information, see Signing commits with GPG in GitHub Help.

\n

Note: You must enable branch protection to require signed commits.

", "responses": [ @@ -31545,9 +31183,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.

", "responses": [ @@ -31639,9 +31275,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -31725,9 +31359,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -31850,9 +31482,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.

", "bodyParameters": [ { @@ -31964,9 +31594,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -32045,9 +31673,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -32164,9 +31790,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -32306,9 +31930,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -32443,9 +32065,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -32548,9 +32168,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists who has access to this protected branch.

\n

Note: Users, apps, and teams restrictions are only available for organization-owned repositories.

", "responses": [ @@ -32635,9 +32253,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -32716,9 +32332,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

", "responses": [ @@ -32835,9 +32449,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified apps push access for this branch. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe GitHub Apps that have push access to this branch. Use the app's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -32967,9 +32579,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe GitHub Apps that have push access to this branch. Use the app's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -33099,9 +32709,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of an app to push to this branch. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe GitHub Apps that have push access to this branch. Use the app's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -33199,9 +32807,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the teams who have push access to this branch. The list includes child teams.

", "responses": [ @@ -33318,9 +32924,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified teams push access for this branch. You can also give push access to child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe teams that can have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -33450,9 +33054,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe teams that can have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -33582,9 +33184,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of a team to push to this branch. You can also remove push access for child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayTeams that should no longer have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -33682,9 +33282,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the people who have push access to this branch.

", "responses": [ @@ -33801,9 +33399,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified people push access for this branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -33933,9 +33529,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -34065,9 +33659,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of a user to push to this branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames of the people who should no longer have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -35177,9 +34769,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Creates a new check run for a specific commit in a repository. Your GitHub App must have the checks:write permission to create check runs.

\n

In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.

", "responses": [ { @@ -36207,9 +35797,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Gets a single check run using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -37268,9 +36856,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Updates a check run for a specific commit in a repository. Your GitHub App must have the checks:write permission to edit check runs.

", "responses": [ { @@ -38301,9 +37887,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -38406,9 +37990,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

By default, check suites are automatically created when you create a check run. You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"Update repository preferences for check suites\". Your GitHub App must have the checks:write permission to create check suites.

", "bodyParameters": [ { @@ -38578,9 +38160,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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. You must have admin permissions in the repository to set preferences for check suites.

", "responses": [ { @@ -38732,9 +38312,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Gets a single check suite using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the repo scope to get check suites in a private repository.

", "responses": [ @@ -38881,9 +38459,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check runs for a check suite using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -38970,9 +38546,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -39066,9 +38640,7 @@ "slug": "list-code-scanning-alerts-for-a-repository", "category": "code-scanning", "categoryLabel": "Code scanning", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all open code scanning alerts for the default branch (usually main or master). For private repos, you must use an access token with the repo scope. For public repos, you must use an access token with public_repo and repo:security_events scopes. GitHub Apps must have the security_events read permission to use this endpoint.

", "responses": [ @@ -39155,9 +38727,7 @@ "slug": "get-a-code-scanning-alert", "category": "code-scanning", "categoryLabel": "Code scanning", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a single code scanning alert. You must use an access token with the security_events scope to use this endpoint. GitHub Apps must have the security_events read permission to use this endpoint.

\n

The security alert_number is found at the end of the security alert's URL. For example, the security alert ID for https://github.com/Octo-org/octo-repo/security/code-scanning/88 is 88.

", "responses": [ @@ -39302,9 +38872,7 @@ "slug": "update-a-code-scanning-alert", "category": "code-scanning", "categoryLabel": "Code scanning", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Updates the status of a single code scanning alert. For private repos, you must use an access token with the repo scope. For public repos, you must use an access token with public_repo and repo:security_events scopes.\nGitHub Apps must have the security_events write permission to use this endpoint.

", "bodyParameters": [ { @@ -39441,9 +39009,7 @@ "slug": "list-recent-code-scanning-analyses-for-a-repository", "category": "code-scanning", "categoryLabel": "Code scanning", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the details of recent code scanning analyses for a repository. For private repos, you must use an access token with the repo scope. For public repos, you must use an access token with public_repo and repo:security_events scopes. GitHub Apps must have the security_events read permission to use this endpoint.

", "responses": [ @@ -39593,9 +39159,7 @@ "slug": "upload-a-sarif-file", "category": "code-scanning", "categoryLabel": "Code scanning", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "202", @@ -39771,9 +39335,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Team members will include the members of child teams.

", "responses": [ @@ -39857,9 +39419,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -39980,9 +39540,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

For more information the permission levels, see \"Repository permission levels for an organization\".

\n

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.\"

\n

The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the repository invitations API endpoints.

\n

Rate limits

\n

To prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.

", "bodyParameters": [ { @@ -40103,9 +39661,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -40183,9 +39739,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Checks the repository permission of a collaborator. The possible repository permissions are admin, write, read, and none.

", "responses": [ @@ -40287,9 +39841,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Commit Comments use these custom media types. You can read more about the use of media types in the API here.

\n

Comments are ordered by ascending ID.

", "responses": [ @@ -40376,9 +39928,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -40489,9 +40039,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -40586,9 +40134,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -40717,9 +40263,7 @@ "slug": "list-reactions-for-a-commit-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a commit comment.

", "responses": [ @@ -40850,9 +40394,7 @@ "slug": "create-reaction-for-a-commit-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a commit comment. A response with a Status: 200 OK means that you already added the reaction type to this commit comment.

", "bodyParameters": [ { @@ -40982,9 +40524,7 @@ "slug": "delete-a-commit-comment-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -41123,9 +40663,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -41232,9 +40770,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch.

", "responses": [ @@ -41351,9 +40887,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Use the :commit_sha to specify the commit that will have its comments listed.

", "responses": [ @@ -41490,9 +41024,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a comment for a commit using its :commit_sha.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -41646,9 +41178,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the List pull requests endpoint.

", "responses": [ @@ -41733,9 +41263,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the contents of a single commit reference. You must have read access for the repository to use this endpoint.

\n

Note: If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.

\n

You can pass the appropriate media type to fetch diff and patch formats. Diffs with binary data will have no patch property.

\n

To return only the SHA-1 hash of the commit reference, you can provide the sha custom media type in the Accept header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -41897,9 +41425,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check runs for a commit ref. The ref can be a SHA, branch name, or a tag name. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -42027,9 +41553,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check suites for a commit ref. The ref can be a SHA, branch name, or a tag name. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the repo scope to get check suites in a private repository.

", "responses": [ @@ -42109,9 +41633,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

The most recent status for each context is returned, up to 100. This field paginates if there are over 100 contexts.

\n

Additionally, a combined state is returned. The state is one of:

\n", "responses": [ @@ -42216,9 +41738,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

This resource is also available via a legacy route: GET /repos/:owner/:repo/statuses/:ref.

", "responses": [ @@ -42298,9 +41818,7 @@ "slug": "get-the-code-of-conduct-for-a-repository", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This method returns the contents of the repository's code of conduct file, if one is detected.

", "responses": [ @@ -42388,9 +41906,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 <USERNAME>:branch.

\n

The response from the API is equivalent to running the git log base..head command; however, commits are returned in chronological order. Pass the appropriate media type to fetch diff and patch formats.

\n

The response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a renamed status have a previous_filename field showing the previous filename of the file, and files with a modified status have a patch field showing the changes made to the file.

\n

Working with large comparisons

\n

The response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the List commits to enumerate all commits in the range.

\n

For comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -42490,9 +42006,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets the contents of a file or directory in a repository. Specify the file path or directory in :path. If you omit\n:path, you will receive the contents of all files in the repository.

\n

Files and symlinks support a custom media type for\nretrieving the raw content or rendered HTML (when supported). All content types support a custom media\ntype to ensure the content is returned in a consistent\nobject format.

\n

Note:

\n\n

If the content is a directory

\n

The response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\nshould be \"submodule\". This behavior exists in API v3 for backwards compatibility purposes.\nIn the next major version of the API, the type will be returned as \"submodule\".

\n

If the content is a symlink

\n

If the requested :path points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object\ndescribing the symlink itself.

\n

If the content is a submodule

\n

The submodule_git_url identifies the location of the submodule repository, and the sha identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.

\n

If the submodule repository is not hosted on github.com, the Git URLs (git_url and _links[\"git\"]) and the\ngithub.com URLs (html_url and _links[\"html\"]) will have null values.

", "responses": [ @@ -42835,9 +42349,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new file or replaces an existing file in a repository.

", "responses": [ { @@ -43289,9 +42801,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Deletes a file in a repository.

\n

You can provide an additional committer parameter, which is an object containing information about the committer. Or, you can provide an author parameter, which is an object containing information about the author.

\n

The author section is optional and is filled in with the committer information if omitted. If the committer information is omitted, the authenticated user's information is used.

\n

You must provide values for both name and email, whether you choose to use author or committer. Otherwise, you'll receive a 422 status code.

", "responses": [ { @@ -43547,9 +43057,7 @@ "slug": "list-repository-contributors", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 v3 caches contributor data to improve performance.

\n

GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.

", "responses": [ @@ -43705,9 +43213,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Simple filtering of deployments is available via query parameters:

", "responses": [ @@ -43921,9 +43427,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Deployments offer a few configurable parameters with certain defaults.

\n

The ref parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.

\n

The environment parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as production, staging, and qa. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is production.

\n

The auto_merge parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref is behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.

\n

By default, commit statuses for every submitted context must be in a success\nstate. The required_contexts parameter allows you to specify a subset of contexts that must be success, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.

\n

The payload parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.

\n

The task parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe deploy:migrations to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.

\n

Users with repo or repo_deployment scopes can create a deployment for a given ref.

\n

Merged branch response

\n

You will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:

\n\n

If there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.

\n

Merge conflict response

\n

This error happens when the auto_merge option is enabled and when the default branch (in this case master), can't\nbe merged into the branch that's being deployed (in this case topic-branch), due to merge conflicts.

\n

Failed commit status checks

\n

This error happens when the required_contexts parameter indicates that one or more contexts need to have a success\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of success.

", "bodyParameters": [ { @@ -44140,9 +43644,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -44227,9 +43729,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -44351,9 +43851,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Users with pull access can view deployment statuses for a deployment:

", "responses": [ @@ -44552,9 +44050,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access can create deployment statuses for a given deployment.

\n

GitHub Apps require read & write access to \"Deployments\" and read-only access to \"Repo contents\" (for private repos). OAuth Apps require the repo_deployment scope.

", "bodyParameters": [ { @@ -44743,9 +44239,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Users with pull access can view a deployment status for a deployment:

", "responses": [ @@ -44845,9 +44339,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -44952,9 +44444,7 @@ "categoryLabel": "Repos", "subcategory": "forks", "subcategoryLabel": "Forks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -45049,9 +44539,7 @@ "categoryLabel": "Repos", "subcategory": "forks", "subcategoryLabel": "Forks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a fork for the authenticated user.

\n

Note: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact GitHub Enterprise Server Support or GitHub Enterprise Server Premium Support.

", "bodyParameters": [ { @@ -45188,9 +44676,7 @@ "categoryLabel": "Git", "subcategory": "blobs", "subcategoryLabel": "Blobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -45309,9 +44795,7 @@ "categoryLabel": "Git", "subcategory": "blobs", "subcategoryLabel": "Blobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The content in the response will always be Base64 encoded.

\n

Note: This API supports blobs up to 100 megabytes in size.

", "responses": [ @@ -45609,9 +45093,7 @@ "categoryLabel": "Git", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new Git commit object.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ { @@ -45887,9 +45369,7 @@ "categoryLabel": "Git", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a Git commit object.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -45994,9 +45474,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns an array of references from your Git database that match the supplied name. The :ref in the URL must be formatted as heads/<branch name> for branches and tags/<tag name> for tags. If the :ref doesn't exist in the repository, but existing refs start with :ref, they will be returned as an array.

\n

When you use this endpoint without providing a :ref, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just heads and tags.

\n

Note: You need to explicitly request a pull request to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"Checking mergeability of pull requests\".

\n

If you request matching references for a branch named feature but the branch feature doesn't exist, the response can still include other matching head refs that start with the word feature, such as featureA and featureB.

", "responses": [ @@ -46076,9 +45554,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a single reference from your Git database. The :ref in the URL must be formatted as heads/<branch name> for branches and tags/<tag name> for tags. If the :ref doesn't match an existing ref, a 404 is returned.

\n

Note: You need to explicitly request a pull request to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"Checking mergeability of pull requests\".

", "responses": [ @@ -46199,9 +45675,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -46351,9 +45825,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -46458,9 +45930,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -46676,9 +46146,7 @@ "categoryLabel": "Git", "subcategory": "tags", "subcategoryLabel": "Tags", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 the refs/tags/[tag] reference. If you want to create a lightweight tag, you only have to create the tag reference - this call would be unnecessary.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ { @@ -46877,9 +46345,7 @@ "categoryLabel": "Git", "subcategory": "tags", "subcategoryLabel": "Tags", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -47126,9 +46592,7 @@ "categoryLabel": "Git", "subcategory": "trees", "subcategoryLabel": "Trees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

If you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"Create a commit\" and \"Update a reference.\"

", "responses": [ { @@ -47380,9 +46844,7 @@ "categoryLabel": "Git", "subcategory": "trees", "subcategoryLabel": "Trees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a single tree using the SHA1 value for that tree.

\n

If truncated is true in the response then the number of items in the tree array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.

", "responses": [ @@ -47488,9 +46950,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -47766,9 +47226,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Repositories can have multiple webhooks installed. Each webhook should have a unique config. Multiple webhooks can\nshare the same config as long as those webhooks do not have any events that overlap.

", "responses": [ { @@ -48037,9 +47495,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a webhook configured in a repository. To get only the webhook config properties, see \"Get a webhook configuration for a repository.\"

", "responses": [ @@ -48329,9 +47785,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

", "responses": [ { @@ -48610,9 +48064,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -48695,9 +48147,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -48780,9 +48230,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -48954,9 +48402,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.

", "responses": [ @@ -49063,9 +48509,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -49162,9 +48606,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -49365,9 +48807,7 @@ "slug": "list-repository-issues", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List issues in a repository.

\n

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe pull_request key. Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull\nrequest id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -49559,9 +48999,7 @@ "slug": "create-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Any user with pull access to a repository can create an issue. If issues are disabled in the repository, the API returns a 410 Gone status.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -49806,9 +49244,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

By default, Issue Comments are ordered by ascending ID.

", "responses": [ @@ -49905,9 +49341,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -50018,9 +49452,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -50115,9 +49547,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -50241,9 +49671,7 @@ "slug": "list-reactions-for-an-issue-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to an issue comment.

", "responses": [ @@ -50374,9 +49802,7 @@ "slug": "create-reaction-for-an-issue-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to an issue comment. A response with a Status: 200 OK means that you already added the reaction type to this issue comment.

", "bodyParameters": [ { @@ -50506,9 +49932,7 @@ "slug": "delete-an-issue-comment-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -50604,9 +50028,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -50697,9 +50119,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -50799,9 +50219,7 @@ "slug": "get-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The API returns a 301 Moved Permanently status if the issue was\ntransferred to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a 404 Not Found status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a 410 Gone status. To receive webhook events for transferred and deleted issues, subscribe\nto the issues webhook.

\n

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe pull_request key. Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull\nrequest id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -51017,9 +50435,7 @@ "slug": "update-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Issue owners and users with push access can edit an issue.

", "bodyParameters": [ { @@ -51254,9 +50670,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.

", "bodyParameters": [ { @@ -51378,9 +50792,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Removes one or more assignees from an issue.

", "bodyParameters": [ { @@ -51510,9 +50922,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Issue Comments are ordered by ascending ID.

", "responses": [ @@ -51629,9 +51039,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -51768,9 +51176,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -51875,9 +51281,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -51994,9 +51398,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -52128,9 +51530,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Removes any previous labels and sets the new labels for an issue.

", "bodyParameters": [ { @@ -52233,9 +51633,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -52328,9 +51726,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -52444,9 +51840,7 @@ "slug": "lock-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -52559,9 +51953,7 @@ "slug": "unlock-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -52695,9 +52087,7 @@ "slug": "list-reactions-for-an-issue", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to an issue.

", "responses": [ @@ -52957,9 +52347,7 @@ "slug": "delete-an-issue-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -53071,9 +52459,7 @@ "categoryLabel": "Issues", "subcategory": "timeline", "subcategoryLabel": "Timeline", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -53178,9 +52564,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -53296,9 +52680,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

You can create a read-only deploy key.

", "bodyParameters": [ { @@ -53411,9 +52793,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -53498,9 +52878,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -53589,9 +52967,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -53712,9 +53088,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -53831,9 +53205,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -53960,9 +53332,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -54069,9 +53439,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -54138,9 +53506,7 @@ "slug": "list-repository-languages", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.

", "responses": [ @@ -54208,9 +53574,7 @@ "slug": "get-the-license-for-a-repository", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This method returns the contents of the repository's license file, if one is detected.

\n

Similar to Get repository content, this method also supports custom media types for retrieving the raw license content or rendered license HTML.

", "responses": [ @@ -54327,9 +53691,7 @@ "categoryLabel": "Repos", "subcategory": "merging", "subcategoryLabel": "Merging", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -54521,9 +53883,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -54659,9 +54019,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -54793,9 +54151,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -54938,9 +54294,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -55062,9 +54416,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -55168,9 +54520,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -55471,9 +54821,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -55644,9 +54992,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Configures a GitHub Enterprise Server Pages site. For more information, see \"About GitHub Pages.\"

", "responses": [ { @@ -55870,9 +55216,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -56008,9 +55352,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -56114,9 +55456,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -56186,9 +55526,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.

", "responses": [ @@ -56258,9 +55596,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -56339,9 +55675,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -56438,9 +55772,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.

", "responses": [ @@ -56526,9 +55858,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -56637,9 +55967,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

For pre-receive hooks which are allowed to be configured at the repo level, you can set enforcement

", "bodyParameters": [ { @@ -56735,9 +56063,7 @@ "categoryLabel": "Enterprise admin", "subcategory": "repo-pre-receive-hooks", "subcategoryLabel": "Repo pre receive hooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Deletes any overridden enforcement on this repository for the specified hook.

\n

Responds with effective values inherited from owner and/or global level.

", "responses": [ @@ -56848,9 +56174,7 @@ "slug": "list-repository-projects", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -56986,9 +56310,7 @@ "slug": "create-a-repository-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a repository project board. 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.

", "bodyParameters": [ { @@ -57187,9 +56509,7 @@ "slug": "list-pull-requests", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -57352,9 +56672,7 @@ "slug": "create-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.

\n

You can create a new pull request.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -57570,9 +56888,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -57665,9 +56981,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Provides details for a review comment.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -57785,9 +57099,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Enables you to edit a review comment.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n", "bodyParameters": [ { @@ -57877,9 +57189,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -58008,9 +57318,7 @@ "slug": "list-reactions-for-a-pull-request-review-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a pull request review comment.

", "responses": [ @@ -58141,9 +57449,7 @@ "slug": "create-reaction-for-a-pull-request-review-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a pull request review comment. A response with a Status: 200 OK means that you already added the reaction type to this pull request review comment.

", "bodyParameters": [ { @@ -58273,9 +57579,7 @@ "slug": "delete-a-pull-request-comment-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -58351,9 +57655,7 @@ "slug": "get-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists details of a pull request by providing its number.

\n

When you get, create, or edit a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the mergeable key. For more information, see \"Checking mergeability of pull requests\".

\n

The value of the mergeable attribute can be true, false, or null. If the value is null, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-null value for the mergeable attribute in the response. If mergeable is true, then merge_commit_sha will be the SHA of the test merge commit.

\n

The value of the merge_commit_sha attribute changes depending on the state of the pull request. Before merging a pull request, the merge_commit_sha attribute holds the SHA of the test merge commit. After merging a pull request, the merge_commit_sha attribute changes depending on how you merged the pull request:

\n\n

Pass the appropriate media type to fetch diff and patch formats.

", "responses": [ @@ -58511,9 +57813,7 @@ "slug": "update-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.

", "bodyParameters": [ { @@ -58724,9 +58024,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Lists all review comments for a pull request. By default, review comments are in ascending order by ID.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -58942,9 +58240,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"Create an issue comment.\" We recommend creating a review comment using line, side, and optionally start_line and start_side if your comment applies to more than one line in the pull request diff.

\n

You can still create a review comment using the position parameter. When you use position, the line, side, start_line, and start_side parameters are not required. For more information, see Multi-line comment summary.

\n

Note: The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n", "bodyParameters": [ { @@ -59273,9 +58569,7 @@ "slug": "list-commits-on-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

", "responses": [ @@ -59372,9 +58666,7 @@ "slug": "list-pull-requests-files", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.

", "responses": [ @@ -59461,9 +58753,7 @@ "slug": "check-if-a-pull-request-has-been-merged", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -59597,9 +58887,7 @@ "slug": "merge-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -59767,9 +59055,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -59894,9 +59180,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -60055,9 +59339,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -60185,9 +59467,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The list of reviews returns in chronological order.

", "responses": [ @@ -60474,9 +59754,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Pull request reviews created in the PENDING state do not include the submitted_at property in the response.

\n

Note: To comment on a specific line in a file, you need to first determine the position of that line in the diff. The GitHub REST API v3 offers the application/vnd.github.v3.diff media type. To see a pull request diff, add this media type to the Accept header of a call to the single pull request endpoint.

\n

The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.

", "responses": [ { @@ -60760,9 +60038,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -60882,9 +60158,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Update the review summary comment with new text.

", "bodyParameters": [ { @@ -60988,9 +60262,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -61109,9 +60381,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List comments for a specific pull request review.

", "responses": [ @@ -61237,9 +60507,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: To dismiss a pull request review on a protected branch, you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.

", "bodyParameters": [ { @@ -61394,9 +60662,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -61647,9 +60913,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets the preferred README for a repository.

\n

READMEs support custom media types for retrieving the raw content or rendered HTML.

", "responses": [ @@ -61749,9 +61013,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Information about published releases are available to everyone. Only users with push access will receive listings for draft releases.

", "responses": [ @@ -61905,9 +61167,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can create a release.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -62049,9 +61309,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

To download the asset's binary content, set the Accept header of the request to application/octet-stream. 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.

", "responses": [ @@ -62188,9 +61446,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can edit a release asset.

", "bodyParameters": [ { @@ -62298,9 +61554,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -62369,9 +61623,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

View the latest published full release for the repository.

\n

The latest release is the most recent non-prerelease, non-draft release, sorted by the created_at attribute. The created_at attribute is the date of the commit used for the release, and not the date when the release was drafted or published.

", "responses": [ @@ -62451,9 +61703,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a published release with the specified tag.

", "responses": [ @@ -62538,9 +61788,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: This returns an upload_url key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource.

", "responses": [ @@ -62698,9 +61946,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can edit a release.

", "bodyParameters": [ { @@ -62835,9 +62081,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -62936,9 +62180,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -63055,9 +62297,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This endpoint makes use of a Hypermedia relation 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\nthe response of the Create a release endpoint to upload a release asset.

\n

You need to use an HTTP client which supports SNI to make calls to this endpoint.

\n

Most libraries will set the required Content-Length header automatically. Use the required Content-Type header to provide the media type of the asset. For a list of media types, see Media Types. For example:

\n

application/zip

\n

GitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.

\n

When an upstream failure occurs, you will receive a 502 Bad Gateway status. This may leave an empty asset with a state of starter. It can be safely deleted.

\n

Notes:

\n", "responses": [ @@ -63147,9 +62387,7 @@ "categoryLabel": "Activity", "subcategory": "starring", "subcategoryLabel": "Starring", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people that have starred the repository.

\n

You can also find out when stars were created by passing the following custom media type via the Accept header:

", "responses": [ @@ -63224,9 +62462,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

", "responses": [ @@ -63296,9 +62532,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the last year of commit activity grouped by week. The days array is a group of commits per day, starting on Sunday.

", "responses": [ @@ -63368,9 +62602,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", "responses": [ @@ -63440,9 +62672,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

The array order is oldest week (index 0) to most recent week.

", "responses": [ @@ -63517,9 +62747,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Each array contains the day number, hour number, and number of commits:

\n\n

For example, [2, 14, 25] indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.

", "responses": [ @@ -63661,9 +62889,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access in a repository can create commit statuses for a given SHA.

\n

Note: there is a limit of 1000 statuses per sha and context within a repository. Attempts to create more than 1000 statuses will result in a validation error.

", "bodyParameters": [ { @@ -63797,9 +63023,7 @@ "categoryLabel": "Activity", "subcategory": "watching", "subcategoryLabel": "Watching", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people watching the specified repository.

", "responses": [ @@ -64154,9 +63378,7 @@ "slug": "list-repository-tags", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -64235,9 +63457,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -64324,9 +63544,7 @@ "slug": "list-repository-teams", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -64401,9 +63619,7 @@ "slug": "get-all-repository-topics", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -64522,9 +63738,7 @@ "slug": "replace-all-repository-topics", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -64659,9 +63873,7 @@ "slug": "transfer-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -64758,9 +63970,7 @@ "slug": "enable-vulnerability-alerts", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -64834,9 +64044,7 @@ "slug": "disable-vulnerability-alerts", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -64914,9 +64122,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -65182,9 +64388,7 @@ "slug": "list-public-repositories", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.

", "responses": [ @@ -65302,9 +64506,7 @@ "slug": "search-code", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Searches for query terms inside of a file. This method returns up to 100 results per page.

\n

When searching for code, you can get text match metadata for the file content and file path fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to find the definition of the addClass function inside jQuery repository, your query would look something like this:

\n

q=addClass+in:file+language:js+repo:jquery/jquery

\n

This query searches for the keyword addClass within a file's contents. The query limits the search to files where the language is JavaScript in the jquery/jquery repository.

\n

Considerations for code search

\n

Due to the complexity of searching code, there are a few restrictions on how searches are performed:

\n", "responses": [ @@ -65440,9 +64642,7 @@ "slug": "search-commits", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find commits via various criteria on the default branch (usually master). This method returns up to 100 results per page.

\n

When searching for commits, you can get text match metadata for the message field when you provide the text-match media type. For more details about how to receive highlighted search results, see Text match\nmetadata.

\n

For example, if you want to find commits related to CSS in the octocat/Spoon-Knife repository. Your query would look something like this:

\n

q=repo:octocat/Spoon-Knife+css

", "responses": [ @@ -65570,9 +64770,7 @@ "slug": "search-issues-and-pull-requests", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find issues by state and keyword. This method returns up to 100 results per page.

\n

When searching for issues, you can get text match metadata for the issue title, issue body, and issue comment body fields when you pass the text-match media type. For more details about how to receive highlighted\nsearch results, see Text match metadata.

\n

For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.

\n

q=windows+label:bug+language:python+state:open&sort=created&order=asc

\n

This query searches for the keyword windows, within any open issue that is labeled as bug. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.

\n

Note: For user-to-server GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the is:issue or is:pull-request qualifier will receive an HTTP 422 Unprocessable Entity response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the is qualifier, see \"Searching only issues or pull requests.\"

", "responses": [ @@ -65691,9 +64889,7 @@ "slug": "search-labels", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results per page.

\n

When searching for labels, you can get text match metadata for the label name and description fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to find labels in the linguist repository that match bug, defect, or enhancement. Your query might look like this:

\n

q=bug+defect+enhancement&repository_id=64778136

\n

The labels that best match the query appear first in the search results.

", "responses": [ @@ -65831,9 +65027,7 @@ "slug": "search-repositories", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find repositories via various criteria. This method returns up to 100 results per page.

\n

When searching for repositories, you can get text match metadata for the name and description fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:

\n

q=tetris+language:assembly&sort=stars&order=desc

\n

This query searches for repositories with the word tetris in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.

\n

When you include the mercy preview header, you can also search for multiple topics by adding more topic: instances. For example, your query might look like this:

\n

q=topic:ruby+topic:rails

", "responses": [ @@ -65915,9 +65109,7 @@ "slug": "search-topics", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results per page. See \"Searching topics\" for a detailed list of qualifiers.

\n

When searching for topics, you can get text match metadata for the topic's short_description, description, name, or display_name field when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:

\n

q=ruby+is:featured

\n

This query searches for topics with the keyword ruby and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.

", "responses": [ @@ -66037,9 +65229,7 @@ "slug": "search-users", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find users via various criteria. This method returns up to 100 results per page.

\n

When searching for users, you can get text match metadata for the issue login, email, and name fields when you pass the text-match media type. For more details about highlighting search results, see Text match metadata. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you're looking for a list of popular users, you might try this query:

\n

q=tom+repos:%3E42+followers:%3E1000

\n

This query searches for users with the name tom. The results are restricted to users with more than 42 repositories and over 1,000 followers.

", "responses": [ @@ -66904,9 +66094,7 @@ "slug": "get-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

", "responses": [ @@ -67048,9 +66236,7 @@ "slug": "update-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

To edit a team, the authenticated user must either be an organization owner or a team maintainer.

\n

Note: With nested teams, the privacy for parent teams cannot be secret.

", "bodyParameters": [ { @@ -67184,9 +66370,7 @@ "slug": "delete-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -67301,9 +66485,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

List all discussions on a team's page. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -67422,9 +66604,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Creates a new discussion post on a team's page. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -67533,9 +66713,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Get a specific discussion on a team's page. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -67647,9 +66825,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

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.

", "bodyParameters": [ { @@ -67741,9 +66917,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -67857,9 +67031,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

List all comments on a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -67966,9 +67138,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Creates a new comment on a team discussion. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -68067,9 +67237,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Get a specific comment on a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -68184,9 +67352,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Edits the body text of a discussion comment. OAuth access tokens require the write:discussion scope.

", "bodyParameters": [ { @@ -68278,9 +67444,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -68406,9 +67570,7 @@ "slug": "list-reactions-for-a-team-discussion-comment-legacy", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

List the reactions to a team discussion comment. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -68531,9 +67693,7 @@ "slug": "create-reaction-for-a-team-discussion-comment-legacy", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Create a reaction to a team discussion comment. OAuth access tokens require the write:discussion scope. A response with a Status: 200 OK means that you already added the reaction type to this team discussion comment.

", "bodyParameters": [ { @@ -68671,9 +67831,7 @@ "slug": "list-reactions-for-a-team-discussion-legacy", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

List the reactions to a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -68907,9 +68065,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Team members will include the members of child teams.

", "responses": [ @@ -68987,9 +68143,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -69066,9 +68220,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The \"Add team member\" endpoint (described below) is deprecated.

\n

We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

\n

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.

\n

Note: When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub Enterprise Server.\"

\n

Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

", "responses": [ @@ -69162,9 +68314,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -69241,9 +68391,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Team members will include the members of child teams.

\n

To get a user's membership with a team, the team must be visible to the authenticated user.

\n

Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

", "responses": [ @@ -69358,9 +68506,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.

\n

Note: When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub Enterprise Server.\"

\n

If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.

\n

If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.

", "bodyParameters": [ { @@ -69470,9 +68616,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -69565,9 +68709,7 @@ "slug": "list-team-projects-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Lists the organization projects for a team.

", "responses": [ @@ -69655,9 +68797,7 @@ "slug": "check-team-permissions-for-a-project-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Checks whether a team has read, write, or admin permissions for an organization project. The response includes projects inherited from a parent team.

", "responses": [ @@ -69770,9 +68910,7 @@ "slug": "add-or-update-team-project-permissions-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

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.

", "bodyParameters": [ { @@ -69878,9 +69016,7 @@ "slug": "remove-a-project-from-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -69976,9 +69112,7 @@ "slug": "list-team-repositories-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

", "responses": [ @@ -70063,9 +69197,7 @@ "slug": "check-team-permissions-for-a-repository-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -70179,9 +69311,7 @@ "slug": "add-or-update-team-repository-permissions-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -70285,9 +69415,7 @@ "slug": "remove-a-repository-from-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -70368,9 +69496,7 @@ "slug": "list-child-teams-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

", "responses": [ @@ -73210,9 +72336,7 @@ "slug": "create-a-user-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -74881,9 +74005,7 @@ "slug": "list-users", "category": "users", "categoryLabel": "Users", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub Enterprise Server. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", "responses": [ @@ -74947,9 +74069,7 @@ "slug": "get-a-user", "category": "users", "categoryLabel": "Users", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Provides publicly available information about someone with a GitHub account.

\n

GitHub Apps with the Plan user permission can use this endpoint to retrieve information about a user's GitHub Enterprise Server plan. The GitHub App must be authenticated as a user. See \"Identifying and authorizing users for GitHub Apps\" for details about authentication. For an example response, see 'Response with GitHub Enterprise Server plan information' below\"

\n

The email key in the following response is the publicly visible email address from your GitHub Enterprise Server profile page. When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for email, then it will have a value of null. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see Authentication.

\n

The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"Emails API\".

", "responses": [ @@ -75041,9 +74161,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -75212,9 +74330,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -75294,9 +74410,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people following the specified user.

", "responses": [ @@ -75377,9 +74491,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people who the specified user follows.

", "responses": [ @@ -75449,9 +74561,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -75630,9 +74740,7 @@ "categoryLabel": "Users", "subcategory": "gpg-keys", "subcategoryLabel": "Gpg keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the GPG keys for a user. This information is accessible by anyone.

", "responses": [ @@ -75867,9 +74975,7 @@ "categoryLabel": "Users", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the verified public SSH keys for a user. This is accessible by anyone.

", "responses": [ @@ -75948,9 +75054,7 @@ "slug": "list-organizations-for-a-user", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List public organization memberships for the specified user.

\n

This method only lists public memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the List organizations for the authenticated user API instead.

", "responses": [ @@ -76143,9 +75247,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -76225,9 +75327,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -76359,9 +75459,7 @@ "slug": "list-repositories-for-a-user", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists public repositories for the specified user.

", "responses": [ @@ -76592,9 +75690,7 @@ "categoryLabel": "Activity", "subcategory": "starring", "subcategoryLabel": "Starring", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories a user has starred.

\n

You can also find out when stars were created by passing the following custom media type via the Accept header:

", "responses": [ @@ -76675,9 +75771,7 @@ "categoryLabel": "Activity", "subcategory": "watching", "subcategoryLabel": "Watching", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories a user is watching.

", "responses": [ @@ -76901,9 +75995,7 @@ "slug": "get-the-zen-of-github", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", diff --git a/lib/rest/static/decorated/github.ae.json b/lib/rest/static/decorated/github.ae.json index 29e20ce1f3da..8344458abf70 100644 --- a/lib/rest/static/decorated/github.ae.json +++ b/lib/rest/static/decorated/github.ae.json @@ -31,9 +31,7 @@ "slug": "github-api-root", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -2387,9 +2385,7 @@ "slug": "get-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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\" endpoint.

\n

You must use a JWT to access this endpoint.

", "responses": [ @@ -2749,9 +2745,7 @@ "slug": "list-installations-for-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

You must use a JWT to access this endpoint.

\n

The permissions the installation has are included under the permissions key.

", "responses": [ @@ -2811,9 +2805,7 @@ "slug": "get-an-installation-for-the-authenticated-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (target_type) will be either an organization or a user account, depending which account the repository belongs to.

\n

You must use a JWT to access this endpoint.

", "responses": [ @@ -3092,9 +3084,7 @@ "slug": "create-an-installation-access-token-for-an-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

You must use a JWT to access this endpoint.

", "responses": [ { @@ -4007,9 +3997,7 @@ "slug": "get-an-app", "category": "apps", "categoryLabel": "Apps", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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).

\n

If the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a personal access token or an installation access token to access this endpoint.

", "responses": [ @@ -4080,9 +4068,7 @@ "slug": "get-all-codes-of-conduct", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -4158,9 +4144,7 @@ "slug": "get-a-code-of-conduct", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -4280,9 +4264,7 @@ "categoryLabel": "Apps", "subcategory": "installations", "subcategoryLabel": "Installations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 to create an attachment.

\n

The app must create a content attachment within six hours of the content reference URL being posted. See \"Using content attachments\" for details about content attachments.

\n

You must use an installation access token to access this endpoint.

", "bodyParameters": [ { @@ -4384,9 +4366,7 @@ "slug": "get-emojis", "category": "emojis", "categoryLabel": "Emojis", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -5041,9 +5021,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -5108,9 +5086,7 @@ "categoryLabel": "Activity", "subcategory": "feeds", "subcategoryLabel": "Feeds", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

GitHub AE provides several timeline resources in Atom format. The Feeds API lists all the feeds available to the authenticated user:

\n\n

Note: Private feeds are only returned when authenticating via Basic Auth since current feed URIs use the older, non revocable auth tokens.

", "responses": [ @@ -7041,9 +7017,7 @@ "slug": "get-all-gitignore-templates", "category": "gitignore", "categoryLabel": "Gitignore", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all templates available to pass as an option when creating a repository.

", "responses": [ @@ -7107,9 +7081,7 @@ "slug": "get-a-gitignore-template", "category": "gitignore", "categoryLabel": "Gitignore", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The API also allows fetching the source of a single template.\nUse the raw media type to get the raw contents.

", "responses": [ @@ -7193,9 +7165,7 @@ "categoryLabel": "Apps", "subcategory": "installations", "subcategoryLabel": "Installations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List repositories that an app installation can access.

\n

You must use an installation access token to access this endpoint.

", "responses": [ @@ -7261,9 +7231,7 @@ "categoryLabel": "Apps", "subcategory": "installations", "subcategoryLabel": "Installations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -7544,9 +7512,7 @@ "slug": "get-all-commonly-used-licenses", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -7610,9 +7576,7 @@ "slug": "get-a-license", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -7723,9 +7687,7 @@ "slug": "render-a-markdown-document", "category": "markdown", "categoryLabel": "Markdown", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -7826,9 +7788,7 @@ "slug": "render-a-markdown-document-in-raw-mode", "category": "markdown", "categoryLabel": "Markdown", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -7881,9 +7841,7 @@ "slug": "get-github-ae-meta-information", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This endpoint provides a list of GitHub's IP addresses. For more information, see \"About GitHub's IP addresses.\"

", "responses": [ @@ -7978,9 +7936,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -8718,9 +8674,7 @@ "slug": "get-octocat", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -8789,9 +8743,7 @@ "slug": "list-organizations", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all organizations, in the order that they were created on GitHub AE.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

", "responses": [ @@ -8862,9 +8814,7 @@ "slug": "get-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

GitHub Apps with the Organization plan permission can use this endpoint to retrieve information about an organization's GitHub AE plan. See \"Authenticating with GitHub Apps\" for details. For an example response, see 'Response with GitHub AE plan information' below.\"

", "responses": [ @@ -9130,9 +9080,7 @@ "slug": "update-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Parameter Deprecation Notice: GitHub AE 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.

\n

Enables an authenticated organization owner with the admin:org scope to update the organization's profile and member privileges.

", "bodyParameters": [ { @@ -9395,9 +9343,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -9477,9 +9423,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -9746,9 +9690,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Here's how you can create a hook that posts payloads in JSON format:

", "responses": [ { @@ -10003,9 +9945,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a webhook configured in an organization. To get only the webhook config properties, see \"Get a webhook configuration for an organization.\"

", "responses": [ @@ -10235,9 +10175,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

", "responses": [ { @@ -10456,9 +10394,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -10532,9 +10468,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 .\"

\n

Access tokens must have the admin:org_hook scope, and GitHub Apps must have the organization_hooks:read permission.

", "responses": [ @@ -10662,9 +10596,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 .\"

\n

Access tokens must have the admin:org_hook scope, and GitHub Apps must have the organization_hooks:write permission.

", "bodyParameters": [ { @@ -10776,9 +10708,7 @@ "categoryLabel": "Orgs", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -10920,9 +10850,7 @@ "slug": "list-app-installations-for-an-organization", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -11210,9 +11138,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -11292,9 +11218,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -11373,9 +11297,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -11449,9 +11371,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

In order to get a user's membership with an organization, the authenticated user must be an organization member.

", "responses": [ @@ -11568,9 +11488,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", "bodyParameters": [ { @@ -11671,9 +11589,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -11778,9 +11694,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all users who are outside collaborators of an organization.

", "responses": [ @@ -11850,9 +11764,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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\".

", "responses": [ @@ -11943,9 +11855,7 @@ "categoryLabel": "Orgs", "subcategory": "outside-collaborators", "subcategoryLabel": "Outside collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Removing a user from this list will remove them from all the organization's repositories.

", "responses": [ @@ -12052,9 +11962,7 @@ "slug": "list-organization-projects", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -12161,9 +12069,7 @@ "slug": "create-an-organization-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates an organization project board. 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.

", "bodyParameters": [ { @@ -12288,9 +12194,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Members of an organization can choose to have their membership publicized or not.

", "responses": [ @@ -12360,9 +12264,7 @@ "categoryLabel": "Orgs", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -12651,9 +12553,7 @@ "slug": "list-organization-repositories", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories for the specified organization.

", "responses": [ @@ -12917,9 +12817,7 @@ "slug": "create-an-organization-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

\n

OAuth scope requirements

\n

When using OAuth, authorizations must include:

\n", "bodyParameters": [ { @@ -13178,9 +13076,7 @@ "slug": "list-teams", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all teams in an organization that are visible to the authenticated user.

", "responses": [ @@ -13343,9 +13239,7 @@ "slug": "create-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

\n

When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of maintainers. For more information, see \"About teams\".

", "bodyParameters": [ { @@ -13504,9 +13398,7 @@ "slug": "get-a-team-by-name", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a team using the team's slug. GitHub AE generates the slug from the team name.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}.

", "responses": [ @@ -13654,9 +13546,7 @@ "slug": "update-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

To edit a team, the authenticated user must either be an organization owner or a team maintainer.

\n

Note: You can also specify a team by org_id and team_id using the route PATCH /organizations/{org_id}/team/{team_id}.

", "bodyParameters": [ { @@ -13781,9 +13671,7 @@ "slug": "delete-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -13895,9 +13783,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all discussions on a team's page. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/discussions.

", "responses": [ @@ -14023,9 +13909,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new discussion post on a team's page. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Note: You can also specify a team by org_id and team_id using the route POST /organizations/{org_id}/team/{team_id}/discussions.

", "bodyParameters": [ { @@ -14141,9 +14025,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a specific discussion on a team's page. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}.

", "responses": [ @@ -14262,9 +14144,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Note: You can also specify a team by org_id and team_id using the route PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}.

", "bodyParameters": [ { @@ -14363,9 +14243,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -14486,9 +14364,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List all comments on a team discussion. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments.

", "responses": [ @@ -14602,9 +14478,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new comment on a team discussion. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Note: You can also specify a team by org_id and team_id using the route POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments.

", "bodyParameters": [ { @@ -14710,9 +14584,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a specific comment on a team discussion. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}.

", "responses": [ @@ -14834,9 +14706,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Edits the body text of a discussion comment. OAuth access tokens require the write:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}.

", "bodyParameters": [ { @@ -14935,9 +14805,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -15070,9 +14938,7 @@ "slug": "list-reactions-for-a-team-discussion-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a team discussion comment. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions.

", "responses": [ @@ -15202,9 +15068,7 @@ "slug": "create-reaction-for-a-team-discussion-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a team discussion comment. OAuth access tokens require the write:discussion scope. A response with a Status: 200 OK means that you already added the reaction type to this team discussion comment.

\n

Note: You can also specify a team by org_id and team_id using the route POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions.

", "bodyParameters": [ { @@ -15327,9 +15191,7 @@ "slug": "delete-team-discussion-comment-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -15453,9 +15315,7 @@ "slug": "list-reactions-for-a-team-discussion", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a team discussion. OAuth access tokens require the read:discussion scope.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions.

", "responses": [ @@ -15690,9 +15550,7 @@ "slug": "delete-team-discussion-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -15798,9 +15656,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Team members will include the members of child teams.

\n

To list members in a team, the team must be visible to the authenticated user.

", "responses": [ @@ -15880,9 +15736,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Team members will include the members of child teams.

\n

To get a user's membership with a team, the team must be visible to the authenticated user.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/memberships/{username}.

\n

Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

", "responses": [ @@ -16004,9 +15858,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.

\n

Note: When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub AE.\"

\n

An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.

\n

If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.

\n

Note: You can also specify a team by org_id and team_id using the route PUT /organizations/{org_id}/team/{team_id}/memberships/{username}.

", "bodyParameters": [ { @@ -16118,9 +15970,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -16220,9 +16070,7 @@ "slug": "list-team-projects", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the organization projects for a team.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/projects.

", "responses": [ @@ -16307,9 +16155,7 @@ "slug": "check-team-permissions-for-a-project", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Checks whether a team has read, write, or admin permissions for an organization project. The response includes projects inherited from a parent team.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/projects/{project_id}.

", "responses": [ @@ -16424,9 +16270,7 @@ "slug": "add-or-update-team-project-permissions", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Note: You can also specify a team by org_id and team_id using the route PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}.

", "bodyParameters": [ { @@ -16524,9 +16368,7 @@ "slug": "remove-a-project-from-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -16614,9 +16456,7 @@ "slug": "list-team-repositories", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists a team's repositories visible to the authenticated user.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/repos.

", "responses": [ @@ -16703,9 +16543,7 @@ "slug": "check-team-permissions-for-a-repository", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -16828,9 +16666,7 @@ "slug": "add-or-update-team-repository-permissions", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -16933,9 +16769,7 @@ "slug": "remove-a-repository-from-a-team", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -17023,9 +16857,7 @@ "slug": "list-child-teams", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the child teams of the team specified by {team_slug}.

\n

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/teams.

", "responses": [ @@ -17094,9 +16926,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -17217,9 +17047,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -17335,9 +17163,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -17460,9 +17286,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -17577,9 +17401,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -17692,9 +17514,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -17789,9 +17609,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -17910,9 +17728,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -18039,9 +17855,7 @@ "categoryLabel": "Projects", "subcategory": "cards", "subcategoryLabel": "Cards", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the pull_request key.

\n

Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull request id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -18160,9 +17974,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -18259,9 +18071,7 @@ "slug": "get-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -18408,9 +18218,7 @@ "slug": "update-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -18562,9 +18370,7 @@ "slug": "delete-a-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -18692,9 +18498,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -18828,9 +18632,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -18953,9 +18755,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -19061,9 +18861,7 @@ "categoryLabel": "Projects", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -19181,9 +18979,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -19290,9 +19086,7 @@ "categoryLabel": "Projects", "subcategory": "columns", "subcategoryLabel": "Columns", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -19372,9 +19166,7 @@ "slug": "get-rate-limit-status-for-the-authenticated-user", "category": "rate-limit", "categoryLabel": "Rate limit", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Accessing this endpoint does not count against your REST API rate limit.

\n

Note: The rate object is deprecated. If you're writing new API client code or updating existing code, you should use the core object instead of the rate object. The core object contains the same information that is present in the rate object.

", "responses": [ @@ -19453,9 +19245,7 @@ "slug": "delete-a-reaction-legacy", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -19560,9 +19350,7 @@ "slug": "get-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

When you pass the scarlet-witch-preview media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.

\n

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.

", "responses": [ @@ -19835,9 +19623,7 @@ "slug": "update-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: To edit a repository's topics, use the Replace all repository topics endpoint.

", "bodyParameters": [ { @@ -20072,9 +19858,7 @@ "slug": "delete-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Deleting a repository requires admin access. If OAuth is used, the delete_repo scope is required.

\n

If an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a 403 Forbidden response.

", "responses": [ @@ -20174,9 +19958,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the available assignees for issues in a repository.

", "responses": [ @@ -20260,9 +20042,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -20366,9 +20146,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -20459,9 +20237,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -20558,9 +20334,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -21144,9 +20918,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -21685,9 +21457,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -21771,9 +21541,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -21853,9 +21621,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.

", "responses": [ @@ -21935,9 +21701,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -22028,9 +21792,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -22234,9 +21996,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.

\n

Note: Passing new arrays of users and teams replaces their previous values.

", "responses": [ { @@ -22416,9 +22176,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -22509,9 +22267,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of true indicates you must sign commits on this branch. For more information, see Signing commits with GPG in GitHub Help.

\n

Note: You must enable branch protection to require signed commits.

", "responses": [ @@ -22603,9 +22359,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.

", "responses": [ @@ -22697,9 +22451,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -22783,9 +22535,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -22908,9 +22658,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.

", "bodyParameters": [ { @@ -23022,9 +22770,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -23103,9 +22849,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -23222,9 +22966,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -23364,9 +23106,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -23501,9 +23241,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "bodyParameters": [ { @@ -23606,9 +23344,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists who has access to this protected branch.

\n

Note: Users, apps, and teams restrictions are only available for organization-owned repositories.

", "responses": [ @@ -23693,9 +23429,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -23774,9 +23508,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

", "responses": [ @@ -23893,9 +23625,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified apps push access for this branch. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe GitHub Apps that have push access to this branch. Use the app's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -24025,9 +23755,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe GitHub Apps that have push access to this branch. Use the app's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -24157,9 +23885,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of an app to push to this branch. Only installed GitHub Apps with write access to the contents permission can be added as authorized actors on a protected branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe GitHub Apps that have push access to this branch. Use the app's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -24257,9 +23983,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the teams who have push access to this branch. The list includes child teams.

", "responses": [ @@ -24376,9 +24100,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified teams push access for this branch. You can also give push access to child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe teams that can have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -24508,9 +24230,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayThe teams that can have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -24640,9 +24360,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of a team to push to this branch. You can also remove push access for child teams.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayTeams that should no longer have push access. Use the team's slug. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -24740,9 +24458,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists the people who have push access to this branch.

", "responses": [ @@ -24859,9 +24575,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Grants the specified people push access for this branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -24991,9 +24705,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -25123,9 +24835,7 @@ "categoryLabel": "Repos", "subcategory": "branches", "subcategoryLabel": "Branches", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Removes the ability of a user to push to this branch.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
TypeDescription
arrayUsernames of the people who should no longer have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
", "bodyParameters": [ { @@ -26228,9 +25938,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Creates a new check run for a specific commit in a repository. Your GitHub App must have the checks:write permission to create check runs.

\n

In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.

", "responses": [ { @@ -27251,9 +26959,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Gets a single check run using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -28305,9 +28011,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

Updates a check run for a specific commit in a repository. Your GitHub App must have the checks:write permission to edit check runs.

", "responses": [ { @@ -29331,9 +29035,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -29429,9 +29131,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

By default, check suites are automatically created when you create a check run. You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"Update repository preferences for check suites\". Your GitHub App must have the checks:write permission to create check suites.

", "bodyParameters": [ { @@ -29594,9 +29294,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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. You must have admin permissions in the repository to set preferences for check suites.

", "responses": [ { @@ -29741,9 +29439,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Gets a single check suite using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the repo scope to get check suites in a private repository.

", "responses": [ @@ -29883,9 +29579,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check runs for a check suite using its id. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -29965,9 +29659,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "201", @@ -30072,9 +29764,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Team members will include the members of child teams.

", "responses": [ @@ -30158,9 +29848,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -30281,9 +29969,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

For more information the permission levels, see \"Repository permission levels for an organization\".

\n

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.\"

\n

The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the repository invitations API endpoints.

\n

Rate limits

\n

To prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.

", "bodyParameters": [ { @@ -30404,9 +30090,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -30484,9 +30168,7 @@ "categoryLabel": "Repos", "subcategory": "collaborators", "subcategoryLabel": "Collaborators", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Checks the repository permission of a collaborator. The possible repository permissions are admin, write, read, and none.

", "responses": [ @@ -30588,9 +30270,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Commit Comments use these custom media types. You can read more about the use of media types in the API here.

\n

Comments are ordered by ascending ID.

", "responses": [ @@ -30677,9 +30357,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -30790,9 +30468,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -30887,9 +30563,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -31018,9 +30692,7 @@ "slug": "list-reactions-for-a-commit-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a commit comment.

", "responses": [ @@ -31151,9 +30823,7 @@ "slug": "create-reaction-for-a-commit-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a commit comment. A response with a Status: 200 OK means that you already added the reaction type to this commit comment.

", "bodyParameters": [ { @@ -31283,9 +30953,7 @@ "slug": "delete-a-commit-comment-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -31424,9 +31092,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -31533,9 +31199,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch.

", "responses": [ @@ -31652,9 +31316,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Use the :commit_sha to specify the commit that will have its comments listed.

", "responses": [ @@ -31791,9 +31453,7 @@ "categoryLabel": "Repos", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a comment for a commit using its :commit_sha.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -31947,9 +31607,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the List pull requests endpoint.

", "responses": [ @@ -32034,9 +31692,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the contents of a single commit reference. You must have read access for the repository to use this endpoint.

\n

Note: If there are more than 300 files in the commit diff, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.

\n

You can pass the appropriate media type to fetch diff and patch formats. Diffs with binary data will have no patch property.

\n

To return only the SHA-1 hash of the commit reference, you can provide the sha custom media type in the Accept header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -32191,9 +31847,7 @@ "categoryLabel": "Checks", "subcategory": "runs", "subcategoryLabel": "Runs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check runs for a commit ref. The ref can be a SHA, branch name, or a tag name. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the repo scope to get check runs in a private repository.

", "responses": [ @@ -32314,9 +31968,7 @@ "categoryLabel": "Checks", "subcategory": "suites", "subcategoryLabel": "Suites", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Lists check suites for a commit ref. The ref can be a SHA, branch name, or a tag name. GitHub Apps must have the checks:read permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the repo scope to get check suites in a private repository.

", "responses": [ @@ -32396,9 +32048,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

The most recent status for each context is returned, up to 100. This field paginates if there are over 100 contexts.

\n

Additionally, a combined state is returned. The state is one of:

\n", "responses": [ @@ -32503,9 +32153,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

This resource is also available via a legacy route: GET /repos/:owner/:repo/statuses/:ref.

", "responses": [ @@ -32585,9 +32233,7 @@ "slug": "get-the-code-of-conduct-for-a-repository", "category": "codes-of-conduct", "categoryLabel": "Codes of conduct", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This method returns the contents of the repository's code of conduct file, if one is detected.

", "responses": [ @@ -32675,9 +32321,7 @@ "categoryLabel": "Repos", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 <USERNAME>:branch.

\n

The response from the API is equivalent to running the git log base..head command; however, commits are returned in chronological order. Pass the appropriate media type to fetch diff and patch formats.

\n

The response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a renamed status have a previous_filename field showing the previous filename of the file, and files with a modified status have a patch field showing the changes made to the file.

\n

Working with large comparisons

\n

The response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the List commits to enumerate all commits in the range.

\n

For comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long\nto generate. You can typically resolve this error by using a smaller commit range.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -32777,9 +32421,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets the contents of a file or directory in a repository. Specify the file path or directory in :path. If you omit\n:path, you will receive the contents of all files in the repository.

\n

Files and symlinks support a custom media type for\nretrieving the raw content or rendered HTML (when supported). All content types support a custom media\ntype to ensure the content is returned in a consistent\nobject format.

\n

Note:

\n\n

If the content is a directory

\n

The response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\nshould be \"submodule\". This behavior exists in API v3 for backwards compatibility purposes.\nIn the next major version of the API, the type will be returned as \"submodule\".

\n

If the content is a symlink

\n

If the requested :path points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object\ndescribing the symlink itself.

\n

If the content is a submodule

\n

The submodule_git_url identifies the location of the submodule repository, and the sha identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.

\n

If the submodule repository is not hosted on github.com, the Git URLs (git_url and _links[\"git\"]) and the\ngithub.com URLs (html_url and _links[\"html\"]) will have null values.

", "responses": [ @@ -33122,9 +32764,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new file or replaces an existing file in a repository.

", "responses": [ { @@ -33576,9 +33216,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Deletes a file in a repository.

\n

You can provide an additional committer parameter, which is an object containing information about the committer. Or, you can provide an author parameter, which is an object containing information about the author.

\n

The author section is optional and is filled in with the committer information if omitted. If the committer information is omitted, the authenticated user's information is used.

\n

You must provide values for both name and email, whether you choose to use author or committer. Otherwise, you'll receive a 422 status code.

", "responses": [ { @@ -33834,9 +33472,7 @@ "slug": "list-repository-contributors", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 v3 caches contributor data to improve performance.

\n

GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.

", "responses": [ @@ -33992,9 +33628,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Simple filtering of deployments is available via query parameters:

", "responses": [ @@ -34208,9 +33842,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Deployments offer a few configurable parameters with certain defaults.

\n

The ref parameter can be any named branch, tag, or SHA. At GitHub AE we often deploy branches and verify them\nbefore we merge a pull request.

\n

The environment parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as production, staging, and qa. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is production.

\n

The auto_merge parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref is behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.

\n

By default, commit statuses for every submitted context must be in a success\nstate. The required_contexts parameter allows you to specify a subset of contexts that must be success, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.

\n

The payload parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.

\n

The task parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe deploy:migrations to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.

\n

Users with repo or repo_deployment scopes can create a deployment for a given ref.

\n

Merged branch response

\n

You will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:

\n\n

If there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.

\n

Merge conflict response

\n

This error happens when the auto_merge option is enabled and when the default branch (in this case master), can't\nbe merged into the branch that's being deployed (in this case topic-branch), due to merge conflicts.

\n

Failed commit status checks

\n

This error happens when the required_contexts parameter indicates that one or more contexts need to have a success\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of success.

", "bodyParameters": [ { @@ -34427,9 +34059,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -34514,9 +34144,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -34638,9 +34266,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Users with pull access can view deployment statuses for a deployment:

", "responses": [ @@ -34839,9 +34465,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access can create deployment statuses for a given deployment.

\n

GitHub Apps require read & write access to \"Deployments\" and read-only access to \"Repo contents\" (for private repos). OAuth Apps require the repo_deployment scope.

", "bodyParameters": [ { @@ -35030,9 +34654,7 @@ "categoryLabel": "Repos", "subcategory": "deployments", "subcategoryLabel": "Deployments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Users with pull access can view a deployment status for a deployment:

", "responses": [ @@ -35132,9 +34754,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -35239,9 +34859,7 @@ "categoryLabel": "Repos", "subcategory": "forks", "subcategoryLabel": "Forks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -35336,9 +34954,7 @@ "categoryLabel": "Repos", "subcategory": "forks", "subcategoryLabel": "Forks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a fork for the authenticated user.

\n

Note: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact GitHub AE Support or GitHub AE Premium Support.

", "bodyParameters": [ { @@ -35475,9 +35091,7 @@ "categoryLabel": "Git", "subcategory": "blobs", "subcategoryLabel": "Blobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -35596,9 +35210,7 @@ "categoryLabel": "Git", "subcategory": "blobs", "subcategoryLabel": "Blobs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The content in the response will always be Base64 encoded.

\n

Note: This API supports blobs up to 100 megabytes in size.

", "responses": [ @@ -35896,9 +35508,7 @@ "categoryLabel": "Git", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a new Git commit object.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ { @@ -36174,9 +35784,7 @@ "categoryLabel": "Git", "subcategory": "commits", "subcategoryLabel": "Commits", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets a Git commit object.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -36281,9 +35889,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns an array of references from your Git database that match the supplied name. The :ref in the URL must be formatted as heads/<branch name> for branches and tags/<tag name> for tags. If the :ref doesn't exist in the repository, but existing refs start with :ref, they will be returned as an array.

\n

When you use this endpoint without providing a :ref, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just heads and tags.

\n

Note: You need to explicitly request a pull request to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"Checking mergeability of pull requests\".

\n

If you request matching references for a branch named feature but the branch feature doesn't exist, the response can still include other matching head refs that start with the word feature, such as featureA and featureB.

", "responses": [ @@ -36363,9 +35969,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a single reference from your Git database. The :ref in the URL must be formatted as heads/<branch name> for branches and tags/<tag name> for tags. If the :ref doesn't match an existing ref, a 404 is returned.

\n

Note: You need to explicitly request a pull request to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"Checking mergeability of pull requests\".

", "responses": [ @@ -36486,9 +36090,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -36638,9 +36240,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -36745,9 +36345,7 @@ "categoryLabel": "Git", "subcategory": "refs", "subcategoryLabel": "Refs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -36963,9 +36561,7 @@ "categoryLabel": "Git", "subcategory": "tags", "subcategoryLabel": "Tags", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 the refs/tags/[tag] reference. If you want to create a lightweight tag, you only have to create the tag reference - this call would be unnecessary.

\n

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ { @@ -37164,9 +36760,7 @@ "categoryLabel": "Git", "subcategory": "tags", "subcategoryLabel": "Tags", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Signature verification object

\n

The response will include a verification object that describes the result of verifying the commit's signature. The following fields are included in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeDescription
verifiedbooleanIndicates whether GitHub considers the signature in this commit to be verified.
reasonstringThe reason for verified value. Possible values and their meanings are enumerated in table below.
signaturestringThe signature that was extracted from the commit.
payloadstringThe value that was signed.
\n

These are the possible values for reason in the verification object:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ValueDescription
expired_keyThe key that made the signature is expired.
not_signing_keyThe "signing" flag is not among the usage flags in the GPG key that made the signature.
gpgverify_errorThere was an error communicating with the signature verification service.
gpgverify_unavailableThe signature verification service is currently unavailable.
unsignedThe object does not include a signature.
unknown_signature_typeA non-PGP signature was found in the commit.
no_userNo user was associated with the committer email address in the commit.
unverified_emailThe committer email address in the commit was associated with a user, but the email address is not verified on her/his account.
bad_emailThe committer email address in the commit is not included in the identities of the PGP key that made the signature.
unknown_keyThe key that made the signature has not been registered with any user's account.
malformed_signatureThere was an error parsing the signature.
invalidThe signature could not be cryptographically verified using the key whose key-id was found in the signature.
validNone of the above errors applied, so the signature is considered to be verified.
", "responses": [ @@ -37413,9 +37007,7 @@ "categoryLabel": "Git", "subcategory": "trees", "subcategoryLabel": "Trees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

\n

If you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"Create a commit\" and \"Update a reference.\"

", "responses": [ { @@ -37667,9 +37259,7 @@ "categoryLabel": "Git", "subcategory": "trees", "subcategoryLabel": "Trees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a single tree using the SHA1 value for that tree.

\n

If truncated is true in the response then the number of items in the tree array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.

", "responses": [ @@ -37775,9 +37365,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -38053,9 +37641,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Repositories can have multiple webhooks installed. Each webhook should have a unique config. Multiple webhooks can\nshare the same config as long as those webhooks do not have any events that overlap.

", "responses": [ { @@ -38324,9 +37910,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a webhook configured in a repository. To get only the webhook config properties, see \"Get a webhook configuration for a repository.\"

", "responses": [ @@ -38616,9 +38200,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

", "responses": [ { @@ -38897,9 +38479,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -38982,9 +38562,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.\"

\n

Access tokens must have the read:repo_hook or repo scope, and GitHub Apps must have the repository_hooks:read permission.

", "responses": [ @@ -39121,9 +38699,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.\"

\n

Access tokens must have the write:repo_hook or repo scope, and GitHub Apps must have the repository_hooks:write permission.

", "bodyParameters": [ { @@ -39244,9 +38820,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -39329,9 +38903,7 @@ "categoryLabel": "Repos", "subcategory": "webhooks", "subcategoryLabel": "Webhooks", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -39503,9 +39075,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.

", "responses": [ @@ -39612,9 +39182,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -39711,9 +39279,7 @@ "categoryLabel": "Repos", "subcategory": "invitations", "subcategoryLabel": "Invitations", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -39914,9 +39480,7 @@ "slug": "list-repository-issues", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List issues in a repository.

\n

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe pull_request key. Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull\nrequest id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -40108,9 +39672,7 @@ "slug": "create-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Any user with pull access to a repository can create an issue. If issues are disabled in the repository, the API returns a 410 Gone status.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -40355,9 +39917,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

By default, Issue Comments are ordered by ascending ID.

", "responses": [ @@ -40454,9 +40014,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -40567,9 +40125,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -40664,9 +40220,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -40790,9 +40344,7 @@ "slug": "list-reactions-for-an-issue-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to an issue comment.

", "responses": [ @@ -40923,9 +40475,7 @@ "slug": "create-reaction-for-an-issue-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to an issue comment. A response with a Status: 200 OK means that you already added the reaction type to this issue comment.

", "bodyParameters": [ { @@ -41055,9 +40605,7 @@ "slug": "delete-an-issue-comment-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -41153,9 +40701,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -41246,9 +40792,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -41348,9 +40892,7 @@ "slug": "get-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The API returns a 301 Moved Permanently status if the issue was\ntransferred to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a 404 Not Found status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a 410 Gone status. To receive webhook events for transferred and deleted issues, subscribe\nto the issues webhook.

\n

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe pull_request key. Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull\nrequest id, use the \"List pull requests\" endpoint.

", "responses": [ @@ -41566,9 +41108,7 @@ "slug": "update-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Issue owners and users with push access can edit an issue.

", "bodyParameters": [ { @@ -41803,9 +41343,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.

", "bodyParameters": [ { @@ -41927,9 +41465,7 @@ "categoryLabel": "Issues", "subcategory": "assignees", "subcategoryLabel": "Assignees", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Removes one or more assignees from an issue.

", "bodyParameters": [ { @@ -42059,9 +41595,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Issue Comments are ordered by ascending ID.

", "responses": [ @@ -42178,9 +41712,7 @@ "categoryLabel": "Issues", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -42317,9 +41849,7 @@ "categoryLabel": "Issues", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -42424,9 +41954,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -42543,9 +42071,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -42677,9 +42203,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Removes any previous labels and sets the new labels for an issue.

", "bodyParameters": [ { @@ -42782,9 +42306,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -42877,9 +42399,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -42993,9 +42513,7 @@ "slug": "lock-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -43108,9 +42626,7 @@ "slug": "unlock-an-issue", "category": "issues", "categoryLabel": "Issues", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -43244,9 +42760,7 @@ "slug": "list-reactions-for-an-issue", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to an issue.

", "responses": [ @@ -43506,9 +43020,7 @@ "slug": "delete-an-issue-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -43620,9 +43132,7 @@ "categoryLabel": "Issues", "subcategory": "timeline", "subcategoryLabel": "Timeline", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -43727,9 +43237,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -43845,9 +43353,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

You can create a read-only deploy key.

", "bodyParameters": [ { @@ -43960,9 +43466,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -44047,9 +43551,7 @@ "categoryLabel": "Repos", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -44138,9 +43640,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -44261,9 +43761,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -44380,9 +43878,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -44509,9 +44005,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -44618,9 +44112,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -44687,9 +44179,7 @@ "slug": "list-repository-languages", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.

", "responses": [ @@ -44757,9 +44247,7 @@ "slug": "get-the-license-for-a-repository", "category": "licenses", "categoryLabel": "Licenses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This method returns the contents of the repository's license file, if one is detected.

\n

Similar to Get repository content, this method also supports custom media types for retrieving the raw license content or rendered license HTML.

", "responses": [ @@ -44876,9 +44364,7 @@ "categoryLabel": "Repos", "subcategory": "merging", "subcategoryLabel": "Merging", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -45070,9 +44556,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -45208,9 +44692,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -45342,9 +44824,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -45487,9 +44967,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -45611,9 +45089,7 @@ "categoryLabel": "Issues", "subcategory": "milestones", "subcategoryLabel": "Milestones", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -45717,9 +45193,7 @@ "categoryLabel": "Issues", "subcategory": "labels", "subcategoryLabel": "Labels", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -46020,9 +45494,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -46193,9 +45665,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Configures a GitHub AE Pages site. For more information, see \"About GitHub Pages.\"

", "responses": [ { @@ -46419,9 +45889,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -46557,9 +46025,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -46663,9 +46129,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -46735,9 +46199,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.

", "responses": [ @@ -46807,9 +46269,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -46888,9 +46348,7 @@ "categoryLabel": "Repos", "subcategory": "pages", "subcategoryLabel": "Pages", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -47001,9 +46459,7 @@ "slug": "list-repository-projects", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

", "responses": [ @@ -47139,9 +46595,7 @@ "slug": "create-a-repository-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Creates a repository project board. 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.

", "bodyParameters": [ { @@ -47340,9 +46794,7 @@ "slug": "list-pull-requests", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

", "responses": [ @@ -47505,9 +46957,7 @@ "slug": "create-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.

\n

You can create a new pull request.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -47723,9 +47173,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -47818,9 +47266,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Provides details for a review comment.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -47938,9 +47384,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Enables you to edit a review comment.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n", "bodyParameters": [ { @@ -48030,9 +47474,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -48161,9 +47603,7 @@ "slug": "list-reactions-for-a-pull-request-review-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List the reactions to a pull request review comment.

", "responses": [ @@ -48294,9 +47734,7 @@ "slug": "create-reaction-for-a-pull-request-review-comment", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Create a reaction to a pull request review comment. A response with a Status: 200 OK means that you already added the reaction type to this pull request review comment.

", "bodyParameters": [ { @@ -48426,9 +47864,7 @@ "slug": "delete-a-pull-request-comment-reaction", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -48504,9 +47940,7 @@ "slug": "get-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

Lists details of a pull request by providing its number.

\n

When you get, create, or edit a pull request, GitHub AE creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the mergeable key. For more information, see \"Checking mergeability of pull requests\".

\n

The value of the mergeable attribute can be true, false, or null. If the value is null, then GitHub AE has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-null value for the mergeable attribute in the response. If mergeable is true, then merge_commit_sha will be the SHA of the test merge commit.

\n

The value of the merge_commit_sha attribute changes depending on the state of the pull request. Before merging a pull request, the merge_commit_sha attribute holds the SHA of the test merge commit. After merging a pull request, the merge_commit_sha attribute changes depending on how you merged the pull request:

\n\n

Pass the appropriate media type to fetch diff and patch formats.

", "responses": [ @@ -48664,9 +48098,7 @@ "slug": "update-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 in the GitHub Help documentation.

\n

To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.

", "bodyParameters": [ { @@ -48877,9 +48309,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Lists all review comments for a pull request. By default, review comments are in ascending order by ID.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

", "responses": [ @@ -49095,9 +48525,7 @@ "categoryLabel": "Pulls", "subcategory": "comments", "subcategoryLabel": "Comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: Multi-line comments on pull requests are currently in public beta and subject to change.

\n

Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"Create an issue comment.\" We recommend creating a review comment using line, side, and optionally start_line and start_side if your comment applies to more than one line in the pull request diff.

\n

You can still create a review comment using the position parameter. When you use position, the line, side, start_line, and start_side parameters are not required. For more information, see Multi-line comment summary.

\n

Note: The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Multi-line comment summary

\n

Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.

\n

Use the comfort-fade preview header and the line parameter to show multi-line comment-supported fields in the response.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n", "bodyParameters": [ { @@ -49426,9 +48854,7 @@ "slug": "list-commits-on-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

", "responses": [ @@ -49525,9 +48951,7 @@ "slug": "list-pull-requests-files", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.

", "responses": [ @@ -49614,9 +49038,7 @@ "slug": "check-if-a-pull-request-has-been-merged", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -49750,9 +49172,7 @@ "slug": "merge-a-pull-request", "category": "pulls", "categoryLabel": "Pulls", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -49920,9 +49340,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -50047,9 +49465,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -50208,9 +49624,7 @@ "categoryLabel": "Pulls", "subcategory": "review-requests", "subcategoryLabel": "Review requests", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -50338,9 +49752,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The list of reviews returns in chronological order.

", "responses": [ @@ -50627,9 +50039,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

\n

Pull request reviews created in the PENDING state do not include the submitted_at property in the response.

\n

Note: To comment on a specific line in a file, you need to first determine the position of that line in the diff. The GitHub REST API v3 offers the application/vnd.github.v3.diff media type. To see a pull request diff, add this media type to the Accept header of a call to the single pull request endpoint.

\n

The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.

", "responses": [ { @@ -50913,9 +50323,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -51035,9 +50443,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Update the review summary comment with new text.

", "bodyParameters": [ { @@ -51141,9 +50547,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -51262,9 +50666,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List comments for a specific pull request review.

", "responses": [ @@ -51390,9 +50792,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Note: To dismiss a pull request review on a protected branch, you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.

", "bodyParameters": [ { @@ -51547,9 +50947,7 @@ "categoryLabel": "Pulls", "subcategory": "reviews", "subcategoryLabel": "Reviews", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -51800,9 +51198,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Gets the preferred README for a repository.

\n

READMEs support custom media types for retrieving the raw content or rendered HTML.

", "responses": [ @@ -51902,9 +51298,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

Information about published releases are available to everyone. Only users with push access will receive listings for draft releases.

", "responses": [ @@ -52058,9 +51452,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can create a release.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -52202,9 +51594,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

To download the asset's binary content, set the Accept header of the request to application/octet-stream. 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.

", "responses": [ @@ -52341,9 +51731,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can edit a release asset.

", "bodyParameters": [ { @@ -52451,9 +51839,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -52522,9 +51908,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

View the latest published full release for the repository.

\n

The latest release is the most recent non-prerelease, non-draft release, sorted by the created_at attribute. The created_at attribute is the date of the commit used for the release, and not the date when the release was drafted or published.

", "responses": [ @@ -52604,9 +51988,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Get a published release with the specified tag.

", "responses": [ @@ -52691,9 +52073,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Note: This returns an upload_url key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource.

", "responses": [ @@ -52851,9 +52231,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access to the repository can edit a release.

", "bodyParameters": [ { @@ -52988,9 +52366,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -53089,9 +52465,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -53208,9 +52582,7 @@ "categoryLabel": "Repos", "subcategory": "releases", "subcategoryLabel": "Releases", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

This endpoint makes use of a Hypermedia relation 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\nthe response of the Create a release endpoint to upload a release asset.

\n

You need to use an HTTP client which supports SNI to make calls to this endpoint.

\n

Most libraries will set the required Content-Length header automatically. Use the required Content-Type header to provide the media type of the asset. For a list of media types, see Media Types. For example:

\n

application/zip

\n

GitHub AE expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.

\n

When an upstream failure occurs, you will receive a 502 Bad Gateway status. This may leave an empty asset with a state of starter. It can be safely deleted.

\n

Notes:

\n", "responses": [ @@ -53300,9 +52672,7 @@ "categoryLabel": "Activity", "subcategory": "starring", "subcategoryLabel": "Starring", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people that have starred the repository.

\n

You can also find out when stars were created by passing the following custom media type via the Accept header:

", "responses": [ @@ -53377,9 +52747,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

", "responses": [ @@ -53449,9 +52817,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the last year of commit activity grouped by week. The days array is a group of commits per day, starting on Sunday.

", "responses": [ @@ -53521,9 +52887,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", "responses": [ @@ -53593,9 +52957,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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.

\n

The array order is oldest week (index 0) to most recent week.

", "responses": [ @@ -53670,9 +53032,7 @@ "categoryLabel": "Repos", "subcategory": "statistics", "subcategoryLabel": "Statistics", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Each array contains the day number, hour number, and number of commits:

\n\n

For example, [2, 14, 25] indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.

", "responses": [ @@ -53814,9 +53174,7 @@ "categoryLabel": "Repos", "subcategory": "statuses", "subcategoryLabel": "Statuses", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

Users with push access in a repository can create commit statuses for a given SHA.

\n

Note: there is a limit of 1000 statuses per sha and context within a repository. Attempts to create more than 1000 statuses will result in a validation error.

", "bodyParameters": [ { @@ -53950,9 +53308,7 @@ "categoryLabel": "Activity", "subcategory": "watching", "subcategoryLabel": "Watching", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people watching the specified repository.

", "responses": [ @@ -54307,9 +53663,7 @@ "slug": "list-repository-tags", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -54388,9 +53742,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -54477,9 +53829,7 @@ "slug": "list-repository-teams", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -54554,9 +53904,7 @@ "slug": "get-all-repository-topics", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "", "responses": [ @@ -54675,9 +54023,7 @@ "slug": "replace-all-repository-topics", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -54812,9 +54158,7 @@ "slug": "transfer-a-repository", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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.

", "bodyParameters": [ { @@ -54911,9 +54255,7 @@ "slug": "enable-vulnerability-alerts", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -54987,9 +54329,7 @@ "slug": "disable-vulnerability-alerts", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -55067,9 +54407,7 @@ "categoryLabel": "Repos", "subcategory": "contents", "subcategoryLabel": "Contents", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "302", @@ -55319,9 +54657,7 @@ "slug": "list-public-repositories", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all public repositories in the order that they were created.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.

", "responses": [ @@ -55439,9 +54775,7 @@ "slug": "search-code", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Searches for query terms inside of a file. This method returns up to 100 results per page.

\n

When searching for code, you can get text match metadata for the file content and file path fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to find the definition of the addClass function inside jQuery repository, your query would look something like this:

\n

q=addClass+in:file+language:js+repo:jquery/jquery

\n

This query searches for the keyword addClass within a file's contents. The query limits the search to files where the language is JavaScript in the jquery/jquery repository.

\n

Considerations for code search

\n

Due to the complexity of searching code, there are a few restrictions on how searches are performed:

\n", "responses": [ @@ -55577,9 +54911,7 @@ "slug": "search-commits", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find commits via various criteria on the default branch (usually master). This method returns up to 100 results per page.

\n

When searching for commits, you can get text match metadata for the message field when you provide the text-match media type. For more details about how to receive highlighted search results, see Text match\nmetadata.

\n

For example, if you want to find commits related to CSS in the octocat/Spoon-Knife repository. Your query would look something like this:

\n

q=repo:octocat/Spoon-Knife+css

", "responses": [ @@ -55707,9 +55039,7 @@ "slug": "search-issues-and-pull-requests", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find issues by state and keyword. This method returns up to 100 results per page.

\n

When searching for issues, you can get text match metadata for the issue title, issue body, and issue comment body fields when you pass the text-match media type. For more details about how to receive highlighted\nsearch results, see Text match metadata.

\n

For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.

\n

q=windows+label:bug+language:python+state:open&sort=created&order=asc

\n

This query searches for the keyword windows, within any open issue that is labeled as bug. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.

\n

Note: For user-to-server GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the is:issue or is:pull-request qualifier will receive an HTTP 422 Unprocessable Entity response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the is qualifier, see \"Searching only issues or pull requests.\"

", "responses": [ @@ -55828,9 +55158,7 @@ "slug": "search-labels", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results per page.

\n

When searching for labels, you can get text match metadata for the label name and description fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to find labels in the linguist repository that match bug, defect, or enhancement. Your query might look like this:

\n

q=bug+defect+enhancement&repository_id=64778136

\n

The labels that best match the query appear first in the search results.

", "responses": [ @@ -55968,9 +55296,7 @@ "slug": "search-repositories", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find repositories via various criteria. This method returns up to 100 results per page.

\n

When searching for repositories, you can get text match metadata for the name and description fields when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:

\n

q=tetris+language:assembly&sort=stars&order=desc

\n

This query searches for repositories with the word tetris in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.

\n

When you include the mercy preview header, you can also search for multiple topics by adding more topic: instances. For example, your query might look like this:

\n

q=topic:ruby+topic:rails

", "responses": [ @@ -56052,9 +55378,7 @@ "slug": "search-topics", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results per page. See \"Searching topics\" for a detailed list of qualifiers.

\n

When searching for topics, you can get text match metadata for the topic's short_description, description, name, or display_name field when you pass the text-match media type. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:

\n

q=ruby+is:featured

\n

This query searches for topics with the keyword ruby and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.

", "responses": [ @@ -56174,9 +55498,7 @@ "slug": "search-users", "category": "search", "categoryLabel": "Search", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Find users via various criteria. This method returns up to 100 results per page.

\n

When searching for users, you can get text match metadata for the issue login, email, and name fields when you pass the text-match media type. For more details about highlighting search results, see Text match metadata. For more details about how to receive highlighted search results, see Text match metadata.

\n

For example, if you're looking for a list of popular users, you might try this query:

\n

q=tom+repos:%3E42+followers:%3E1000

\n

This query searches for users with the name tom. The results are restricted to users with more than 42 repositories and over 1,000 followers.

", "responses": [ @@ -56253,9 +55575,7 @@ "slug": "get-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

", "responses": [ @@ -56397,9 +55717,7 @@ "slug": "update-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

To edit a team, the authenticated user must either be an organization owner or a team maintainer.

\n

Note: With nested teams, the privacy for parent teams cannot be secret.

", "bodyParameters": [ { @@ -56533,9 +55851,7 @@ "slug": "delete-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -56650,9 +55966,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

List all discussions on a team's page. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -56771,9 +56085,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Creates a new discussion post on a team's page. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -56882,9 +56194,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Get a specific discussion on a team's page. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -56996,9 +56306,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

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.

", "bodyParameters": [ { @@ -57090,9 +56398,7 @@ "categoryLabel": "Teams", "subcategory": "discussions", "subcategoryLabel": "Discussions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -57206,9 +56512,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

List all comments on a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -57315,9 +56619,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Creates a new comment on a team discussion. OAuth access tokens require the write:discussion scope.

\n

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See \"Abuse rate limits\" and \"Dealing with abuse rate limits\" for details.

", "bodyParameters": [ { @@ -57416,9 +56718,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Get a specific comment on a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -57533,9 +56833,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Edits the body text of a discussion comment. OAuth access tokens require the write:discussion scope.

", "bodyParameters": [ { @@ -57627,9 +56925,7 @@ "categoryLabel": "Teams", "subcategory": "discussion-comments", "subcategoryLabel": "Discussion comments", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -57755,9 +57051,7 @@ "slug": "list-reactions-for-a-team-discussion-comment-legacy", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

List the reactions to a team discussion comment. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -57880,9 +57174,7 @@ "slug": "create-reaction-for-a-team-discussion-comment-legacy", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Create a reaction to a team discussion comment. OAuth access tokens require the write:discussion scope. A response with a Status: 200 OK means that you already added the reaction type to this team discussion comment.

", "bodyParameters": [ { @@ -58020,9 +57312,7 @@ "slug": "list-reactions-for-a-team-discussion-legacy", "category": "reactions", "categoryLabel": "Reactions", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

List the reactions to a team discussion. OAuth access tokens require the read:discussion scope.

", "responses": [ @@ -58256,9 +57546,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Team members will include the members of child teams.

", "responses": [ @@ -58336,9 +57624,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -58415,9 +57701,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

The \"Add team member\" endpoint (described below) is deprecated.

\n

We recommend using the Add or update team membership for a user endpoint instead. It allows you to invite new organization members to your teams.

\n

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.

\n

Note: When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub AE.\"

\n

Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP verbs.\"

", "responses": [ @@ -58511,9 +57795,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -58590,9 +57872,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Team members will include the members of child teams.

\n

To get a user's membership with a team, the team must be visible to the authenticated user.

\n

Note: The role for organization owners returns as maintainer. For more information about maintainer roles, see Create a team.

", "responses": [ @@ -58707,9 +57987,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.

\n

Note: When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub AE team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub AE.\"

\n

If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.

\n

If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.

", "bodyParameters": [ { @@ -58819,9 +58097,7 @@ "categoryLabel": "Teams", "subcategory": "members", "subcategoryLabel": "Members", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -58914,9 +58190,7 @@ "slug": "list-team-projects-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Lists the organization projects for a team.

", "responses": [ @@ -59004,9 +58278,7 @@ "slug": "check-team-permissions-for-a-project-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

\n

Checks whether a team has read, write, or admin permissions for an organization project. The response includes projects inherited from a parent team.

", "responses": [ @@ -59119,9 +58391,7 @@ "slug": "add-or-update-team-project-permissions-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "

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 endpoint.

\n

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.

", "bodyParameters": [ { @@ -59227,9 +58497,7 @@ "slug": "remove-a-project-from-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -59325,9 +58593,7 @@ "slug": "list-team-repositories-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

", "responses": [ @@ -59412,9 +58678,7 @@ "slug": "check-team-permissions-for-a-repository-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -59528,9 +58792,7 @@ "slug": "add-or-update-team-repository-permissions-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -59634,9 +58896,7 @@ "slug": "remove-a-repository-from-a-team-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -59717,9 +58977,7 @@ "slug": "list-child-teams-legacy", "category": "teams", "categoryLabel": "Teams", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

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 endpoint.

", "responses": [ @@ -62226,9 +61484,7 @@ "slug": "create-a-user-project", "category": "projects", "categoryLabel": "Projects", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "descriptionHTML": "", "bodyParameters": [ { @@ -63805,9 +63061,7 @@ "slug": "list-users", "category": "users", "categoryLabel": "Users", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists all users, in the order that they signed up on GitHub AE. This list includes personal user accounts and organization accounts.

\n

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of users.

", "responses": [ @@ -63871,9 +63125,7 @@ "slug": "get-a-user", "category": "users", "categoryLabel": "Users", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Provides publicly available information about someone with a GitHub account.

\n

GitHub Apps with the Plan user permission can use this endpoint to retrieve information about a user's GitHub AE plan. The GitHub App must be authenticated as a user. See \"Identifying and authorizing users for GitHub Apps\" for details about authentication. For an example response, see 'Response with GitHub AE plan information' below\"

\n

The email key in the following response is the publicly visible email address from your GitHub AE profile page. When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for email, then it will have a value of null. You only see publicly visible email addresses when authenticated with GitHub AE. For more information, see Authentication.

\n

The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"Emails API\".

", "responses": [ @@ -63965,9 +63217,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -64136,9 +63386,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -64218,9 +63466,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people following the specified user.

", "responses": [ @@ -64301,9 +63547,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the people who the specified user follows.

", "responses": [ @@ -64373,9 +63617,7 @@ "categoryLabel": "Users", "subcategory": "followers", "subcategoryLabel": "Followers", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "204", @@ -64554,9 +63796,7 @@ "categoryLabel": "Users", "subcategory": "gpg-keys", "subcategoryLabel": "Gpg keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the GPG keys for a user. This information is accessible by anyone.

", "responses": [ @@ -64791,9 +64031,7 @@ "categoryLabel": "Users", "subcategory": "keys", "subcategoryLabel": "Keys", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists the verified public SSH keys for a user. This is accessible by anyone.

", "responses": [ @@ -64872,9 +64110,7 @@ "slug": "list-organizations-for-a-user", "category": "orgs", "categoryLabel": "Orgs", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

List public organization memberships for the specified user.

\n

This method only lists public memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the List organizations for the authenticated user API instead.

", "responses": [ @@ -65067,9 +64303,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -65149,9 +64383,7 @@ "categoryLabel": "Activity", "subcategory": "events", "subcategoryLabel": "Events", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", @@ -65283,9 +64515,7 @@ "slug": "list-repositories-for-a-user", "category": "repos", "categoryLabel": "Repos", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists public repositories for the specified user.

", "responses": [ @@ -65396,9 +64626,7 @@ "categoryLabel": "Activity", "subcategory": "starring", "subcategoryLabel": "Starring", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories a user has starred.

\n

You can also find out when stars were created by passing the following custom media type via the Accept header:

", "responses": [ @@ -65479,9 +64707,7 @@ "categoryLabel": "Activity", "subcategory": "watching", "subcategoryLabel": "Watching", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "bodyParameters": [], "descriptionHTML": "

Lists repositories a user is watching.

", "responses": [ @@ -65705,9 +64931,7 @@ "slug": "get-the-zen-of-github", "category": "meta", "categoryLabel": "Meta", - "notes": [ - "Works with GitHub Apps" - ], + "notes": [], "responses": [ { "httpStatusCode": "200", diff --git a/script/rest/utils/operation.js b/script/rest/utils/operation.js index 2e58e82e591c..0593e7808b06 100644 --- a/script/rest/utils/operation.js +++ b/script/rest/utils/operation.js @@ -177,10 +177,6 @@ module.exports = class Operation { async renderNotes () { this.notes = [] - if (this['x-github'].enabledForGitHubApps) { - this.notes.push('Works with GitHub Apps') - } - return Promise.all(this.notes.map(async (note) => renderContent(note))) } }