API updadte

This commit is contained in:
2025-11-08 19:02:36 +01:00
parent 320f2f30af
commit 58c7907915
2 changed files with 28 additions and 1 deletions

View File

@@ -1,5 +1,23 @@
api_platform:
title: Hello API Platform
title: 'Immorechner API'
description: |
# Immobilien-Verwaltungs-API
Diese REST-API bietet umfassende Funktionen zur Verwaltung von Immobilien und Benutzern.
## Hauptfunktionen
- Verwaltung von Immobilien (CRUD-Operationen)
- Benutzerverwaltung mit Rollensystem
- Beziehungsverwaltung zwischen Usern und Immobilien
- Automatische Berechnungen (Preis pro m², Gesamtfläche)
## Datenformate
- JSON-LD (Hydra)
- JSON
- HAL+JSON
## Authentifizierung
Derzeit keine Authentifizierung erforderlich (Entwicklungsversion)
version: 1.0.0
mapping:
paths: ['%kernel.project_dir%/src/Entity']
@@ -7,3 +25,11 @@ api_platform:
stateless: true
cache_headers:
vary: ['Content-Type', 'Authorization', 'Origin']
formats:
jsonld: ['application/ld+json']
json: ['application/json']
html: ['text/html']
docs_formats:
jsonld: ['application/ld+json']
jsonopenapi: ['application/vnd.openapi+json']
html: ['text/html']