getVariantMetadata

@GetMapping(value = ["model/metadata/variant"], produces = ["application/xml"])
fun getVariantMetadata(@RequestParam(required = false, name = "variant_timestamp") timestamp: String?, @RequestParam(required = false, name = "variant_UUID") variantUID: String?, @RequestParam(required = false, name = "variant_name") name: String?, @RequestParam(required = false, name = "limit") limit: Int = 1, @RequestParam(required = false, name = "closed_only") closedOnly: Boolean = true): List<MetaData>

Get the complete metadata of a variant. At least one of the URL params must be provided. If the URL params are not sufficient to determine a variant, an error is thrown. This returns the first variants that are found matching one of the parameters in order. Please look at the behaviour of MetadataService.getVariantMetadata for more details.

URL Params

  • variant_timestamp?=STRING

  • variant_UUID?=String

  • variant_name?=String

Returns

  • JSON Body

Parameters

timestamp
variantUID
name