I really like Restler on first blush but I wanted to make sure I could implement my requirements and my first attempt fell short but that's likely due to me not understanding it fully.
What I'd like to be able to do is have a set of families of services such as:
- users
- app
- actions
- relationships
and then be able to have a rest service such as:
- http://api.url.com/users/active
- http://api.url.com/users/disabled
- http://api.url.com/users/{id}/preferences
http://api.url.com/users/{id}/goals
etc.
Ideally I'd like to have the class definitions be segmented at the sub-type level. So in the example above I'd have a "preferences" and "goals" class that handles requests under the "user" part of the service architecture.
I've tried auto and manual routing (using @url operator) but I can't seem to get it to work.