Mender API v2

We are currently in the progress to integrate mender into our project and want to automate some aspects using the API and so far it has been a very nice experience.
If stumbled upon the deployment API and its two versions. While v1 is usable by every pricing tier, v2 is only available for enterprise users.

My question now, what is the plan with v1/v2. Will v1 be deprecated at some point and we would be required to upgrade our account if we want to continue to use this API, or is it safe to build upon v1?

Hi @stabl-gjn,

Thanks for reaching out! So, the v1/v2 API distinction is not about deprecation, but about catering for endpoints which might have conflicting or diverging specs. Im most scenarios, you will end up using a mix of both versions. If there is deprecation, then it is endpoint specific, so please check the documentation for this.

Also, the v2 API is not limited to Enterprise users. If such a restriction exists, it is documented per endpoint, such as Mender API docs for example.

Greetz,
Josef