requestDocumentLinkGeneration
mutation
Request lazy PDF/zip generation for a DocumentLink
Public/unauthenticated — called from the download page when the customer clicks "Generate document". Atomically claims the link (so concurrent clicks/polls only enqueue once) and enqueues generation with the pdf-worker. If generation is already in progress, ready, or failed, this is a no-op that just reports the current status.
mutation {
requestDocumentLinkGeneration(documentLinkId: String!): DocumentLinkGenerationRequest!
}Returns: DocumentLinkGenerationRequest!
Arguments
| Name | Type | Description |
|---|---|---|
documentLinkId | String! |