InstanceController

@RestController
class InstanceController(val instanceService: InstanceService)

Constructors

Link copied to clipboard
constructor(instanceService: InstanceService)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
@PostMapping(value = ["instance/create"], produces = ["application/xml"])
fun createNewInstance(@RequestParam(required = true, name = "type_node_uri") nodeURI: String, @RequestParam(required = true, name = "instance_name") instanceName: String, @RequestParam(required = true, name = "instance_uri") instanceURI: String): Fragment?

TODO doc

Link copied to clipboard
@DeleteMapping(value = ["instance"], produces = ["application/xml"])
fun deleteInstance(@RequestParam(required = true, name = "fragment_data_id") fragmentDataID: Long)

TODO doc

Link copied to clipboard
@GetMapping(value = ["instance"], produces = ["application/xml"])
fun getInstance(@RequestParam(required = true, name = "fragment_data_id") fragmentDataID: Long, @RequestParam(required = true, name = "full_type") fullType: Boolean): Fragment?

TODO doc

Link copied to clipboard
@GetMapping(value = ["instance/all"], produces = ["application/xml"])
fun getInstances(@RequestParam(required = true, name = "type_name_pattern") typeNamePattern: String, @RequestParam(required = false, name = "variant_id") variantID: String?, @RequestParam(required = false, name = "version_id") versionID: String?, @RequestParam(required = true, name = "limit") limit: Int): List<Fragment>

TODO doc