Returns counts for: - Neo4j: nodes by type (Document, Entity, Collection, Search) - Qdrant: vectors per collection - Wiki.js: total page count - Paperless: documents, tags, correspondents, document types 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.2 KiB
1.2 KiB
TODO
Outstanding work items for Library Desk.
Stub Endpoints to Implement
The following endpoints in src/main.py return stub responses and need real implementations:
Ingestion Status Endpoints
POST /ingest/check-updates
Check which documents need updating based on content hashes. Used by Scheduler to determine what changed since last sync.
Implementation needed:
- Query existing documents by path
- Compare content hashes
- Return list of updates needed
GET /ingest/status/{document_id}
Get processing status for a document.
Implementation needed:
- Status tracking system (Redis or database)
- Track ingestion progress per document
GET /ingest/repo-status/{repository}
Get indexing status for an entire repository.
Implementation needed:
- Repository-level statistics
- Track which documents from a repo are indexed
Deduplication
POST /deduplicate/check
Check for duplicate or highly similar documents using vector similarity and graph analysis.
Implementation needed:
- Get document embedding from Qdrant
- Find similar vectors above threshold
- Check graph relationships
- Return candidates with similarity scores