> ## 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 /folder/

المجلدات تجمّع رموز QR لتنظيمها — نفس المجلدات الظاهرة في الشريط الجانبي **QR Codes > Folders** في لوحة التحكم. استخدم نقطة النهاية هذه لسرد مجلدات الحساب أو إنشاء مجلد جديد من أنظمتك الخاصة.

<Note>
  كلتا العمليتين تتطلبان مفتاح Management API بحصة `MANAGEMENT_API` (أو `MANAGEMENT_API_SANDBOX`)، يُرسل كقيمة خام لترويسة `Authorization`. راجع [نظرة عامة على Management API](/ar/api-reference/management-api/overview) لتفاصيل المصادقة.
</Note>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://management.scanova.io/folder/' \
    --header 'Authorization: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "count": 2,
    "next": null,
    "previous": null,
    "results": [
      {
        "id": 41,
        "name": "Product Launch",
        "color": "#4F6BF4",
        "created_by": 1029,
        "folder_type": "qr",
        "qr_codes_count": 12,
        "created": "2026-07-01T09:12:04.221000+05:30",
        "updated": "2026-07-14T16:03:11.884000+05:30"
      },
      {
        "id": 40,
        "name": "Retail Campaign",
        "color": null,
        "created_by": 1029,
        "folder_type": "qr",
        "qr_codes_count": 0,
        "created": "2026-06-18T11:45:32.009000+05:30",
        "updated": "2026-06-18T11:45:32.009000+05:30"
      }
    ]
  }
  ```
</ResponseExample>

النتائج مُرقّمة إلى صفحات (حجم الصفحة 10 افتراضيًا، حتى 100 عبر `page_size`) ومرتّبة من الأحدث إلى الأقدم.

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

<ParamField query="page_size" type="integer" default="10">
  عدد المجلدات لكل صفحة. الحد الأقصى 100.
</ParamField>

<ParamField query="folder_type" type="string">
  تصفية حسب `qr` (مجلدات رموز QR القياسية) أو `page` (مجلدات محصورة بصفحات منشئ الصفحات).
</ParamField>

<ParamField query="search" type="string">
  مطابقة جزء نصي غير حسّاسة لحالة الأحرف مقابل اسم المجلد.
</ParamField>

### حقول الاستجابة

<ResponseField name="id" type="integer">
  معرّف المجلد — مرّر هذه القيمة كقيمة `folder` عند تصفية تحليلات رموز QR حسب المجلد، أو عند نقل رموز QR إلى المجلد من لوحة التحكم.
</ResponseField>

<ResponseField name="name" type="string">
  اسم المجلد. فريد لكل حساب ولكل `folder_type`.
</ResponseField>

<ResponseField name="color" type="string | null">
  لون سداسي عشري (مثل `#4F6BF4`) يظهر بجانب المجلد في الشريط الجانبي، أو `null` إذا لم يُحدَّد.
</ResponseField>

<ResponseField name="created_by" type="integer | null">
  معرّف المستخدم الذي أنشأ المجلد — `null` إذا كان هذا المستخدم قد أُزيل منذ ذلك الحين من الحساب.
</ResponseField>

<ResponseField name="folder_type" type="string">
  `qr` أو `page`.
</ResponseField>

<ResponseField name="qr_codes_count" type="integer">
  عدد رموز QR المُسندة حاليًا لهذا المجلد.
</ResponseField>

<ResponseField name="created" type="string">
  طابع زمني بصيغة ISO 8601 لتاريخ الإنشاء.
</ResponseField>

<ResponseField name="updated" type="string">
  طابع زمني بصيغة ISO 8601 لآخر تحديث.
</ResponseField>

## ذات صلة

* [إنشاء مجلد](/ar/api-reference/management-api/folders/create) — العملية الأخرى لنفس نقطة النهاية هذه.
* [إدارة الوسوم](/ar/api-reference/management-api/tags/manage) — آلية تنظيم رموز QR الأخرى، تُستخدم جنبًا إلى جنب مع المجلدات (أو بدلًا منها).
* [سرد / إنشاء رموز QR](/ar/api-reference/management-api/qr/list) — صفِّ رموز QR حسب معرّف مجلد مُعاد هنا عبر `?folder=`.
* [نظرة عامة على Management API](/ar/api-reference/management-api/overview) — مخطط المصادقة وبنية الحصص التي تنتمي إليها نقطة النهاية هذه.


## OpenAPI

````yaml api-reference/openapi/management-api.json GET /folder/
openapi: 3.1.0
info:
  title: Scanova Management API (v2)
  description: >-
    The complete Scanova Management API — every endpoint available at
    management.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://management.scanova.io
    description: Management API — QR/folder/tag/lead/form/analytics/plans endpoints
security:
  - apiKeyAuth: []
paths:
  /folder/:
    get:
      summary: List folders
      operationId: listManagedFolders
      responses:
        '200':
          description: List of folders
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. management.scanova.io) — the same key sent to
        the regular API host will not authenticate.

````