Open
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?
https://docs.github.com/en/rest/packages#list-packages-for-an-organization
What changes are you suggesting?
https://docs.github.com/en/rest/packages#list-packages-for-an-organization
curl \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
https://api.github.com/orgs/ORG/packages
But when I use this I get error:
{
"message": "The package_type parameter is required.",
"documentation_url": "https://docs.github.com/rest/reference/packages#list-packages-for-an-organization"
}
This is not copy/paste example =(
Additional information
What is the purpose of example, if it does not work?
Please, fix documentation to have correct examples.