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] 내가 스크랩한 게시물 목록 #41

Open
woorim960 opened this issue Dec 4, 2023 · 0 comments
Open

[API Doc] 내가 스크랩한 게시물 목록 #41

woorim960 opened this issue Dec 4, 2023 · 0 comments
Assignees
Labels
API 설계 API 설계 및 명세화 우선순위_필수 무조건 개발

Comments

@woorim960
Copy link
Contributor

woorim960 commented Dec 4, 2023

API

내가 스크랩한 게시물 목록 조회

Request

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

Response

  • http-status: 200 OK
{
   "success": true,
   "message": "성공했습니다.",
   "data": {
      "scrappedMagazineIds": ["1"]
   }
}

매거진 스크랩하기

Request

  • method: POST
  • path: /api/consumer/{consumerId}/scraps/{magazineId}
  • header:
{
    "Content-Type": "application/json; charset=utf-8"
}

Response

  • http-status: 201 Created
{
   "success": true,
   "message": "성공했습니다.",
   "result": {
      "scrappedMagazineId": "UPDATED"
   }
}
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