aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlad Uspensky <v.uspenskiy@icloud.com>2018-01-25 14:32:15 -0800
committerGitHub <noreply@github.com>2018-01-25 14:32:15 -0800
commit04f316af025b627af619074079836bde0caad950 (patch)
treedeb9a91422eb19027e542ea94c36440fe16f34c7
parent9a549f80725d11d40ca9b30a7f334e65ca34468d (diff)
downloadrest-query-04f316af025b627af619074079836bde0caad950.tar.gz
rest-query-04f316af025b627af619074079836bde0caad950.tar.bz2
rest-query-04f316af025b627af619074079836bde0caad950.zip
Update README.md
-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):
```