I'd actually like to see the metadata call reworked significantly to closely resemble the social data calls, and then we can provide JSONP support for all of them with some shared common code. Note that I'm *not* suggesting that social-api support the metadata call, simply that the metadata call can be used with the same syntax. This makes it so that a client that has been authored to consume social data can now also consume gadget metadata.
On Wed, Sep 17, 2008 at 1:42 AM, John Hjelmstad <[EMAIL PROTECTED]> wrote: > I've recently been talking with a few parties who are interested in using > /gadgets/metadata functionality via JSONP. It's understood that use of the > API this way would be somewhat limited due to URL length restrictions, but > that seems reasonable since most use cases involve retrieval of metadata > for > a single gadget. > This seemed reasonable to me since gadgets themselves contain no sensitive > information. The biggest con I had in mind is that callers would need to be > careful about what UserPrefs (et al) they send as a GET. > > I'm happy to do the implementation myself, but wanted to air this idea with > the list in case I'm missing something key. > > Proposed impl: > > /gadgets/metadata?req=<url-encoded-equivalent-of-POST>&callback=<arg.matches([a-zA-Z\.]+)> > > Thoughts? > --John >

