Editor API: OGC Records¶
Der InGrid Editor verfügt über eine leistungsfähige API, die dem Standard OGC API - Records entspricht. Diese Schnittstelle ermöglicht einen standardkonformen Zugriff auf Metadaten, indem sie moderne Webtechnologien nutzt und eine effiziente Suche, Abfrage und Bereitstellung von Geoinformationen unterstützt. Durch die Implementierung des OGC-Standards wird eine einfache Integration mit anderen Systemen gewährleistet und die Interoperabilität innerhalb geodatenbezogener Infrastrukturen deutlich verbessert.
Folgende Formate werden unterstützt:
- JSON (internes InGrid Format)
- XML ISO 19139
- GEOJSON
- HTML
-
Konfiguration der Editor Schnittstelle
Sie haben den Editor installiert und wollen die Editor Schnittstelle konfigurieren?
Informationen zur Konfiguration der Editor Schnittstelle können Sie der Dokumentation entnehmen.
Beispiel Request¶
Beispiel für eine cURL-Anfrage für die OGC-Landing Page:
curl --location 'https://ige-ng.informationgrid.eu/api/ogc'
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInZGMZvcm1hdGlvbmdyaWQuZXUvcmVhbG1zL3JpZCIs...'
Beispiel für eine OGC API Antwort:
Authentifizierung¶
Details bzgl. Bearer-Token-Abfrage finden Sie unter Editor API Authentifizierung
Endpunkte¶
Eine ausführliche Dokumentation der Endpunkte ist über das Swagger-UI zu erreichen:
https://ige-ng.informationgrid.eu/swagger-ui/index.html
Im Kontext von InGrid gilt:
- Collection ist gleichzusetzen mit InGrid-Katalog.
- Record ist gleichzusetzen mit Dokument (dataset, address).
Method | Type | Description |
---|---|---|
GET | Landing Page | Get general information about OGC API Records Endpoint: /api/ogc |
GET | Conformance | Get conformance class of OGC API Records Endpoint: /api/ogc/conformance |
GET | Collections | Get multiple collections Endpoint: /api/ogc/collections |
GET | Collection | Get collection by collection-ID Endpoint: /api/ogc/collections/{collectionId} |
GET | Records | Get multiple records of a collection Endpoint: /api/ogc/collections/{collectionId}/items |
GET | Record | Get record by record-ID Endpoint: /api/ogc/collections/{collectionId}/items/{recordId} |
POST | Records | Insert multiple records into a collection Endpoint: /api/ogc/collections/{collectionId}/items |
PUT | Record | Replace/update an existing resource in a collection with a replacement resource with the same resource identifier. Endpoint: /api/ogc/collections/{collectionId}/items/{recordId} |
DELETE | Record | Delete a record by record-ID Endpoint: /api/ogc/collections/{collectionId}/items/{recordId} |
GET | JSON Schema | Get JSON Schema of record by record-type Endpoint: /api/ogc/collections/{collectionId}/schema |