feat(coderd): use task data model for list (#20394)

Updates coder/internal#976
This commit is contained in:
Mathias Fredriksson
2025-10-23 20:22:51 +03:00
committed by GitHub
parent 2c6cbf15e2
commit a106d67c07
28 changed files with 985 additions and 622 deletions
+3 -6
View File
@@ -15,12 +15,9 @@ curl -X GET http://coder-server:8080/api/v2/api/experimental/tasks \
### Parameters
| Name | In | Type | Required | Description |
|------------|-------|---------|----------|-------------------------------------------|
| `q` | query | string | false | Search query for filtering tasks |
| `after_id` | query | string | false | Return tasks after this ID for pagination |
| `limit` | query | integer | false | Maximum number of tasks to return |
| `offset` | query | integer | false | Offset for pagination |
| Name | In | Type | Required | Description |
|------|-------|--------|----------|---------------------------------------------------------------------------------------------------------------------|
| `q` | query | string | false | Search query for filtering tasks. Supports: owner:<username/uuid/me>, organization:<org-name/uuid>, status:<status> |
### Example responses