added list workflows api to rest client