Variations
Prefix the token with 'Bearer ' to indicate it is a bearer token
The ID of the account
The ID of the environment
The ID of the campaign
The ID of the variation group
Index of the page
0Number of items per page
10Success
Returns the number of items in the current page
Returns the number of the current page
0Returns the number of total items
Returns the number of items per page
10Returns the index of the page
Not Found
GET /v1/accounts/{account_id}/account_environments/{account_environment_id}/campaigns/{campaign_id}/variation_groups/{variation_group_id}/variations HTTP/1.1
Host: api.flagship.io
Authorization: YOUR_API_KEY
Accept: */*
{
"current_item_count": 1,
"current_page": 0,
"total_count": 1,
"items_per_page": 10,
"last_page": 1,
"items": [
{
"id": "text",
"name": "text",
"reference": true,
"allocation": 1,
"modifications": {
"type": "text",
"value": {}
}
}
]
}Prefix the token with 'Bearer ' to indicate it is a bearer token
The ID of the account
The ID of the environment
The ID of the campaign
The ID of the variation group
ID of the variation
Name of the variation
Wether the variation is the reference or not
Allocation of the variation (0-100)
Created
ID of the variation
Name of the variation
Wether the variation is the reference or not
Allocation of the variation (0-100)
Validation errors
POST /v1/accounts/{account_id}/account_environments/{account_environment_id}/campaigns/{campaign_id}/variation_groups/{variation_group_id}/variations HTTP/1.1
Host: api.flagship.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 90
{
"name": "text",
"reference": true,
"allocation": 1,
"modifications": {
"type": "text",
"value": {}
}
}{
"id": "text",
"name": "text",
"reference": true,
"allocation": 1,
"modifications": {
"type": "text",
"value": {}
}
}Prefix the token with 'Bearer ' to indicate it is a bearer token
The ID of the account
The ID of the environment
The ID of the campaign
The ID of the variation group
The ID of the variation
Success
ID of the variation
Name of the variation
Wether the variation is the reference or not
Allocation of the variation (0-100)
Not Found
GET /v1/accounts/{account_id}/account_environments/{account_environment_id}/campaigns/{campaign_id}/variation_groups/{variation_group_id}/variations/{variation_id} HTTP/1.1
Host: api.flagship.io
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "text",
"name": "text",
"reference": true,
"allocation": 1,
"modifications": {
"type": "text",
"value": {}
}
}Prefix the token with 'Bearer ' to indicate it is a bearer token
The ID of the account
The ID of the environment
The ID of the campaign
The ID of the variation group
The ID of the variation
Deleted
No content
Not Found
DELETE /v1/accounts/{account_id}/account_environments/{account_environment_id}/campaigns/{campaign_id}/variation_groups/{variation_group_id}/variations/{variation_id} HTTP/1.1
Host: api.flagship.io
Authorization: YOUR_API_KEY
Accept: */*
No content
Prefix the token with 'Bearer ' to indicate it is a bearer token
The ID of the account
The ID of the environment
The ID of the campaign
The ID of the variation group
The ID of the variation
ID of the variation
Name of the variation
Wether the variation is the reference or not
Allocation of the variation (0-100)
Updated
ID of the variation
Name of the variation
Wether the variation is the reference or not
Allocation of the variation (0-100)
Validation errors
PATCH /v1/accounts/{account_id}/account_environments/{account_environment_id}/campaigns/{campaign_id}/variation_groups/{variation_group_id}/variations/{variation_id} HTTP/1.1
Host: api.flagship.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 90
{
"name": "text",
"reference": true,
"allocation": 1,
"modifications": {
"type": "text",
"value": {}
}
}{
"id": "text",
"name": "text",
"reference": true,
"allocation": 1,
"modifications": {
"type": "text",
"value": {}
}
}Last updated
Was this helpful?

