Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Document repo sorting & full_name attr #84

Merged
merged 1 commit into from

3 participants

@jbarnette jbarnette merged commit e3e9c6d into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 24, 2012
  1. @paul @tmm1

    Document repo sorting & full_name attr

    paul authored tmm1 committed
This page is out of date. Refresh to see the latest.
Showing with 7 additions and 0 deletions.
  1. +6 −0 content/v3/repos.md
  2. +1 −0  lib/resources.rb
View
6 content/v3/repos.md
@@ -15,6 +15,12 @@ List repositories for the authenticated user.
type
: `all`, `owner`, `public`, `private`, `member`. Default: `all`.
+sort
+: `created`, `updated`, `pushed`, `full_name`, default: `created`.
+
+direction
+: `asc` or `desc`, default: when using `full_name`: `asc`, otherwise `desc`.
+
## List user repositories
List public repositories for the specified user.
View
1  lib/resources.rb
@@ -117,6 +117,7 @@ def json(key)
"id" => 1296269,
"owner" => USER,
"name" => "Hello-World",
+ "full_name" => "octocat/Hello-World",
"description" => "This your first repo!",
"homepage" => "https://github.com",
"language" => nil,
Something went wrong with that request. Please try again.