Web API in SDKv3 and access


In SDKv2, I used a parameter to be able to switch (with a restart) between private or public API, in api.js :

public: Homey.ManagerSettings.get('publicAPI') === null ? false : Homey.ManagerSettings.get('publicAPI'),

With SDKv3, this moved to app.json ; I’m looking for a way to do something similar in SDKv3. Do you have any idea ? Thanks