Skip to content

Commit 3fef8b9

Browse files
authored
Add missing booster documentation (#226) (#227)
1 parent cb2ba12 commit 3fef8b9

File tree

1 file changed

+21
-13
lines changed

1 file changed

+21
-13
lines changed

Documentation/methods/boosters.md

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,25 @@ Returns list of boosters.
77
## Parameters
88
- key
99

10-
## Example Booster
10+
## Example Response
1111
```php
12-
[
13-
{
14-
"purchaserUuid": "",
15-
"amount": 3, // multiplier
16-
"originalLength": 3600,
17-
"length": 2329, // length remaining
18-
"gameType": 20, // GameType ID
19-
"dateActivated": 1471657389139 // unix timestamp
20-
},
21-
...
22-
]
23-
```
12+
{
13+
"success": true,
14+
"boosters": [
15+
{
16+
"purchaserUuid": "",
17+
"amount": 3, // multiplier
18+
"originalLength": 3600,
19+
"length": 2329, // length remaining
20+
"gameType": 20, // GameType ID
21+
"dateActivated": 1471657389139 // unix timestamp
22+
"stacked": [
23+
"" // array of up to 10 UUIDs who have stacked the booster, or "true" if there are none
24+
]
25+
}
26+
]
27+
"boosterState": {
28+
"decrementing": true // indicates whether booster duration is ticking down
29+
}
30+
}
31+
```

0 commit comments

Comments
 (0)