From 4a3fc6552a1f174d600d9a3b4fb181a8cc8ee113 Mon Sep 17 00:00:00 2001 From: Kosta Krauth Date: Tue, 22 Mar 2016 17:28:12 -0400 Subject: [PATCH] API spec doesn't define the search query parameter Add query parameter "query" that is used to specify the actual search query. Without this it's not obvious how to search for a particular email. --- docs/APIv2/swagger-2.0.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/APIv2/swagger-2.0.yaml b/docs/APIv2/swagger-2.0.yaml index b4c84cf..e70f5f8 100644 --- a/docs/APIv2/swagger-2.0.yaml +++ b/docs/APIv2/swagger-2.0.yaml @@ -103,6 +103,12 @@ paths: required: true type: string enum: [ from, to, containing ] + - + name: query + in: query + description: Search parameter + required: true + type: string - name: start in: query @@ -183,4 +189,4 @@ paths: format: int64 created: type: string - format: date-time \ No newline at end of file + format: date-time