Do Tasks belong to Apps or vice versa? If they belong to Apps, the endpoint should be reversed like `/apps/:appId/tasks`.

If Tasks own Apps, then this endpoint is filtering and should use a query parameter instead of a path param like `/tasks?appId=:appId`