[refs #1281] Implemented the views api hook