Skip to content

Instantly share code, notes, and snippets.

@anfedorov
Created July 1, 2009 20:31
Show Gist options
  • Save anfedorov/139039 to your computer and use it in GitHub Desktop.
Save anfedorov/139039 to your computer and use it in GitHub Desktop.
/api/get/player w/ post: {
'model': {
'id': 151,
'user': {
'id': int,
'email': str
},
'name_first': str,
'name_last': str,
'short_name': str, # short_name is a method!
'visibility': str,
}
}
/api/get/team w/ post: {
'models': {
'id': int,
'team_name': contains('Giants'),
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment