packages_billing_usage
Overview
| Name | packages_billing_usage |
| Type | Resource |
| Id | github.billing.packages_billing_usage |
Fields
| Name | Datatype | Description |
|---|---|---|
included_gigabytes_bandwidth | integer | Free storage space (GB) for GitHub Packages. |
total_gigabytes_bandwidth_used | integer | Sum of the free and paid storage space (GB) for GitHuub Packages. |
total_paid_gigabytes_bandwidth_used | integer | Total paid storage space (GB) for GitHuub Packages. |
Methods
| Name | Accessible by | Required Params | Description |
|---|---|---|---|
get_github_packages_billing_org | SELECT | org | Gets 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_user | SELECT | username | Gets 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. |