Skip to content

Upload deployment log

POST
/api/devices/v1/deployments/device/deployments/{deployment_id}/log

Store deployment logs in the deployment_logs table.

Delegates to :func:app.services.deployment_logs.append_logs which inserts one row per message. On FAILED deployments the last ERROR-level message is also written to firmware_deployments.error_message for backwards compatibility.

Verifies that the deployment belongs to device before delegating.

Authorizations

Parameters

Path Parameters

deployment_id
required
string format: uuid

Responses

200

Successful Response

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string