Files
immorechner/config/packages/api_platform.yaml
2025-11-08 22:19:33 +01:00

42 lines
1.2 KiB
YAML

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']
defaults:
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']
swagger:
versions: [3]
api_keys:
apiKey:
name: Authorization
type: header