-
Notifications
You must be signed in to change notification settings - Fork 62.5k
Closed
Labels
contentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamfix-internallyTriggers a workflow to copy the issue internally and close the current issueTriggers a workflow to copy the issue internally and close the current issue
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
What part(s) of the article would you like to see updated?
the "response schema" has:
"quantity": {
"type": "integer",
"description": "Quantity of the usage line item."
},
and it turns out that in the actual response from the API, the quantity
field is a float, not an int.
Real life example:
"usageItems": [
{
"date": "2025-01-01T00:00:00Z",
"product": "actions",
"sku": "Actions storage",
"quantity": 5.801260062,
"unitType": "GigabyteHours",
"pricePerUnit": 0.00033602,
"grossAmount": 0.001949096,
"discountAmount": 0.001949096,
"netAmount": 0.0,
"organizationName": "octokit",
"repositoryName": "octokit"
},
...
Additional information
No response
Metadata
Metadata
Assignees
Labels
contentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamfix-internallyTriggers a workflow to copy the issue internally and close the current issueTriggers a workflow to copy the issue internally and close the current issue