Hi Kim,
For versioning REST API, I'm not sure of a definitive best route to get
there. A while back, for a Ruby on Rails project, one way we made a
/rest/v1 and a /rest/v2 versions of that REST API, was just make a
subfolder v1 and v2, copy and paste our entire v1 code into v2, and
then never
That's interesting, Terry. I think I'll just wait until DSpace 5.0 to get
the search-by-metadata feature, as there 5.0 is already a high priority for
us for a number of other reasons as well!
Alan
On Tue, Jun 16, 2015 at 2:52 AM Terry Brady terry.br...@georgetown.edu
wrote:
Alan,
The
Alan,
The following PR has some code that will search metadata via the API:
https://github.com/DSpace/DSpace/pull/954
I am also on 4.3, so this code is compatible with DSpace4.3.
Terry
On Thu, Jun 11, 2015 at 5:58 AM, Alan Orth alan.o...@gmail.com wrote:
Ah, it seems the
Thanks. It seems my query is well formed but it returns an HTTP 405 Method
Not Allowed response. Perhaps DSpace 4.x's REST API isn't sufficient for
the find-by-metadata-field query. Or perhaps I need to log in as you
illustrated here:
https://github.com/BrunoNZ/dspace-rest-requests
I guess I'll
Ah, it seems the `/rest/items/find-by-metadata-field` endpoint doesn't
exist in DSpace 4.x. Neither does the `/rest/login` endpoint. The docs need
to make more of a point to say which versions these are supposed to work
in... ;)
Alan
On Thu, Jun 11, 2015 at 12:24 PM Alan Orth alan.o...@gmail.com
Hey Alan,
Take a look at the commentaries on the REST-API's documentation's page.
I've answered a similar question there.
https://wiki.duraspace.org/display/DSDOC5x/REST+API?focusedCommentId=68068154#comment-68068154
But basically, the request that you have to send is something like this:
curl -k
Hey,
I'm using DSpace 4.3 and trying to search for items matching certain
metadata. The REST API docs on GitHub[0] mention that you can POST to
`rest/items/find-by-metadata-field`, but it doesn't give any more
information than that (like how to specify query parameters).
I've tried several
7 matches
Mail list logo