Description
The BillingActions endpoint has been moved to the enhanced billing endpoint. Previously, it had its own separate endpoint as follows:
# https://docs.github.com/en/enterprise-cloud@latest/rest/billing/billing?apiVersion=2022-11-28#get-github-actions-billing-for-an-organization
/orgs/{org}/settings/billing/actions
Now:
curl -L -H "Accept: application/vnd.github+json" -H "Authorization: Bearer <TOKEN>" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/orgs/<ORG>/settings/billing/actions
# Returns:
{
"message": "This endpoint has been moved.",
"documentation_url": "https://gh.io/billing-api-updates-org",
"status": "410"
}
Changes
Remove unuseable structs and tests for actionsBilling