faction.active_report

GET · api v1

The قطاع's open shift report, if one is running.

تقرير الدوام المفتوح للقطاع إن وجد.

Parameters

NameTypeRequiredDescription
factionstringrequiredThe in-game job name linked to the قطاع, e.g. "police".

Returns (res.data)

NameTypeDescription
openbooleanA report is open.
reporttable|nil{ id, serial, shift_name, opened_at, members_on_shift }

Possible errors

Notes

Example

local res = exports.OrcaBot_V3:Get('faction.active_report', { faction = 'police' })

Example output

{
  "ok": true,
  "data": {
    "open": true,
    "report": {
      "id": 9031,
      "serial": 112,
      "shift_name": "الفترة المسائية",
      "opened_at": "2026-10-15T19:00:00Z",
      "members_on_shift": 7
    }
  },
  "meta": {
    "action": "faction.active_report",
    "method": "GET",
    "api": 1
  }
}