add new endpoints for pending tasks

necessary for #158