#1 by steffen
We use session variables [0] for our quota mechanism. At the end of the last app, users are counted towards the quota. A screening page at the beginning of the first app checks if the participant's quota group is full or not. We would like to implement live monitoring of the Quota through the REST API, but as far as I can tell, the session_vars endpoint [1] only allows for setting session variables, not getting them. The session data endpoint allows getting lots of session level information, but does not include the session variables. Is there a way to do this? If there isn't, please consider this a feature request. [0]: https://otree.readthedocs.io/en/latest/rounds.html?highlight=session%20variables#session-fields [1]: https://otree.readthedocs.io/en/latest/misc/rest_api.html?highlight=rest#session-vars-endpoint [2]: https://otree.readthedocs.io/en/latest/misc/rest_api.html?highlight=rest#get-session-data-endpoint