add view api docs