Optimizely · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Optimizely Edge Decider API

2 actions 2 updates phrasing extends openapi/optimizely-optimizely-edge-decider-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Optimizely's API. It is a proposal applied on top of the contract, not a document Optimizely publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 2

$.info
$.paths['/{accountId}/{projectId}'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Optimizely Edge Decider API
  version: 1.0.0
extends: openapi/optimizely-optimizely-edge-decider-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-10-01'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 1
- target: $.paths['/{accountId}/{projectId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Fetch an Edge experiment microsnippet for a page
      effect: read
      questions:
      - How do I get the JavaScript microsnippet that applies Performance Edge experiment variations to a page?
      - Which experiments will a visitor be bucketed into on a given URL?
      - Why does the Edge Decider return a 403 for my request?
      - Can I stop the snippet from extending existing visitor cookies?
      instructions:
      - text: Get the Edge microsnippet for account {accountId} and project {projectId} for page {url}.
        slots:
          accountId: path.accountId
          projectId: path.projectId
          url: query.url
      - text: Bucket the visitor with cookies {cookie} into experiments for project {projectId} under account {accountId}.
        slots:
          cookie: header.Cookie
          projectId: path.projectId
          accountId: path.accountId
      - text: Fetch the project {projectId} snippet for account {accountId} without extending cookie lifetime, setting extend_cookie_lifetime to {extend}.
        slots:
          projectId: path.projectId
          accountId: path.accountId
          extend: query.extend_cookie_lifetime
      method: generated
      generated: '2026-10-01'