CTS2-LE REST API: OWL TBOX Update
Version vom 17. September 2019, 16:29 Uhr von Billig (Diskussion | Beiträge)
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 defines a code system version within CTS2-LE
- uri of the ontology. Note that the pair (
- 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>"