Add api subdomain to tasks resource