PageIndex/pageindex/backend
Ray 225dcc31b4 fix: fail delete_collection clearly in cloud mode — the API has no folder deletion
The server exposes only POST /folder and GET /folders (verified against the
full route table and its git history — a DELETE /folder route never
existed; the 0.2.x SDK accordingly shipped create_folder/list_folders but
no delete). The DELETE /folder/{id}/ call could only 404, surfacing as a
misleading 'Not Found' CloudAPIError while leaving the stale folder id in
the cache. Raise a clear not-supported error pointing at the dashboard;
keep the idempotent no-op for missing collections and folderless plans.
2026-07-22 12:29:57 +08:00
..
__init__.py feat: add PageIndex SDK with local/cloud dual-mode support (#207) 2026-04-08 20:21:58 +08:00
cloud.py fix: fail delete_collection clearly in cloud mode — the API has no folder deletion 2026-07-22 12:29:57 +08:00
local.py fix: delete the DB row before the files in delete_document 2026-07-21 18:03:49 +08:00
protocol.py fix: enforce collection membership on cloud doc-scoped operations 2026-07-16 06:20:24 +08:00