question

brendan avatar image
brendan asked

JSON catalog config format

maxeden
started a topic on Wed, 31 December 2014 at 6:33 AM

Where I can find full Json catalog config format? I saw the demo json, but I'm still unsure what keys are available and what do they mean. For example, what is "ItemClass", "Tags", "BundledResultTables"? { "ItemId": "war_pack_1", "ItemClass": "GearBundle", "CatalogVersion": "2", "DisplayName": "WAR PACK", "Description": "400 Burst\r\n10 Canon\r\n2 Health Packs", "VirtualCurrencyPrices": { "GC": 220 }, "Tags": [], "GrantedIfPlayerHas": [], "CustomData": "{\"Icon\":\"crate\"}", "Bundle": { "BundledItems": [ "ammo_pack_1", "ammo_pack_2", "health_pack_2" ], "BundledResultTables": [] } }

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

·
brendan avatar image
brendan answered

Best Answer
Brendan Vanous said on Wed, 31 December 2014 at 11:20 AM

The documentation for all our API calls is available here: http://api.playfab.com/Documentation/.

For more information on formatting Catalog items, here's a direct link to the CatalogItem definition (you can get to it via any of the Catalog API calls, by clicking the link to the class):

http://api.playfab.com/Documentation/Admin/datatype/DataModel/PlayFab.DataModel.CatalogItem

ItemClass and Tags are intended to be used by the title for whatever classification or properties you need - so they're whatever you want to define them to be. Bundles are a specific type of CatalogItem with properties defining what they contain. The specifics are available via the link in the CatalogItem definition, but again, here's a direct link:

http://api.playfab.com/Documentation/Admin/datatype/DataModel/PlayFab.DataModel.CatalogItemBundleInfo

Brendan


3 Comments
Brendan Vanous said on Wed, 31 December 2014 at 11:20 AM

The documentation for all our API calls is available here: http://api.playfab.com/Documentation/.

For more information on formatting Catalog items, here's a direct link to the CatalogItem definition (you can get to it via any of the Catalog API calls, by clicking the link to the class):

http://api.playfab.com/Documentation/Admin/datatype/DataModel/PlayFab.DataModel.CatalogItem

ItemClass and Tags are intended to be used by the title for whatever classification or properties you need - so they're whatever you want to define them to be. Bundles are a specific type of CatalogItem with properties defining what they contain. The specifics are available via the link in the CatalogItem definition, but again, here's a direct link:

http://api.playfab.com/Documentation/Admin/datatype/DataModel/PlayFab.DataModel.CatalogItemBundleInfo

Brendan


maxeden said on Thu, 01 January 2015 at 4:58 AM

Oh, I get it. It's just a body of SetCatalogItems request. I would really appreciate if there was some kind of search through the API docs, at least a whole list of types.


Brendan Vanous said on Thu, 01 January 2015 at 3:49 PM

Search for our API doc is in our backlog, and we hope to be able to get to that soon. In the meantime, feel free to send us any questions you have on our features and how to use them. The blog is also a good resource, as we've posted a number of how-to type articles there.

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.