From a54ed47b766eb471fdece32aed3e7c076dc703b2 Mon Sep 17 00:00:00 2001 From: iOSLife Date: Mon, 14 Apr 2025 14:22:11 -0400 Subject: [PATCH] Add sort param to comments doc --- docs/v1/get-comments.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/v1/get-comments.md b/docs/v1/get-comments.md index 21875ea..74386a3 100644 --- a/docs/v1/get-comments.md +++ b/docs/v1/get-comments.md @@ -14,13 +14,14 @@ A call to this endpoint returns comments of a specified kind: game, achievement, ### Query Parameters -| Name | Required? | Description | -| :--- | :-------- | :------------------------------------------------------------------------------------------------------ | -| `y` | Yes | Your web API key. | -| `i` | Yes | The target game or achievement ID (if type is 1 or 2). The target username or user ULID (if type is 3). | -| `t` | Sometimes | The target comment kind: 1 (game), 2 (achievement), or 3 (user). Required if type is 1 or 2. | -| `c` | | Count, number of records to return (default: 100, max: 500). | -| `o` | | Offset, number of entries to skip (default: 0). | +| Name | Required? | Description | +| :----- | :-------- | :------------------------------------------------------------------------------------------------------ | +| `y` | Yes | Your web API key. | +| `i` | Yes | The target game or achievement ID (if type is 1 or 2). The target username or user ULID (if type is 3). | +| `t` | Sometimes | The target comment kind: 1 (game), 2 (achievement), or 3 (user). Required if type is 1 or 2. | +| `c` | | Count, number of records to return (default: 100, max: 500). | +| `o` | | Offset, number of entries to skip (default: 0). | +| `sort` | | Sort order, sort comments. 'submitted' = ascending, '-submitted' = descending (default: 'submitted') | ## Client Library