[free apps] provide app list and app data through json 'api'

Bug #1025179 reported by Daniel Holbach
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Developer registration portal
In Progress
Undecided
Łukasz Czyżykowski

Bug Description

Up until the lp:apps-brancher used regular expressions and screenscraping to find out which apps are in which queue and where the data is stored. Below is a quick proposal of which data would be useful to the ARB and its helpers and how a possible implementation could look from the outside. There might be better ways to do this, so don't stick too closely to it. :-)

api/queue_states/
[{'name': 'ReviewPending', 'id': 1}, {'name': 'ReviewInProgress', 'id': 2}, ... ]

api/queue/?state=1
[{'name': 'guallet', 'submitted': '2012-03-24 15:46:23', 'author': 'somebody', 'author_email': '<email address hidden>', 'comments': [{'who': 'daniel', 'when': 2012-03-25 08:00', 'what': 'bla something bla bla'}], 'bzr_branch': '...',}]

Tags: arb
Revision history for this message
Daniel Holbach (dholbach) wrote :

This is fairly important to us as the apps-brancher stopped working because the apps table in myapps is now generated through some ajaxy bits.

Revision history for this message
Daniel Holbach (dholbach) wrote :

I'm sure you have much more advanced tooling to get this done, but maybe http://bazaar.launchpad.net/~harvest-dev/harvest/trunk/view/head:/harvest/services/__init__.py can serve as inspiration if not.

Changed in developer-portal:
status: New → In Progress
assignee: nobody → Łukasz Czyżykowski (lukasz-czyzykowski)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers