Return HTML fragments from named operations

Bug #480192 reported by Jeroen T. Vermeulen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lazr.restful
Won't Fix
Undecided
Unassigned

Bug Description

We're working on updating the set of Launchpad services that a product/distribution uses (bugs, branches, blueprints, translations etc.) from the web UI through the web service API. The JS in the page would make the update through the API, then update the displayed page contents to match.

The update happens through a named operation; it's basically a composite update of a group of similar fields, but with a combined HTML representation—not a bunch of checkboxes for the individual booleans or somesuch. We'd like to avoid patching the individual fields and producing separate representations for those.

For now we can invoke the named operation in one request, then issue another to retrieve the new, combined HTML representation of the new field values. But having the named operation return an updated XHTML representation would save us a request.

Revision history for this message
Gary Poster (gary) wrote :

As of this writing, I understand that this is being worked on by some combination of flacoste, jtv, and others. If that's not the case, please add a correcting comment. If it is the case, setting the "Assigned to" field would be appreciated.

Revision history for this message
Francis J. Lacoste (flacoste) wrote :

After discussion during the lazr-js sprint, it looks like another design where arbitrary views could be invoked via the web service would be much more useful.

Changed in lazr.restful:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.