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/06/04 15:56:59 UTC
[incubator-ponymail-foal] branch master updated: Add placeholders
for missing entries; sort
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 7131fb4 Add placeholders for missing entries; sort
7131fb4 is described below
commit 7131fb4d65909033a851b171bb12acc2aa489ed7
Author: Sebb <se...@apache.org>
AuthorDate: Fri Jun 4 16:56:43 2021 +0100
Add placeholders for missing entries; sort
---
server/openapi.yaml | 60 +++++++++++++++++++++++++++++++----------------------
1 file changed, 35 insertions(+), 25 deletions(-)
diff --git a/server/openapi.yaml b/server/openapi.yaml
index 10574b8..3444d1e 100644
--- a/server/openapi.yaml
+++ b/server/openapi.yaml
@@ -393,31 +393,16 @@ paths:
security:
- cookieAuth: []
summary: Fetches a single email and returns it as a JSON object
- /api/thread.json:
- post:
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/SingleEmailRequest'
- description: Email details
- required: true
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ThreadResponse'
- description: 200 Response
- default:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ErrorResponse'
- description: unexpected error
- security:
- - cookieAuth: []
- summary: Fetches an email thread based on a parent email
+ # /api/mbox.json:
+ # TBA
+ # /api/mgmt.json:
+ # TBA
+ # /api/oauth.json:
+ # TBA
+ # /api/pminfo.json:
+ # TBA
+ # /api/preferences.json:
+ # TBA
/api/source.json:
post:
requestBody:
@@ -516,3 +501,28 @@ paths:
security:
- cookieAuth: []
summary: Searches the archives and returns the results that match
+ /api/thread.json:
+ post:
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/SingleEmailRequest'
+ description: Email details
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ThreadResponse'
+ description: 200 Response
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponse'
+ description: unexpected error
+ security:
+ - cookieAuth: []
+ summary: Fetches an email thread based on a parent email