added favorites api to doc