flagship variation
Manage your variations
flagship variation create
NAME
flagship variation create
- Create a variation
SYNOPSIS
flagship variation create [--campaign-id = CAMPAIGN_ID] [--variation-group-id = VARIATION_GROUP_ID] [-d DATA_RAW | --data-raw = DATA_RAW]
DESCRIPTION
Create a variation in your variation group
EXAMPLES
flagship variation create --campaign-id CAMPAIGN_ID --variation-group-id VARIATION_GROUP_ID -d DATA_RAW
flagship variation create --campaign-id CAMPAIGN_ID --variation-group-id VARIATION_GROUP_ID -d "{\"name\":\"Variation 1\",\"reference\":false,\"allocation\":95,\"modifications\":{\"type\":\"FLAG\",\"value\":{\"myColor\":\"blue\"}}}"
REQUIRED FLAGS
--campaign-id = _CAMPAIGN_ID_
The id of the campaign where you want to create your variation
--variation-group-id = _VARIATION_GROUP_ID_
The id of the variation group where you want to create your variation
`--data-raw = DATA_RAW
The raw data contains all the info to create your variation, check the Remote Control API documentation for more details.
Raw data format
Note that you should insert data without spaces, line breaks, tabulation etc...
flagship variation list
NAME
flagship variation list
- List all variations
SYNOPSIS
flagship variation list [--campaign-id = CAMPAIGN_ID] [--variation-group-id = VARIATION_GROUP_ID] \[--output-format = OUTPUT_FORMAT [table|json|json-pretty]]
DESCRIPTION
List all variations in your variation group
EXAMPLES
flagship variation list --campaign-id CAMPAIGN_ID --variation-group-id VARIATION_GROUP_ID
REQUIRED FLAGS
--campaign-id = _CAMPAIGN_ID_
The id of the campaign where you want to list your variations
--variation-group-id = _VARIATION_GROUP_ID_
The id of the variation group where you want to list your variations
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.
flagship variation get
NAME
flagship variation get
- Get a variation
SYNOPSIS
flagship variation get [--campaign-id = CAMPAIGN_ID] [--variation-group-id = VARIATION_GROUP_ID] [-i VARIATION_ID | --id = VARIATION_ID]
DESCRIPTION
Get a variation in your variation group
EXAMPLES
flagship variation get --campaign-id CAMPAIGN_ID --variation-group-id VARIATION_GROUP_ID -i VARIATION_ID
REQUIRED FLAGS
--campaign-id = _CAMPAIGN_ID_
The id of the campaign where you want to get your variation
--variation-group-id = _VARIATION_GROUP_ID_
The id of the variation group where you want to get your variation
`--id = VARIATION_ID
The id of the variation 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.
flagship variation edit
NAME
flagship variation edit
- Edit a variation
SYNOPSIS
flagship variation edit [--campaign-id = CAMPAIGN_ID] [--variation-group-id = VARIATION_GROUP_ID] [-i VARIATION_ID | --id = VARIATION_ID] [-d DATA_RAW | --data-raw = DATA_RAW]
DESCRIPTION
Edit a variation in your variation group
EXAMPLES
flagship variation edit --campaign-id CAMPAIGN_ID --variation-group-id VARIATION_GROUP_ID -i VARIATION_ID -d DATA_RAW
REQUIRED FLAGS
--campaign-id = _CAMPAIGN_ID_
The id of the campaign where you want to edit your variation
--variation-group-id = _VARIATION_GROUP_ID_
The id of the variation group where you want to edit your variation
--id = _VARIATION_ID_
The id of the variation you want to edit
--data-raw = _DATA_RAW_
The raw data contains all the info to edit your variation, check the Remote Control API documentation for details
Raw data format
Note that you should insert data without spaces, line breaks, tabulation etc...
flagship variation delete
NAME
flagship variation delete
- Delete a variation
SYNOPSIS
flagship variation-group delete [--campaign-id = CAMPAIGN_ID] [--variation-group-id = VARIATION_GROUP_ID] [-i VARIATION_ID | --id = VARIATION_ID]
DESCRIPTION
Delete a variation in your variation group
EXAMPLES
flagship variation delete --campaign-id CAMPAIGN_ID --variation-group-id VARIATION_GROUP_ID -i VARIATION_ID
REQUIRED FLAGS
--campaign-id = _CAMPAIGN_ID_
The id of the campaign where you want to delete your variation
--variation-group-id = _VARIATION_GROUP_ID_
The id of the variation group where you want to delete your variation
--id = _VARIATION_ID_
The id of the variation you want to delete
Updated 4 months ago