Preparing apiv2 to serve previews through api resource instead of static file (not enabled yet)