May be this is the first REAL demo for swarm api tasks filters usage
Target: list running tasks belong to specific service
URL to query:
http://your-api-server/tasks?filters={"service":{"mobile_plugin_publish":true}, "desired-state":{"running":true}
Please note that mobile_plugin_publish is the target service name...
Offical doc goes here