Optimizely · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Admin API V1 Content Page States API
10 actions
10 updates
phrasing
extends
openapi/optimizely-content-page-states-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.
What the actions change
x-apievangelist-phrasing
Targets 10
$.info
$.paths['/api/v1/admin/ContentPageStates'].get
$.paths['/api/v1/admin/ContentPageStates'].post
$.paths['/api/v1/admin/ContentPageStates({id})'].get
$.paths['/api/v1/admin/ContentPageStates({id})'].put
$.paths['/api/v1/admin/ContentPageStates({id})'].delete
$.paths['/api/v1/admin/ContentPageStates({id})'].patch
$.paths['/api/v1/admin/ContentPageStates/Default.Default()'].get
$.paths['/api/v1/admin/contentpagestates/delete'].delete
$.paths['/api/v1/admin/contentpagestates({key})/customproperties({custompropertyKey})'].get
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Admin API V1 Content Page States API
version: 1.0.0
extends: openapi/optimizely-content-page-states-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-09-26'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 9
- target: $.paths['/api/v1/admin/ContentPageStates'].get
update:
x-apievangelist-phrasing:
intent: List content page states
effect: read
questions:
- How can I see all the saved page states in the CMS?
- Can I filter content page states by language or persona?
instructions:
- text: List all content page states.
- text: Show content page states matching {filter}.
slots:
filter: query.$filter
method: generated
generated: '2026-09-26'
- target: $.paths['/api/v1/admin/ContentPageStates'].post
update:
x-apievangelist-phrasing:
intent: Create a content page state
effect: write
questions:
- What is required to create a new content page state?
- Can I create a page variant for a specific persona or device type?
instructions:
- text: Create page state {name} with variant {variantName} at path {path}.
slots:
name: requestBody.name
variantName: requestBody.variantName
path: requestBody.path
- text: Add a {deviceType} page state {name} at {path} for variant {variantName}.
slots:
deviceType: requestBody.deviceType
name: requestBody.name
path: requestBody.path
variantName: requestBody.variantName
method: generated
generated: '2026-09-26'
- target: $.paths['/api/v1/admin/ContentPageStates({id})'].get
update:
x-apievangelist-phrasing:
intent: Get one content page state
effect: read
questions:
- How do I open a single content page state by id?
- What publishing info is stored on one page state?
instructions:
- text: Fetch content page state {id}.
slots:
id: path.id
- text: Show the details of page state {id}.
slots:
id: path.id
method: generated
generated: '2026-09-26'
- target: $.paths['/api/v1/admin/ContentPageStates({id})'].put
update:
x-apievangelist-phrasing:
intent: Replace a content page state
effect: write
questions:
- Can I overwrite a whole content page state record?
- Does replacing a page state require its name, variant and path again?
instructions:
- text: Replace page state {id} with name {name}, variant {variantName} and path {path}.
slots:
id: path.id
name: requestBody.name
variantName: requestBody.variantName
path: requestBody.path
- text: Overwrite the full content page state {id}.
slots:
id: path.id
method: generated
generated: '2026-09-26'
- target: $.paths['/api/v1/admin/ContentPageStates({id})'].delete
update:
x-apievangelist-phrasing:
intent: Delete a single content page state
effect: destructive
questions:
- How do I delete one content page state?
- Can I make a page state delete conditional on its ETag?
instructions:
- text: Delete content page state {id}.
slots:
id: path.id
- text: Delete page state {id} if the ETag is still {etag}.
slots:
id: path.id
etag: header.If-Match
method: generated
generated: '2026-09-26'
- target: $.paths['/api/v1/admin/ContentPageStates({id})'].patch
update:
x-apievangelist-phrasing:
intent: Schedule or edit part of a content page state
effect: write
questions:
- Can I schedule an existing page state to publish later?
- Is there a way to unpublish a page state without deleting it?
instructions:
- text: Schedule page state {id} to publish on {futurePublishOn}.
slots:
id: path.id
futurePublishOn: requestBody.futurePublishOn
- text: Set the unpublished flag on page state {id} to {isUnpublished}.
slots:
id: path.id
isUnpublished: requestBody.isUnpublished
method: generated
generated: '2026-09-26'
- target: $.paths['/api/v1/admin/ContentPageStates/Default.Default()'].get
update:
x-apievangelist-phrasing:
intent: Get default values for a new page state
effect: read
questions:
- What defaults does a new content page state start with?
- Is there a blank page state record I can use as a template?
instructions:
- text: Get the default values for a new content page state.
- text: Show the empty content page state record.
method: generated
generated: '2026-09-26'
- target: $.paths['/api/v1/admin/contentpagestates/delete'].delete
update:
x-apievangelist-phrasing:
intent: Delete several content page states at once
effect: destructive
questions:
- How do I bulk delete content page states?
- Can I remove a list of page states by id in one request?
instructions:
- text: Bulk delete content page states {ids}.
slots:
ids: query.ids
- text: Permanently delete every page state in {ids}.
slots:
ids: query.ids
method: generated
generated: '2026-09-26'
- target: $.paths['/api/v1/admin/contentpagestates({key})/customproperties({custompropertyKey})'].get
update:
x-apievangelist-phrasing:
intent: Get a custom property on a content page state
effect: read
questions:
- How do I read a custom property on a content page state?
- Can I fetch one custom field from a page state?
instructions:
- text: Get custom property {custompropertyKey} of page state {key}.
slots:
key: path.key
custompropertyKey: path.custompropertyKey
- text: Show the {custompropertyKey} custom property on content page state {key}.
slots:
key: path.key
custompropertyKey: path.custompropertyKey
method: generated
generated: '2026-09-26'
Work with this as data
Every overlay 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 openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/optimizely-content-page-states-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.