간단 api....

Good to know: All the methods shown below are synced to an example Swagger file URL and are kept up to date automatically with changes to the API.

리뷰게시판

리뷰목록

GET {{host}}/articles/

작성된 리뷰의 정보를 받아 리스트로 표시해준다.

리뷰 내용, 작성자, 사진, 식당이름, 좋아요, 카테고리

Request Body

NameTypeDescription

content*

String

author*

String

review_pic*

String

likes

String

restaurant_idㄱ

String

category_id

String

회원정보

GET {{host}}/articles/

로그인 된 회원의 정보를 받아 표시해준다.

Request Body

NameTypeDescription

user_id*

int

email*

str

디테일페이지(수정)

리뷰 생성

PUT {{host}}/articles/<int:article_id>/

Request Body

NameTypeDescription

title

str

content

str

author*

int

login user

restaurant_id*

int

리뷰 삭제

DELETE {{host}}/articles/<int:article_id>/

댓글

댓글 생성

POST {{host}}/articles/<int:article_id>/<comment_id>/

Request Body

NameTypeDescription

comment*

str

author*

int

login user

댓글 수정

PUT {{host}}/articles/<int:article_id>/<int:comment_id>/

Request Body

NameTypeDescription

comment*

str

author*

int

login user

댓글 삭제

DELETE {{host}}/articles/<int:article_id>/

좋아요

좋아요 생성 및 삭제

POST {{host}}/articles/<int:article_id>/<like_id>/

Last updated