Skip to content

Instantly share code, notes, and snippets.

@jeff

jeff/user.json Secret

Created May 28, 2013 20:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeff/0b26193dc32c5397c2de to your computer and use it in GitHub Desktop.
Save jeff/0b26193dc32c5397c2de to your computer and use it in GitHub Desktop.
example output for fetching a user summary (in this case, your own) via LibraryREST API from an Evergreen backend
{
"holds" : {
"ready" : 0,
"total" : 1
},
"balance" : 0,
"user" : {
"name_parts" : [
"Thing",
"",
"Two"
],
"name" : "Thing Two"
},
"checkouts" : {
"out" : 0,
"claims_returned" : 0,
"long_overdue" : 0,
"overdue" : 0,
"total_out" : 0,
"lost" : 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment