Wenn der Endnutzer Ihre Standardkonfiguration anpassen soll, können Sie eine App mit Konfigurationstyp templated
bereitstellen. Auch hier muss eine Konfigurations-ID als eindeutige Kennung der Konfiguration vorhanden sein.
Um eine App auf einem oder mehreren Edge Devices bereitzustellen, verwenden Sie diesen Request:
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'