1
0
mirror of synced 2025-12-22 11:26:57 -05:00
Files
docs/content/rest/reference/interactions.md
2020-10-09 03:28:47 +00:00

1.9 KiB

title, redirect_from, versions
title redirect_from versions
Interactions
/v3/interactions
free-pro-team
*

Users interact with repositories by commenting, opening issues, and creating pull requests. The Interactions APIs allow people with owner or admin access to temporarily restrict certain users from interacting with public repositories.

{% for operation in currentRestOperations %} {% unless operation.subcategory %}{% include rest_operation %}{% endunless %} {% endfor %}

Organization

The Organization Interactions API allows organization owners to temporarily restrict which users can comment, open issues, or create pull requests in the organization's public repositories. {% data reusables.interactions.interactions-detail %} Here's more about the groups of {% data variables.product.product_name %} users:

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

{% for operation in currentRestOperations %} {% if operation.subcategory == 'orgs' %}{% include rest_operation %}{% endif %} {% endfor %}

Repository

The Repository Interactions API allows people with owner or admin access to temporarily restrict which users can comment, open issues, or create pull requests in a public repository. {% data reusables.interactions.interactions-detail %} Here's more about the groups of {% data variables.product.product_name %} 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.

{% for operation in currentRestOperations %} {% if operation.subcategory == 'repos' %}{% include rest_operation %}{% endif %} {% endfor %}