[cosmo-dev] Cosmo server questions...
Tom Jones
tjones at acworld.com
Thu Jun 19 18:39:24 PDT 2008
Thanks, for the information. I will play with it and see how far I
can get. I have not really done any work with REST/CMP yet so this
should be fun.
tom
On Jun 19, 2008, at 8:32 AM, Randy Letness wrote:
> Tom Jones wrote:
>> What I'm looking for are API's or WebServices to create accounts
>> programatically,; so I have 20 users and I want to set each one of
>> them up with an account and a default calendar and one shared (R+W).
>
> You can use the CMP protocol (HTTP based) to create accounts:
>
> http://chandlerproject.org/Projects/CosmoManagementProtocol
>
> To create collections/subscriptions you can use the feed service
> (atom based):
>
> http://chandlerproject.org/Projects/CosmoFeedServiceSpec
>
> I just checked the feed service docs and it doesn't look like ticket
> management is documented yet, but its supported as of the latest
> release. You can also create tickets using DAV:
>
> http://chandlerproject.org/Projects/CosmoTickets
>
> So you would probably want to do something like:
>
> Create shared calendar (need ticket + uuid of collection)
> for 1..20 do
> make CMP requests to create user (with admin credentials)
> make feed request to create calendar for user (with new user's
> credentials)
> make feed request to add subscription for user
>
> -Randy
> _______________________________________________
> cosmo-dev mailing list
> cosmo-dev at lists.osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/cosmo-dev
More information about the cosmo-dev
mailing list