AbdulElahGwaith's picture
Upload folder using huggingface_hub
88df9e4 verified
metadata
title: REST API endpoints for user interactions
shortTitle: User
allowTitleToDifferFromFilename: true
intro: >-
  Use the REST API to temporarily restrict which type of user can comment, open
  issues, or create pull requests in your public repositories.
versions:
  fpt: '*'
  ghec: '*'
topics:
  - API
autogenerated: rest

About user interactions

You can use the REST API to temporarily restrict which type of user can comment, open issues, or create pull requests on your public repositories. {% data reusables.interactions.interactions-detail %} Here's more about the types of {% data variables.product.github %} users:

  • {% data reusables.interactions.existing-user-limit-definition %} from interacting with your repositories.
  • {% data reusables.interactions.contributor-user-limit-definition %} from interacting with your repositories.
  • {% data reusables.interactions.collaborator-user-limit-definition %} from interacting with your repositories.

Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user. To set different interaction limits for individual repositories owned by the user, use the Repository interactions endpoints instead.