Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API Doc] 매거진 리스트 조회 #28

Open
yeeeun0514 opened this issue Dec 2, 2023 · 0 comments
Open

[API Doc] 매거진 리스트 조회 #28

yeeeun0514 opened this issue Dec 2, 2023 · 0 comments
Assignees
Labels
API 설계 API 설계 및 명세화

Comments

@yeeeun0514
Copy link
Contributor

API

매거진 조회

Request

  • method: GET
  • path: /api/magazine/all?consumerId={consumerId}
  • header:
{
    "Content-Type": "application/json; charset=utf-8"
}

Response

  • http-status: 200 OK
{
    "success": true,
    "message": "성공했습니다",
    "data": {
        "magazines": [
            {
                "docId": "1",
                "magazineId": "1",
                "consumerId": "consumer1",
                "magazineContent": "조거팬트로 하루를 따듯하게!!",
                "likedCnt": 10,
                "folderId": "1",
                "goodsIds": [
                    "3293205512"
                ],
                "photoUrls": [
                    "/magazine1-1.png"
                ],
                "upDt": "2023-12-05"
            },
            {
                "docId": "2",
                "magazineId": "2",
                "consumerId": "consumer1",
                "magazineContent": "밴딩 기모바지가 필요한가?",
                "likedCnt": 3,
                "folderId": "1",
                "goodsIds": [
                    "3317134297"
                ],
                "photoUrls": [
                    "/magazine2-1.png"
                ],
                "upDt": "2023-12-05"
            },
            {
                "docId": "3",
                "magazineId": "3",
                "consumerId": "consumer1",
                "magazineContent": "올해 레깅스는 이걸로!!",
                "likedCnt": 232,
                "folderId": "1",
                "goodsIds": [
                    "2835289263"
                ],
                "photoUrls": [
                    "/magazine3-1.png"
                ],
                "upDt": "2023-12-05"
            },
            {
                "docId": "4",
                "magazineId": "4",
                "consumerId": "consumer1",
                "magazineContent": "레깅스 힙커버 Y존! 이게 힙템이다!?!?",
                "likedCnt": 1073,
                "folderId": "1",
                "goodsIds": [
                    "3043546992"
                ],
                "photoUrls": [
                    "/magazine4-1.png"
                ],
                "upDt": "2023-12-05"
            },
            {
                "docId": "5",
                "magazineId": "5",
                "consumerId": "consumer1",
                "magazineContent": "운동할때마다 입는데 너무 편하네요..! 조거팬츠 트레이닝복 다들 입어보셔요~~",
                "likedCnt": 203,
                "folderId": "1",
                "goodsIds": [
                    "2989516462"
                ],
                "photoUrls": [
                    "/magazine5-1.png"
                ],
                "upDt": "2023-12-05"
            }
        ]
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API 설계 API 설계 및 명세화
Projects
None yet
Development

No branches or pull requests

1 participant