GET · api v1
Responsibilities assigned to the member in a قطاع.
المسؤوليات المسندة للعضو في القطاع.
| Name | Type | Required | Description |
|---|---|---|---|
target | Target | required | Who to read about: { source = 7 } for an online player, { discord = "..." } or { code = "P-12" }. |
faction | string | required | The in-game job name linked to the قطاع, e.g. "police". |
res.data)| Name | Type | Description |
|---|---|---|
responsibilities | table[] | { id, name, assigned_at } |
local res = exports.OrcaBot_V3:Get('member.responsibilities', { target = { source = src }, faction = 'police' })
{
"ok": true,
"data": {
"responsibilities": [
{
"id": 4,
"name": "مشرف المرور",
"assigned_at": "2026-09-20T17:00:00Z"
}
]
},
"meta": {
"action": "member.responsibilities",
"method": "GET",
"api": 1
}
}