Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com> Co-authored-by: Felicity Chapman <felicitymay@github.com>
27 lines
1.4 KiB
Markdown
27 lines
1.4 KiB
Markdown
---
|
|
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: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
|
|
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](/rest/interactions/repos) interactions endpoints instead.
|
|
|
|
<!-- Content after this section is automatically generated -->
|