code: def list_device_subscriptions(self, device_id, **kwargs):
          
          api = self._get_api(mds.SubscriptionsApi)
          resp = api.get_endpoint_subscriptions(device_id, **kwargs)
          return resp.split("\n")
docs: Lists all subscribed resources from a single device
  
          :param device_id: ID of the device (Required)
          :returns: a list of subscribed resources
          :rtype: list of str