Skip to content

Commit a6eca1a

Browse files
committed
Specify a few of the defaults
1 parent 18c08d4 commit a6eca1a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

content/v3/issues/comments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ By default, Issue Comments are ordered by ascending ID.
3333

3434
Name | Type | Description | Default
3535
----|------|--------------|---------
36-
`sort`|`string` | Either `created` or `updated`.|
36+
`sort`|`string` | Either `created` or `updated`.|`created`
3737
`direction`|`string` | Either `asc` or `desc`. Ignored without `sort` parameter.|
3838
`since`|`string` | A timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.|
3939

content/v3/pulls/comments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ By default, Review Comments are ordered by ascending ID.
3535

3636
Name | Type | Description | Default
3737
-----|------|-------------|---------
38-
`sort`|`string` | Can be either `created` or `updated`|
38+
`sort`|`string` | Can be either `created` or `updated`|`created`
3939
`direction`|`string` | Can be either `asc` or `desc`. Ignored without `sort` parameter.|
4040
`since`|`string` | A timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Only comments updated at or after this time are returned.|
4141

content/v3/search/legacy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Name | Type | Description | Default
5454
`keyword`|`string`| The search term|
5555
`language`|`string` | Filter results by [language](https://github.com/languages)|
5656
`start_page`|`string` | The page number to fetch|
57-
`sort`|`string` | The sort field. One of `stars`, `forks`, or `updated`. Defautlt: Results are sorted by best match.|
57+
`sort`|`string` | The sort field. One of `stars`, `forks`, or `updated`.|Results are sorted by best match.
5858
`order`|`string` | The sort field. if `sort` param is provided. Can be either `asc` or `desc`.|
5959

6060

@@ -73,7 +73,7 @@ Name | Type | Description | Default
7373
-----|------|-------------|---------
7474
`keyword`|`string`| The search term|
7575
`start_page`|`string` | The page number to fetch|
76-
`sort`|`string`| The sort field. One of `stars`, `forks`, or `updated`. Defautlt: Results are sorted by best match.|
76+
`sort`|`string`| The sort field. One of `stars`, `forks`, or `updated`.|Results are sorted by best match.
7777
`order`|`string`| The sort field. if `sort` param is provided. Can be either `asc` or `desc`.|
7878

7979

0 commit comments

Comments
 (0)