interactions

Get pull request creation cap for an org

Changed on

Gets the pull request creation cap configuration for an organization. The cap limits the total number of open pull requests a user can have across all public repositories in the organization at one time.

Only users with admin access to the organization can view the cap configuration.

get/orgs/{org}/interaction-limits/pulls/creation-cap

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/orgs/{org}/interaction-limits/pulls/creation-cap
  • Auth: none declared

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Response

Response

enabledboolean required

Whether the pull request creation cap is enabled

max_open_pull_requestsinteger required

The maximum number of open pull requests a user can have at one time

include_draftsboolean

Whether draft pull requests count toward the pull request creation cap

Changes