Pages API

The Pages API allows you to create and manage arbitrary content pages for a website.  


Create Page

POST /v1/{site_name}/pages

Parameters

Required:

post_type: str
post_content: str
post_title: str

Optional:

categories: list
tags: list
thumbnail: str
slug: str 
attachment_ids: list
post_excerpt: str
post_status: str
post_date: datetime 

Get Page

GET  /v1/{site_name}/pages/{page_id}

Edit Page

PUT  /v1/{site_name}/pages/{page_id}

Optional:

 

post_type: str
post_content: str
post_title: str
categories: list
tags: list
thumbnail: str
attachment_ids: list
post_excerpt: str
post_status: str
post_date: datetime 

 


Delete Page

DELETE  /v1/{site_name}/pages/{page_id}