member.responsibilities

GET · api v1

Responsibilities assigned to the member in a قطاع.

المسؤوليات المسندة للعضو في القطاع.

Parameters

NameTypeRequiredDescription
targetTargetrequiredWho to read about: { source = 7 } for an online player, { discord = "..." } or { code = "P-12" }.
factionstringrequiredThe in-game job name linked to the قطاع, e.g. "police".

Returns (res.data)

NameTypeDescription
responsibilitiestable[]{ id, name, assigned_at }

Possible errors

Notes

Example

local res = exports.OrcaBot_V3:Get('member.responsibilities', { target = { source = src }, faction = 'police' })

Example output

{
  "ok": true,
  "data": {
    "responsibilities": [
      {
        "id": 4,
        "name": "مشرف المرور",
        "assigned_at": "2026-09-20T17:00:00Z"
      }
    ]
  },
  "meta": {
    "action": "member.responsibilities",
    "method": "GET",
    "api": 1
  }
}