'Get the docker API version information'

def _get_api_version(self):

    result = self.connection.request('/version').object
    result = (result or {})
    api_version = result.get('ApiVersion')
    return api_version
