Skip to content

Instantly share code, notes, and snippets.

@gertjana
gertjana / gist:1014284
Created June 8, 2011 11:53
Getting a list Of Authors for a User through liftweb's REST interface
Given the Following Mapper Data Model:
Author <- 1) -> Book <- 2) -> User
1) An Author can have more books while books can be written by multiple authors (N-N)
2) A user can own multiple books, while a book can have multiple owners (N-N)
note: When successfully authenticating in a user his API key is returned which is used in all other requests