PlatformOfTrust / collected-feedback

Feedbacks and Wishlist for Platform of Trust are collected as issues in this repository.
0 stars 1 forks source link

Search as part of the GET #11

Closed kyyberi closed 4 years ago

kyyberi commented 4 years ago

Describe the Pain in using this API

Would be useful to have search capability in Product API. Commonly search is implemented in listing (GET) endpoint with q as query parameter. Without it finding wanted products is cumbersome.

https://api-sandbox.oftrust.net/products/v1/?q=leanheat

Would return all products in which name or description contains "leanheat".

Indicate the importance in number

(1. Critical, 2. Important, 3. Nice-to-have)

2.

Additional context Add any other context or screenshots about the feature request here.

Näyttökuva 2020-4-2 kello 8 03 46
Nazarah commented 4 years ago

@kyyberi this will be scheduled as a new feature to implement as it requires API designs and making changes to the end point.

Nazarah commented 4 years ago

@edanchenkov not sure if this is too let to mention, but there was a request to include a q as query parameter to in the GET request to search for a data product. Would return all products in which name or description contains "leanheat".

can you take a look at this?

Nazarah commented 4 years ago

@kyyberi this has been taken into account for the version 2 of Product API. hence closing the issue.