question

davidmunoz avatar image
davidmunoz asked

Admin API calls from Cloud script

I want to make an admin app for my game. That includes a component that let's the admin to create and edit stores and items. I checked the documentation and the only method to do this is on the admin SDK. Is there a way to do this from CloudScript?

Thank you

apis
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

pfnathan avatar image
pfnathan answered

No, Admin methods aren't in Cloud Script because Cloud Script is a "runtime" tool, where the Admin API is more of a "development time" tool.

The Server methods are about "managing the players of your game". That said, if you have any specific requests for an API that is in Admin, and should be in the server, you can certainly request it.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

jonathanjarri avatar image
jonathanjarri answered

I have! Is it possible to add CreateCloudScriptTask to the server API?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.