Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

baptiste preview does not work on geting individual repo or list of repos #3630

Closed
ahmadnassri opened this issue Feb 12, 2021 · 3 comments
Closed
Labels
content This issue or pull request belongs to the Docs Content team rest Content related to rest - overview.

Comments

@ahmadnassri
Copy link

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

image

@welcome
Copy link

welcome bot commented Feb 12, 2021

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.

@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Feb 12, 2021
@janiceilene
Copy link
Contributor

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

@janiceilene janiceilene added content This issue or pull request belongs to the Docs Content team rest Content related to rest - overview. and removed triage Do not begin working on this issue until triaged by the team labels Feb 12, 2021
@janiceilene
Copy link
Contributor

Thanks @ahmadnassri I've checked in with folks and it sounds like this is a question better suited to our support team!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content This issue or pull request belongs to the Docs Content team rest Content related to rest - overview.
Projects
None yet
Development

No branches or pull requests

2 participants