Task #2197
Story #2191: API refactoring / refinement
add updateObsoletedBy method
Status:
Closed
Priority:
Normal
Assignee:
Category:
Documentation
Target version:
Start date:
2012-01-10
Due date:
% Done:
100%
Milestone:
CCI-1.0.0
Product Version:
*
Story Points:
Sprint:
Description
Looking at the other method names that affect systemMetadata, I think the nomenclature should be
CNCore.setObsoletedBy(session, pid, obsoletedByPid, serialVersion);
Related issues
History
#1 Updated by Ben Leinfelder almost 13 years ago
I'm sure there's a reason, but why have this specialized method when there is a CN.updateSystemMetadata() method that could be used for such a thing?
#2 Updated by Dave Vieglais almost 13 years ago
- Status changed from New to In Progress
Rest endpoint requires some discussion.
Proposal is:
PUT /meta/obsoletedby/{pid}
But this depends on correctly interpreting /meta/obsoletedby as a service endpoint rather than a pid = obsoledtedby
#3 Updated by Dave Vieglais almost 13 years ago
- Status changed from In Progress to Closed
REST endpoint switched to PUT /obsoletedBy/{pid}