precalculated downloads¶
http://localhost:8080/download/info gives you a list of all Download-Entities. That can be entire trees but also incremental changes for precalculated downlods
http://localhost:8080/download/admin gives you an overview how many download entities per tree do exists and it's possible to delete all download entities per tree
If a tree does not contain queryParams than there will be only one entire download-package for this tree. If a tree contains queryParams than there will be more than one entire downloads this tree!
To calculate a scheduled tree the following script can be used:
$ cat adhoc.sh
!/usr/bin/env bash¶
curl $CURL_OPTIONS -H 'Content-Type: application/json' \
http://localhost:8080/download-schedule/adhoc \
-d '{
"trees": {
"asset": {
"schedule": "weekly",
"profiles": [
{ "siteid": ["1100"] },
{ "siteid": ["1400"] }
]
}
}
}'