GET · api v1
Courses the member has completed 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 |
|---|---|---|
courses | table[] | { id, name, completed_at } |
local res = exports.OrcaBot_V3:Get('member.courses', { target = { source = src }, faction = 'police' })
{
"ok": true,
"data": {
"courses": [
{
"id": 12,
"name": "دورة الأسلحة",
"completed_at": "2026-08-01T18:00:00Z"
}
]
},
"meta": {
"action": "member.courses",
"method": "GET",
"api": 1
}
}