Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

AB Tasty Campaigns API

Campaign assignment operations

AB Tasty Campaigns API is one of 7 APIs that AB Tasty publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 13 JSON Schema definitions.

Tagged areas include Campaigns. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, code examples, and 13 JSON Schemas.

This API exposes 2 operations across 2 paths, and defines 8 schemas. It is described by OpenAPI 3.1.0, at version 2.0.0.

Requests are made against a single base URL, https://decision.flagship.io/v2.

2 operations 2 paths 8 schemas 2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0.0
Server
https://decision.flagship.io/v2
Authentication
API Key
Resource Areas
1

Authentication & Security 1

AB Tasty Campaigns API declares 1 security scheme for authenticating requests. An API key is passed in the header as x-api-key (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — API key for authentication. Can be found in Flagship Platform under Parameters / Environment & Security

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 POST. Each is listed below with its method, path, parameters, and response codes.

Campaigns 2

Campaign assignment operations

POST
/{environmentId}/campaigns
AB Tasty Post Environment Campaigns
postEnvironmentidCampaigns 2 params body → 200401429
POST
/{environmentId}/campaigns/{campaignId}
AB Tasty Post Environment Campaigns
postEnvironmentidCampaignsCampaignid 2 params body → 200302401429

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are CampaignRequest (6 properties), CampaignResponseFull (4 properties), Campaign (3 properties), CampaignResponseNormal (2 properties). Each schema is shown below with its type and property counts.

CampaignResponseNormal
object
2 properties
Error
object
2 properties
SingleCampaignRequest
CampaignResponseFull
object
4 properties
CampaignVariation
object
2 properties
Campaign
object
3 properties
CampaignRequest
object
6 properties 1 required
CampaignResponseSimple
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ab-tasty-campaigns-api-openapi.yml Raw ↑

Other APIs AB Tasty publishes across the network.

AB Tasty Remote Control API
AB Tasty Public API
AB Tasty Activate API
AB Tasty Environments API
AB Tasty Flags API
AB Tasty Post API