Add view api

Starting point based on what I could extract from the JavaDoc. Color commentary appreciated.