hi, i have a micro api and a get url: .../files/list to list all files. Now i want to add search creterias to that url like version and date. something like: files/list/version or files/list/date or /files/list/versionAndDate. (it should be variable so the client can only search for date or version or both)
Have i do declare each of this urls in the route and call different actions in the controller or can i define some thing like that: files/list/{version}/{date} and it is varibale if there are a version or a date? how does it work in the best way?
thanks in advance