Creates a new variant and add it to the given flag. A variant is a named value that typically represents a group of settings that can be used to control part of an application.
Before you can create a variant the flag must have a schema, and the variant must satisfy the schema.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID to use for the variant, which will become the final component of the variant's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.
The body is of type object.
OK
A possible named value the flag can assign.
The resource name of the variant.
For example:
flags/my-flag/variants/control
The value that this variant represents. A possibly nested json object.
Time when the flag was first created.
Time when the flag was last updated.
Reference to the identity that created this variant.
Reference to the identity that last updated this variant.
General set of labels for this resource.
A human-friendly description of the variant.
An image URL or path for the variant.