Reference
willo_make_pdf_private
Move a PUBLIC generated PDF into private storage: copy it, verify the SHA-256, point its Documents record at the private copy…
- Act
- Needs approval
On this page
Make a generated PDF private. Move a PUBLIC generated PDF into private storage: copy it, verify the SHA-256, point its Documents record at the private copy, then delete the public copy so its old address stops working. ALWAYS needs a person's approval. Other public versions with the same title stay public.
Access
- Token: read + act, and editor access or higher on the business.
- Approval: Always. Every call raises a card a person approves on the dashboard.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
document_id | integer ≥ 1 | yes | The public PDF's document id (willo_documents). |
bucket | string | no | A private bucket. Omit for Willo's private bucket. |
summary | string | no | One plain sentence for the owner, shown on the card. |