Using API to create a deployment using artifact_id

Hello,

Is there a solution to create a deployment using an artifact_id instead of artifact_name ?

llebris,

Hey,

Deployment may contain more than one artifact.
This is why we’re using artifact_name instead of artifact_id when creating deployments.
Deployments service will look for all the artifacts with given artifact_name.

Cheers,
Krzysztof

Thank you for your reply,

You said the deployment service will look for all the artifacts with the given name.

But through mender API, I cannot upload an artifact with an already given name. (See below)

Is it a misunderstanding of mine ? Or I just don’t use mender the right way.

My purpose is to send customs update-module artifact to a device. For this I created an artifact with the different files that my device needed and I created a deployment with it.

llebris,