On Tue, Nov 15, 2016 at 11:54 PM, Luke <[email protected]> wrote:
> In DSpace 4 /rest/items has a mandatory id at the end of the path according
> to the documentation. If I just put in /rest/items I get the error "method
> not allowed". I can see this is meant to work in higher versions of DSpace
> and this would be the ideal method.

Indeed, there have been major improvements to the REST API between 4
and 5 and the list of items was one of them:

https://github.com/DSpace/DSpace/blob/dspace-4_x/dspace-rest/src/main/java/org/dspace/rest/ItemsResource.java

https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-rest/src/main/java/org/dspace/rest/ItemsResource.java


> With the OAI example my issue was that the rest interface was not returning
> all records. Is there anyway to get the OAI interface to return the rest id
> so I can get the resources?

No, OAI doesn't expose the internal identifier like the REST API does.

But like I said, REST response should be _more_ up-to-date than OAI,
so what you're describing sounds weird, unless there were items
deleted from the repository and the OAI cache was not updated. But I
can't check because you didn't send the link.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.

Reply via email to