API-Endpoint PUT /content/{id} hinzufügen

ID26
Statuscompleted
Typai_task
Erstellt vonsystem (human)
Erstellt2025-12-20 09:24:23.561292
Abgeschlossen2025-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

Bearbeiten

Ergebnisse

claude (anthropic_api) success
Tokens- (In: -, Out: -)
Dauer1ms
Zeit2025-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

← Zurück zur Task-Liste