استرجاع المستندات
Use this operation to retrieve metadata about all available documents and Slack channels within the data sources.
Page's index
The maximum number of documents returned in a page
GET /api/v1/documents/ HTTP/1.1
Host: api.rememberizer.ai
Accept: */*
Successful operation
{
"count": 4,
"next": "text",
"previous": "text",
"results": [
{
"name": "text",
"type": "text",
"path": "text",
"url": "text",
"id": "text",
"integration_type": "text",
"source": "text",
"status": "text",
"indexed_on": "2025-06-26T04:52:16.355Z",
"size": 89,
"status_error_message": "text",
"document_id": "text",
"created_time": "2025-06-26T04:52:16.355Z",
"pk": 1
}
]
}
طلبات مثال
curl -X GET \
"https://api.rememberizer.ai/api/v1/documents/?page=1&page_size=20&integration_type=google_drive" \
-H "Authorization: Bearer YOUR_JWT_TOKEN"
معلمات الطلب
page
عدد صحيح
رقم الصفحة للتقسيم. القيمة الافتراضية هي 1.
page_size
عدد صحيح
عدد العناصر في كل صفحة. القيمة الافتراضية هي 10.
integration_type
سلسلة
تصفية الوثائق حسب نوع التكامل. الخيارات: google_drive, slack, dropbox, gmail, common_knowledge
تنسيق الاستجابة
{
"count": 257,
"next": "https://api.rememberizer.ai/api/v1/documents/?page=2&page_size=20&integration_type=google_drive",
"previous": null,
"results": [
{
"document_id": "1aBcD2efGhIjK3lMnOpQrStUvWxYz",
"name": "اقتراح المشروع.docx",
"type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"path": "/Documents/Projects/Proposal.docx",
"url": "https://drive.google.com/file/d/1aBcD2efGhIjK3lMnOpQrStUvWxYz/view",
"id": 12345,
"integration_type": "google_drive",
"source": "user@example.com",
"status": "مفهرس",
"indexed_on": "2023-06-15T10:30:00Z",
"size": 250000
},
// ... المزيد من الوثائق
]
}
أنواع التكامل المتاحة
google_drive
مستندات من Google Drive
slack
رسائل وملفات من Slack
dropbox
ملفات من Dropbox
gmail
رسائل بريد إلكتروني من Gmail
common_knowledge
مصادر المعرفة العامة
تسترجع هذه النقطة النهائية قائمة بالمستندات من مصادر البيانات المتصلة بك. يمكنك التصفية حسب نوع التكامل للتركيز على مصادر معينة.
Last updated