Configuring API Default Version

It is possible to define the default version that must be used by API requests without a specified version in their header.

In the Administration > System page, choose the desired version in the REST API section:

SIM defaultApiVersion

Choose latest if you want to always use the latest available version of the API.

This parameter is kept through upgrades. Therefore, when choosing latest and in case of a new API version introduced in the new Squore version you upgraded to, this new version of the API will be used. Potentially breaking some API end-points used in your scripts, unless you update them to the new accepted format.