HTTPAPI: use Repos.tasks_for
HTTPAPI: localise repos calls