易图设计
API PlaygroundPosts

List posts

Return all posts, optionally filtered by author.

GET
/posts

Return all posts, optionally filtered by author.

查询参数

userId?integer

Only return posts by this user.

响应主体

application/json

curl -X GET "https://example.com/posts"
[  {    "title": "string",    "body": "string",    "userId": 0,    "id": 0  }]