Skip to content

Commit 960a10b

Browse files
paultmm1
authored andcommitted
Document repo sorting & full_name attr
1 parent d6599c8 commit 960a10b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

content/v3/repos.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ List repositories for the authenticated user.
1515
type
1616
: `all`, `owner`, `public`, `private`, `member`. Default: `all`.
1717

18+
sort
19+
: `created`, `updated`, `pushed`, `full_name`, default: `created`.
20+
21+
direction
22+
: `asc` or `desc`, default: when using `full_name`: `asc`, otherwise `desc`.
23+
1824
## List user repositories
1925

2026
List public repositories for the specified user.

lib/resources.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ def json(key)
117117
"id" => 1296269,
118118
"owner" => USER,
119119
"name" => "Hello-World",
120+
"full_name" => "octocat/Hello-World",
120121
"description" => "This your first repo!",
121122
"homepage" => "https://github.com",
122123
"language" => nil,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy