Support /tasks/:id/activities in html version and in api