36 lines
1.1 KiB
YAML
36 lines
1.1 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']
|