Confusing api versionig
I observed that API endpoint
/api/version
returns different values on different printers. For example PrusaLink for RaspberryPi returns 0.9.0-legacy
Even though it supports the new V1 endpoints.
XL at somepoint reported 0.1
https://github.com/home-assistant-libs/pyprusalink/pull/25#issue-1516593136
And MINI with non-V1 endpoints at somepoint reported >2.0.0
It is very confusing. Can someone clarify whan this value even means?
P.S. can somebody post response from /api/version endpoint including printer model and firmware version?
RE: Confusing api versionig
Prusa Mini+ with 4.4.1+4194 firmware on it (prettiefied json for readability):
{ "api": "2.0.0", "server": "2.1.2", "text": "PrusaLink MINI", "hostname": "PrusaMINI" }
See my GitHub and printables.com for some 3d stuff that you may like.
RE:
One more thing, see https://github.com/prusa3d/Prusa-Link-Web/tree/master/spec and you should get better idea what is going on and what given printer is capable of.
Prusa Mini+ with that 4.4.1 firmware uses 'openapi-legacy' so the version can be high, but printers can use also other newer API (spec without legacy word).
See my GitHub and printables.com for some 3d stuff that you may like.
RE: Confusing api versionig
One more thing, see https://github.com/prusa3d/Prusa-Link-Web/tree/master/spec and you should get better idea what is going on and what given printer is capable of.
Prusa Mini+ with that 4.4.1 firmware uses 'openapi-legacy' so the version can be high, but printers can use also other newer API (spec without legacy word).
Yes, I know about that. I thought, that printers with legacy API will use different api version number then V1 API. This is what I'm trying to figure out.