Dear All,

Apologies in advance if this has been asked before. I would like to know if 
the /search endpoint for REST Api is already available? I looked at 
demo.dspace.org/rest and I did not find the /search endpoint there. 
Although in 
https://wiki.duraspace.org/display/DSPACE/REST+API#RESTAPI-Contentsearching, 
it is there along with /harvest. Am I missing something here? With what 
version of DSpace is this available?

Content searching

 

C

Verb

URL

Description

Mandatory parameters

Optional parameters

Sorting fields

Response Data

Formats

Response codes

 

GET

/search

Return a list of all objects found by searching criteria. 
Notice: community and collection are mutually exclusive options.

-

modifiers{{query=query}}&(community=id or 
collection={{id}} 
idOnly=false

id 
name 
lastmodified
submitter

Item info with basic metadata for the search results. Additionally return 
only 
identifiers when idOnly=true is used.

json 
xml

200, 204, 400, 500

 

GET

/harvest

Return a list of all objects that have been created, modified or withdrawn 
within specified time range.

-

startdate 
{enddate}} 
community 
collection 
idOnly=false 
withdrawn=false 
Notice: community and collection are mutually exclusive options

-

Contains item info including id, name, handle, metadata, bitstreams 
according to
the defined requirements. Additionally when idOnly=true only identifiers of 
results are returned. If the date is in incompatible format, error 400 is 
returned.

json 
xml

200, 204, 400, 500

I am being asked if the search API in REST can be used in the repository 
(DSpace 5.4) that I am working on.

Thanks in advance and hoping for a positive response.

Best regards,
euler

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" 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-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to