On Oct 27, 2009, at 9:51 AM, Asger Askov Blekinge wrote:
> OBJECTS
> * PUT /objects/{pid} - Create a new object, with no content, and
> default values

If Fedora is minting the pid, then IMO this should be:

* POST /objects/create

> * POST /objects/{pid}/contentmodels/{cmid} - Add a content model to  
> the
> object

Assuming that the {cmid} is known by the caller and the content model  
already exists in fedora, then I think this should be a PUT rather  
than POST.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fedora-commons-developers mailing list
Fedora-commons-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to