List all posts
Changed onRetrieve all recent posts to browse what others are sharing
Request
- Base URLhttp://localhost:8080/api
- URLhttp://localhost:8080/api/posts
- Authnone declared
Response
Successfully retrieved posts
Example response
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"username": "john_doe",
"content": "Just had an amazing hike in the mountains! #outdoorlife",
"createdAt": "2025-06-01T10:30:00Z",
"updatedAt": "2025-06-01T10:30:00Z",
"likesCount": 15,
"commentsCount": 3
}
]Changes
- breaking
the
/response property's maxLength was increased from1000to2000for the response status - breaking
the
response's property type changed fromobjecttoarrayfor status - info
api operation id
listPostsremoved and replaced withgetPosts
- breaking
- breaking
the
/response's property type changed fromintegertostring, and format from no format touuidfor status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - info
api operation id
getPostsremoved and replaced withlistPosts - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- breaking