Unique identifier for the post
List Posts
Retrieve a list of all blog posts
GET
/posts Overview
Returns a list of all blog posts. Supports filtering by user ID and pagination.
Query Parameters
Query Parameters
userId Filter posts by a specific user ID
_limit Maximum number of posts to return
_start Number of posts to skip for pagination
Response
Returns an array of post objects.
id integer userId integer ID of the user who created the post
title string Title of the post
body string Content of the post
Example Response
[ { "userId": 1, "id": 1, "title": "sunt aut facere repellat provident occaecati excepturi optio reprehenderit", "body": "quia et suscipit\nsuscipit recusandae consequuntur expedita..." }, { "userId": 1, "id": 2, "title": "qui est esse", "body": "est rerum tempore vitae\nsequi sint nihil reprehenderit dolor..." }]Filtering Examples
Get posts by a specific user
GET /posts?userId=1Paginate results
GET /posts?_start=10&_limit=5 Try it out
GET
/posts