CSCfi / rems

Resource Entitlement Management System is a tool for managing access rights to resources, such as research datasets.
MIT License
51 stars 22 forks source link

Extend the /api/catalogue API #1998

Open jaakkocsc opened 4 years ago

jaakkocsc commented 4 years ago

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'.

Macroz commented 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.

Macroz commented 2 years ago

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.