Sites

Update the downloads policy for a site

Persists the owner preference and re-publishes the KV record so the worker picks up the new canDownload value on the next request.

patch/sites/{id}/downloads-policy

Request

  • Base URL: https://api.nippy.host
  • URL: https://api.nippy.host/sites/{id}/downloads-policy
  • Auth: bearer (a scheme the document does not define)

Path parameters

idstring required

Site UUID

Request body

policy'auto' | 'on' | 'off' required

auto defers to a content heuristic. on forces downloads on; off forces them off.

Response

idstring required

Site UUID

downloadsPolicy'auto' | 'on' | 'off' required

Changes

No recorded changes to this operation across all 1 revision of this API.