From b8959ca82bb8c4752d4e639e4e35048d8ba0a55b Mon Sep 17 00:00:00 2001 From: Daniel Roethlisberger Date: Tue, 27 Nov 2018 11:34:55 +0100 Subject: [PATCH] Document pagination options for /events/restSearch Reference: https://github.com/MISP/MISP/issues/2426#issuecomment-431657077 --- automation/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/automation/README.md b/automation/README.md index 733cfb6..d510b3e 100644 --- a/automation/README.md +++ b/automation/README.md @@ -1407,6 +1407,10 @@ https:///events/restSearch/download/null/null/null/null/tag1&&tag2&&!t
Include the attachments/encrypted samples in the export
metadata
Only fetch the event metadata (event data, tags, relations) and skip the attributes
+
limit
+
Limit the number of results returned; use together with page.
+
page
+
If a limit is set, sets the page to be returned, starting at 1; page 3, limit 100 will return records 201->300). When requesting a page beyond the number of available pages, the returned results list will be empty.
The keywords false or null should be used for optional empty parameters in the URL.