From 3b2d4ffe3ba3e8926946dfb59b91e8566157ab6c Mon Sep 17 00:00:00 2001 From: Harsha Kethineni Date: Thu, 21 Dec 2017 15:19:28 -0600 Subject: [PATCH] added example json for search input/output --- raml/examples/input/search-input.json | 7 +++++++ raml/examples/output/{search.json => search-output.json} | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 raml/examples/input/search-input.json rename raml/examples/output/{search.json => search-output.json} (99%) diff --git a/raml/examples/input/search-input.json b/raml/examples/input/search-input.json new file mode 100644 index 000000000..4ce20dd6c --- /dev/null +++ b/raml/examples/input/search-input.json @@ -0,0 +1,7 @@ +{ +"search": { + "return_type": "file", + "filters": [{"terms": {"file.type":["nifti"]}}] +}, +"label" : "Test Search" +} diff --git a/raml/examples/output/search.json b/raml/examples/output/search-output.json similarity index 99% rename from raml/examples/output/search.json rename to raml/examples/output/search-output.json index 189e06ce7..a005e15c2 100644 --- a/raml/examples/output/search.json +++ b/raml/examples/output/search-output.json @@ -7,4 +7,4 @@ }, "permissions": [{"access": "admin", "_id": "harshakethineni@invenshure.com"}], "creator": "harshakethineni@invenshure.com" -} \ No newline at end of file +}