You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2021/12/16 22:31:21 UTC

[incubator-ponymail-foal] branch master updated: Fix up some missing items

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 03e100e  Fix up some missing items
03e100e is described below

commit 03e100e6f012f1ef335e0a2e16bb832d70a50801
Author: Sebb <se...@apache.org>
AuthorDate: Thu Dec 16 22:31:11 2021 +0000

    Fix up some missing items
---
 server/openapi.yaml | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/server/openapi.yaml b/server/openapi.yaml
index dd34274..5e1ab48 100644
--- a/server/openapi.yaml
+++ b/server/openapi.yaml
@@ -92,6 +92,14 @@ components:
       - id
     SingleEmailResponse:
       properties:
+        attachments:
+          description: List of attachments, if any
+          example: [TBA]
+          type: array
+        cc:
+          description: List of Cc email addresses
+          example: "\"announce@tomcat.apache.org\" <an...@tomcat.apache.org>, \"dev@tomcat.apache.org\" <de...@tomcat.apache.org>, announce@apache.org"
+          type: string
         from:
           description: The sender address of the email
           example: "Asterix build server  <je...@asterix-jenkins.ics.uci.edu>"
@@ -152,6 +160,10 @@ components:
           description: The message body of the email
           example: "I like cakes.\nThe joke you made really made me laugh.\nBest,\nJess."
           type: string
+        body_short:
+          description: The message body of the email, truncated to 201 chars
+          example: "I like cakes.\nThe joke you made really made me laugh.\nBest,\nJess."
+          type: string
         permalinks:
           description: All IDs that this document is filed and accessible under
           type: array
@@ -203,7 +215,7 @@ components:
           example: false
           type: boolean
         body:
-          description: The message body of the email
+          description: The message body of the email, tuncated to 201 chars
           example: "I like cakes.\nThe joke you made really made me laugh.\nBest,\nJess."
           type: string
         gravatar:
@@ -229,6 +241,14 @@ components:
             $ref: '#/components/schemas/CompactEmailResponse'
     StatsResponse:
       properties:
+        active_months:
+          description: List of months with activity
+          type: array
+          example:
+            - 
+              "2017-01": 1
+            - 
+              "2017-02": 1
         firstYear:
           description: The first year found in the search results
           type: integer