'List services.
Args:
filters (dict): Filters to process on the nodes list. Valid
filters: ``id`` and ``name``. Default: ``None``.
Returns:
A list of dictionaries containing data about each service.
Raises:
:py:class:`docker.errors.APIError`
If the server returns an error.'

@utils.minimum_version('1.24')
def services(self, filters=None):

    params = {'filters': (utils.convert_filters(filters) if filters else None)}
    url = self._url('/services')
    return self._result(self._get(url, params=params), True)
