Skip to content

Latest commit

聽

History

History
29 lines (24 loc) 路 1.53 KB

File metadata and controls

29 lines (24 loc) 路 1.53 KB
title REST API endpoints for repository interactions
shortTitle Repository
intro Use the REST API to temporarily restrict which type of user can comment, open issues, or create pull requests in a public repository.
permissions People with owner or admin access to temporarily restrict which type of user can comment, open issues, or create pull requests in a public repository.
versions
fpt ghec
*
*
allowTitleToDifferFromFilename true
autogenerated rest
category
Manage repositories and code

About repository interactions

People with owner or admin access can use the REST API to temporarily restrict which type of user can comment, open issues, or create pull requests in a public repository. {% data reusables.interactions.interactions-detail %} Here's more about the types of {% data variables.product.github %} users:

  • {% data reusables.interactions.existing-user-limit-definition %} in the repository.
  • {% data reusables.interactions.contributor-user-limit-definition %} in the repository.
  • {% data reusables.interactions.collaborator-user-limit-definition %} in the repository.

If an interaction limit is enabled for the user or organization that owns the repository, the limit cannot be changed for the individual repository. Instead, use the User or Organization interactions endpoints to change the interaction limit.