interactions_slash_set_restrictions_for_repo

Function interactions_slash_set_restrictions_for_repo 

Source
pub async fn interactions_slash_set_restrictions_for_repo(
    configuration: &Configuration,
    owner: &str,
    repo: &str,
    interaction_limit: InteractionLimit,
) -> Result<InteractionLimitResponse, Error<InteractionsSlashSetRestrictionsForRepoError>>
Expand description

Temporarily restricts interactions to a certain type of GitHub user within the given repository. You must have owner or admin access to set these restrictions. If an interaction limit is set for the user or organization that owns this repository, you will receive a 409 Conflict response and will not be able to use this endpoint to change the interaction limit for a single repository.