View Source GitHub.Billing (GitHub REST API Client v0.0.1-beta.0)

Provides API endpoints related to billing

Link to this section Summary

Functions

Get GitHub Actions billing for an organization

Get GitHub Actions billing for a user

Get GitHub Advanced Security active committers for an enterprise

Get GitHub Advanced Security active committers for an organization

Get GitHub Packages billing for an organization

Get GitHub Packages billing for a user

Get shared storage billing for an organization

Get shared storage billing for a user

Link to this section Functions

Link to this function

get_github_actions_billing_org(org, opts \\ [])

View Source
@spec get_github_actions_billing_org(
  String.t(),
  keyword()
) :: {:ok, GitHub.Actions.BillingUsage.t()} | {:error, GitHub.Error.t()}

Get GitHub Actions billing for an organization

resources

Resources

Link to this function

get_github_actions_billing_user(username, opts \\ [])

View Source
@spec get_github_actions_billing_user(
  String.t(),
  keyword()
) :: {:ok, GitHub.Actions.BillingUsage.t()} | {:error, GitHub.Error.t()}

Get GitHub Actions billing for a user

resources

Resources

Link to this function

get_github_advanced_security_billing_ghe(enterprise, opts \\ [])

View Source
@spec get_github_advanced_security_billing_ghe(
  String.t(),
  keyword()
) ::
  {:ok, GitHub.AdvancedSecurity.ActiveCommitters.t()}
  | {:error, GitHub.Error.t()}

Get GitHub Advanced Security active committers for an enterprise

options

Options

  • per_page (integer): The number of results per page (max 100).
  • page (integer): Page number of the results to fetch.

resources

Resources

Link to this function

get_github_advanced_security_billing_org(org, opts \\ [])

View Source
@spec get_github_advanced_security_billing_org(
  String.t(),
  keyword()
) ::
  {:ok, GitHub.AdvancedSecurity.ActiveCommitters.t()}
  | {:error, GitHub.Error.t()}

Get GitHub Advanced Security active committers for an organization

options

Options

  • per_page (integer): The number of results per page (max 100).
  • page (integer): Page number of the results to fetch.

resources

Resources

Link to this function

get_github_packages_billing_org(org, opts \\ [])

View Source
@spec get_github_packages_billing_org(
  String.t(),
  keyword()
) :: {:ok, GitHub.PackagesBillingUsage.t()} | {:error, GitHub.Error.t()}

Get GitHub Packages billing for an organization

resources

Resources

Link to this function

get_github_packages_billing_user(username, opts \\ [])

View Source
@spec get_github_packages_billing_user(
  String.t(),
  keyword()
) :: {:ok, GitHub.PackagesBillingUsage.t()} | {:error, GitHub.Error.t()}

Get GitHub Packages billing for a user

resources

Resources

Link to this function

get_shared_storage_billing_org(org, opts \\ [])

View Source
@spec get_shared_storage_billing_org(
  String.t(),
  keyword()
) :: {:ok, GitHub.CombinedBillingUsage.t()} | {:error, GitHub.Error.t()}

Get shared storage billing for an organization

resources

Resources

Link to this function

get_shared_storage_billing_user(username, opts \\ [])

View Source
@spec get_shared_storage_billing_user(
  String.t(),
  keyword()
) :: {:ok, GitHub.CombinedBillingUsage.t()} | {:error, GitHub.Error.t()}

Get shared storage billing for a user

resources

Resources