Skip to main content

packages_billing_usage

Overview

Namepackages_billing_usage
TypeResource
Idgithub.billing.packages_billing_usage

Fields

NameDatatypeDescription
included_gigabytes_bandwidthintegerFree storage space (GB) for GitHub Packages.
total_gigabytes_bandwidth_usedintegerSum of the free and paid storage space (GB) for GitHuub Packages.
total_paid_gigabytes_bandwidth_usedintegerTotal paid storage space (GB) for GitHuub Packages.

Methods

NameAccessible byRequired ParamsDescription
get_github_packages_billing_orgSELECTorgGets the free and paid storage used for GitHub Packages in gigabytes.

Paid minutes only apply to packages stored for private repositories. For more information, see "Managing billing for GitHub Packages."

Access tokens must have the repo or admin:org scope.
get_github_packages_billing_userSELECTusernameGets the free and paid storage used for GitHub Packages in gigabytes.

Paid minutes only apply to packages stored for private repositories. For more information, see "Managing billing for GitHub Packages."

Access tokens must have the user scope.