Closed
Description
What article on docs.github.com is affected?
https://docs.github.com/en/rest/reference/repos
What part(s) of the article would you like to see updated?
currently the document lists examples of template_repository
in the response objects of the following endpoints:
GET /repos/{owner}/{repo}
GET /users/{username}/repos
GET /orgs/{org}/repos
and hints at needing the application/vnd.github.baptiste-preview+json
Accept header for enabling these properties.
However, this doesn't work, none of the endpoints return template_repository
values for repositories that should.
Additional information
http https://api.github.com/orgs/{org}/repos?per_page=100 "Authorization: token $GH_TOKEN" "Accept: application/vnd.github.baptiste-preview+json" | jq .[].template_repository