This repository was archived by the owner on Jul 25, 2018. It is now read-only.
This repository was archived by the owner on Jul 25, 2018. It is now read-only.
Search API for relations #27
Open
Description
Hi, we from team 6 would like to have an API to query relations for one or more keywords. As a result we get a lot of relations.
It would be very good, if the relations actually refer to entities from group 1&2 (type/id). If the don't, pls make it recognizable for us in the result.
GET /relations/search?q=:param&from=:from&size=:size
:param --> some keywords realating to relations (for example: inspired by
or just Beethoven
)
:from --> get the results from a certain point (e.g. 20)
size: --> return just :size results
Output:
Ordered by relevance
200 --> JSON Object, e.g.: { type: "success", relations: [ ... ] }
404 --> error json { type: "error" } or similar
500 --> error json { type: "error" } or similar