WebApi can't get subpages via slug
joymon-jacob opened this issue · comments
Jacob Carlsson commented
Trying to fetch page model from slug for a subpage, the slug being page/subpage, how to fetch subpages via slug in WebApi?
Håkan Edling commented
Do you have more information, like what was returned from the api, null or an exception. Do you have any application logs?
Jacob Carlsson commented
problem is tat it hits another endpoint this one
[Route("{siteId}/{slug}")]
public virtual async Task GetBySlugAndSite(Guid siteId, string slug)
so the exception that is that the site does not exist
but it is a valid slug but the api will not accept it due to how the endpoints are working