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] 컨슈머 TOP #34

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

[API Doc] 컨슈머 TOP #34

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

Comments

@yeeeun0514
Copy link
Contributor

API

컨슈머 TOP 조회

모든 consumer의 Score를 기준으로 높은 순서대로 응답합니다
최대 응답갯수 10000

Request

  • method: GET
  • path: /api/consumer/rank
  • header:
{
    "Content-Type": "application/json; charset=utf-8"
}

Response

  • http-status: 200 OK
{
    "success": true,
    "message": "성공했습니다",
    "data": {
        "consumers": [
            {
                "id": "consumer1",
                "consumerId": "consumer1",
                "consumerNickname": "주부9단",
                "consumerRank": 5,
                "consumerScore": 32000,
                "profileContent": "지마켓 대표 주부9단",
                "profileUrl": "/healthcheck.png",
                "scrappedMagazineIds": [],
                "likedMagazineIds": [
                    "1",
                    "2",
                    "3",
                    "4",
                    "5"
                ],
                "followerConsumerIds": [
                    "consumer2",
                    "consumer3",
                    "consumer4",
                    "consumer5",
                    "consumer6",
                    "consumer7",
                    "consumer8",
                    "consumer9",
                    "consumer10"
                ],
                "followingConsumerIds": [
                    "consumer2",
                    "consumer3",
                    "consumer6",
                    "consumer8",
                    "consumer10"
                ],
                "upDt": "2023-12-05"
            },
            {
                "id": "consumer2",
                "consumerId": "consumer2",
                "consumerNickname": "G구본",
                "consumerRank": 5,
                "consumerScore": 29000,
                "profileContent": "G구본의 잡학다식",
                "profileUrl": "/healthcheck.png",
                "scrappedMagazineIds": [],
                "likedMagazineIds": [],
                "followerConsumerIds": [
                    "consumer1"
                ],
                "followingConsumerIds": [
                    "consumer1"
                ],
                "upDt": "2023-12-05"
            },
            {
                "id": "consumer10",
                "consumerId": "consumer10",
                "consumerNickname": "규리니",
                "consumerRank": 5,
                "consumerScore": 23480,
                "profileContent": "지마켓 영업은 저에게!!",
                "profileUrl": "/healthcheck2.png",
                "scrappedMagazineIds": [],
                "likedMagazineIds": [],
                "followerConsumerIds": [
                    "consumer1"
                ],
                "followingConsumerIds": [
                    "consumer1"
                ],
                "upDt": "2023-12-05"
            },
            {
                "id": "consumer3",
                "consumerId": "consumer3",
                "consumerNickname": "서은맘",
                "consumerRank": 5,
                "consumerScore": 21000,
                "profileContent": "Don't worry be happy!",
                "profileUrl": "/healthcheck.png",
                "scrappedMagazineIds": [],
                "likedMagazineIds": [],
                "followerConsumerIds": [
                    "consumer1"
                ],
                "followingConsumerIds": [
                    "consumer1"
                ],
                "upDt": "2023-12-05"
            },
            {
                "id": "consumer4",
                "consumerId": "consumer4",
                "consumerNickname": "남편9단",
                "consumerRank": 5,
                "consumerScore": 17500,
                "profileContent": "평화로운 일상",
                "profileUrl": "/healthcheck.png",
                "scrappedMagazineIds": [],
                "likedMagazineIds": [],
                "followerConsumerIds": [],
                "followingConsumerIds": [
                    "consumer1"
                ],
                "upDt": "2023-12-05"
            },
            {
                "id": "consumer5",
                "consumerId": "consumer5",
                "consumerNickname": "rlawlgns123",
                "consumerRank": 5,
                "consumerScore": 12300,
                "profileContent": "장난감 리뷰 전문!",
                "profileUrl": "/healthcheck.png",
                "scrappedMagazineIds": [],
                "likedMagazineIds": [],
                "followerConsumerIds": [],
                "followingConsumerIds": [
                    "consumer1"
                ],
                "upDt": "2023-12-05"
            },
            {
                "id": "consumer6",
                "consumerId": "consumer6",
                "consumerNickname": "홍학철",
                "consumerRank": 4,
                "consumerScore": 9800,
                "profileContent": "디지털, 전자기기 리뷰어 입니다!",
                "profileUrl": "/healthcheck2.png",
                "scrappedMagazineIds": [],
                "likedMagazineIds": [],
                "followerConsumerIds": [
                    "consumer1"
                ],
                "followingConsumerIds": [
                    "consumer1"
                ],
                "upDt": "2023-12-05"
            },
            {
                "id": "consumer7",
                "consumerId": "consumer7",
                "consumerNickname": "Ha_ppy",
                "consumerRank": 3,
                "consumerScore": 5300,
                "profileContent": "좋은 연말 되세요",
                "profileUrl": "/healthcheck2.png",
                "scrappedMagazineIds": [],
                "likedMagazineIds": [],
                "followerConsumerIds": [],
                "followingConsumerIds": [
                    "consumer1"
                ],
                "upDt": "2023-12-05"
            },
            {
                "id": "consumer8",
                "consumerId": "consumer8",
                "consumerNickname": "뷰티Create",
                "consumerRank": 2,
                "consumerScore": 2200,
                "profileContent": "11/23 G-Lice '뷰티편' 출연!",
                "profileUrl": "/healthcheck2.png",
                "scrappedMagazineIds": [],
                "likedMagazineIds": [],
                "followerConsumerIds": [
                    "consumer1"
                ],
                "followingConsumerIds": [
                    "consumer1"
                ],
                "upDt": "2023-12-05"
            },
            {
                "id": "consumer9",
                "consumerId": "consumer9",
                "consumerNickname": "사나이",
                "consumerRank": 2,
                "consumerScore": 2200,
                "profileContent": "자동차 리뷰는 저에게!!",
                "profileUrl": "/healthcheck2.png",
                "scrappedMagazineIds": [],
                "likedMagazineIds": [],
                "followerConsumerIds": [],
                "followingConsumerIds": [
                    "consumer1"
                ],
                "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