How to obtain newest/modified items.

15 views
Skip to first unread message

fran...@imactiva.cl

unread,
May 3, 2018, 8:58:28 AM5/3/18
to DSpace REST
Hello:

Am developing an app that connects to a public DSpace 5.x repository, that utilizes REST API architecture (mineduc.prodigioconsultores.com/rest currently for test and development), meant for teachers.

My app creates a local DB of all the items in the repository, with just key fields like the title, handle, issued date, description and if it has bitstreams, so the user can make an offline search, save the result that are relevant to him/her in a html file with the resumed metadata and a link to the item, for later use. Example: like when the user is in his/her commute, the wifi is not available, the user doesn't have a data plan.

Right now my app needs to be updated daily with the most recent items added and/or modified though a scheduled task, but I can't find in the documentation how to request items with a date range. It needs to be with a date range, since my app comes with a compiled db, that is uncompressed when the app is run for the first time, but that means the db will be outdated by days/months/years, so also needs to update all the items the db is missing since it creation.

Sorry for any grammar or spell errors, English is not my first language.

Terry Brady

unread,
May 3, 2018, 11:39:38 AM5/3/18
to fran...@imactiva.cl, DSpace REST
Francisco,

The DSpace 5 REST API does not have query capabilities.  The REST 6 API introduces some query functionality.

Based on what you are describing, you might be able to accomplish the same task using the DSpace instance's OAI-PMH service to harvest records.  The OAI service does permit date filtering.

Terry

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


Reply all
Reply to author
Forward
0 new messages