Authorization: Bearer ********************curl --location --request GET '/posts/home?page' \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "string",
"data": {
"posts": [
{
"id": "string",
"userId": "string",
"description": "string",
"isPublished": true,
"createdAt": "string",
"updatedAt": "string",
"user": {
"id": "string",
"username": "string",
"name": "string"
},
"media": {
"url": "string",
"fileType": "string",
"fileSize": 0,
"duration": 0,
"thumbnail": {
"url": "string"
}
},
"hashtags": [
"string"
],
"_count": {
"likes": 0,
"views": 0,
"shares": 0
},
"isLiked": true,
"isBookmarked": true
}
],
"pagination": {
"total": 0,
"page": 0,
"limit": 0,
"pages": 0
}
}
}