[Building Sakai] Roster data via REST?
Gregory Guthrie
guthrie at mum.edu
Fri Jun 7 09:33:45 PDT 2013
Steve, Thanks (again...), but while I can see how to use /direct/site/....siteID.xml for site information,
How do I get the SiteID to do this?
I want to go from what that gives me as <entityTitle> to the <entityID> which I need to run the site query and others.
Then from that I can get Roster, etc.
Just to be clear, so that I can get a roster via: /server/direct/membership/site/dc228507-e011-445c-aafc-6757341b9ffa.xml
I want something where I can start with "CS505-Fall2012" and get the SiteID to make that query.
The /direct/site/ seems to do the converse, given a SiteID I can query and get all sorts of stuff, including the Title (which is also used in the short URL).
Sorry for any novice dense-ness!
-------------------------------------------
Hi Gregory,
Yes there is a provider to get the list of sites (/site). The idea is that you chains some of these requests together, ie get a list of sites, then for each site get a list of X.
cheers,
Steve
On Fri, Jun 7, 2013 at 2:18 PM, Gregory Guthrie <guthrie at mum.edu<mailto:guthrie at mum.edu>> wrote:
Sam (& Steve!),
Thanks.
Ah, searching for Keitai I see lots of stuff - need to explore more.
And I did find the REST URLS on the JIRA SAK below - thanks!!
They require a course ID - given a program dealing with the human-readable course names, is there some REST-full way to get the course ID to make these calls? I.e. to lookup course names?
-------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130607/e11121c8/attachment.html
More information about the sakai-dev
mailing list