스터디 정보를 가져오는 api를 하나만 사용하고 query parameter에 다이나믹하게 값을 넣는것 #26
airman5573
started this conversation in
토론
Replies: 1 comment
-
기능이 분리되는 것이 좋을 것 같다 |
Beta Was this translation helpful? Give feedback.
0 replies
-
api를 분리하는 것이 좋을 것 같습니다. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
(1) moamoa.com/api/studies?page={number}&size={number} : 데이터를 가져오는 용도
(2) moamoa.com/api/studies/search?page={number}&size={number}&title={string}&date={string}&... : 데이터를 가져오는 용도
이렇게 둘을 나누는게 좋을지, 아니면
moamoa.com/api/studies/search?page={number}&size={number} : 로 (1)번의 경우를 커버하고, 필터링 요소에 따라서 (2) 번으로도 사용하는건 어떨지 궁금합니다 :D
태태 의견(@nan-noo) : 기능이 분리되는게 좋을것 같다. (1) / (2) 따로따로 api를 만들자.
병민 의견 : 위와 동일.
Beta Was this translation helpful? Give feedback.
All reactions