node-ultimate
node-ultimate copied to clipboard
Does Restify support deeper API calls?
For example: GET /api/user/:id returns data about the user, and LIST /api/user/:id/tweets returns that user's tweets.
@bluepeter the way I've been doing it is is defining my deeper uri's like restify.any ('/api/user/:id/tweets', c.api.user.tweets, ['list']); and on the client with Restangular Restangular .one('user', $stateParams.id).all('tweets').getList();