code: def findDataItems(self, parentPath=None, ancestorPath=None,
                        type=None, id=None):
          
          params = {
              "f" : "json",
          }
          if parentPath is not None:
              params['parentPath'] = parentPath
          if ancestorPath is not None:
              params['ancestorPath'] = ancestorPath
          if type is not None:
              params['type'] = type
          if id is not None:
              params['id'] = id
          fURL = self._url + "/findItems"
          return self._post(url=fURL, param_dict=params,
                               securityHandler=self._securityHandler,
                               proxy_url=self._proxy_url,
                               proxy_port=self._proxy_port)
docs: You can use this operation to search through the various data
             items registered in the server's data store.
             Inputs:
                parentPath - The path of the parent under which to find items
                ancestorPath - The path of the ancestor under which to find
                               items.
                type - A filter for the type of the items
                id - A filter to search by the ID of the item
             Output:
                dictionary