API RestDocuments
Dernière mise à jour le 20 juillet 2026
Virtual GED root — one-level listing, direct children only. See GET /documents/search for recursion.
Authorization
JwtAuth AuthorizationBearer <token>
In: header
Query Parameters
q?string|null
is_deleted?|
Filter by deleted status (default False: non-deleted)
Default
falseResponse Body
application/json
curl -X GET "https://example.com/documents/folders"{ "count_files": 0, "count_folders": 0, "items": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "document_type": "string", "document_profile": "string", "description": "string", "tags": [ "string" ], "status": "string", "parent": "42e2bc1b-6741-4e2e-b138-97b4a342c999", "is_favorite": false, "created_at": "2019-08-24T14:15:22Z", "creator": "string", "children": { "folders": [ { "is_favorite": true, "source": "string", "creator": "string", "my_access_level": "string", "documents_count": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "document_type": "string", "document_profile": "string", "description": "string", "status": "DRAFT", "tags": [ null ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z" } ], "files": [ { "is_favorite": true, "source": "string", "creator": "string", "my_access_level": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "file_name": "string", "file_format": "string", "file_description": "string", "mime_type": "string", "file_size_bytes": 0, "upload_status": "AWAITING_UPLOAD", "parse_status": "PENDING", "indexing_status": "string", "created_at": "2019-08-24T14:15:22Z", "uploaded_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z" } ] } }}Continuer plus loin
POSTRestore File Endpoint POST
Restore a soft-deleted file.
DELETESoft Delete Folder DELETE
Permanently delete a folder and everything under it (sub-folders, files, S3 objects). Deletion is admin/integrator-only, independent of the caller's resolved access on the folder — see require_document_org_manager.