You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/utils/swagger.js
+48Lines changed: 48 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -534,6 +534,53 @@ const options = {
534
534
200: {description: "Rating submitted."},403: {description: "Item not owned."}
535
535
}
536
536
}
537
+
},"/purchase/download": {
538
+
post: {
539
+
tags: ["Purchase"],
540
+
summary: "Get published item download data",
541
+
description: "Fetches the PlayFab published item payload for a purchased item, including content URLs that the current device can download. Accepts either x-entitytoken directly or x-playfab-session plus x-playfab-id to mint one.",
542
+
parameters: [{
543
+
in: "header",
544
+
name: "x-entitytoken",
545
+
required: false,
546
+
schema: {type: "string"},
547
+
description: "PlayFab EntityToken for the current player."
548
+
},{
549
+
in: "header",
550
+
name: "x-mc-token",
551
+
required: false,
552
+
schema: {type: "string"},
553
+
description: "Minecraft authorization header. When provided, ownership is validated before returning download data."
554
+
},{
555
+
in: "header",
556
+
name: "x-playfab-session",
557
+
required: false,
558
+
schema: {type: "string"},
559
+
description: "PlayFab SessionTicket used to mint an EntityToken when x-entitytoken is not provided."
560
+
},{
561
+
in: "header",
562
+
name: "x-playfab-id",
563
+
required: false,
564
+
schema: {type: "string"},
565
+
description: "PlayFab master_player_account id for the user. Required when x-playfab-session is used without x-entitytoken."
0 commit comments