Scheduler REST API fixes