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.
This commit is contained in:
Kosta Krauth 2016-03-22 17:28:12 -04:00
parent 9976d0251c
commit 4a3fc6552a

View file

@ -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
format: date-time