ProcessStrategyInputType
Last edit: Oct 26, 2022
No description
type ProcessStrategyInputType {
body: String
file_name: String!
page: ProcessPageInputType
strategy: ProcessStrategy!
synchronous: Boolean
}
Fields
body
(String
)
Expected content depends on strategy, however usually it is text, html, csv,
json, xml etc.Alternativey you can process page via page argument.
file_name
(String
)
Name of the output file
page
(ProcessPageInputType
)
Provided page will be rendered and its output will be used as a body.
Alternatively you can pass body directly via body argument
strategy
(ProcessStrategy
)
synchronous
(Boolean
)
if you set to true and strategy requires asynchronous processing by us (like
pdf generation) then the mutation will wait until the file is actually
generated so you can for example attach it to an email