From 09158e4ca741b100080b0ae6161a382e8444494e Mon Sep 17 00:00:00 2001 From: Alexander J Date: Thu, 11 Jan 2018 17:36:07 +0100 Subject: [PATCH] clarifiaction for json rest searches I was struggling to find the right endpoint to simply search for events that match a given value, thanks to gitter I was able to solve my issue and I would like that to be covered in the documentation as well. --- automation/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/automation/README.md b/automation/README.md index 5d497a4..5c19900 100644 --- a/automation/README.md +++ b/automation/README.md @@ -591,6 +591,18 @@ For example, to retrieve all attributes for event #5, including non IDS marked a ~~~~ https:///attributes/text/download/all/null/5/true ~~~~ + +## RESTful searches with JSON result + +It is possible to search the database for attributes based on a list of criteria + +To return an event with all of its attributes, relations, shadowAttributes, use the following syntax: + +~~~~ +https:///attributes/restSearch/json/[value]/[type]/[category]/[org]/[tag]/[quickfilter]/[from]/[to]/[last]/[eventid]/[withAttachments]/[metadata]/[uuid] +~~~~ + + ## RESTful searches with XML result export