blogs
get all blogs from the lastest
get/blogs
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.
Query parameters
pageinteger
The page number for pagination
limitinteger
The number of items per page
Response
A list of all blogs
Example response
{
"status": "success",
"status_code": 200,
"message": "Blogs 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.