Issue refs #1598: implement cancel, download with marking, update api-client