Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I set up an Umbraco v12 RC2 with multiple sites. Each of them have it's own domain.
But when I try to get the data via Content Delivery API, I get items from all the domains (root or start items), regardles to which domain I call the API.
For example I have:
when I make a DeliveryAPI call to:
I get also the items which belong to domain site-b.com
Did you get anywhere with this? I am also working on a multi-site install.
I'm actually finding the DeliveryApi quite limiting at the moment so I am starting to build out my own controllers but utilise as much of the API inside of those controllers as I can so as not to have to reinvent the wheel.
I guess you could potentially filter the responses based on the domain but so far I have not seen domains or cultures returned in the API so you would need to do your own content querying first. Everything is there in the API for you to return the results in a way that is consistent with the default API responses.
I think that Umbraco does the work for you already, but only for
but not for:
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted