Added preview serving through api in apiv1