Get giveaway builder
/api/giveaways/builderThe rule kinds, the weightings, and the roles and saved lists a rule can name.
Needs the RunGiveaways permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Response Body
application/json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/giveaways/builder"{ "ruleKinds": [ "string" ], "weightings": [ "string" ], "trustRanks": [ "string" ], "groupRoles": [ { "id": "string", "name": "string" } ], "discordRoles": [ { "id": "string", "name": "string" } ], "moderationFactRetentionDays": 0, "presenceFactRetentionDays": 0, "lists": [ { "id": "string", "name": "string" } ]}List draw entrants GET
The list the draw actually ran on, with every weight. With the draw's seed this is everything needed to work the result out again. Needs the `ViewGiveaways` permission.
Preview giveaway rules POST
How many people match a rule tree right now, and the first page of them. Figures counted from presence reports are close rather than exact; `fromPolledData` says when that is so, and `closeCalls` counts the people near a threshold. A rule reaching further back than the facts Modbot still keeps comes back in `unanswerable` instead of an answer. Needs the `RunGiveaways` permission.