I have small API which serves files. The requested file is coming from our ClickOnce app. Instead of multiple GET actions which will go into the requested folder/file, is it possible to have single GET action which from I can get all the route parameters so I can build my relative path.
Example GET routes
/api/ApplicationFiles
/api/ApplicationFiles/somefile
/api/ApplicationFiles/someFolder/somefile
/api/ApplicationFiles/someFolder/someFolder/someFolder/someFile
So I have to define multiple GET endpoints.