Comments
List comments for a post
Retrieve all comments on a specific post
get/posts/{postId}/comments
Path parameters
postIdstring uuid required
Example:123e4567-e89b-12d3-a456-426614174000
Unique identifier of the post
Response
Successfully retrieved comments
Example response
[
{
"id": "987fcdeb-51a2-43d1-9f6b-123456789abc",
"postId": "123e4567-e89b-12d3-a456-426614174000",
"username": "jane_smith",
"content": "Great photo! Where was this taken?",
"createdAt": "2025-06-01T11:15:00Z",
"updatedAt": "2025-06-01T11:15:00Z"
}
]