Comment 1 for bug 585307

Revision history for this message
Michael Hall (mhall119) wrote :

Code is available for testing on: http://family.ubuntu-fl.org:8001/services/teams/
Replace teams in the url with events, global, comments, attendees, venues, users, groups or admins for the other loco-directory models

You can also do some ?key=value filters:
All of Florida team's events: http://family.ubuntu-fl.org:8001/services/events/?teams=12

Filter keys can traverse ForeignKey and ManyToMany relationships with a double underscore:
To see all events I've registered for: http://family.ubuntu-fl.org:8001/services/events/?attendee__attendee__username=mhall119
To see all events for teams I'm an admin of: http://family.ubuntu-fl.org:8001/services/events/?teams__admins__lpid=mhall119
Venues in Florida: http://family.ubuntu-fl.org:8001/services/venues/?country=USA&city__endswith=FL