or even route filters. Those would be suitable for that Auth demo, it looks like a filter, but would also be nice to have a group for routes and filter over those.
However I would like to see someone develop a library for doing RESTful APIs that does some of the repetitiveness in implementing REST properly for you.
Hopefully it matures more!
(Use cases with db, auth (oauth2), caching, frontend integration, would be nice :3)