Add missing endpoint for tasks resource.

Here's a fix for #1