Open jaakkocsc opened 4 years ago
There is a search function in the applications API that uses the Lucene index for flexible searching. I think we can use the same approach here. Optionally we can add it to all our main APIs.
I implemented a solution for https://github.com/CSCfi/rems/issues/2852 with https://github.com/CSCfi/rems/pull/2865 Something like this can be added for the catalogue item API as well. We can add some simple ones quickly without Lucene as required.
It should be possible to add parameters to GET, such as resource='some' so that the response would only contain those items whose resource includes string 'some'.