add variant endpoint