I am having problems to execute the api call for media folders (/Litium/api/admin/media/folders). If I execute another api call eg. /Litium/api/admin/media/folders/{systemId} i will get the desired answer. The Event log is showing the following error:
Multiple controller types were found that match the URL. This can happen if attribute routes on multiple controllers match the requested URL.
The request has found the following matching controller types:
Litium.Web.WebApi.AdminApi.Generic.GetAllApiController
Litium.Web.WebApi.AdminApi.Media.FolderController
Maybe you could use the Search end-point? Are you trying to find a particular folder or do you need all of the folders?
If you search without any filters you get all folders back, regardless if they’re at root level or not. The root level folders in the results don’t have a parentFolderSystemId.
If you want a particular folder by name, you could use a request body like: