CTS2-LE REST API: OWL Update

Aus CTS2-LE
Version vom 10. Oktober 2016, 19:08 Uhr von Billig (Diskussion | Beiträge) (Operation Syntax)
Zur Navigation springen Zur Suche springen

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.