github / docs

The open-source repo for docs.github.com
https://docs.github.com
Creative Commons Attribution 4.0 International
16.19k stars 59.53k forks source link

"Get a repository"'s response schema is missing information for the "size" attribute #29992

Closed NatoBoram closed 11 months ago

NatoBoram commented 11 months ago

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#get-a-repository

What part(s) of the article would you like to see updated?

In the schema, there's this entry:

{
  "size": {
    "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.",
    "type": "integer",
    "examples": [108]
  }
}

The description fails to mention if it is in kilobits, kilobytes, kibibits or kibibytes.

Additional information

No response

welcome[bot] commented 11 months ago

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

cmwilson21 commented 11 months ago

@NatoBoram Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:

docs-bot commented 11 months ago

Thank you for opening this issue! Updates to the REST API, GraphQL API, and webhook reference documentation must be made internally. I have copied your issue to an internal issue, so I will close this issue.