You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: direction
description: 'The order to sort by. Default: `asc` when using `full_name`,
otherwise `desc`.'
in: query
required: false
schema:
type: string
enum:
- asc
- desc
The fields that sort in ASC order are full_name, id, and name. [code]
Reproduction Steps
GH_DEBUG=1 gh api -X GET --jq ".[].name" "https://api.github.com/orgs/github/repos?sort=name&per_page=100"
The text was updated successfully, but these errors were encountered:
I don't believe there is any behavioral difference between sorting by full_name vs. name since in the context of an organization the prefix will always be the same, e.g. github/REPO.
Schema Inaccuracy
List organization repositories
get "/organizations/:organization_id/repos"
Expected
There are two issues with this description...
We also support sorting by
name
. [code]The fields that sort in ASC order are
full_name
,id
, andname
. [code]Reproduction Steps
GH_DEBUG=1 gh api -X GET --jq ".[].name" "https://api.github.com/orgs/github/repos?sort=name&per_page=100"
The text was updated successfully, but these errors were encountered: