Admin

Populate reading_items.body_excerpt from existing content column

POST https://api.rewind.rest/v1/admin/backfill-body-excerpt

Iterates reading_items and applies htmlToText to derive body_excerpt from content. Default path only touches rows where body_excerpt IS NULL. Pass force:true to re-derive every row (necessary after bumping the htmlToText cap); pair with offset for chunked pagination.

Authorization

Authorizationheaderstringrequired

API key. Read keys (rw_live_...) access GET endpoints. Admin keys (rw_admin_...) access all endpoints.

Body

limitbodyinteger
forcebodyboolean
offsetbodyinteger

Response

application/json

Backfill complete

scannednumberrequired
updatednumberrequired
took_msnumberrequired