Skip to content
Snippets Groups Projects
  • latlon team's avatar
    52c0a2ae
    Code drop · 52c0a2ae
    latlon team authored
    
    - XPLANBOX-3240 set REST API v1 to deprecated, added v2 as default (c791c82e4)
    - XPLANBOX-3305 added known bug to user manual (3fad3b1e7)
    
    Co-authored-by: default avatarTorsten Friebe <friebe@lat-lon.de>
    
    Dropped from commit: a361ba7b51cadc3c4e982198db25ec3917d81146
    52c0a2ae
    History
    Code drop
    latlon team authored
    
    - XPLANBOX-3240 set REST API v1 to deprecated, added v2 as default (c791c82e4)
    - XPLANBOX-3305 added known bug to user manual (3fad3b1e7)
    
    Co-authored-by: default avatarTorsten Friebe <friebe@lat-lon.de>
    
    Dropped from commit: a361ba7b51cadc3c4e982198db25ec3917d81146
XPlanValidator_API.adoc 1.33 KiB

XPlanValidatorAPI

Die REST-API des XPlanValidator ermöglicht es, die Funktionen des XPlanValidator über eine Web-API aufzurufen. Die REST-API des XPlanValidator stellt folgende Ressourcen bereit:

Ressource HTTP Methode Beschreibung

/

GET

Beschreibung der Schnittstelle als OpenAPI 3.0 Dokument

/info

GET

Informationen zur Software und Konfiguration

/validate

POST

Validieren eines XPlanGML-Dokuments oder XPlanArchivs

/status/{uuid}

GET

Abruf des Fortschritts für eine Validierungsanfrage

/report/{uuid}

GET

Abruf eines Validierungsberichts

/report/{uuid}/geomfindings

GET

Abruf von geometrischen Fehlern zu einem Validierungsbericht im Format GeoJSON

Eine vollständige Beschreibung der HTTP Status-Codes und der unterstützten Formate (Encodings) für die jeweiligen Ressourcen sind in der OpenAPI-Schnittstellenbeschreibung enthalten.

Die URL für die REST-API des XPlanValidator setzt sich wie folgt zusammen http://<host>:<port>/xplan-validator-api/api/v2/. Die URL für die xPlanBox-Demo lautet z. B. https://xplanbox.lat-lon.de/xplan-validator-api/api/v2/.
Die REST-API v1 ist veraltet und wird in zukünftigen Versionen der xPlanBox entfernt! Stellen Sie Clients auf die neue REST-API v2 um!

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.