question

Kixeye Licensing avatar image
Kixeye Licensing asked

Are there JSON Schema definitions for Playfab APIs and formats?

I'd like to use JSON Schema definitions to validate game data before uploading it to Playfab via the API. I'm wondering if Playfab has JSON-Schema files available already for API calls such as CreateCloudScriptTaskRequest or Playfab-specific JSON formats such as Catalog data. Thank-you!

10 |1200

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

1 Answer

·
Seth Du avatar image
Seth Du answered

PlayFab doesn’t provide an official JSON Scheme doc, while it does follow the general JSON format. In the common scenario, there are KVP, Objects and Lists. The attributes can be referred in the API documentation. For example, CreateCloudScriptTaskRequest .

However, we suggest to implement Postman SDK as there are sample requests written for the body, please refer to: Postman (REST) SDK - PlayFab | Microsoft Docs

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.