This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
The following commit(s) were added to refs/heads/master by this push:
new d2630f0 Now supports dfrom and dto
d2630f0 is described below
commit d2630f0385d5fa540533d70a3e400b2efaf9cc5c
Author: Sebb <[email protected]>
AuthorDate: Fri Nov 19 15:16:37 2021 +0000
Now supports dfrom and dto
---
server/openapi.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/server/openapi.yaml b/server/openapi.yaml
index f4194f8..6ca1e1c 100644
--- a/server/openapi.yaml
+++ b/server/openapi.yaml
@@ -48,6 +48,14 @@ components:
description: Optional advanced date parameters. Uses gte (greater
than or equal) or lte (less than or equal) to narrow results
example: "lte=2019-01"
type: string
+ dfrom:
+ description: Optional start date, expressed as days ago. Used with
dto.
+ type: string
+ example: 31
+ dto:
+ description: Optional start date, expressed as days to capture
starting from dfrom
+ type: string
+ example: 10
q:
description: "Free text query to search for. Can use + or - to
denote mandatory presence or absence of words"
type: string