Get Blog Posts
Changed onRetrieves the blog posts.
Request
- Base URLhttps://api.sellauth.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"page": 6,
"perPage": 15,
"orderColumn": "id",
"orderDirection": "asc",
"title": "qotbhpzwonwlzospqcsns"
}Response
Example response
{
"current_page": 1,
"data": [
{
"id": 1,
"metadata": null,
"shop_id": 1,
"ai_generated": false,
"topic_type": null,
"path": "welcome",
"title": "Welcome",
"summary": "Welcome to our shop.",
"image_id": null,
"meta_title": null,
"meta_description": null,
"created_at": "2026-11-01T20:00:51.000000Z",
"updated_at": "2026-11-01T20:00:51.000000Z",
"image": null
}
],
"first_page_url": "http://api.sellauth.test/v1/shops/1/blog-posts?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://api.sellauth.test/v1/shops/1/blog-posts?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "http://api.sellauth.test/v1/shops/1/blog-posts?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"next_page_url": null,
"path": "http://api.sellauth.test/v1/shops/1/blog-posts",
"per_page": 15,
"prev_page_url": null,
"to": 1,
"total": 1
}Changes
- breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
added the optional property
//to the response with the status
- breaking
- info
added the optional property
//to the response with the status
- info