Create a new OTA Deployment
POST/deployments/create
Creates a new OTA deployment. Any asset in deployable state can be used for deployment.
Request
- application/json
Body
- Array [
- ]
Specify unix timestamp(UTC) at which deployment will start. You schedule a deployment to become active at any prespecified time.
Specify when deployment should stop. This paramete stops deployment regardless the active phase. By default it takes 1 Year from the deployment start date. You can specify deployments with a maximum period of 5 Years.
Asset which will be deployed
deployementFilter objectrequired
Specifies the filter which will be used to target the device tags. If specified as empty, the deployment will be applicable to all devices in the project
deploymentConfig object[]required
Possible values: >= 1
, <= 10
Possible values: >= 1
and <= 10
Number of the stage when multiple stage are secified. You can specify maximum 10 stages.
Number of device to target in this phase. If total devices are less than this number, the deployment will remain in this phase, and will not move to next phase.
Whether deployment should be aborted automatically at this stage based on number of failures specified in abortCriteria
Delay before starting next phase
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
{
"success": true,
"error": "string",
"errorcode": 0,
"deploymentId": "string"
}