'Retrieve low-level information about the current swarm.
Returns:
A dictionary containing data about the swarm.
Raises:
:py:class:`docker.errors.APIError`
If the server returns an error.'

@utils.minimum_version('1.24')
def inspect_swarm(self):

    url = self._url('/swarm')
    return self._result(self._get(url), True)
