JSON-Interface
Launchpad Entry: JSON Interface
Created: 2010-04-28
Contributors: dantrevino
Packages affected: loco-directory
Summary
This spec is currently a work in progress.
Provide the functionality necessary for community applications to access data in the loco directory.
Release Note
TBD
Rationale
Current access to data from external applications requires screen scraping. The increases the fragility of the application, and negatively impacts the further development of community applications.
User stories
Dan wants to develop an mashup that leverages data in the loco directory with snapple demographics.
Dan wants to develop native mobile applications that the loco community could use to access the loco-directory data.
Dan is sad. Currently he has to depend on not having changes to the markup of existing web pages to get his data programmatically.
Assumptions
- Launchpad can handle an influx of requests from mobile devices.
Ideas
Needed
Design
TBD
Implementation
For example, a call to http://loco.ubuntu.com/teams/json could return a file containing something like this
{"teams":[ { "id": "91", "name":"Ubuntu Florida", "link":"/teams/ubuntu-us-florida", "lpurl":"~ubuntu-us-florida", "location":"United States, Florida", "teamowner":"Chris Crisafulli", "expires": "20yy-mm-dd", "admins": [ {{ "name":"Chris Crisafulli", "lpurl":"~itnet7" }, { "name":"Dan Trevino", "lpurl":"~dantrevino" } ... ]} ] }, { "id": "92", "name":"Ubuntu Georgia", "link":"/teams/ubuntu-us-georgia", "lpurl":"~ubuntu-us-georgia", "location":"United States, Georgia", "teamowner":"Joshua Chase", "expires": "20yy-mm-dd", "admins": [ {{ "name":"Joshua Chase", "lpurl":"~linuxcrypt" }, { "name":"Nick Ali", "lpurl":"~nali" } ... ]} ] }
UI Changes
TBD
Code Changes
New Code, possible changes to existing code
Migration
???
Test/Demo Plan
TBD
Unresolved issues
TBD
BoF agenda and discussion
None
LoCoTeamPortal/JSON-Interface (last edited 2011-11-12 01:57:51 by ip72-196-101-83)