Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 2

Sort seems to have no effect

Solved! Go to Solution.

curl -s https://github.company.com/api/v3/orgs/orgname/repos?sort=full_name | grep full_name

 

The results are in the default order "created", not the requested order "full_name". The sort option seems to have no effect. Other options like per_page=100 or type=private seem to work, so I think my query syntax is OK. Am I doing something wrong? 

1 Reply
Solution
Community Manager
Message 2 of 2

Re: Sort seems to have no effect

It looks like you're running against a GitHub Enterprise instance? If you reference the GitHub Enterprise API documentation, it doesn't appear that the `sort` parameter is supported currently.

 

I hope that helps! Let us know if you have any more questions.