1
0
mirror of synced 2025-12-30 03:01:36 -05:00

Unify language in the REST API for interactions (#33692)

Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com>
This commit is contained in:
Sarah Edwards
2023-01-02 22:50:05 -08:00
committed by GitHub
parent 9deeebd2cf
commit 020ed4c2b5
4 changed files with 15 additions and 11 deletions

View File

@@ -1,6 +1,7 @@
---
title: Interactions
intro: 'With the Interactions API, people with owner or admin access can set the interaction limit for the users in their organizations and repositories.'
intro: 'Use the REST API to set the interaction limit for the users in your organizations and repositories.'
permissions: People with owner or admin access can set the interaction limit for the users in their organizations and repositories.
redirect_from:
- /v3/interactions
- /rest/reference/interactions
@@ -16,4 +17,6 @@ children:
- /user
---
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 interaction with public repositories to a certain type of user.
## About interactions
Users interact with repositories by commenting, opening issues, and creating pull requests. You can use the REST API to allow people with owner or admin access to temporarily restrict interaction with public repositories to a certain type of user.

View File

@@ -1,7 +1,7 @@
---
title: Organization interactions
shortTitle: Organization
intro: 'The Organization interactions API allows organization owners to temporarily restrict which type of user can comment, open issues, or create pull requests in the organization''s public repositories.'
intro: 'Use the REST API to temporarily restrict which type of user can comment, open issues, or create pull requests in the organization''s public repositories.'
versions:
fpt: '*'
ghec: '*'
@@ -11,9 +11,9 @@ miniTocMaxHeadingLevel: 3
allowTitleToDifferFromFilename: true
---
## About the Organization interactions API
## About organization interactions
The Organization interactions API allows organization owners to temporarily restrict which type of user can comment, open issues, or create pull requests in the organization's public repositories. {% data reusables.interactions.interactions-detail %} Here's more about the types of {% data variables.product.product_name %} users:
Organization owners can temporarily restrict which type of user can comment, open issues, or create pull requests in the organization's public repositories. {% data reusables.interactions.interactions-detail %} Here's more about the types 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.

View File

@@ -1,7 +1,8 @@
---
title: Repository interactions
shortTitle: Repository
intro: 'The Repository interactions API allows 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.'
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: '*'
@@ -11,9 +12,9 @@ miniTocMaxHeadingLevel: 3
allowTitleToDifferFromFilename: true
---
## About the Repository interactions API
## About repository interactions
The Repository interactions API allows 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. {% data reusables.interactions.interactions-detail %} Here's more about the types of {% data variables.product.product_name %} users:
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.product_name %} users:
* {% data reusables.interactions.existing-user-limit-definition %} in the repository.
* {% data reusables.interactions.contributor-user-limit-definition %} in the repository.

View File

@@ -2,7 +2,7 @@
title: User interactions
shortTitle: User
allowTitleToDifferFromFilename: true
intro: 'The User interactions API allows you to temporarily restrict which type of user can comment, open issues, or create pull requests on your public repositories.'
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: '*'
@@ -11,9 +11,9 @@ topics:
miniTocMaxHeadingLevel: 3
---
## About the User interactions API
## About user interactions
The User interactions API allows you 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.product_name %} users:
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.product_name %} 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.