Get Blogs for Public Listing
This request calls the admin blog-details endpoint, so it returns one blog post with its full content, exactly like "Get Blog Details Admin". It does not list blogs for the public site.
GET
/admin/blog/{blogId}Get Blogs for Public Listing
curl --request GET \
--url 'https://<your-api-host>/nuSource/api/v1/admin/blog/{blogId}' \
--header 'APIKEY: <your-api-key>' \
--header 'ORGID: <your-org-id>'{
"code": 200,
"message": "Blog details fetched successfully.",
"blog_details": {
"blog_id": 12,
"blog_url_slug": "test-blog",
"blog_title": "Test Blog",
"blog_excerpt": "asdasdas",
"blog_content_file_id": 3789887,
"is_featured": 0,
"is_promoted": 0,
"blog_meta_title": "Test Blog",
"minutes_read": 1,
"blog_meta_desc": "asdasdas",
"blog_status": 2,
"visibility_option": 0,
"publish_date": 1758855641,
"author_user_id": 7098852,
"blog_content_file_path": "Institution(208)/Blogs/",
"stream_ids": [
"684",
"1251"
],
"subscription_plan_ids": [],
"tag_ids": [],
"blog_image_url": null,
"featured_image_url": null,
"blog_content": "<p>sadasdas<br>adsdas</p>\n"
}
}Access: Institute admins, plus custom roles that can view blogs.
Path parameters
Blog ID, from "Get Blogs Listing Admin".
Response
codeinteger
Example:
200messagestring
Example:
Blog details fetched successfully.blog_detailsobject
Show child attributesHide child attributes
blog_details.blog_idinteger
Example:
12Example:
test-blogblog_details.blog_titlestring
Example:
Test BlogExample:
asdasdasExample:
3789887blog_details.is_featuredinteger
Example:
0blog_details.is_promotedinteger
Example:
0Example:
Test BlogExample:
asdasdasblog_details.author_user_idinteger
Example:
7098852Internal storage references you can ignore
Example:
Institution(208)/Blogs/blog_details.stream_idsstring[]
blog_details.tag_idsarray
Arrays of IDs as strings
Image links, or
nullNotes: The blog must belong to an organization of the institute that owns the website host you call; otherwise "Invalid blog id provided.". Archived posts are returned too. Rate limit: 30 requests per 1 minute; going over locks you out for 30 minutes.