You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
The MinAPIVersion attribute could be used to compare it with the client's version.
If ClientAPIVersion < MinAPIVersion the client could log an warning and force the use of MinAPIVersion - this should prevent hard errors at the cost that the API might be incompatible and not work 100%.
The same can also be done the other way around if ClientAPIVersion > ApiVersion.
The go client has an option to automatically negotiate what API version should be selected.
This could also be used here.
Fork example calling `/version` returns the following:
The
MinAPIVersionattribute could be used to compare it with the client's version.If
ClientAPIVersion<MinAPIVersionthe client could log an warning and force the use ofMinAPIVersion- this should prevent hard errors at the cost that the API might be incompatible and not work 100%.The same can also be done the other way around if
ClientAPIVersion>ApiVersion.NOTE: It's currently possible to just omit the
/<version>prefix from the paths.However using the API without a version-prefix is deprecated and will be removed in a future release.