views + api