Optimizely πŸ“– Definition ( v2 ) API

The πŸ“– Definition ( v2 ) API from Optimizely β€” 2 operation(s) for πŸ“– definition ( v2 ).

Operations 3

POST /api/content/v2/data Sync content data #
DELETE /api/content/v2/data Purge content data #
POST /api/content/v2/types Sync content types #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client β€” Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE β€” APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/optimizely-definition-v2-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

optimizely-definition-v2-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Optimizely πŸ“– Definition ( v2 ) API
  contact:
    name: Documentation
    url: https://cg.optimizely.com/
  license:
    name: ' '
  version: '1.0'
  description: 'Operations tagged πŸ“– Definition ( v2 ) across 2 of this provider''s published API definitions: optimizely-platform-optimizely-optimizely-graph-api-openapi.json, optimizely-platform-optimizely-swagger-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://cg.optimizely.com
- url: https://prod.cg.optimizely.com
tags:
- name: πŸ“– Definition ( v2 )
paths:
  /api/content/v2/data:
    post:
      operationId: post-ContentV2DataHandler
      responses:
        '200':
          description: Index content successful
      description: Synchronize data for given source
      summary: Sync content data
      tags:
      - πŸ“– Definition ( v2 )
      security:
      - epi-hmac: []
      - Bearer: []
      - Basic: []
      parameters:
      - in: query
        name: id
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: string
    delete:
      operationId: delete-ContentV2DataHandler
      responses:
        '204':
          description: Reset data successfully
      description: Purge data for given source
      summary: Purge content data
      tags:
      - πŸ“– Definition ( v2 )
      security:
      - epi-hmac: []
      - Bearer: []
      - Basic: []
      parameters:
      - description: The id of the source
        in: query
        name: id
        required: true
        schema:
          type: string
      - description: The language of the source
        in: query
        name: languages
        required: false
        schema:
          type: array
          items:
            type: string
    servers:
    - url: https://cg.optimizely.com
  /api/content/v2/types:
    post:
      operationId: post-ContentV2TypeHandler
      responses:
        '200':
          description: Successfully updated content type
        '400':
          description: Content type languages could not be updated
      description: Synchronize content types from one source
      summary: Sync content types
      tags:
      - πŸ“– Definition ( v2 )
      deprecated: true
      security:
      - epi-hmac: []
      - Bearer: []
      - Basic: []
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContentSource_V2'
    servers:
    - url: https://cg.optimizely.com
components:
  schemas:
    ContentTypeProperty_V2:
      allOf:
      - $ref: '#/components/schemas/Property_V2'
      - properties:
          helpText:
            $ref: '#/components/schemas/Optional_string_'
        type: object
    LinkMap:
      properties: {}
      additionalProperties:
        $ref: '#/components/schemas/LinkConfig'
      type: object
    Optional_string_:
      type:
      - string
      - 'null'
    PropertyType_V2:
      properties:
        properties:
          items:
            $ref: '#/components/schemas/Property_V2'
          type: array
        name:
          type: string
      required:
      - name
      type: object
    ContentType_V2:
      properties:
        properties:
          items:
            $ref: '#/components/schemas/ContentTypeProperty_V2'
          type: array
        abstract:
          type: boolean
        base:
          type: string
        description:
          $ref: '#/components/schemas/Optional_string_'
        sortOrder:
          type: number
          format: double
        displayName:
          $ref: '#/components/schemas/Optional_string_'
        contentType:
          items:
            type: string
          type: array
        name:
          type: string
      required:
      - properties
      - contentType
      - name
      type: object
    LinkConfig:
      properties:
        to:
          type: string
        from:
          type: string
      required:
      - to
      - from
      type: object
    Property_V2:
      properties:
        index:
          type: boolean
        searchable:
          type: boolean
        type:
          type: string
        name:
          type: string
      required:
      - type
      - name
      type: object
    ContentSource_V2:
      properties:
        useTypedFieldNames:
          type: boolean
        languages:
          items:
            type: string
          type: array
          default: []
        links:
          $ref: '#/components/schemas/LinkMap'
        contentTypes:
          items:
            $ref: '#/components/schemas/ContentType_V2'
          type: array
          default: []
        propertyTypes:
          items:
            $ref: '#/components/schemas/PropertyType_V2'
          type: array
          default: []
      type: object
      additionalProperties: false
      example:
        languages:
        - en
        links: {}
        contentTypes:
        - name: IContent
          contentType: []
          properties:
          - name: id
            type: string
          - name: Name
            type: string
        - name: StartPage
          contentType:
          - IContent
          properties:
          - name: MainBody
            type: string
          - name: MainContentArea
            type: string
        propertyTypes: []
  securitySchemes:
    epi-single:
      type: apiKey
      name: auth
      in: query
      description: Single key authentication
    epi-hmac:
      type: apiKey
      name: Authorization
      in: header
      description: HMAC authentication (`epi-hmac xxx`)
    Basic:
      type: http
      scheme: basic
      description: HMAC credentials
    Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT token
x-refined-from:
- optimizely-platform-optimizely-optimizely-graph-api-openapi.json
- optimizely-platform-optimizely-swagger-openapi.json