Hi Cynick, >Hi Stephen, > >I was wondering about whether you've made certain SDS queries >available via REST that is not listed on the wiki page >http://www.telscenter.org/confluence/display/SAIL/REST+protocol+for+SAIL+Data+Services+%28SDS%29 >In particular, I would like to perform the following two queries now. > >1. Given an offering O, return a list of all workgroups in which I >belong. >It would be something like the following in SQL speak. >ie. SELECT workgroups.* FROM offerings, workgroups WHERE offerings.id >= O AND offerings.id = workgroups.offering_id AND workgroups.member = >my_user_id; > >2. Return a list of all offerings and its associated workgroup(s) in >which I am a member. >It would be something like the following in SQL speak. >ie. SELECT offering.*, workgroups.* FROM offerings, workgroups WHERE >offerings.id = workgroups.offering_id AND workgroups.member = >my_user_id; > >I would like to avoid duplicating all of the SDS data within the >portal due to a lack of external querying capabilities.
Quick answers: * no you can't do this now * I'll add it shortly (within the next week) * getting the info from the model objects is easy, reworking the REST interface so that these and future queries on resources uses a conceptually clean api is just a bit more work -- - Stephen Bannasch Concord Consortium, http://www.concord.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SAIL-Dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/SAIL-Dev?hl=en -~----------~----~----~----~------~----~------~--~---
