> -----Ursprüngliche Nachricht-----
> Von: Asger Askov Blekinge [mailto:a...@statsbiblioteket.dk]
> 
> 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?

If the PID is previously known and can be included in the URL (/objects/{pid}) 
I would say definitely PUT. In case of create without PID I would agree with 
POST but would send it to /objects. 
Appended with create seems to mean calling the create-method.

Regards, Frank


-------------------------------------------------------

Fachinformationszentrum Karlsruhe, Gesellschaft für wissenschaftlich-technische 
Information mbH. 
Sitz der Gesellschaft: Eggenstein-Leopoldshafen, Amtsgericht Mannheim HRB 
101892. 
Geschäftsführerin: Sabine Brünger-Weilandt. 
Vorsitzender des Aufsichtsrats: MinR Hermann Riehl.



------------------------------------------------------------------------------
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