'Get a list of domains.
A listing of all domains are returned.
The listing result is an object with property "items".'

@rest_utils.ajax()
def get(self, request):

    items = [d.to_dict() for d in api.keystone.domain_list(request)]
    return {'items': items}
