'list_ephemeral_hidden_services(default = UNDEFINED, our_services = True, detached = False)
Lists hidden service addresses created by
:func:`~stem.control.Controller.create_ephemeral_hidden_service`.
.. versionadded:: 1.4.0
:param object default: response if the query fails
:param bool our_services: include services created with this controller
that weren\'t flagged as \'detached\'
:param bool detached: include services whos contiuation isn\'t tied to a
controller
:returns: **list** of hidden service addresses without their \'.onion\'
suffix
:raises: :class:`stem.ControllerError` if the call fails and we weren\'t
provided a default response'

@with_default()
def list_ephemeral_hidden_services(self, default=UNDEFINED, our_services=True, detached=False):

    if (self.get_version() < stem.version.Requirement.ADD_ONION):
        raise stem.UnsatisfiableRequest(message=('Ephemeral    hidden    services    were    added    in    tor    version    %s' % stem.version.Requirement.ADD_ONION))
    result = []
    if our_services:
        try:
            result += self.get_info('onions/current').split('\n')
        except stem.ProtocolError as exc:
            if ('No    onion    services    of    the    specified    type.' not in str(exc)):
                raise exc
    if detached:
        try:
            result += self.get_info('onions/detached').split('\n')
        except stem.ProtocolError as exc:
            if ('No    onion    services    of    the    specified    type.' not in str(exc)):
                raise exc
    return result
