code: def serverDirectories(self):
          
          directs = []
          url = self._url + "/directories"
          params = {
              "f" : "json"
          }
          res = self._get(url=url,
                             param_dict=params,
                             securityHandler=self._securityHandler,
                             proxy_url=self._proxy_url,
                             proxy_port=self._proxy_port)
          for direct in res['directories']:
              directs.append(
                  ServerDirectory(url=url + "/%s" % direct["name"],
                                  securityHandler=self._securityHandler,
                                  proxy_url=self._proxy_url,
                                  proxy_port=self._proxy_port,
                                  initialize=True))
          return directs
docs: returns the server directory object in a list