Added API

Added API to the view all memories page.