remove 'path' from views_api hook