Skip to content

Commit c6afec1

Browse files
committed
formatting
1 parent 4f0b2c5 commit c6afec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worker/reference/api/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ GET /projects/<span class="variable project_id">{Project ID}</span>/tasks
834834
* **page**: The page of tasks you want to retrieve, starting from 0. Default is 0, maximum is 100.
835835
* **per_page**: The number of tasks to return per page. Note this is a maximum value, so there may be less tasks returned if there aren’t enough results. Default is 30, maximum is 100.
836836
* **code_name**: The name of your worker (code package).
837-
* Filter by Status: the parameters **queued**, **preparing**, **running**, **complete**, **error**, **cancelled**, and **timeout** will all filter by their respective status when given a value of `1`. These parameters can be mixed and matched to return tasks that fall into *any* of the status filters. If no filters are provided, tasks will be displayed across all statuses.
837+
* Filter by **status**: the parameters **queued**, **preparing**, **running**, **complete**, **error**, **cancelled**, and **timeout** will all filter by their respective status when given a value of `1`. These parameters can be mixed and matched to return tasks that fall into *any* of the status filters. If no filters are provided, tasks will be displayed across all statuses.
838838
* Filter by **cluster**: filters the tasks by cluster name. If this parameter is not provided, tasks will be displayed across all clusters.
839839
* **from_time**: Limit the retrieved tasks to only those that were created after the time specified in the value. Time should be formatted as the number of seconds since the Unix epoch.
840840
* **to_time**: Limit the retrieved tasks to only those that were created before the time specified in the value. Time should be formatted as the number of seconds since the Unix epoch.

0 commit comments

Comments
 (0)