tahamajs/IE / Projects /docs /Completely Missing Controllers.md
tahamajs's picture
|
download
raw
5.48 kB
Based on the API documentation I just provided and the actual controller files available in the codebase, the following **API endpoints are NOT implemented** (i.e., no controller exists or the methods are missing/stubs).
---
## ❌ Completely Missing Controllers (No Endpoints at All)
| Module | Missing Endpoints | Reason |
|--------|-------------------|--------|
| **Grants** | All `/api/grants/*` endpoints | No `GrantController` |
| **Preprints** | All `/api/preprints/*` endpoints | No `PreprintController` |
| **Provenance** | All `/api/provenance/*` endpoints | No `ProvenanceController` |
| **Media** | All `/api/media/*` endpoints (except basic upload) | `MediaService` exists but no controller |
| **Workspace Panels** | All `/api/workspace/panels/*` endpoints | Only a stub in `WorkspaceCompatController` |
| **Broadcast Channels / Posts** | All `/api/broadcast/*` endpoints | No controller for `BroadcastPostRepository` |
| **Encryption / PreKeys** | All `/api/encryption/*`, `/api/prekeys/*` | No controllers (internal only) |
| **Graph Nodes / Edges** | Separate CRUD endpoints (only in `GapAnalysisController` partially) | Full CRUD missing |
| **Citation Graph** | All `/api/citation-graph/*` endpoints | `CitationGraphService` exists but no controller |
| **Tag Follow** | All `/api/tags/follow/*` endpoints | `TagFollowDTO` exists, no endpoints |
| **Tool Store State** | All `/api/tools-state/*` endpoints | `ToolStoreStateRepository` exists, no controller |
---
## 🟑 Partially Implemented / Stub Endpoints
These endpoints exist in controllers but **return mock data, empty lists, or throw exceptions** – not production‑ready.
| Controller | Missing / Stub Methods |
|------------|------------------------|
| `AiCompatController` | All AI endpoints return stub responses (no real AI). |
| `WorkspaceCompatController` | Returns hardcoded mock data for workspace, ELN, repository objects. |
| `DataHubController` | Many methods return empty lists or throw `UnsupportedOperationException` (e.g., `search`, `getVersions`). |
| `AdminToolController` | `getAllToolsAdmin` returns empty list. |
| `BackupService` (via `BackupController`) | Creates backups with empty JSON files (`"[]"`); no real backup. |
| `ExportService` (via `ExportController`) | Many methods return empty strings or mock CSV. |
| `IntegrationService` (via `IntegrationController`) | All external API integrations return mock data. |
| `WebhookService` | **Service missing entirely** – `WebhookController` exists but service not provided. |
| `VoiceSettingsService` | **Service missing** – `VoiceSettingsController` expects it, but only repository exists. |
---
## πŸ“‹ Summary of Missing Endpoint Groups (by Documentation Section)
From the API documentation, the following **sections are completely missing**:
1. **Grants** – no endpoints.
2. **Preprints** – no endpoints.
3. **Provenance** – no endpoints.
4. **Media** – no controller (only basic file upload under `/uploads`).
5. **Broadcast** – no controller.
6. **Workspace Panels** – no real controller.
7. **Encryption / PreKeys** – no endpoints (internal only).
8. **Citation Graph** – no endpoints.
9. **Tag Follow** – no endpoints.
10. **Tools Store State** – no endpoints.
Additionally, the following sections are **incomplete** (only mock data or placeholders):
- AI endpoints (`/api/ai/*`) – stubs only.
- DataHub advanced features (search, versioning) – missing.
- Integration external APIs – mock only.
- Backup / Export – mock only.
- Webhook service – completely missing.
---
## βœ… What Is Actually Implemented (Fully Working)
The following controller groups are **fully functional** (real database operations, proper business logic):
- Authentication (`AuthController`)
- Users (`UserController` – profile, follow, bookmarks, 2FA)
- Articles (`ArticleController` – CRUD, likes, bookmarks, comments, search)
- Comments (`CommentController`)
- Likes (`LikeController`)
- Collections (`CollectionController`)
- Groups & Group Messages (`GroupController`)
- Private Messages (`MessageController`)
- Notifications (`NotificationController`)
- Events (`EventController` – basic CRUD, attendance)
- Polls (`PollController`)
- Projects & Tasks (`ProjectController`)
- Tags (`TagController`)
- Search (`SearchController` – unified, articles, users, tags, suggestions)
- Recommendations (`RecommendationController` – feed, similar, users)
- Peer Review (`PeerReviewController` – submissions, reviews, credentials)
- Tools (`ToolController`, `PublicToolController`, `AdminToolController` – CRUD, reviews, installs)
- Blog (`BlogPostController`, `BlogCategoryController`, `BlogTagController`, `BlogCommentController`)
- Admin stats, users, articles, groups, comments, export (`AdminController`, `AdminCompatController`)
- Audit logs (`AuditController`)
- Backup (basic – but no real backup logic)
- Metrics (`MetricsController`)
- Health checks (`HealthController`)
- FAQ (`FAQController`)
- Support tickets (`SupportController`)
- Newsletter subscription (`NewsletterController`)
- Invites (`InviteController`)
- Citations (`CitationController`)
- Export (`ExportController` – partial, but basic CSV/JSON work)
- Settings (`SettingsController`)
- Subscription (`SubscriptionController` – plan management, usage)
- Voice settings (`VoiceSettingsController` – but service missing, only repository)
- Upload (`UploadController` – basic image/document upload)

Xet Storage Details

Size:
5.48 kB
Β·
Xet hash:
fd3620c220824bdee9943b1ab9f8a5304e211baa0a1e8637e45369e2d696f48f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.