api - Is it possible to create a SpringMVC RESTful Enpoint With Several Unnamed Attributes As Path Params -


according restful api best practice research i've been doing, uri should uniquely identify resource or list of resources. because of this, create endpoints use arbitrary path key/value pairs like:

get /customers/status/enrolled

instead of this:

get /customers?status=enrolled

similarly, setup unlimited number of identity partitions this:

get /customers/{attribute1name}/{attribute1value}/{attribute2name}/{attribute2value

is possible springmvc create requestmapping arbitrary set of path key/value pairs , unlimited number of them?


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -