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 Environments API

The Environments API from AB Tasty — 3 operation(s) for environments.

AB Tasty Environments 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 Environments. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, code examples, and 13 JSON Schemas.

This API exposes 3 operations across 3 paths, and defines 11 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.

3 operations 3 paths 11 schemas 3 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 Environments 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 3

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

Environments 3
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
POST
/{environmentId}/flags
AB Tasty Post Environment Flags
postEnvironmentidFlags 2 params body → 200401429

Schemas 11

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

CampaignResponseNormal
object
2 properties
Error
object
2 properties
FlagMetadata
object
9 properties
CampaignResponseFull
object
4 properties
SingleCampaignRequest
CampaignVariation
object
2 properties
Campaign
object
3 properties
CampaignRequest
object
6 properties 1 required
Flag
object
2 properties
CampaignResponseSimple
object
2 properties
FlagsResponse
object
Object with flag keys as properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ab-tasty-environments-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 Campaigns API
AB Tasty Flags API
AB Tasty Post API