Admin

Permission-scoped Ops hub search

Changed on

Searches 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.

get/api/admin/ops/search

Request

  • Base URL
    https://app.d-sports.org
  • Auth
    HTTP bearer

Query parameters

qstring required

Search text, trimmed; 1 to 100 characters after trimming. %, _ and \ are matched literally, not as wildcards.

limitinteger

Maximum items per group. Values above 20 are rejected, not clamped.

Response

Authorized groups only. {} when the caller is neither admin nor moderator.

successtrue required

Changes