mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2024-11-14 03:20:14 +01:00
39 lines
905 B
JSON
39 lines
905 B
JSON
|
{
|
||
|
"name": "Prepare-pdfs-for-email",
|
||
|
"pipeline": [
|
||
|
{
|
||
|
"operation": "/api/v1/misc/repair",
|
||
|
"parameters": {}
|
||
|
},
|
||
|
{
|
||
|
"operation": "/api/v1/security/sanitize-pdf",
|
||
|
"parameters": {
|
||
|
"removeJavaScript": true,
|
||
|
"removeEmbeddedFiles": false,
|
||
|
"removeMetadata": false,
|
||
|
"removeLinks": false,
|
||
|
"removeFonts": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"operation": "/api/v1/misc/compress-pdf",
|
||
|
"parameters": {
|
||
|
"optimizeLevel": 2,
|
||
|
"expectedOutputSize": ""
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"operation": "/api/v1/general/split-by-size-or-count",
|
||
|
"parameters": {
|
||
|
"splitType": 0,
|
||
|
"splitValue": "15MB"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"_examples": {
|
||
|
"outputDir": "{outputFolder}/{folderName}",
|
||
|
"outputFileName": "{filename}-{pipelineName}-{date}-{time}"
|
||
|
},
|
||
|
"outputDir": "httpWebRequest",
|
||
|
"outputFileName": "{filename}"
|
||
|
}
|