Search fans to add as a team member (admin)
Changed onGate: canManageTeam with owner or legacy admin on the team, or platform admin/superadmin (the same set as Add team member). Editors, viewers and outsiders get 403; anonymous 401. q is trimmed, 2-50 chars, matched case-insensitively against handle and name only (never email), with % and _ literal. limit is an integer 1-10, default 5; out-of-range values are 400 VALIDATION_ERROR, not clamped. Fans who already hold a TeamAdmin row on the team are excluded. Ordered by handle ascending, unpaged. Each row is { id, handle, name, profileUrl }; email is never returned. Limited to 30 requests per 60s per caller once the gate passes (429 RATE_LIMITED); a limiter outage fails closed (503 RATE_LIMITER_UNAVAILABLE). Every response is Cache-Control: private, no-store.
Request
- Base URLhttps://app.d-sports.org
- AuthHTTP bearer
Path parameters
Team id or slug.
Query parameters
Search text, trimmed, matched against handle and name.
Response
{ success, data: FanCandidate[] }
Changes
- info
endpoint added
- info