Expand description
Draft preview service โ generates signed, time-limited preview tokens so authors can share links to unpublished content.
Functionsยง
- cleanup_
expired_ tokens - Remove expired preview tokens.
- generate_
preview_ token - Generate a signed preview token for a content item. The token encodes the content ID and an expiration time.
- validate_
preview_ token - Validate a preview token and return the associated content_id if valid.