Path parameters

idstringrequired

The ID of the blog to retrieve.

Response

idstring

The unique identifier for this blog.

objectstring

This will always contain blog for this endpoint.

namestring

The name of this blog.

slugstring

The unique slug for this blog.

uristring

The URL used to view all posts that belong to this blog.

layoutstring

The layout used to display all blog posts.

post_layoutstring

The layout used to display a single post in this blog.

created_atstring

The date and time when the blog was created.

updated_atstring

The date and time when the blog was updated.

import Blutui from 'blutui'

const blutui = new Blutui('ey....')

blutui.project('one').admin.blogs.get('99e2addd-e8d2-45c3-8184-fbcae8a6cf29')
Response
{
  "id": "99e2addd-e8d2-45c3-8184-fbcae8a6cf29",
  "object": "blog",
  "name": "Blog",
  "slug": "blogs",
  "uri": "/blogs",
  "layout": "blog/layout.canvas",
  "post_layout": "blog/post-layout.canvas",
  "created_at": "2023-08-14T16:49:46+12:00",
  "updated_at": "2023-08-14T16:49:46+12:00"
}

Was this helpful?