Goodearth Task List
goodearth_task_listOne page of a region's tasks, ordered and filtered by the database.
The sorting, the timeframe filter and the search all happen in SQL, so a long list costs one page rather than the whole table.
sort_col names a column rather than supplying one: it indexes a fixed
map and falls back to the due date, so an unrecognised value gives the
default order rather than an error — and can never reach the query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npub | No | Required. Your Nostr public key (npub1...). | |
| page | No | Zero-based page number. | |
| search | No | Optional POSIX regular expression, matched against title and note. | |
| sort_col | No | due, title, done, starts, created or updated. | due |
| sort_dir | No | asc or desc. | asc |
| page_size | No | Rows per page, capped at 200. | |
| region_id | Yes | The saved region whose tasks to list. | |
| timeframe | No | day, week, month, season or all. 'season' means this farm's season. | all |
| dpop_token | No | ||
| season_start | No | Optional YYYY-MM-DD, so 'season' means the grower's season. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||