> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scanova.io/llms.txt
> Use this file to discover all available pages before exploring further.

# سرد أحداث موجز النشاط المنسّق

> GET /user-logs/activity-feed/

يسرد أحداث النشاط المنسّقة والقابلة للتصفية الخاصة بالحساب، على مضيف **واجهة برمجة التطبيقات للإدارة** (`api.scanova.io`)، مع المصادقة باستخدام مفتاح واجهة برمجة التطبيقات للإدارة الخام الخاص بك.

```
GET https://api.scanova.io/user-logs/activity-feed/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
```

<ParamField query="event_type" type="string">
  أنواع الأحداث المراد تضمينها، مفصولة بفواصل: `qr_created` و`qr_updated` و`qr_deleted` و`login` و`shared_user_login` و`share_granted` و`share_revoked`.
</ParamField>

<ParamField query="actor_user" type="integer">
  يصفّي الأحداث التي نفّذها مستخدم مشترك محدد بهذا المعرّف. اتركه فارغًا لتضمين أحداث المالك نفسه أيضًا.
</ParamField>

<ParamField query="occurred_from" type="string">
  الأحداث في هذا التاريخ أو بعده فقط (`YYYY-MM-DD`).
</ParamField>

<ParamField query="occurred_till" type="string">
  الأحداث في هذا التاريخ أو قبله فقط (`YYYY-MM-DD`).
</ParamField>

<ParamField query="search" type="string">
  البحث ضمن `target_repr` (الاسم المعروض للكائن المتأثر وقت الحدث).
</ParamField>

<ParamField query="ordering" type="string">
  الترتيب حسب `occurred_at` — أضف البادئة `-` للترتيب التنازلي. القيمة الافتراضية هي `-occurred_at`.
</ParamField>

<ParamField query="page" type="integer">
  رقم الصفحة.
</ParamField>

<ParamField query="page_size" type="integer">
  عدد النتائج لكل صفحة، بحد أقصى 100.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.scanova.io/user-logs/activity-feed/?event_type=qr_created,login" \
    -H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "count": 1,
    "next": null,
    "previous": null,
    "results": [
      {
        "id": 91422,
        "event_type": "qr_created",
        "actor_user": 17,
        "actor_email": "member@scanova.io",
        "target_object_type": "qrcode",
        "target_object_id": "3390",
        "target_repr": "Summer Menu QR",
        "occurred_at": "2026-09-05T11:04:22Z"
      }
    ]
  }
  ```
</ResponseExample>

يكون `actor_user` بقيمة `null` عندما يكون مالك الحساب هو من نفّذ الإجراء؛ يكون `actor_email` معبَّأً دائمًا، ويعود في تلك الحالة إلى بريد المالك الإلكتروني.

<Note>
  بالنسبة لمستخدم مشترك يملك دوره صلاحيات مقيّدة بالوسوم، تقتصر أحداث فئة QR (`qr_created` و`qr_updated` و`qr_deleted`) على رموز QR الموسومة بالوسوم المخصصة لذلك المستخدم (بالإضافة إلى رموز QR غير الموسومة، إذا كان دوره يشملها). أحداث تسجيل الدخول والمشاركة لا تُقيَّد بالوسوم أبدًا.
</Note>

## ذو صلة

* [الحصول على إحصاءات النشاط اليومية](/ar/api-reference/management-api/user-logs/activity-summary) — أعداد مجمَّعة للرسوم البيانية بدلاً من موجز خام.
* [سرد النشاط الأخير](/ar/api-reference/management-api/user-logs/recent-activity) — ملخص أقصر وغير مصفّى.
* [نظرة عامة على واجهة برمجة التطبيقات للإدارة](/ar/api-reference/management-api/overview) — مخطط المصادقة وقواعد الحصة المطبّقة على هذا الطرف.


## OpenAPI

````yaml api-reference/openapi/management-api.json GET /user-logs/activity-feed/
openapi: 3.1.0
info:
  title: Scanova Management API (v2)
  description: >-
    The complete Scanova Management API — every endpoint available at
    api.scanova.io (QR codes, folders, tags, leads, forms, analytics, plans,
    shared users & roles), plus the token-creation and usage-stats endpoints
    used to authenticate against it. Every path and request/response shape below
    was verified live against a real API key and the actual running backend
    (Phase 7, 2026-08-16) — not guessed from reading urls.py alone.
  version: 2.0.0
servers:
  - url: https://api.scanova.io
    description: Management API — QR/folder/tag/lead/form/analytics/plans endpoints
security:
  - apiKeyAuth: []
paths:
  /user-logs/activity-feed/:
    get:
      summary: List curated activity feed events
      description: >-
        A filterable, paginated feed of curated activity events (`qr_created`,
        `qr_updated`, `qr_deleted`, `login`, `shared_user_login`,
        `share_granted`, `share_revoked`). For a shared user with tag-scoped
        permissions, QR-category events are limited to QR codes tagged with that
        user's assigned tags.
      operationId: listActivityFeed
      parameters:
        - name: event_type
          in: query
          schema:
            type: string
          description: Comma-separated event types, e.g. `qr_created,login`.
        - name: actor_user
          in: query
          schema:
            type: integer
        - name: occurred_from
          in: query
          schema:
            type: string
            format: date
        - name: occurred_till
          in: query
          schema:
            type: string
            format: date
        - name: search
          in: query
          schema:
            type: string
        - name: ordering
          in: query
          schema:
            type: string
        - name: page
          in: query
          schema:
            type: integer
        - name: page_size
          in: query
          schema:
            type: integer
          description: Max 100.
      responses:
        '200':
          description: Paginated feed of activity events.
          content:
            application/json:
              example:
                count: 1
                next: null
                previous: null
                results:
                  - id: 91422
                    event_type: qr_created
                    actor_user: 17
                    actor_email: member@scanova.io
                    target_object_type: qrcode
                    target_object_id: '3390'
                    target_repr: Summer Menu QR
                    occurred_at: '2026-09-05T11:04:22Z'
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Send your Management API key as the raw value of the Authorization
        header — no "Bearer " or "Token " prefix, and no other characters.
        Example: `Authorization: 401f7ac837da42b97f613d789819ff93537bee6a`. A
        header containing more than one space-separated part is rejected
        outright. Requests also require the request's Host header to be the
        management API host (e.g. api.scanova.io) — the same key sent to the
        regular API host will not authenticate.

````