Deploy An Application Without Any Configuration - Manual - Industrial Edge - Industrial Edge - Industrial Edge - Documentation of Industrial Edge APIs - CLI tools - Industrial Edge - References - APIs

Industrial Edge Platform Operation - APIs & References

Product
Industrial Edge
Edition
12/2024
Language
en-US (original)

If you want to deploy an application to a specific Edge Device, you need to submit a batch job to the IEM. This job contains all the information required to install the application on the Industrial Edge Device.

You can create a batch job by using a multipart request, which can contain additional metadata and configuration depending on your use case.

In the simplest way, you can deploy an application without any configuration to one or many Edge Devices. You require the application ID as unique identifier of the Industrial Edge application as well as the device IDs as unique identifiers for the target Industrial Edge Devices.

Use this request, tO deploy an app without any configuration:

curl -i -X POST -H "Authorization:<your-authorization-token>" -H "Content-Type:multipart/form-data" -F "infoMap= {\"devices\":[\"<your-device-id>\"]}" --insecure 'https://<your-iem-url>/portal/api/v1/batches?appid=<your-app-id>&operation=installApplication'