aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlad <vlad@driver.xyz>2018-01-26 09:24:48 -0800
committervlad <vlad@driver.xyz>2018-01-26 09:24:48 -0800
commit31b0f7c737b0a6fc637a34cf933475aabd0a42b8 (patch)
tree766b18f28c827e9f6ed96dd6a1c90c8341a392e0
parenta3bc47abb3618a63220db762e0bff73bd433e7b8 (diff)
parent04f316af025b627af619074079836bde0caad950 (diff)
downloadrest-query-31b0f7c737b0a6fc637a34cf933475aabd0a42b8.tar.gz
rest-query-31b0f7c737b0a6fc637a34cf933475aabd0a42b8.tar.bz2
rest-query-31b0f7c737b0a6fc637a34cf933475aabd0a42b8.zip
Merge remote-tracking branch 'origin/master' into master5v1.0.0
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index a0d1c11..11b3add 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,11 @@
Allows to read queries from the REST requests (query parameters) and map them to the typed SQL Slick queries.
Supports ANDs and ORs, pagination and sorting.
+Example of the REST request applying filtering:
+```
+https://treatment-matching-api/v1/patient?filters=status+EQ+New&filters=assignee+EQ+null&pageNumber=1&pageSize=20&sort=lastUpdate
+```
+
Queries can be build in the code as well (e.g., for testing):
```