Add API call for retrieving all devices