-
Notifications
You must be signed in to change notification settings - Fork 0
API Reference
Joshua Phu Kuhrau edited this page Jun 2, 2026
·
1 revision
Die vollständige interaktive API-Dokumentation ist verfügbar unter:
http://localhost:8000/api/v1/docs (Swagger UI)
Alle Endpunkte (außer /auth/login) erfordern einen JWT-Token im Header:
Authorization: Bearer <token>
POST /api/v1/auth/login
Content-Type: application/json
{
"username": "user@example.com",
"password": "password"
}Response:
{
"access_token": "eyJ...",
"token_type": "bearer"
}| Methode | Endpoint | Beschreibung |
|---|---|---|
GET |
/api/v1/documents |
Alle Dokumente |
POST |
/api/v1/documents |
Dokument erstellen |
GET |
/api/v1/documents/{id} |
Einzelnes Dokument |
PATCH |
/api/v1/documents/{id} |
Dokument aktualisieren |
DELETE |
/api/v1/documents/{id} |
Dokument löschen |
| Methode | Endpoint | Beschreibung |
|---|---|---|
GET |
/api/v1/tasks |
Alle Tasks |
POST |
/api/v1/tasks |
Task erstellen |
PATCH |
/api/v1/tasks/{id} |
Task aktualisieren |
DELETE |
/api/v1/tasks/{id} |
Task löschen |
| Methode | Endpoint | Beschreibung |
|---|---|---|
POST |
/files/upload |
Datei hochladen |
GET |
/files/{filename} |
Datei abrufen |
| Methode | Endpoint | Beschreibung |
|---|---|---|
GET |
/health |
Health Check (JSON) |
GET |
/health/ui |
Health Dashboard |
← Setup Guide | → Deployment