question

Denzie Gray avatar image
Denzie Gray asked

Where can I find a List of the functions for the 'server' global variable?

When I look on the API site, I only see the REST API version of the calls and not a detailed breakdown of the method signatures for 'server'. For example,

var result = server.AuthenticateUserTicket(request); is described in the link below:


https://docs.microsoft.com/en-us/gaming/playfab/features/automation/cloudscript/writing-custom-cloudscript

Where can I find a list of member functions for server, similar to the line above?

apisCloudScript
10 |1200

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

Denzie Gray avatar image
Denzie Gray answered

Thanks for the quick reply!

It's a shame, I saw that link earlier but thought there might be a Javascript equivalent.

10 |1200

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

Seth Du avatar image
Seth Du answered

Server functions are listed in the API documentation, which is the server section of https://docs.microsoft.com/en-us/rest/api/playfab/server/?view=playfab-rest. The usage on Cloud Script is to call

server.[*ServerAPIName*](request);

We recommend implementing Postman collection, which can help you get used to PlayFab API quickly: https://docs.microsoft.com/en-us/gaming/playfab/sdks/postman/

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.