Internal API
Website preview
1 endpoint.
POST
/api/v1/internal/website-previews/reapReap website previews: fail stuck revisions, expire overdue drafts
Sweep counts: ``revisions_failed`` (stuck past the reaper's clock), ``previews_expired`` (ready|failed past their +30d ``expires_at``, 0 while expiry is off), and the lost starts ``starts_resent``, ``revisions_never_started`` and ``builds_never_started``.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
x-internal-api-key | header | string | null |
Responses
200Successful Responseapplication/jsonSuccessResponse_WebsitePreviewReapResponse_| Field | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
request_idrequired | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
success | true | default true | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
datarequired | WebsitePreviewReapResponse | WebsitePreviewReapResponse fields
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
metadata | ResponseMetadata | null | ResponseMetadata fields
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
meta | ResponseMeta | null | ResponseMeta fields
|
400Bad request401Unauthorized403Forbidden404Not found422Validation error500Internal server error503Service unavailable
Error bodies: ErrorResponse. See Errors.