Skip to content

Commit daa9239

Browse files
authored
Add sort param to comments doc (#79)
1 parent e2a9dc8 commit daa9239

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

docs/v1/get-comments.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@ A call to this endpoint returns comments of a specified kind: game, achievement,
1414

1515
### Query Parameters
1616

17-
| Name | Required? | Description |
18-
| :--- | :-------- | :------------------------------------------------------------------------------------------------------ |
19-
| `y` | Yes | Your web API key. |
20-
| `i` | Yes | The target game or achievement ID (if type is 1 or 2). The target username or user ULID (if type is 3). |
21-
| `t` | Sometimes | The target comment kind: 1 (game), 2 (achievement), or 3 (user). Required if type is 1 or 2. |
22-
| `c` | | Count, number of records to return (default: 100, max: 500). |
23-
| `o` | | Offset, number of entries to skip (default: 0). |
17+
| Name | Required? | Description |
18+
| :----- | :-------- | :------------------------------------------------------------------------------------------------------ |
19+
| `y` | Yes | Your web API key. |
20+
| `i` | Yes | The target game or achievement ID (if type is 1 or 2). The target username or user ULID (if type is 3). |
21+
| `t` | Sometimes | The target comment kind: 1 (game), 2 (achievement), or 3 (user). Required if type is 1 or 2. |
22+
| `c` | | Count, number of records to return (default: 100, max: 500). |
23+
| `o` | | Offset, number of entries to skip (default: 0). |
24+
| `sort` | | Sort order, sort comments. 'submitted' = ascending, '-submitted' = descending (default: 'submitted') |
2425

2526
## Client Library
2627

0 commit comments

Comments
 (0)