Content REST API Reference
Programmatically create, update, and publish pages, articles, and media assets.
Content REST API Reference
Programmatically manage, query, and publish pages, articles, and media via REST endpoints.
Endpoints Overview
The EdgeOrigin Content API provides RESTful endpoints to manage pages, blog posts, media assets, and publishing workflows.
1. List Pages
HTTP GET
/api/pages
GET /api/pages HTTP/1.1
Host: edgeorigin.app
Authorization: Bearer YOUR_SITE_TOKEN
2. Create or Update a Page
HTTP POST
/api/pages
POST /api/pages HTTP/1.1
Host: edgeorigin.app
Authorization: Bearer YOUR_SITE_TOKEN
Content-Type: application/json
{
"title": "Solutions for Enterprises",
"slug": "enterprise-solutions",
"content": "Enterprise Cloud
High scale delivery.
",
"seoTitle": "Enterprise Solutions | EdgeOrigin",
"seoDescription": "Discover enterprise web solutions.",
"status": "published"
}
3. Publish Website Changes
HTTP POST
/api/publish
POST /api/publish HTTP/1.1
Host: edgeorigin.app
Authorization: Bearer YOUR_SITE_TOKEN
