Hi Mark,

On 11/13/2013 12:06 PM, Mark H. Wood wrote:
> I had missed that we were hurrying to do something in 4.0.  I had
> assumed that there wasn't time.

To clarify, I was not recommending we change identifier schemes in 4.0.

As Graham mentions, all I was recommending is that we stay *consistent* 
with our current identifier scheme.

So, the only change I recommend for 4.0 is to change the REST-API to 
accept Handles ([prefix]/[suffix]) as the identifier.  Currently the 
REST-API only works with Database IDs.

As noted earlier in this thread, using Database IDs for the REST API has 
several limitations:

(1) Database ID is not very easily "discoverable" to end users. So, if a 
user wanted to access this item from the REST API:

http://demo.dspace.org/xmlui/handle/10673/3

How would they be able to determine that it is actually available at:

http://demo.dspace.org/rest/items/2

(The same goes for specific Communities/Collections -- the ID from REST 
is almost always going to be different from the Handle ID)

(2) As mentioned previously, Database IDs are slightly more fragile than 
Handles currently -- e.g. they cannot be restored by AIP backup & restore.

I hope this makes some sense. All I'm recommending for 4.0 is that we 
tweak the REST API to understand Handles (either instead of or in 
addition to Database IDs).  For 5.0, we should investigate a better 
resolution for https://jira.duraspace.org/browse/DS-1782 (and related 
issues)

- Tim

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to