question

Muhammad Ahmed avatar image
Muhammad Ahmed asked

Upload Catalogue JSON using API.

Hello,

Is it possible to use an API call to upload a json file for the catalogue.
I know: https://titleId.playfabapi.com/Admin/SetCatalogItems
can update / Set the catalogue but it appears to take an array of items and not JSON.
So is there an API call that takes a Json file.

Thanks.

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

·
Citrus Yan avatar image
Citrus Yan answered

No, there is no such API call that takes a JSON file, you must follow the specifications for each API in order to use them correctly, in your case, is the SetCatalogItems API. In fact, JSON is just a data-interchange format, requests made to PlayFab via the Internet are indeed transmitted in this format. However, you’d probably need to use a SDK to interact with PlayFab instead of issuing http requests directly, therefore, you must follow the specs for each 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.