Posts
Update a post
Update an existing post if you made a mistake or have something to add
patch/posts/{postId}
Path parameters
postIdstring uuid required
Example:123e4567-e89b-12d3-a456-426614174000
Unique identifier of the post
Request body
Example request
{
"username": "john_doe",
"content": "Just had an amazing hike in the mountains! The view was breathtaking. #outdoorlife #hiking"
}Response
Post updated successfully
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
}