๐ฃ๏ธ๋๊ธ API
๋๊ธ ๋ถ๋ฌ์ค๊ธฐ
GET https://dminside.kro.kr/api/v1/board/comments
Query Parameters
Name
Type
Description
page
integer
per-page
integer
username
string
post-id
integer
{
"comments": [
{
"content": "์์ ๊ธฐ๋ชจ๋ง๋ง๋ง๋ง",
"is_anonymous":false,
"is_mine":True,
"id": 4,
"upper_comment_id": 3,
"is_mine": True,
"writer": {
"username": "vjslzhs"
},
"wrote_datetime": "2020-06-04T21:55:29"
"wrote_post": {
"id": 1
}
}
],
"number_of_pages": 1
}
๋๊ธ ์์ฑ
POST https://dminside.kro.kr/api/v1/board/comments
Query Parameters
Name
Type
Description
post-id
integer
Headers
Name
Type
Description
Authorization
string
access token
Request Body
Name
Type
Description
is_anonymous
boolean
upper_comment_id
integer
id of upper_comment
content
string
Min: 1
๋๊ธ ์์
PATCH https://dminside.kro.kr/api/v1/board/comments/{comment-id}
Path Parameters
Name
Type
Description
comment-id
integer
Headers
Name
Type
Description
Authorization
string
access_token
Request Body
Name
Type
Description
upper_comment_id
integer
content
string
๋๊ธ ์ญ์
DELETE https://dminside.kro.kr/api/v1/board/comments/{comment-id}
Path Parameters
Name
Type
Description
comment-id
integer
Headers
Name
Type
Description
Authorization
string
access_token
Last updated
Was this helpful?