Skip to main content

Update Status of an ongoing or new deployment

POST 

/v1/ota/statusUpdate

Updates the status of an ongoing or new deployment. Please note that you can directly specify concluding status success, failure or skipped which will put that deployment in concluded state for that node.

You can specify any arbitary status in between. The status should not 50 characters. Along with each status update device can also submit log string upto 1k characters, which can be used to submit error message in case of failure. Note that this log will not appear in device logs.

Anedya maintains a log of status changes for each node which can be examined through Anedya dashboard or API.

Request

Body

    reqId string
    deploymentId stringrequired

    DeploymentID for which status needs to be changed

    status stringrequired

    Updated deployment status

    log string

    Possible values: <= 1000 characters

Responses

OK

Schema
    success boolean
    error string
    errcode integer
Loading...