Permission-scoped Ops hub search
Changed onSearches fans and moderation reports the caller may use. fans needs platform admin (admin or superadmin, the GET /api/admin/users gate) and matches email, name or handle case-insensitively. reports needs moderator (moderator, admin or superadmin) and matches a report id prefix or a case-insensitive reason substring. Moderators and ordinary admins never match escalated reports; only superadmins do. A group the caller may not use is omitted rather than returned empty, so a caller with neither tool gets {}. Each group is capped at limit, newest first; there is no pagination. Reporter and target identities, report details and approval reasons are never returned. Limited to 30 requests per 60 seconds per caller; a limiter outage fails closed. Every response is Cache-Control: private, no-store.
Request
- Base URLhttps://app.d-sports.org
- AuthHTTP bearer
Query parameters
Search text, trimmed; 1 to 100 characters after trimming. %, _ and \ are matched literally, not as wildcards.
Maximum items per group. Values above 20 are rejected, not clamped.
Response
Authorized groups only. {} when the caller is neither admin nor moderator.
Changes
- info
endpoint added
- info