Module interactions_api

Source

Enums§

InteractionsSlashGetRestrictionsForAuthenticatedUserError
struct for typed errors of method interactions_slash_get_restrictions_for_authenticated_user
InteractionsSlashGetRestrictionsForOrgError
struct for typed errors of method interactions_slash_get_restrictions_for_org
InteractionsSlashGetRestrictionsForRepoError
struct for typed errors of method interactions_slash_get_restrictions_for_repo
InteractionsSlashRemoveRestrictionsForAuthenticatedUserError
struct for typed errors of method interactions_slash_remove_restrictions_for_authenticated_user
InteractionsSlashRemoveRestrictionsForOrgError
struct for typed errors of method interactions_slash_remove_restrictions_for_org
InteractionsSlashRemoveRestrictionsForRepoError
struct for typed errors of method interactions_slash_remove_restrictions_for_repo
InteractionsSlashSetRestrictionsForAuthenticatedUserError
struct for typed errors of method interactions_slash_set_restrictions_for_authenticated_user
InteractionsSlashSetRestrictionsForOrgError
struct for typed errors of method interactions_slash_set_restrictions_for_org
InteractionsSlashSetRestrictionsForRepoError
struct for typed errors of method interactions_slash_set_restrictions_for_repo

Functions§

interactions_slash_get_restrictions_for_authenticated_user
Shows which type of GitHub user can interact with your public repositories and when the restriction expires.
interactions_slash_get_restrictions_for_org
Shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response.
interactions_slash_get_restrictions_for_repo
Shows which type of GitHub user can interact with this repository and when the restriction expires. If there are no restrictions, you will see an empty response.
interactions_slash_remove_restrictions_for_authenticated_user
Removes any interaction restrictions from your public repositories.
interactions_slash_remove_restrictions_for_org
Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions.
interactions_slash_remove_restrictions_for_repo
Removes all interaction restrictions from the given repository. You must have owner or admin access to remove restrictions. If the 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.
interactions_slash_set_restrictions_for_authenticated_user
Temporarily restricts which type of GitHub user can interact with your public repositories. Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user.
interactions_slash_set_restrictions_for_org
Temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization.
interactions_slash_set_restrictions_for_repo
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.