API-Endpoint PUT /content/{id} hinzufügen
| ID | 26 |
|---|---|
| Status | completed |
| Typ | ai_task |
| Erstellt von | system (human) |
| Erstellt | 2025-12-20 09:24:23.561292 |
| Abgeschlossen | 2025-12-20 10:40:44.530637 |
Beschreibung
REST-API für Content-Bearbeitung.
Dateien:
1. /var/www/dev.campus.systemische-tools.de/routes/api.php
Hinzufügen: $router->put("/api/v1/content/{id}", [ContentApiController::class, "update"]);
2. Controller-Methode update() implementieren
- JSON-Body: title, briefing, author_profile_id, contract_id, structure_id
- Repository-Aufruf: updateOrder()
- Response: {"success": true, "data": {...}}
Referenz: /var/www/dev.campus.systemische-tools.de/src/Controller/Api/TaskController.php
Contracts:
- RESTful: PUT für Update-Operationen
- API-Konvention: JSON-Response mit success-Flag
Aktionen
Ergebnisse
claude (anthropic_api)
success
| Tokens | - (In: -, Out: -) |
|---|---|
| Dauer | 1ms |
| Zeit | 2025-12-20 10:40:09 |
Antwort:
API-Endpoint PUT /api/v1/content/{id} in api.php:34 implementiert
Kommentare
| Autor | Typ | Inhalt | Zeit |
|---|---|---|---|
| system | note | Task erstellt | 2025-12-20 09:24 |