CTS2-LE REST API: OWL TBOX Update: Unterschied zwischen den Versionen

Aus CTS2-LE
Zur Navigation springen Zur Suche springen
K
Zeile 10: Zeile 10:
  
 
:<b>uri</b> (type: <code>string</code>, occurrence: <code>required</code>)
 
:<b>uri</b> (type: <code>string</code>, occurrence: <code>required</code>)
::uri of the ontology. Note that the pair (<code>uri</code>, <code>version</code>) uniquely defines a code system version within CTS2-LE
+
::uri of the ontology. Note that the pair (<code>uri</code>, <code>version</code>) uniquely identifies a code system version within CTS2-LE
  
 
:<b>version</b> (type: <code>string</code>, occurrence: <code>required</code>)
 
:<b>version</b> (type: <code>string</code>, occurrence: <code>required</code>)

Version vom 17. September 2019, 16:53 Uhr

PUT /service/crud/owl

Updates an OWL ontology. If the ontology does not exist, it is created. The TBOX of the ontology is mapped to a code system version of the CTS2 information model.
Request Body
text/plain
owl text stream
Query Parameters
uri (type: string, occurrence: required)
uri of the ontology. Note that the pair (uri, version) uniquely identifies a code system version within CTS2-LE
version (type: string, occurrence: required)
version of the ontology
resourceId (type: string, occurrence: required)
unique CTS2-LE identifier (not an URI) of the code system version (also displayed in the navigator)
groupName (type: string, occurrence: required)
group corresponding to the terminology tree in the navigator
defaultLanguage (type: string, occurrence: optional, default: en)
default language of the ontology
Responses
application/json
{
   "message": "...",
   "log": [ ... ] (optional)
}
200: "message": "ok"
400, 500: "message": "<error message>"