I currently started with utilisation of OC REST API fo in my applications
and there is one thing which is bothering me a lot so I wonder if somebody is having the same troubles.
As it is stated here
It seems that REST API calls only work for the user active study. Within my applications the users can browse through their studies and dynamically select the one which they want to work with. However, from my experience, unlike it is stated in the above issue, the access is not strictly limited to active study. I do not see a pattern there because sometimes I can access the data from inactive study as well as active study, sometimes I cannot access data (getting HTTP code 500) from some studies and the others work. The only workaround which I have right now is that when the external program cannot access the data from some study, logging in to OC and changing active study to that one really helps.
It is very inconvenient for users to do it.... did somebody has a better solution?