/api/document
POST /api/document/{document-id}/public-link
Generate a publicly-accessible UUID for a Document.
Creates a public link that allows viewing the Document without authentication. If the Document already has a public UUID, returns the existing one rather than generating a new one. This enables sharing the Document via GET /api/ee/public/document/:uuid.
Returns a map containing :uuid (the public UUID string).
Requires superuser permissions. Public sharing must be enabled via the enable-public-sharing setting.
post/api/document/{document-id}/public-link
Path parameters
document-idinteger required
value must be an integer greater than zero.
Response
Successful response