Update changes in /api/dashbords in getDashbaords(). Also added a method to return the details of a given dashboard.