asclepias/asclepias-broker

Dev: Define API for Metadata search

mubdi opened this issue · 4 comments

mubdi commented

Determine RESTful API for metadata citation search

mubdi commented

@mattiaswangblad has created a new METADATA REST API endpoint which can be tested on the dev implementation: https://asclepias-broker-node.eastus.cloudapp.azure.com/metadata?journal=the%20Astrophysical%20Journal&year=2015&keyword=astrometry

Currently accepted metadata parameters to search over are Journal Keywords, Journal Name, and Publication Year.

mubdi commented

@mattiaswangblad has implemented a metadata aggregation search, which returns the aggregation of the software where papers cited have specific keywords or publication years, etc. Remaining todos:

  • Implement Pagination for the aggregations
  • Clean metadata resulting json

For the latter, @slint -- do you have any recommendations of how to capture the result json from elasticsearch to reformat it before invenio adds the pagniation/links to the json?

mubdi commented

Metadata output json is really a result from ElasticSearch, so let's not change that for now.