Hi developers,
After planning, implementing, and testing over the past few months, we are excited to announce the launch of Datastore APIs for Open Cloud!
The vision for Open Cloud is to empower an application ecosystem where you can either build or find all the tools you need. Having a rich set of APIs is at the core of this initiative. We started with the Place Publishing API so you can automate the continuous delivery process.
Based on the community feedback, we understand that supporting Datastore endpoints will be super valuable. Previously, you could only access your production data either from Studio or a live game, which is inconvenient for many use cases such as offering customer support (CS). The new Datastore API means to unlock your productivity by automating many of your key workflows. Some of the tools you can potentially build include:
- Customer support portal: You can build a web application that allows your CS agents/moderators to view and modify player data when handling player support requests.
- LiveOps dashboard: A Liveops dashboard can allow you to schedule in-game events such as Halloween parties by updating Datastore in real-time and also monitor the key metrics.
- Data migration script: script that reads from current datastores, changes the schema, and writes to a new datastore.
The new Datastore APIs have the same functionality as Lua ones. You can list datastores in an experience as well as listing, reading, and writing entries in a specific datastore. We understand the importance of your data, and so designed fine granular permission control when creating your API keys, which include datastore entry operations (create, list, update, and read), versioning (read and list), and datastore creation and listing.
You can not only set experience level permissions, i.e. apply to all datastores in the experience, but also select only a subset of datastores needed for your tool. The latter will further limit the API key to only accessing the selected datastores, which mitigates the impact in case your key gets leaked. The gif below shows how you can set both experience level and datastore level permissions:
To get started, check out our tutorial and API reference, which includes helper code in Python to use the APIs. You can also go to the Creator Dashboard to create your API keys.
Let us know if you have any feedback! We can’t wait to see the amazing tools you will build with the APIs!
Cheers to higher efficiency,
The Roblox Creator Services Team