ReferenceSettings
/api/v1/settings/mail/history
The mails Rezepte handed to its mail server in the last 30 days, newest first, 50 per page: kind, recipient, subject and outcome, never the content.
GET
/api/v1/settings/mail/historyAuthorization
session rezepte_session<token>
Session cookie set by POST /api/v1/auth/login.
In: cookie
Query Parameters
before?integer
The id of the last mail shown; the page holds the ones before it. 0 or absent: the newest.
Format
int64Range
0 <= valuestatus?string
Only the mails in this state; absent: all
Value in
- "queued"
- "sent"
- "failed"
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/v1/settings/mail/history"{ "$schema": "https://example.com/api/v1/schemas/HistoryOutputBody.json", "failed": 0, "items": [ { "attempts": 0, "createdAt": "2019-08-24T14:15:22Z", "error": "string", "finishedAt": "2019-08-24T14:15:22Z", "id": 0, "kind": "string", "nextAttemptAt": "2019-08-24T14:15:22Z", "people": [ { "avatarId": "string", "color": "string", "displayName": "string", "id": "string", "username": "string" } ], "status": "queued", "subject": "string", "to": "string" } ], "more": true, "queued": 0, "total": 0}