On the release version of Arma Reforger the built-in RestApi seems to be generally available, however, any context created out of it results in an invalid pointer.
PrintFormat("g_Game = %1", g_Game); //Game instance, works PrintFormat("rest = %1", g_Game.GetRestApi()); //RestApi instance, works PrintFormat("context = %1", g_Game.GetRestApi().GetContext("domain.tld")); //Prints INVALID
I tried domains for the GetContext call with and without http(s)://. In DayZ this used to work just fine.
Is there something we need to do to get this working? Is it only available in a certain lifecycle phase of the game? Or is it just a bug?
Thanks!