Task #1402
Bug #1202: java d1 client create() implementation not to spec.
conflicting documentation about location of pid parameter in mn.create()
100%
Description
compare Rest URL format in
http://mule1.dataone.org/ArchitectureDocs-current/apis/MN_APIs.html#MN_crud.create
with general rules for POST (whereby all parameters need to be contained in message body), and parent story
Need to remove the "/{pid}" from "object/{pid}" in the Rest URL listing on the MN API page
History
#1 Updated by Rob Nahf over 13 years ago
also need to remove {pid} in the create listing in the table at top of MN API page
#2 Updated by Rob Nahf over 13 years ago
from discussion at stand-up, decided to keep the pid at the end of the url path for POSTS (create). In the context of different interpretations of POST and PUT semantics, consistency within dataONE Rest calls was considered more important. (all other http verbs have the pid at the end for CRUD operations).
#3 Updated by Rob Nahf over 13 years ago
- Status changed from New to In Progress
#4 Updated by Dave Vieglais over 13 years ago
- Status changed from In Progress to Closed
Docs reflect the decision to use the form POST /object/{pid} to create content.