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] 다른 사람 프로필 조회 #26

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

[API Doc] 다른 사람 프로필 조회 #26

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

Comments

@yeeeun0514
Copy link
Contributor

API

다른 사람 프로필 조회

Request

  • method: GET
  • path: /api/consumer/detail?consumerId={consumerId}&myId={consumerId}
  • header:
{
    "Content-Type": "application/json; charset=utf-8"
}

Response

  • http-status: 200 OK
{
    "success": true,
    "message": "성공했습니다",
    "data": {
        "consumer": {
            "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"
        },
        "isFollow": true
    }
}
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