blogs
retrieve a single blog post
get/blogs/{blogId}
Request
- Base URLhttps://staging.api-golang.boilerplate.hng.tech/api/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
blogIdinteger required
Response
Successful response
Example response
{
"status": "success",
"status_code": 200,
"message": "Blog post retrieved successfully.",
"data": {
"title": "New Blog Post",
"content": "This is the content of the new blog post",
"image_url": "http://image.com",
"category": "Tech"
}
}Changes
No recorded changes to this operation across all 15 revisions of this API.