Skip to content

Save document sources

PUT
/v1/setup/documents
curl --request PUT \
--url http://localhost:8080/v1/setup/documents \
--header 'Content-Type: application/json' \
--data '{ "watchFolder": "example", "maxPackageMb": 1, "retentionDays": 1 }'

Step 7. Stores the watch folder inside the api container (takes effect after a restart), the maximum package size in MB (1–2048) and the retention period in days (30–36500). Administrators only. 400 for invalid values.

Media typeapplication/json
object
watchFolder
string
maxPackageMb
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
retentionDays
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
Examplegenerated
{
"watchFolder": "example",
"maxPackageMb": 1,
"retentionDays": 1
}

No Content