Just wondering for the long run, is there an api to modify multiple or all player data like a batch request?
- Since there are leaderboards rewarding, I assume there’s a way to send rewards to multiple players. If so, is there an api I can use in case I want to make a tool for maintenance or data management?
- Can I develop background jobs to handle these batch requests?
Thanks in advance!
Thanks for the response! I’ll have a look on workarounds using RPC.
Another scenario I have in mind would be having a queue of requests in the client then sending them as a batched request to the server? Something like a failsafe feature to recover when multiple requests fail. I don’t really have a specific example at the moment though.
@tricko.ttg there’s no mechanism to batch the requests themselves together, for operations that need to happen transactionally one should use walletsUpdate, multiUpdate or StorageWrite encompassing all objects that need to be updated within the same transaction.
I see… Thanks for verifying that!