On Tue, 2009-10-27 at 15:11 +0100, Elliot Metsger wrote: > 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 Yes, there would be two methods, one for supplied pids and one for autocreated pids. I think I forgot the one for autocreated pids. Should it be POST in both cases?
> > > * 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. Yes, I tend to get them mixed up. This would probably be better as a PUT Thanks ------------------------------------------------------------------------------ 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