Skip to content

Preview Artifact Metadata

POST
/api/firmware/preview-artifact

Preview metadata from a Mender artifact without saving it.

This endpoint reads the artifact metadata (artifact_name, device_types) from a .mender file and returns it to help auto-fill upload forms.

The file is saved temporarily and deleted after reading.

Request Body required

object
file
required
string format: binary

Responses

200

Successful Response

422

Validation Error

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