variation-group
Manage your variation groups
abtasty-cli feature-experimentation variation-group create
NAME
abtasty-cli feature-experimentation variation-group create
- Create a variation group
SYNOPSIS
abtasty-cli feature-experimentation variation-group create [--campaign-id = CAMPAIGN_ID] [-d DATA_RAW | --data-raw = DATA_RAW ]
DESCRIPTION
Create a variation group in your campaign
EXAMPLES
abtasty-cli feature-experimentation variation-group create --campaign-id CAMPAIGN_ID -d DATA_RAW
abtasty-cli feature-experimentation vg create --campaign-id="<CAMPAIGN_ID>" --data-raw "{\"name\":\"VARIATION_GROUP_NAME\",\"variations\":[{\"name\":\"VARIATION_NAME\",\"allocation\":50,\"reference\":true,\"modifications\":{\"value\":{\"color\":\"blue\"}}},{\"name\":\"VARIATION_NAME1\",\"allocation\":50,\"reference\":false,\"modifications\":{\"value\":{\"color\":\"red\"}}}],\"targeting\":{\"targeting_groups\":[{\"targetings\":[{\"operator\":\"CONTAINS\",\"key\":\"TARGETING_KEY\",\"value\":\"TARGETING_KEY_VALUE\"}]}]}}"
REQUIRED FLAGS
--campaign-id = _CAMPAIGN_ID_
The campaign id of your variation group
--data-raw = _DATA_RAW_
The raw data contains all the info to create your variation group, check the Remote Control API documentation for more details.
Raw data format
Note that you should insert data without spaces, line breaks, tabulation etc...
abtasty-cli feature-experimentation variation-group list
NAME
abtasty-cli feature-experimentation variation-group list
- List all variation groups
SYNOPSIS
abtasty-cli feature-experimentation variation-group list [--campaign-id = CAMPAIGN_ID] \[--output-format = OUTPUT_FORMAT [table|json|json-pretty]]
DESCRIPTION
List all variation groups in your campaign
EXAMPLES
abtasty-cli feature-experimentation variation-group list --campaign-id CAMPAIGN_ID
REQUIRED FLAGS
--campaign-id = _CAMPAIGN_ID_
The campaign id of your variation group
FLAGS
--output-format = _OUTPUT_FORMAT_
The output format for printing command output resources. The default is table. The supported formats are: json-pretty, table, json.
abtasty-cli feature-experimentation variation-group get
NAME
abtasty-cli feature-experimentation variation-group get
- Get a variation group
SYNOPSIS
abtasty-cli feature-experimentation variation-group get [--campaign-id = CAMPAIGN_ID] [-i VARIATION_GROUP_ID | --id = VARIATION_GROUP_ID]
DESCRIPTION
Get a variation group in your campaign
EXAMPLES
abtasty-cli feature-experimentation variation-group get --campaign-id CAMPAIGN_ID -i VARIATION_GROUP_ID
REQUIRED FLAGS
--campaign-id = _CAMPAIGN_ID_
The campaign id of your variation group
--id = _VARIATION_GROUP_ID_
The id of the variation group you want to display
FLAGS
--output-format _OUTPUT_FORMAT_
The output format for printing command output resources. The default is table. The supported formats are: json-pretty, table, json.
abtasty-cli feature-experimentation variation-group edit
NAME
abtasty-cli feature-experimentation variation-group edit
- Edit a variation group
SYNOPSIS
abtasty-cli feature-experimentation variation-group edit [--campaign-id = CAMPAIGN_ID] [-i VARIATION_GROUP_ID | --id = VARIATION_GROUP_ID] [-d DATA_RAW | --data-raw = DATA_RAW]
DESCRIPTION
Edit a variation group in your campaign
EXAMPLES
abtasty-cli feature-experimentation variation-group edit --campaign-id CAMPAIGN_ID -i VARIATION_GROUP_ID -d DATA_RAW
REQUIRED FLAGS
--campaign-id = _CAMPAIGN_ID_
The campaign id of your variation group
--id = _VARIATION_GROUP_ID_
The id of the variation group you want to edit
--data-raw = _DATA_RAW_
The raw data contains all the info to edit your variation group, check the Remote Control API documentation for details
Raw data format
Note that you should insert data without spaces, line breaks, tabulation etc...
abtasty-cli feature-experimentation variation-group delete
NAME
abtasty-cli feature-experimentation variation-group delete
- Delete a variation group
SYNOPSIS
abtasty-cli feature-experimentation variation-group delete [--campaign-id = CAMPAIGN_ID] [-i VARIATION_GROUP_ID | --id = VARIATION_GROUP_ID]
DESCRIPTION
Delete a variation group in your campaign
EXAMPLES
abtasty-cli feature-experimentation variation-group delete --campaign-id CAMPAIGN_ID -i VARIATION_GROUP_ID
REQUIRED FLAGS
--campaign-id = _CAMPAIGN_ID_
The campaign id of your variation group
--id = _VARIATION_GROUP_ID_
The id of the variation group you want to delete
Updated about 1 month ago