Signed-off-by: Josh Horwitz <horwitzja@gmail.com> $Updated http docs for /tasks filters $Signed-off-by: Josh Horwitz <horwitzja@gmail.com>
@@ -4503,6 +4503,9 @@ List tasks
- `id=<task id>`
- `name=<task name>`
- `service=<service name>`
+ - `node=<node id>`
+ - `label=key` or `label="key=value"`
+ - `desired-state=(running | shutdown | accepted)`
**Status codes**:
@@ -89,7 +89,7 @@ bg8c07zzg87di2mufeq51a2qp redis.7 redis redis:3.0.6 Running 9 minutes Ru
#### desired-state
-The `desired-state` filter can take the values `running` and `accepted`.
+The `desired-state` filter can take the values `running`, `shutdown`, and `accepted`.
## Related information
@@ -87,7 +87,7 @@ ID NAME SERVICE IMAGE DESIRED STATE LAST S