curl https://api-verifier-2.onrender.com/api/blog/getting-started-with-mt5-trading-abc123
{
"_id": "65a1b2c3d4e5f6g7h8i9j0k1",
"title": "Getting Started with MT5 Trading",
"slug": "getting-started-with-mt5-trading-abc123",
"summary": "Learn the basics of MT5 trading platform",
"content": "Full post content here...",
"contentRaw": "Raw markdown content...",
"tags": ["trading", "mt5", "beginner"],
"coverImageUrl": "https://example.com/image.jpg",
"authorId": {
"firstName": "John",
"lastName": "Doe"
},
"likesCount": 42,
"visibility": "public",
"createdAt": "2024-01-10T08:00:00.000Z",
"publishedAt": "2024-01-12T10:00:00.000Z"
}
Blog
Get post by slug
Retrieve a single blog post by its slug
GET
/
api
/
blog
/
{slug}
curl https://api-verifier-2.onrender.com/api/blog/getting-started-with-mt5-trading-abc123
{
"_id": "65a1b2c3d4e5f6g7h8i9j0k1",
"title": "Getting Started with MT5 Trading",
"slug": "getting-started-with-mt5-trading-abc123",
"summary": "Learn the basics of MT5 trading platform",
"content": "Full post content here...",
"contentRaw": "Raw markdown content...",
"tags": ["trading", "mt5", "beginner"],
"coverImageUrl": "https://example.com/image.jpg",
"authorId": {
"firstName": "John",
"lastName": "Doe"
},
"likesCount": 42,
"visibility": "public",
"createdAt": "2024-01-10T08:00:00.000Z",
"publishedAt": "2024-01-12T10:00:00.000Z"
}
Path parameters
The URL-friendly slug of the post
Response
Blog post object
Show properties
Show properties
Post ID
Post title
URL-friendly slug
Post summary
Post content
Raw content for editing
Array of tags
Cover image URL
Author information
Number of likes
Array of user IDs who liked the post
Edit history
curl https://api-verifier-2.onrender.com/api/blog/getting-started-with-mt5-trading-abc123
{
"_id": "65a1b2c3d4e5f6g7h8i9j0k1",
"title": "Getting Started with MT5 Trading",
"slug": "getting-started-with-mt5-trading-abc123",
"summary": "Learn the basics of MT5 trading platform",
"content": "Full post content here...",
"contentRaw": "Raw markdown content...",
"tags": ["trading", "mt5", "beginner"],
"coverImageUrl": "https://example.com/image.jpg",
"authorId": {
"firstName": "John",
"lastName": "Doe"
},
"likesCount": 42,
"visibility": "public",
"createdAt": "2024-01-10T08:00:00.000Z",
"publishedAt": "2024-01-12T10:00:00.000Z"
}
⌘I