the github api makes use of nested resources, in this fashion
/repos/<username>/<repo>/hooks/<id>
in slumber (another api library) it looks like this
full_repo_name = 'user/repo'
api.repos(full_repo_name).hooks(id).get()
i dont think there is a nice way to do this with drest resources right now, you have to make open calls to the api.
some sort of interface like this would be very nice.
the github api makes use of nested resources, in this fashion
in slumber (another api library) it looks like this
i dont think there is a nice way to do this with drest resources right now, you have to make open calls to the api.
some sort of interface like this would be very nice.