[Building Sakai] siteGroups not returned in Entity Broker Site:group

Geng, Kelly gengx at muohio.edu
Fri Feb 11 12:34:28 PST 2011


I did get the URL from the direct /direct/site/describe:

--quote starts:
group : * : [/site/group] (xml) (json) (html) (form)
Allows access to group information directly using a url like: /site/siteId/group/groupId For membership actions use the Membership Provider
(GET) /direct/site/siteid/group/groupid - gets metadata for group but not membership.
(POST) /direct/site/siteid/group/groupid - updates metadata for group but not membership.
(PUT) /direct/site/siteid/group - create a new group in the site (returns group id). Parameters include title, description, optionally initial list of members.
(DELETE) /direct/site/siteid/group/groupid - delete an existing group in the site.
--quote ends

But I didn't use it properly. It seems like the (GET) method gets the metadata given the groupid. Is there a way that I can get the group id list given the site id?

Thanks,
Kelly

-----Original Message-----
From: azeckoski at gmail.com [mailto:azeckoski at gmail.com] On Behalf Of Aaron Zeckoski
Sent: Friday, February 11, 2011 3:19 PM
To: Geng, Kelly
Cc: sakai-dev at collab.sakaiproject.org
Subject: Re: siteGroups not returned in Entity Broker Site:group

See the documentation on your server here:
/direct/site/describe

The url you are using is not correct.

Can you explain where you got that URL from?

-AZ


On Fri, Feb 11, 2011 at 3:11 PM, Geng, Kelly <gengx at muohio.edu> wrote:
> Hi Aaron,
>
>
>
> I'm trying to get group data within a site using "site" entity provider. I
> expected to see value set to siteGroups, but only see Null as the result.
> Can you shed me some light on that?
>
>
>
> The URL is https://myserver/direct/site/{siteid}/site/group and I'm testing
> it with a site course with 2 sections(groups).
>
>
>
> Thanks,
>
> Kelly
>
>



-- 
Aaron Zeckoski - Software Engineer - http://tinyurl.com/azprofile


More information about the sakai-dev mailing list