def version(self):
        """
        :return: The version of the server when initialized as 'auto',
            otherwise the version passed in at initialization
        """

        if self._version != 'auto':
            return self._version

        if self._version == 'auto':
            try:
                data = self.execute_get('configuration/about/')
                self._version = data['configuration'][0]['version']
            except GhostException:
                return self.DEFAULT_VERSION

        return self._version