summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorKristofer Hallin <kristofer@sunet.se>2021-10-14 09:48:17 +0200
committerKristofer Hallin <kristofer@sunet.se>2021-10-14 09:48:17 +0200
commit583542443adb2d66208dacb71581bc2936c59201 (patch)
tree30d6cd714e1ae5058303c46fef901054d8d5334a /README.md
parentc3330191348b19be264eabf5e0acd5fb97f0568d (diff)
Find, now with pagination! Use limit and skip to get the results you want.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4348660..8ef8971 100644
--- a/README.md
+++ b/README.md
@@ -97,3 +97,7 @@ We might also filter the data:
Believe it or not, but we can also get a single observation by looking up its key:
curl -s -u user1:pw1 http://localhost:80/sc/v0/get/1633633714355 | json_pp -json_opt utf8,pretty
+
+We can also limit the number of results and skip N results forward with the parameters limit and skip:
+
+ curl -s -u user1:pw1 http://localhost:80/sc/v0/get?limit=5&skip=2 | json_pp -json_opt utf8,pretty