GDDCGeospatial

Resource

Soll-Models.

BIM/CAD-Modelle als Soll-Schicht für Soll-Ist-Vergleich. Formate: IFC, DGN, DWG, LandXML.

POST/v1/soll-models

Soll-Model hochladen

Multi-step: erst Datei via pre-signed S3-URL hochladen, dann commit.

Body

NameTypBeschreibung
project_id*stringZiel-Projekt
format*ifc | dgn | dwg | landxmlDatei-Format
size_bytes*intDateigröße
namestring?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"
GET/v1/soll-models/{id}

Soll-Model holen

Metadaten + Download-URL.

Path-Parameter

NameTypBeschreibung
id*stringSLM_…

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"