I need to call a cloudscript function from server API, but when I do not pass a player ID as a parameter, I receive a BadRequest error. The problem is, as a server, I'm not necessarily running a cloudscript function on behalf of a player.
There are some stuff that I need to do with my server cloudscript calls (I've implemented some simple checks to prevent normal clients from calling these methods) which are not linked to a specific player.
As a workaround I can just supply a random player ID since I'm not using it, but this doesn't "feel" correct.
Is there any way to just call a cloudscript function with whatever arguments I want? I couldn't see any similar api request in admin api.