Skip to content

Commit 2cb83a1

Browse files
committed
Document new search params
1 parent 0bffc75 commit 2cb83a1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

content/v3/search.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ language
4646
start_page
4747
: _Optional_ Page number to fetch
4848

49+
s
50+
: _Optional_ Sort field. One of `stars`, `forks`, or `updated`. If not
51+
provided, results are sorted by best match.
52+
53+
o
54+
: _Optional_ Sort order if `s` param is provided. One of `asc` or `desc`.
55+
4956
<%= headers 200 %>
5057
<%= json(:repo_search_results) %>
5158

0 commit comments

Comments
 (0)