From be7c340796129aa20396300bb0beee8987de55fc Mon Sep 17 00:00:00 2001 From: Nathan Arthur Date: Sun, 7 Sep 2025 10:19:57 -0400 Subject: [PATCH 1/3] update api v2 docs --- src/api-v2.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/api-v2.md b/src/api-v2.md index 357ab7c..12ac29c 100644 --- a/src/api-v2.md +++ b/src/api-v2.md @@ -75,6 +75,17 @@ Deletes the user's account. This action is irreversible. Returns an array of tasks. This route is paginated. +Query params: + +| Param | Type | Required | Description | +| ---------- | ------ | -------- | ------------------------------------------------------ | +| page | number | false | Page number (default: 0) | +| status | string | false | Filter by task status (pending, complete, expired) | +| due_before | number | false | Unix timestamp; only return tasks due before this time | +| due_after | number | false | Unix timestamp; only return tasks due after this time | + +Response format: + | Response Field | Type | Description | | -------------- | ------- | ---------------------------------------------- | | id | string | The task's unique identifier | @@ -108,7 +119,7 @@ Example response: ### `POST /api2/me/tasks` -Creates a new task. The request body should be a JSON object with the following fields:\ +Creates a new task. The request body should be a JSON object with the following fields: | Field | Type | Required | Description | | --------------- | ------ | -------- | ------------------------------------- | From 7f2f6134dd2db810b7115a502cbabaf6e09c1c4c Mon Sep 17 00:00:00 2001 From: Nathan Arthur Date: Sun, 7 Sep 2025 10:22:07 -0400 Subject: [PATCH 2/3] dont call api v2 unstable --- src/api-v2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api-v2.md b/src/api-v2.md index 12ac29c..8e6b942 100644 --- a/src/api-v2.md +++ b/src/api-v2.md @@ -1,7 +1,7 @@ # API v2 ::: warning -This version of the API is unstable and undergoing active development. The +This version of the API is in active development. The API and its associated documentation are likely to be incomplete and/or incorrect, and may change without notice. ::: From 05b667aaed3d1cab8d711d406a8cf85bf71da8f1 Mon Sep 17 00:00:00 2001 From: Nathan Arthur Date: Sun, 7 Sep 2025 10:34:07 -0400 Subject: [PATCH 3/3] fix typo --- src/api-v2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api-v2.md b/src/api-v2.md index 8e6b942..52f1bae 100644 --- a/src/api-v2.md +++ b/src/api-v2.md @@ -148,7 +148,7 @@ Example response: Reset your account's API v2 token. This will invalidate the old token and generate a new one. -You'll need to be authenticted in order to reset your token. If you don't already have a token, contact support for help. +You'll need to be authenticated in order to reset your token. If you don't already have a token, contact support for help. ### `GET /api2/me/token`