Getting started with Content Management API
This topic shows list of endpoints included with the Optimizely Content Management API.
Get
Returns the primary draft or latest published version of a content object.
GET | /api/episerver/v3.0/contentmanagement/{contentGuid} |
GET | /api/episerver/v3.0/contentmanagement/{contentReference} |
Create
Creates a content object of the desired type under a parent. The endpoint also can be used to create a new language branch for existing content.
POST | /api/episerver/v3.0/contentmanagement |
Update
Update primary draft or latest version of a content object. This endpoint is ideal for changing a part of content, especially content status (for example, make it published) if needed. This endpoint cannot be used to update the content hierarchy.
PATCH | /api/episerver/v3.0/contentmanagement/{contentGuid} |
PATCH | /api/episerver/v3.0/contentmanagement/{contentReference} |
Delete
Moves the content object to the trash bin or permanently deletes it.
DELETE | /api/episerver/v3.0/contentmanagement/{contentGuid} |
DELETE | /api/episerver/v3.0/contentmanagement/{contentReference} |
Move
Moves the content object to become a child of the target ID.
POST | /api/episerver/v3.0/contentmanagement/{contentGuid}/move |
POST | /api/episerver/v3.0/contentmanagement/{contentReference}/move |
CreateOrUpdate
If the content already exists, then the endpoint updates the content object. If it does not exist, a new content object is created. This endpoint cannot be used to update the content hierarchy.
PUT | /api/episerver/v3.0/contentmanagement/{contentGuid} |
Updated 2 months ago