If the end user should adapt your default configuration, you can deploy an app using the configuration type templated
. Again, it is required to have a configuration ID as a unique identifier of the configuration.
Use this request to deploy an application to one or multiple Edge Devices:
curl -i -X POST \
-H "Authorization:<your-authorization-token>" \
-H "Content-Type:multipart/form-data" \
-F "infoMap={\"configs\":[{\"configId\":\"<your-configuration-id>\",\"templateId\":\"<your-template-id>\", \
"editedTemplateText\":\"{\n\t\\"tab1\\":\\"##$hello$##\\"\n}\n\"}"}
],\"devices\":[\"<your-device-id>\"]}" \
'https://<your-iem-url>/portal/api/v1/batches?appid=<your-app-id>&operation=installApplication'