onehilltech / blueprint

solid framework for building APIs and backend services
125 stars 26 forks source link

Search capabilities on ResourceController #46

Closed hilljh82 closed 4 years ago

hilljh82 commented 7 years ago

The ResourceController supports queries on GET /resource path. This is good for simple queries, such as:

Requests on GET /resource path are not good for complex queries, such as:

This is because it is not easy to express complex queries via a URL query string. We therefore need to provide a improved mechanism that allows the client to execute complex queries. We will call this capability search.

The search capability should have the following key features:

hilljh82 commented 7 years ago

To implement this feature, we will use the SEARCH http verb.

hilljh82 commented 4 years ago

This has been implemented. All resource controllere support POST /resource/search