Recruitment drives#
GET /api/events/{event_id}/recruitment#
Get a recruitment drive
Returns a recruitment drive’s totals, leaderboard, and recruit rows, freshly evaluated. A guild member’s session or sync token works. 404 if the event is not a recruitment drive.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
yes |
The event’s ID. |
Response 200 — The drive’s totals, leaderboard, and recruit rows.
Model: RecruitmentDrive
Field |
Type |
Required |
Description |
|---|---|---|---|
|
string (uuid) |
yes |
|
|
string |
yes |
|
|
string (date-time) |
yes |
|
|
string (date-time) |
yes |
|
|
string (date-time) |
yes |
|
|
integer |
yes |
The flat prize for winning the drive (most qualifying recruits, ties each win); not per recruit. |
|
integer |
yes |
|
|
integer |
yes |
|
|
yes |
||
|
array of RecruitLeader |
yes |
|
|
array of DriveRecruit |
yes |
GET /api/recruitment/payouts#
List recruit payouts
Returns settled drives’ owed and already-paid totals per inviter, unpaid first. An officer must be signed in.
Response 200 — The settled drives’ payouts.
Model: array of RecruitPayout
Type: array of RecruitPayout
POST /api/recruitment/payouts/paid#
Mark a recruit payout paid
Marks an inviter’s qualified, unpaid recruits in a drive paid via the site. Idempotent: marking an already-paid inviter/drive does nothing. An officer must be signed in. Writes a recruitment.mark_paid audit row.
Request body
Model: RecruitPayoutMarkPaid
Field |
Type |
Required |
Description |
|---|---|---|---|
|
string (uuid) |
yes |
|
|
string |
yes |
Response 204 — The payout was marked paid.