API can deliver HTML if the view definition exists