code: def add_watched_directory(self, dir_path):
      
      req = ApiWatchedDir(self._get_resource_root(), path=dir_path)
      return self._post("watcheddir", ApiWatchedDir, data=req, api_version=14)
docs: Adds a directory to the watching list.
  
      @param dir_path: The path of the directory to be added to the watching list
      @return: The added directory, or null if failed
      @since: API v14