[Cosmo-dev] Groups via CMP in Cosmo

Brian Moseley bcm at osafoundation.org
Tue Dec 12 08:00:59 PST 2006


On 12/11/06, Vinubalaji Gopal <vinu at osafoundation.org> wrote:
> Hi all,
>    I was implementing management of groups in Cosmo via CMP and got
> stuck on how we could add members in a group. I first thought of adding
> it this way (Part of a PUT request - PUT /group/everyone):

the semantics of POST are "put this entity into the targeted
collection". so you could simply POST a <username> or <groupname> to
/group/everyone to add it as a member and DELETE the same thing to
remove it from the group.


More information about the cosmo-dev mailing list