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

Aus CTS2-LE
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „== Operation Syntax == ;Signature :Response webCts2Le.service.crud.OwlResource.update( ::@QueryParam(value="uri") String uri, ::@QueryParam(value="version")…“)
 
(Operation Syntax)
Zeile 18: Zeile 18:
 
;Parameters
 
;Parameters
  
uri uri of the ontology. Note that the pair (uri, version) uniquely defines a value set within CTS2-LE
+
:<code>uri</code>
 +
::uri of the ontology. Note that the pair ({@code uri}, {@code version}) uniquely defines a value set within CTS2-LE
 +
::Cardinality: 1..1
 +
:<code>version</code>
 +
::version of the ontology
 +
::Cardinality: 1..1
 +
:<code>isDefaultVersion </code>
 +
::TODO
 +
:<code>resourceId</code>
 +
::unique CTS2-LE identifier (not an URI) of the ontology (also displayed in the navigator)
 +
::Cardinality: 1..1
 +
:<code>groupName</code>
 +
::group corresponding to the terminology tree in the navigator
 +
:<code>defaultLanguage</code>
 +
::default language of the ontology
 +
:<code>mappingSpec</code>
 +
::TODO
  
version version of the ontology
+
;Consumed POST Body
 +
OWL stream.
 +
:Cardinality: 1..1
  
isDefaultVersion
+
;Result
 
+
:empty response if no error occurs otherwise an error XML.
resourceId unique CTS2-LE identifier (not an URI) of the ontology (also displayed in the navigator)
 
 
 
groupName group corresponding to the terminology tree in the navigator
 
 
 
defaultLanguage default language of the ontology
 
 
 
mappingSpec TODO
 

Version vom 10. Oktober 2016, 19:08 Uhr

Operation Syntax

Signature
Response webCts2Le.service.crud.OwlResource.update(
@QueryParam(value="uri") String uri,
@QueryParam(value="version") String version,
@QueryParam(value="isDefaultVersion") @DefaultValue(value="true") boolean isDefaultVersion,
@QueryParam(value="resourceId") String resourceId,
@QueryParam(value="groupName") String groupName,
@QueryParam(value="defaultLanguage") @DefaultValue(value="en") String defaultLanguage,
@QueryParam(value="mappingSpec") String mappingSpec)
@POST
@Path(value="/service/crud/owl/update")
@Consumes(value={"application/xml"})
@Produces(value={"application/xml"})
Parameters
uri
uri of the ontology. Note that the pair ({@code uri}, {@code version}) uniquely defines a value set within CTS2-LE
Cardinality: 1..1
version
version of the ontology
Cardinality: 1..1
isDefaultVersion
TODO
resourceId
unique CTS2-LE identifier (not an URI) of the ontology (also displayed in the navigator)
Cardinality: 1..1
groupName
group corresponding to the terminology tree in the navigator
defaultLanguage
default language of the ontology
mappingSpec
TODO
Consumed POST Body

OWL stream.

Cardinality: 1..1
Result
empty response if no error occurs otherwise an error XML.