Path parameters
idstringrequired
The ID of the blog post to retrieve.
Response
idstring
The unique identifier for this blog post.
objectstring
This will always contain post
for this endpoint.
titlestring
The title for the blog post.
descriptionstring
A short description of the blog post.
contentstring
The HTML content of the blog post.
slugstring
The unique slug for this blog post.
authorstring
The author of the blog post.
feature_imagestring
The URL of the featured image.
blogstring | object
The ID of the blog this post belongs to.
publish_datestring
The date and time when the blog post will be published.
created_atstring
The date and time when the blog post was created.
updated_atstring
The date and time when the blog post was updated.
import Blutui from 'blutui'
const blutui = new Blutui('ey....')
blutui.project('one').admin.posts.get('9a53098c-29df-4347-bfdb-49be0850db29')
Response
{
"id": "9a53098c-29df-4347-bfdb-49be0850db29",
"object": "post",
"title": "A very awesome post",
"description": "A short description about my awesome post.",
"content": "<p>My post content</p>",
"slug": "/a-very-awesome-post",
"author": "John Doe",
"feature_image": "https://cdn.blutui.com/uploads/one/image.jpg",
"blog": "99e2addd-e8d2-45c3-8184-fbcae8a6cf29",
"publish_date": "2024-09-25T11:00:00+12:00",
"created_at": "2024-08-14T16:49:46+12:00",
"updated_at": "2024-08-14T16:49:46+12:00"
}