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

공지사항, FAQ API 협의 #24

Open
jungmir opened this issue Feb 4, 2025 · 5 comments
Open

공지사항, FAQ API 협의 #24

jungmir opened this issue Feb 4, 2025 · 5 comments
Assignees
Labels

Comments

@jungmir
Copy link
Member

jungmir commented Feb 4, 2025

📌 Description

  • 공지사항, FAQ API 에 대해 프론트 팀과 협의 필요
  • 논의 내용
    • 필요한 데이터
    • API 형태
    • 응답 형태
    • 에러 메시지 형태
@jungmir jungmir added the co-work label Feb 4, 2025
@jungmir jungmir self-assigned this Feb 4, 2025
@jungmir
Copy link
Member Author

jungmir commented Feb 6, 2025

프론트에서 요청한 API 응답 형태

{
  "status_code": 200,
  "body": {
    "code": "success",
    "message": "성공",
    "data": [],
    "pagination": {}
  }
}

@jungmir
Copy link
Member Author

jungmir commented Feb 6, 2025

  • image 업로드 시점 협의 필요
  • 메뉴 데이터 관리 주체 어디서 할 건지 정의 필요 (기획팀)
  • About/Default 페이지의 "멘토로 참여하기" 기능 명세 필요
    • 구글 폼
    • 독자적인 폼

@jungmir
Copy link
Member Author

jungmir commented Feb 6, 2025

고정 공지, 일반 공지 API 분리 (페이지네이션 때문)

@YongJun-Lee-98
Copy link

YongJun-Lee-98 commented Feb 7, 2025

faq에서 에러(ex. 요청) error가 발생시
요청의 status : 200 or 202(성공이지만 accept하지 않음) 을 반환하지만
code & message에서는 ERROR 내용을 리턴해줘야 한다.
이렇게 작업 진행중에 있는데 혹시 달라지거나 제가 잘못 이해 한거라면
이슈에 답글 부탁드립니다.
이해 잘 했다면 답글 안해주셔도 무관합니다

@jungmir
Copy link
Member Author

jungmir commented Feb 7, 2025

status code는 200만 사용합니다.
나머지는 이해하신게 맞습니다.

This was referenced Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants