From 747beecdc296e37725a0ed1d416991d45b91f035 Mon Sep 17 00:00:00 2001 From: builder_247 Date: Sun, 3 May 2020 00:43:36 +0300 Subject: [PATCH] Add missing booster documentation (#226) --- Documentation/methods/boosters.md | 34 +++++++++++++++++++------------ 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/Documentation/methods/boosters.md b/Documentation/methods/boosters.md index 9fd1883d..965b2f9e 100644 --- a/Documentation/methods/boosters.md +++ b/Documentation/methods/boosters.md @@ -7,17 +7,25 @@ Returns list of boosters. ## Parameters - key -## Example Booster +## Example Response ```php -[ - { - "purchaserUuid": "", - "amount": 3, // multiplier - "originalLength": 3600, - "length": 2329, // length remaining - "gameType": 20, // GameType ID - "dateActivated": 1471657389139 // unix timestamp - }, - ... -] -``` \ No newline at end of file +{ + "success": true, + "boosters": [ + { + "purchaserUuid": "", + "amount": 3, // multiplier + "originalLength": 3600, + "length": 2329, // length remaining + "gameType": 20, // GameType ID + "dateActivated": 1471657389139 // unix timestamp + "stacked": [ + "" // array of up to 10 UUIDs who have stacked the booster, or "true" if there are none + ] + } + ] + "boosterState": { + "decrementing": true // indicates whether booster duration is ticking down + } +} +```