Resource
Soll-Models.
BIM/CAD-Modelle als Soll-Schicht für Soll-Ist-Vergleich. Formate: IFC, DGN, DWG, LandXML.
/v1/soll-modelsSoll-Model hochladen
Multi-step: erst Datei via pre-signed S3-URL hochladen, dann commit.
Body
| Name | Typ | Beschreibung |
|---|---|---|
| project_id* | string | Ziel-Projekt |
| format* | ifc | dgn | dwg | landxml | Datei-Format |
| size_bytes* | int | Dateigröße |
| name | string? | Anzeigename |
Beispiel-Response
{
"id": "SLM_q9Dr1H",
"upload_url": "https://uploads.geospatial.gddc-sh.de/SLM_q9Dr1H?...",
"expires_at": "2026-04-27T10:14:22Z"
}Beispiel-Request
# 1. Init
curl https://api.geospatial.gddc-sh.de/v1/soll-models \
-H "Authorization: Bearer $GDDC_TOKEN" \
-d '{"project_id":"PRJ_b5Lx2K","format":"ifc","size_bytes":12_404_812}'
# 2. PUT Datei zu upload_url
# 3. Commit
curl https://api.geospatial.gddc-sh.de/v1/soll-models/SLM_q9Dr1H/commit \
-X POST -H "Authorization: Bearer $GDDC_TOKEN"/v1/soll-models/{id}Soll-Model holen
Metadaten + Download-URL.
Path-Parameter
| Name | Typ | Beschreibung |
|---|---|---|
| id* | string | SLM_… |
Beispiel-Response
{
"id": "SLM_q9Dr1H",
"project_id": "PRJ_b5Lx2K",
"format": "ifc",
"name": "Baustelle_A23_Soll.ifc",
"size_bytes": 12_404_812,
"uploaded_at": "2026-04-27T08:14:22Z",
"download": "https://files.geospatial.gddc-sh.de/SLM_q9Dr1H.ifc?..."
}Beispiel-Request
curl https://api.geospatial.gddc-sh.de/v1/soll-models/SLM_q9Dr1H \ -H "Authorization: Bearer $GDDC_TOKEN"