Uptime API › Weekly summary
Email yourself a preview
Emails the caller the summary of the last full week. Takes no body.
Only an owner or administrator signed in to EvoHub can do this, at most once a minute. An API key always gets 403.
Requires the uptime:monitor:read scope, and a person who is an
owner or administrator.
Authorization
Responses
200
The preview was sent.
dataobjectsent_tostring requiredThe address it was sent to.
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
403
The caller is not an owner or administrator signed in as a person, or lacks uptime:monitor:read (FORBIDDEN).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
409
The weekly summary email is not available yet
(DIGEST_UNAVAILABLE), there are no monitors to summarize
(NO_MONITORS), or the caller's account has no address it can be
sent to (NO_DELIVERABLE_EMAIL).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
A preview was sent to the caller less than a minute ago (RATE_LIMITED), or the API rate limit was reached.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
502
The email provider refused the preview (EMAIL_REJECTED), or it could not be sent (PREVIEW_FAILED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X POST 'https://evohub.io/api/v1/uptime-digest/preview' \
-H 'Authorization: Bearer <TOKEN>'