Request
카테고리 조회 할때는 /posts/myPost?category=EXERCISE
Response
{
routinePosts: routinePost[],
}
routinePost[]
: 루틴 게시글을 담은 배열
{
"data": [
{
"postId": 4,
"createdAt": "2021-12-17 00:12:24",
"updatedAt": "2021-12-17 00:12:24",
"user": {
"userId": 4,
"nickname": "다슬",
"profileImage": "https://yas-bucket.s3.ap-northeast-2.amazonaws.com/static/sun.nio.ch.ChannelInputStream%404b6c79ac"
},
"routine": {
"routineId": 9,
"name": "맛있는 저녁 먹기",
"emoji": "🍱",
"durationGoalTime": 0,
"category": []
},
"likesResponse": [
{
"userId": 4
}
]
},
{
"postId": 9,
"createdAt": "2021-12-17 01:38:00",
"updatedAt": "2021-12-17 01:38:00",
"user": {
"userId": 4,
"nickname": "다슬",
"profileImage": "https://yas-bucket.s3.ap-northeast-2.amazonaws.com/static/sun.nio.ch.ChannelInputStream%404b6c79ac"
},
"routine": {
"routineId": 31,
"name": "맛있는 저녁 먹기",
"emoji": "😎",
"durationGoalTime": 0,
"category": []
},
"likesResponse": []
}
}