finished rest api for scheduler and log manager