Model Controller
@RestController
Functions
Link copied to clipboard
@GetMapping(value = ["model/reference" ], produces = ["application/xml" ] )
Get the active reference model (fragment) as closed model.
Link copied to clipboard
@PostMapping(value = ["model/variant" ], produces = ["application/xml" ] )
Create a new variant. If an existing variant is specified, the new variant will be initialized with a copy of the model. If no existing variant is specified, a new empty variant with the given name is constructed.
Link copied to clipboard
@PostMapping(value = ["model/variant/reference" ], produces = ["application/xml" ] )
Activate the specified variant as reference model.
Link copied to clipboard
@PutMapping(value = ["model" ], produces = ["application/xml" ], consumes = ["application/xml" ] )
Set a complete model (Fragment). If the specified variant is existent, a new running version will be created. if the variant is not present, a new variant with the given name
is initialized with the specified model as an initial version