View Source GitHub.Interactions (GitHub REST API Client v0.0.1-beta.0)
Provides API endpoints related to interactions
Link to this section Summary
Functions
Get interaction restrictions for your public repositories
Get interaction restrictions for an organization
Get interaction restrictions for a repository
Remove interaction restrictions from your public repositories
Remove interaction restrictions for an organization
Remove interaction restrictions for a repository
Set interaction restrictions for your public repositories
Set interaction restrictions for an organization
Set interaction restrictions for a repository
Link to this section Functions
@spec get_restrictions_for_authenticated_user(keyword()) :: {:ok, map() | GitHub.Interaction.Limit.Response.t()} | {:error, GitHub.Error.t()}
Get interaction restrictions for your public repositories
resources
Resources
@spec get_restrictions_for_org( String.t(), keyword() ) :: {:ok, map() | GitHub.Interaction.Limit.Response.t()} | {:error, GitHub.Error.t()}
Get interaction restrictions for an organization
resources
Resources
@spec get_restrictions_for_repo(String.t(), String.t(), keyword()) :: {:ok, map() | GitHub.Interaction.Limit.Response.t()} | {:error, GitHub.Error.t()}
Get interaction restrictions for a repository
resources
Resources
@spec remove_restrictions_for_authenticated_user(keyword()) :: :ok | {:error, GitHub.Error.t()}
Remove interaction restrictions from your public repositories
resources
Resources
@spec remove_restrictions_for_org( String.t(), keyword() ) :: :ok | {:error, GitHub.Error.t()}
Remove interaction restrictions for an organization
resources
Resources
@spec remove_restrictions_for_repo(String.t(), String.t(), keyword()) :: :ok | {:error, GitHub.Error.t()}
Remove interaction restrictions for a repository
resources
Resources
@spec set_restrictions_for_authenticated_user( GitHub.Interaction.Limit.t(), keyword() ) :: {:ok, GitHub.Interaction.Limit.Response.t()} | {:error, GitHub.Error.t()}
Set interaction restrictions for your public repositories
resources
Resources
@spec set_restrictions_for_org(String.t(), GitHub.Interaction.Limit.t(), keyword()) :: {:ok, GitHub.Interaction.Limit.Response.t()} | {:error, GitHub.Error.t()}
Set interaction restrictions for an organization
resources
Resources
@spec set_restrictions_for_repo( String.t(), String.t(), GitHub.Interaction.Limit.t(), keyword() ) :: {:ok, GitHub.Interaction.Limit.Response.t()} | {:error, GitHub.Error.t()}
Set interaction restrictions for a repository