Wenn der Endanwender seine eigene Konfiguration verwenden will, können Sie eine App mit Konfigurationstyp unversioned
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>\",\"fileId\":\"<unique-file-id>\"}], \
\"devices\":[\"<your-device-id>\"]}" \
-F "<unique-file-id>=@\"/home/Desktop/temp/example.txt\";filename=\"example.txt\"" \
'https://<your-iem-url>/portal/api/v1/batches?appid=<your-app-id>&operation=installApplication'