Blog API
GET /api/v1/blog
Section titled “GET /api/v1/blog”Returns a paginated list of published blog posts (without full content).
Request
Section titled “Request”# All published postscurl https://admin.deploymonkey.com/api/v1/blog
# Filter by categorycurl https://admin.deploymonkey.com/api/v1/blog?category=tutorials
# Paginationcurl https://admin.deploymonkey.com/api/v1/blog?limit=5&offset=0Query Parameters
Section titled “Query Parameters”| Parameter | Type | Default | Description |
|---|---|---|---|
category | string | — | Filter by category slug |
limit | integer | 20 | Number of posts to return |
offset | integer | 0 | Number of posts to skip |
Response
Section titled “Response”{ "success": true, "posts": [ { "id": 1, "name": "Getting Started with Odoo 19", "slug": "getting-started-odoo-19", "excerpt": "A beginner's guide to setting up Odoo 19...", "category": { "id": 1, "name": "Tutorials", "slug": "tutorials" }, "author_name": "Deploy Monkey Team", "read_time": "5 min read", "published_date": "2025-01-15", "is_featured": true, "cover_image_url": "/images/blog/odoo-19-guide.jpg", "meta_title": "Getting Started with Odoo 19 | Deploy Monkey", "meta_description": "Learn how to deploy and configure Odoo 19..." } ], "total": 12, "limit": 20, "offset": 0}GET /api/v1/blog/<slug>
Section titled “GET /api/v1/blog/<slug>”Returns a single blog post with full HTML content.
Request
Section titled “Request”curl https://admin.deploymonkey.com/api/v1/blog/getting-started-odoo-19Response
Section titled “Response”{ "success": true, "post": { "id": 1, "name": "Getting Started with Odoo 19", "slug": "getting-started-odoo-19", "excerpt": "A beginner's guide to setting up Odoo 19...", "content": "<h2>Introduction</h2><p>Odoo 19 brings...</p>", "category": { "id": 1, "name": "Tutorials", "slug": "tutorials" }, "author_name": "Deploy Monkey Team", "read_time": "5 min read", "published_date": "2025-01-15", "is_featured": true, "cover_image_url": "/images/blog/odoo-19-guide.jpg", "meta_title": "Getting Started with Odoo 19 | Deploy Monkey", "meta_description": "Learn how to deploy and configure Odoo 19..." }}Post Object
Section titled “Post Object”| Field | Type | Description |
|---|---|---|
id | integer | Post ID |
name | string | Post title |
slug | string | URL slug |
excerpt | string | Short preview text |
content | string | Full HTML content (only in single post endpoint) |
category | object | Category with id, name, slug |
author_name | string | Display author name |
read_time | string | Estimated read time |
published_date | string | Publication date (YYYY-MM-DD) |
is_featured | boolean | Whether the post is featured |
cover_image_url | string | URL to cover image |
meta_title | string | SEO meta title |
meta_description | string | SEO meta description |
Error Response (Post Not Found)
Section titled “Error Response (Post Not Found)”{ "success": false, "error": "Post not found"}